fase(19): scheduling module refactor

This commit is contained in:
debian
2026-03-08 05:49:00 -04:00
parent 1cf597fee1
commit 49e76c92b1
39 changed files with 1546 additions and 24 deletions

View File

@@ -0,0 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ScheduleCreated = void 0;
const crypto_1 = require("crypto");
class ScheduleCreated {
constructor(aggregateId, payload) {
this.aggregateId = aggregateId;
this.payload = payload;
this.eventId = (0, crypto_1.randomUUID)();
this.eventName = 'scheduling.schedule_created';
this.occurredOn = new Date();
}
}
exports.ScheduleCreated = ScheduleCreated;

View File

@@ -0,0 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ScheduleFired = void 0;
const crypto_1 = require("crypto");
class ScheduleFired {
constructor(aggregateId, payload) {
this.aggregateId = aggregateId;
this.payload = payload;
this.eventId = (0, crypto_1.randomUUID)();
this.eventName = 'scheduling.schedule_fired';
this.occurredOn = new Date();
}
}
exports.ScheduleFired = ScheduleFired;

View File

@@ -0,0 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ScheduleToggled = void 0;
const crypto_1 = require("crypto");
class ScheduleToggled {
constructor(aggregateId, payload) {
this.aggregateId = aggregateId;
this.payload = payload;
this.eventId = (0, crypto_1.randomUUID)();
this.eventName = 'scheduling.schedule_toggled';
this.occurredOn = new Date();
}
}
exports.ScheduleToggled = ScheduleToggled;