10 lines
486 B
TypeScript
10 lines
486 B
TypeScript
import { EntitySchema } from '@mikro-orm/core';
|
|
import { BaseEntity } from './base.entity';
|
|
export declare class NotificationRule extends BaseEntity {
|
|
module: string;
|
|
event: string;
|
|
channels: Array<'email' | 'whatsapp' | 'sms' | 'custom'>;
|
|
conditions?: Record<string, any>;
|
|
}
|
|
export declare const NotificationRuleSchema: EntitySchema<NotificationRule, never, import("@mikro-orm/core").EntityCtor<NotificationRule>>;
|
|
//# sourceMappingURL=notification-rule.entity.d.ts.map
|