UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

21 lines 929 B
import { entityMetaSchema } from "./IEntityMeta"; export const appTemplateDataSchema = { title: "appTemplateDataSchema", type: "object", additionalProperties: false, required: ["type", "extension", "label", "path"], properties: { type: { type: "string", format: "resource-name" }, extension: { type: "string", format: "package-name" }, label: { type: "string", format: "resource-name" }, isCognigy: { type: "boolean" }, path: { type: "string" } } }; export const appTemplateSchema = { title: "appTemplateSchema", type: "object", additionalProperties: false, properties: Object.assign(Object.assign(Object.assign({}, entityMetaSchema.properties), appTemplateDataSchema.properties), { projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" } }) }; //# sourceMappingURL=IAppTemplate.js.map