Initial commit - Event Planner application

This commit is contained in:
mberlin
2026-03-18 14:55:56 -03:00
commit 86d779eb4d
7548 changed files with 1006324 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NotificationRuleSchema = exports.NotificationRule = void 0;
const core_1 = require("@mikro-orm/core");
const base_entity_1 = require("./base.entity");
class NotificationRule extends base_entity_1.BaseEntity {
}
exports.NotificationRule = NotificationRule;
exports.NotificationRuleSchema = new core_1.EntitySchema({
class: NotificationRule,
tableName: 'notification_rules',
properties: {
id: { primary: true, type: 'uuid', defaultRaw: 'uuid_generate_v4()' },
tenantId: { type: 'string' },
metadata: { type: 'json', nullable: true },
createdAt: { type: 'date', defaultRaw: 'now()' },
updatedAt: { type: 'date', defaultRaw: 'now()' },
module: { type: 'string' },
event: { type: 'string' },
channels: { type: 'json' },
conditions: { type: 'json', nullable: true },
},
});