eventstorming
Version:
A Graphics Library for Event Storming
20 lines (19 loc) • 543 B
TypeScript
export interface IModel {
all: object;
create: object;
readById: object;
deleteById: object;
}
export interface modelInterface {
id: string;
name: string;
relatedNodes?: modelInterface[];
nearNode?: modelInterface[];
}
export interface eventModeInterface extends modelInterface {
relatedNodes: eventModeInterface[];
nearNode: eventModeInterface[];
addRelatedChild(model: modelInterface): any;
removeRelatedChild(model: modelInterface): any;
updateRelatedChild(model: modelInterface): any;
}