lakutata
Version:
An IoC-based universal application framework.
63 lines (50 loc) • 2.01 kB
TypeScript
/**
* Calls a method on which this decorator is applied after this entity insertion.
*/
declare function AfterInsert(): PropertyDecorator;
/**
* Calls a method on which this decorator is applied after entity is loaded.
*/
declare function AfterLoad(): PropertyDecorator;
/**
* Calls a method on which this decorator is applied after this entity removal.
*/
declare function AfterRemove(): PropertyDecorator;
/**
* Calls a method on which this decorator is applied before this entity soft removal.
*/
declare function AfterSoftRemove(): PropertyDecorator;
/**
* Calls a method on which this decorator is applied before this entity soft removal.
*/
declare function AfterRecover(): PropertyDecorator;
/**
* Calls a method on which this decorator is applied after this entity update.
*/
declare function AfterUpdate(): PropertyDecorator;
/**
* Calls a method on which this decorator is applied before this entity insertion.
*/
declare function BeforeInsert(): PropertyDecorator;
/**
* Calls a method on which this decorator is applied before this entity removal.
*/
declare function BeforeRemove(): PropertyDecorator;
/**
* Calls a method on which this decorator is applied before this entity soft removal.
*/
declare function BeforeSoftRemove(): PropertyDecorator;
/**
* Calls a method on which this decorator is applied before this entity soft removal.
*/
declare function BeforeRecover(): PropertyDecorator;
/**
* Calls a method on which this decorator is applied before this entity update.
*/
declare function BeforeUpdate(): PropertyDecorator;
/**
* Classes decorated with this decorator will listen to ORM events and their methods will be triggered when event
* occurs. Those classes must implement EventSubscriberInterface interface.
*/
declare function EventSubscriber(): ClassDecorator;
export { AfterInsert, AfterLoad, AfterRecover, AfterRemove, AfterSoftRemove, AfterUpdate, BeforeInsert, BeforeRecover, BeforeRemove, BeforeSoftRemove, BeforeUpdate, EventSubscriber };