@mbc-cqrs-serverless/core
Version:
CQRS and event base core
20 lines (19 loc) • 419 B
TypeScript
export interface CommandInputModel {
pk: string;
sk: string;
id: string;
code: string;
name: string;
version: number;
tenantCode: string;
type: string;
isDeleted?: boolean;
seq?: number;
ttl?: number;
attributes?: Record<string, any>;
}
export interface CommandPartialInputModel extends Partial<CommandInputModel> {
pk: string;
sk: string;
version: number;
}