UNPKG

@sprucelabs/spruce-event-utils

Version:

Some helpful utilities to speed up working with Mercury! 🚅

27 lines (26 loc) • 871 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const schema_1 = require("@sprucelabs/schema"); const eventPagingSortSchema = { id: 'eventPagingSort', version: 'v2021_09_13', namespace: 'SpruceEventUtils', name: '', importsWhenRemote: ['import \'@sprucelabs/spruce-event-utils\'',], moduleToImportFromWhenRemote: '@sprucelabs/spruce-event-utils', fields: { /** . */ 'field': { type: 'id', isRequired: true, options: undefined }, /** . */ 'direction': { type: 'select', options: { choices: [{ "value": "asc", "label": "Ascending" }, { "value": "desc", "label": "Descending" }], } }, } }; schema_1.SchemaRegistry.getInstance().trackSchema(eventPagingSortSchema); exports.default = eventPagingSortSchema;