UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

16 lines 991 B
export const snapshotDataSchema = { title: "snapshotDataSchema", type: "object", additionalProperties: false, properties: { name: { type: "string", format: "resource-name" }, description: { type: "string", format: "snapshot-description" }, }, }; export const snapshotSchema = { title: "snapshotSchema", type: "object", additionalProperties: false, properties: Object.assign(Object.assign({}, snapshotDataSchema.properties), { _id: { type: "string", format: "mongo-id" }, createdAt: { type: "integer", format: "timestamp" }, createdBy: { type: "string", format: "mongo-id" }, hash: { type: "string" }, size: { type: ["number", "null"] }, isPackaged: { type: "boolean" }, runtimeVersion: { type: "number" }, packageExpiresAt: { type: ["number", "null"], format: "timestamp" }, projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" } }), }; //# sourceMappingURL=ISnapshot.js.map