UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

19 lines 828 B
import { entityMetaSchema } from "./IEntityMeta"; export const functionDataSchema = { title: "functionDataSchema", type: "object", additionalProperties: false, properties: { name: { type: "string", format: "resource-name" }, isDisabled: { type: "boolean" }, code: { type: "string", maxLength: 500000 }, }, }; export const functionSchema = { title: "functionSchema", type: "object", additionalProperties: false, minProperties: 1, properties: Object.assign(Object.assign(Object.assign({}, functionDataSchema.properties), entityMetaSchema.properties), { projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" }, referenceId: { type: "string", format: "uuid" } }), }; //# sourceMappingURL=IFunction.js.map