blob: 381ab9a78fd9b377aa0f2e105a6cbeb070388170 (
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 './resource-dictionary.datasource.json';
export class ResourceDictionaryDataSource extends juggler.DataSource {
static dataSourceName = 'resourceDictionary';
constructor(
@inject('datasources.config.resourceDictionary', {optional: true})
dsConfig: object = config,
) {
super(dsConfig);
}
}
|