summaryrefslogtreecommitdiffstats
path: root/cds-ui/server/src/datasources/blueprint.datasource.ts
blob: 0086126932bd2763b721323876debffb1d7f292a (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 * as config from './blueprint.datasource.json';

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

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