UNPKG

@sprucelabs/spruce-event-utils

Version:

Some helpful utilities to speed up working with Mercury! 🚅

18 lines (17 loc) • 504 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const schema_1 = require("@sprucelabs/schema"); const duplicateEventSchema = { id: 'duplicateEvent', namespace: 'SpruceEventUtils', name: 'Duplicate event', fields: { /** . */ 'fullyQualifiedEventName': { type: 'text', options: undefined }, } }; schema_1.SchemaRegistry.getInstance().trackSchema(duplicateEventSchema); exports.default = duplicateEventSchema;