UNPKG

@recraft-ai/mcp-recraft-server

Version:
35 lines (34 loc) 1.04 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ImageFormat = void 0; exports.instanceOfImageFormat = instanceOfImageFormat; exports.ImageFormatFromJSON = ImageFormatFromJSON; exports.ImageFormatFromJSONTyped = ImageFormatFromJSONTyped; exports.ImageFormatToJSON = ImageFormatToJSON; exports.ImageFormatToJSONTyped = ImageFormatToJSONTyped; exports.ImageFormat = { Webp: 'webp', Png: 'png' }; function instanceOfImageFormat(value) { for (const key in exports.ImageFormat) { if (Object.prototype.hasOwnProperty.call(exports.ImageFormat, key)) { if (exports.ImageFormat[key] === value) { return true; } } } return false; } function ImageFormatFromJSON(json) { return ImageFormatFromJSONTyped(json, false); } function ImageFormatFromJSONTyped(json, ignoreDiscriminator) { return json; } function ImageFormatToJSON(value) { return value; } function ImageFormatToJSONTyped(value, ignoreDiscriminator) { return value; }