@sprucelabs/spruce-event-utils
Version:
Some helpful utilities to speed up working with Mercury! 🚅
45 lines (44 loc) • 1.13 kB
JavaScript
import { SchemaRegistry } from '@sprucelabs/schema';
const eventSourceSchema = {
id: 'eventSource',
version: 'v2021_09_13',
namespace: 'SpruceEventUtils',
name: 'event source',
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
},
/** Proxy token. */
'proxyToken': {
label: 'Proxy token',
type: 'id',
options: undefined
},
}
};
SchemaRegistry.getInstance().trackSchema(eventSourceSchema);
export default eventSourceSchema;