This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FindingCreated = void 0;
|
||||
const crypto_1 = require("crypto");
|
||||
class FindingCreated {
|
||||
constructor(aggregateId, payload) {
|
||||
this.aggregateId = aggregateId;
|
||||
this.payload = payload;
|
||||
this.eventId = (0, crypto_1.randomUUID)();
|
||||
this.eventName = 'finding.created';
|
||||
this.occurredOn = new Date();
|
||||
}
|
||||
}
|
||||
exports.FindingCreated = FindingCreated;
|
||||
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FindingEnriched = void 0;
|
||||
const crypto_1 = require("crypto");
|
||||
class FindingEnriched {
|
||||
constructor(aggregateId, payload) {
|
||||
this.aggregateId = aggregateId;
|
||||
this.payload = payload;
|
||||
this.eventId = (0, crypto_1.randomUUID)();
|
||||
this.eventName = 'finding.enriched';
|
||||
this.occurredOn = new Date();
|
||||
}
|
||||
}
|
||||
exports.FindingEnriched = FindingEnriched;
|
||||
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FindingResolved = void 0;
|
||||
const crypto_1 = require("crypto");
|
||||
class FindingResolved {
|
||||
constructor(aggregateId, payload) {
|
||||
this.aggregateId = aggregateId;
|
||||
this.payload = payload;
|
||||
this.eventId = (0, crypto_1.randomUUID)();
|
||||
this.eventName = 'finding.resolved';
|
||||
this.occurredOn = new Date();
|
||||
}
|
||||
}
|
||||
exports.FindingResolved = FindingResolved;
|
||||
Reference in New Issue
Block a user