"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActionsContext = void 0;
//#region imports
const lib_1 = require("taon/lib");
const lib_2 = require("tnp-helpers/lib");
const actions_entity_1 = require("./actions.entity");
const actions_controller_1 = require("./actions.controller");
const actions_repository_1 = require("./actions.repository");
//#endregion
const appId = 'actions-worker-app.project.worker';
exports.ActionsContext = (0, lib_1.createContextTemplate)(() => ({
    contextName: 'ActionsContext',
    appId,
    skipWritingServerRoutes: true,
    contexts: { TaonBaseContext: lib_1.TaonBaseContext },
    repositories: { ActionsRepository: actions_repository_1.ActionsRepository },
    entities: { Actions: actions_entity_1.Actions },
    controllers: { ActionsController: actions_controller_1.ActionsController },
    ...(0, lib_2.getBaseCliWorkerDatabaseConfig)(appId, 'DROP_DB+MIGRATIONS'),
}));
//# sourceMappingURL=actions.context.js.map