@themost/jspa
Version:
MOST Web Framework Persistence API
20 lines (16 loc) • 443 B
text/typescript
import { DataContextBase, DataModelBase } from '@themost/common';
import { EntityConstructor } from './Entity';
import { SetCallbackMethod } from './CallbackMethod';
function PreRemove() {
return SetCallbackMethod(PreRemove);
}
declare interface PreRemoveEvent {
context?: DataContextBase,
entityClass?: EntityConstructor<unknown>;
model?: DataModelBase;
target?: unknown;
}
export {
PreRemoveEvent,
PreRemove
}