@cognigy/rest-api-client
Version:
Cognigy REST-Client
19 lines • 1.13 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.snapshotSchema = exports.snapshotDataSchema = void 0;
exports.snapshotDataSchema = {
title: "snapshotDataSchema",
type: "object",
additionalProperties: false,
properties: {
name: { type: "string", format: "resource-name" },
description: { type: "string", format: "snapshot-description" },
},
};
exports.snapshotSchema = {
title: "snapshotSchema",
type: "object",
additionalProperties: false,
properties: Object.assign(Object.assign({}, exports.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