@central-credit/app
Version:
Application Central Credit
32 lines • 1.36 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const boot_1 = require("@loopback/boot");
const rest_explorer_1 = require("@loopback/rest-explorer");
const repository_1 = require("@loopback/repository");
const rest_1 = require("@loopback/rest");
const service_proxy_1 = require("@loopback/service-proxy");
const sequence_1 = require("./sequence");
class OracleCreditApplication extends boot_1.BootMixin(service_proxy_1.ServiceMixin(repository_1.RepositoryMixin(rest_1.RestApplication))) {
constructor(options = {}) {
super(options);
// Set up the custom sequence
this.sequence(sequence_1.MySequence);
// Customize @loopback/rest-explorer configuration here
this.bind(rest_explorer_1.RestExplorerBindings.CONFIG).to({
path: '/explorer'
});
this.component(rest_explorer_1.RestExplorerComponent);
this.projectRoot = __dirname;
// Customize @loopback/boot Booter Conventions here
this.bootOptions = {
controllers: {
// Customize ControllerBooter Conventions here
dirs: ['controllers'],
extensions: ['.controller.js'],
nested: true
}
};
}
}
exports.OracleCreditApplication = OracleCreditApplication;
//# sourceMappingURL=application.js.map