UNPKG

@recraft-ai/mcp-recraft-server

Version:
35 lines (34 loc) 1.11 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ResponseFormat = void 0; exports.instanceOfResponseFormat = instanceOfResponseFormat; exports.ResponseFormatFromJSON = ResponseFormatFromJSON; exports.ResponseFormatFromJSONTyped = ResponseFormatFromJSONTyped; exports.ResponseFormatToJSON = ResponseFormatToJSON; exports.ResponseFormatToJSONTyped = ResponseFormatToJSONTyped; exports.ResponseFormat = { Url: 'url', B64Json: 'b64_json' }; function instanceOfResponseFormat(value) { for (const key in exports.ResponseFormat) { if (Object.prototype.hasOwnProperty.call(exports.ResponseFormat, key)) { if (exports.ResponseFormat[key] === value) { return true; } } } return false; } function ResponseFormatFromJSON(json) { return ResponseFormatFromJSONTyped(json, false); } function ResponseFormatFromJSONTyped(json, ignoreDiscriminator) { return json; } function ResponseFormatToJSON(value) { return value; } function ResponseFormatToJSONTyped(value, ignoreDiscriminator) { return value; }