blob: d711d4693c07851ff54003cf5d7988f6a77ed20e (
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 './controller-catalog.datasource-template';
export class ControllerCatalogDataSource extends juggler.DataSource {
static dataSourceName = 'controllerCatalog';
constructor(
@inject('datasources.config.controllerCatalog', {optional: true})
dsConfig: object = config,
) {
super(dsConfig);
}
}
|