aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/server/src/datasources/resource-dictionary.datasource.ts
blob: ba12c78e2c21b4b4b8cdf45bdc79cc57320c35c9 (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 './resource-dictionary.datasource-template';

export class ResourceDictionaryDataSource extends juggler.DataSource {
  static dataSourceName = 'resourceDictionary';

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