"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DblelloDataSource = void 0;
const tslib_1 = require("tslib");
const core_1 = require("@loopback/core");
const repository_1 = require("@loopback/repository");
const config = {
    name: 'dblello',
    connector: 'mysql',
    url: '',
    host: '127.0.0.1',
    port: 3306,
    user: 'root',
    password: '',
    database: 'lelloproperty'
};
// Observe application's life cycle to disconnect the datasource when
// application is stopped. This allows the application to be shut down
// gracefully. The `stop()` method is inherited from `juggler.DataSource`.
// Learn more at https://loopback.io/doc/en/lb4/Life-cycle.html
let DblelloDataSource = class DblelloDataSource extends repository_1.juggler.DataSource {
    constructor(dsConfig = config) {
        super(dsConfig);
    }
};
exports.DblelloDataSource = DblelloDataSource;
DblelloDataSource.dataSourceName = 'dblello';
DblelloDataSource.defaultConfig = config;
exports.DblelloDataSource = DblelloDataSource = tslib_1.__decorate([
    (0, core_1.lifeCycleObserver)('datasource'),
    tslib_1.__param(0, (0, core_1.inject)('datasources.config.dblello', { optional: true })),
    tslib_1.__metadata("design:paramtypes", [Object])
], DblelloDataSource);
//# sourceMappingURL=dblello.datasource.js.map