@themost/jspa
Version:
MOST Web Framework Persistence API
11 lines (10 loc) • 388 B
TypeScript
import { CallbackMethod } from './EntityListener';
declare function SetCallbackMethod(method: CallbackMethod): MethodDecorator;
export interface DataModelEvent {
type: string;
event: (event: unknown, callback: (err?: Error) => void) => void;
}
export interface DataModelEventConverter {
toEvent(callbackMethod: CallbackMethod): DataModelEvent;
}
export { SetCallbackMethod };