@vtexlab/planner-contracts
Version:
Contracts to use in an Eventual-Driven Architecture (EDA)
24 lines (23 loc) • 1.31 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentPlatform = exports.Planner = void 0;
const domainEvent_1 = require("./services/contentPlatform/domainEvent");
const integrationEvent_1 = require("./services/contentPlatform/integrationEvent");
const domainEvent_2 = require("./services/planner/domainEvent");
const delayEvent_1 = require("./services/planner/delayEvent");
const notificationEvent_1 = require("./services/planner/notificationEvent");
const integrationEvent_2 = require("./services/planner/integrationEvent");
const command_1 = require("./services/planner/command");
var Planner;
(function (Planner) {
Planner.DomainEvent = domainEvent_2.plannerDomainEvent;
Planner.DelayEvent = delayEvent_1.plannerDelayEvent;
Planner.NotificationEvent = notificationEvent_1.plannerNotificationEvent;
Planner.IntegrationEvent = integrationEvent_2.plannerIntegrationEvent;
Planner.Command = command_1.plannerCommand;
})(Planner || (exports.Planner = Planner = {}));
var ContentPlatform;
(function (ContentPlatform) {
ContentPlatform.DomainEvent = domainEvent_1.contentPlatformDomainEvent;
ContentPlatform.IntegrationEvent = integrationEvent_1.contentPlatformIntegrationEvent;
})(ContentPlatform || (exports.ContentPlatform = ContentPlatform = {}));