summaryrefslogtreecommitdiffstats
path: root/cds-ui/server/src/datasources/blueprint.datasource.ts
blob: ce901b6d79f4fde8f6a20736b6696cb9d8be42ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import {inject} from '@loopback/core';
import {juggler} from '@loopback/repository';
import config from './blueprint.datasource-template';

export class BlueprintDataSource extends juggler.DataSource {
  static dataSourceName = 'blueprint';

  constructor(
    @inject('datasources.config.blueprint', {optional: true})
    dsConfig: object = config,
  ) {
    super(dsConfig);
  }
}