10 lines
495 B
TypeScript
10 lines
495 B
TypeScript
import { MikroORM } from '@mikro-orm/core';
|
|
import { NotificationRule } from '../entities/notification-rule.entity';
|
|
export declare class NotificationRuleService {
|
|
private readonly orm;
|
|
constructor(orm: MikroORM);
|
|
private get em();
|
|
getRulesForEvent(tenantId: string, module: string, event: string): Promise<NotificationRule[]>;
|
|
createRule(tenantId: string, rule: Partial<NotificationRule>): Promise<NotificationRule>;
|
|
}
|
|
//# sourceMappingURL=notification-rule.service.d.ts.map
|