UNPKG

@mbc-cqrs-serverless/core

Version:
15 lines (14 loc) 784 B
import { DynamicModule } from '@nestjs/common'; import { ConfigurableModuleClass, OPTIONS_TYPE } from './command.module-definition'; export declare class CommandModule extends ConfigurableModuleClass { static register(options: typeof OPTIONS_TYPE): DynamicModule; /** * Not supported. The `<tableName>_CommandEventHandler` alias and * dataSyncHandlers wiring must be composed at build time (the table name is a * deploy-time constant), which the inherited async builder cannot do — it * would silently produce a module with no alias, failing the Step Functions * data-sync pipeline at runtime. Use {@link CommandModule.register} (domain * modules compose it via `buildDomainCommandModule`). */ static registerAsync(): DynamicModule; }