//#region imports
import { Taon, TaonBaseContext } from 'taon/lib';
import { getBaseCliWorkerDatabaseConfig } from 'tnp-helpers/lib';
import { Deployments } from './deployments';
import { DeploymentsController } from './deployments.controller';
import { DeploymentsMiddleware } from './deployments.middleware';
import { DeploymentsRepository } from './deployments.repository';
//#endregion
const appId = 'deployments-worker-app.project.worker';
export const DeploymentsContext = Taon.createContextTemplate(() => ({
    contextName: 'DeploymentsContext',
    appId,
    skipWritingServerRoutes: true,
    contexts: { TaonBaseContext },
    repositories: { DeploymentsRepository },
    entities: { Deployments },
    middlewares: { DeploymentsMiddleware },
    controllers: { DeploymentsController },
    ...getBaseCliWorkerDatabaseConfig(appId, 'DROP_DB+MIGRATIONS'),
}));
//# sourceMappingURL=deployments.context.js.map