@themost/jspa
Version:
MOST Web Framework Persistence API
19 lines (16 loc) • 412 B
text/typescript
import { EntityConstructor } from './Entity';
import { SetCallbackMethod } from './CallbackMethod';
import { DataContextBase } from '@themost/common';
function PreLoad() {
return SetCallbackMethod(PreLoad);
}
declare interface PreLoadEvent {
context?: DataContextBase,
entityClass?: EntityConstructor<unknown>;
emitter?: unknown;
query?: unknown;
}
export {
PreLoadEvent,
PreLoad
}