Files
evento/dist/core/services/notification-rule.service.d.ts
2026-03-18 14:55:56 -03:00

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