event-local
Version:
Event client
18 lines (17 loc) • 548 B
TypeScript
import { ReflectionMutableCommandProccessingAggregate } from "../ReflectionMutableCommandProccessingAggregate";
import TestCommand from "./TestCommand";
import { TestEvent } from "./TestCreated";
export interface TestDetail {
id: string;
name: string;
}
export declare class Test implements ReflectionMutableCommandProccessingAggregate {
private id;
private name;
private status;
constructor();
getID(): string;
getName(): string;
apply(event: TestEvent): void;
process(command: TestCommand): TestEvent[];
}