@sprucelabs/mercury-client
Version:
The simple way to interact with the Spruce Experience Platform
15 lines (14 loc) • 365 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const schema_1 = require("@sprucelabs/schema");
exports.default = (0, schema_1.buildErrorSchema)({
id: 'invalidPayload',
name: 'Invalid payload',
description: '',
fields: {
eventName: {
type: 'text',
isRequired: true,
},
},
});