fix npm run build

This commit is contained in:
Rayyan
2026-08-02 20:01:29 +07:00
parent 306c145f91
commit eb6031282a
236 changed files with 5557 additions and 47 deletions
+14
View File
@@ -0,0 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.InMemoryEventPublisher = void 0;
class InMemoryEventPublisher {
handlers = [];
register(handler) {
this.handlers.push(handler);
}
async publish(event) {
await Promise.all(this.handlers.map((h) => h(event)));
}
}
exports.InMemoryEventPublisher = InMemoryEventPublisher;
//# sourceMappingURL=event-publisher.js.map