oak-domain/lib/entities/Log.d.ts

12 lines
406 B
TypeScript

import { String } from '../types/DataType';
import { EntityShape } from '../types/Entity';
import { EntityDesc } from '../types/EntityDesc';
export interface Schema extends EntityShape {
entity: String<32>;
entityId: String<64>;
iState: 'normal' | 'rollbacked';
}
export type IAction = 'undo' | 'redo';
export type Action = IAction;
export declare const entityDesc: EntityDesc<Schema, Action>;