"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NotificationRuleHistoryEntitySubscriber = void 0;
const tslib_1 = require("tslib");
const typeorm_1 = require("typeorm");
const typeorm_history_1 = require("@operato/typeorm-history");
const notification_rule_1 = require("./notification-rule");
const notification_rule_history_1 = require("./notification-rule-history");
let NotificationRuleHistoryEntitySubscriber = class NotificationRuleHistoryEntitySubscriber extends typeorm_history_1.HistoryEntitySubscriber {
    get entity() {
        return notification_rule_1.NotificationRule;
    }
    get historyEntity() {
        return notification_rule_history_1.NotificationRuleHistory;
    }
};
exports.NotificationRuleHistoryEntitySubscriber = NotificationRuleHistoryEntitySubscriber;
exports.NotificationRuleHistoryEntitySubscriber = NotificationRuleHistoryEntitySubscriber = tslib_1.__decorate([
    (0, typeorm_1.EventSubscriber)()
], NotificationRuleHistoryEntitySubscriber);
//# sourceMappingURL=event-subscriber.js.map