@authup/server-api
Version:
This is a standalone application.
9 lines • 488 B
TypeScript
import type { EntitySubscriberInterface, InsertEvent, RemoveEvent, UpdateEvent } from 'typeorm';
import { UserEntity } from '../../domains';
export declare class UserSubscriber implements EntitySubscriberInterface<UserEntity> {
listenTo(): Function | string;
afterInsert(event: InsertEvent<UserEntity>): Promise<any>;
afterUpdate(event: UpdateEvent<UserEntity>): Promise<any>;
afterRemove(event: RemoveEvent<UserEntity>): Promise<any>;
}
//# sourceMappingURL=user.d.ts.map