@sprucelabs/spruce-event-utils
Version:
Some helpful utilities to speed up working with Mercury! 🚅
20 lines (19 loc) • 615 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const schema_1 = require("@sprucelabs/schema");
const mercuryResponseErrorSchema = {
id: 'mercuryResponseError',
namespace: 'SpruceEventUtils',
name: 'Mercury response error',
fields: {
/** . */
'responseErrors': {
type: 'raw',
isRequired: true,
isArray: true,
options: { valueType: `AbstractSpruceError<any>`, }
},
}
};
schema_1.SchemaRegistry.getInstance().trackSchema(mercuryResponseErrorSchema);
exports.default = mercuryResponseErrorSchema;