UNPKG

@sprucelabs/mercury-client

Version:

The simple way to interact with the Spruce Experience Platform

35 lines (34 loc) 847 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const schema_1 = require("@sprucelabs/schema"); const timeoutSchema = { id: 'timeout', namespace: 'MercuryClient', name: 'Timeout', fields: { /** . */ 'eventName': { type: 'text', isRequired: true, options: undefined }, /** . */ 'timeoutMs': { type: 'number', isRequired: true, options: undefined }, /** . */ 'isConnected': { type: 'boolean', options: undefined }, /** . */ 'totalRetries': { type: 'number', options: undefined }, } }; schema_1.SchemaRegistry.getInstance().trackSchema(timeoutSchema); exports.default = timeoutSchema;