UNPKG

@sprucelabs/spruce-event-utils

Version:

Some helpful utilities to speed up working with Mercury! 🚅

39 lines (38 loc) • 980 B
import { SchemaRegistry } from '@sprucelabs/schema'; const eventTargetSchema = { id: 'eventTarget', version: 'v2021_09_13', namespace: 'SpruceEventUtils', name: 'event target', importsWhenRemote: ['import \'@sprucelabs/spruce-event-utils\'',], moduleToImportFromWhenRemote: '@sprucelabs/spruce-event-utils', fields: { /** . */ 'locationId': { type: 'id', options: undefined }, /** . */ 'personId': { type: 'id', options: undefined }, /** . */ 'organizationId': { type: 'id', options: undefined }, /** . */ 'skillId': { type: 'id', options: undefined }, /** . */ 'roleId': { type: 'id', options: undefined }, } }; SchemaRegistry.getInstance().trackSchema(eventTargetSchema); export default eventTargetSchema;