"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TaonPortsContextTemplate = void 0;
const lib_1 = require("taon/lib");
const migrations_1 = require("../../migrations");
const base_cli_worker_database_config_1 = require("../classes/base-cli-worker/base-cli-worker-database-config");
const ports_controller_1 = require("./ports.controller");
const ports_entity_1 = require("./ports.entity");
exports.TaonPortsContextTemplate = lib_1.Taon.createContextTemplate(() => ({
    contextName: 'TaonPortsContext',
    appId: 'dev.taon.taon-ports-worker',
    contexts: { TaonBaseContext: lib_1.TaonBaseContext },
    controllers: { TaonPortsController: ports_controller_1.TaonPortsController },
    entities: { Port: ports_entity_1.Port },
    migrations: { ...migrations_1.MIGRATIONS_CLASSES_FOR_TaonPortsContext },
    skipWritingServerRoutes: true,
    ...(0, base_cli_worker_database_config_1.getBaseCliWorkerDatabaseConfig)('ports-worker', 'DROP_DB+MIGRATIONS'),
    logs: {
        migrations: true,
    },
}));
//# sourceMappingURL=tcp-udp-ports.context.js.map