UNPKG

@recraft-ai/mcp-recraft-server

Version:
48 lines (47 loc) 1.4 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ImageSize = void 0; exports.instanceOfImageSize = instanceOfImageSize; exports.ImageSizeFromJSON = ImageSizeFromJSON; exports.ImageSizeFromJSONTyped = ImageSizeFromJSONTyped; exports.ImageSizeToJSON = ImageSizeToJSON; exports.ImageSizeToJSONTyped = ImageSizeToJSONTyped; exports.ImageSize = { _1024x1024: '1024x1024', _1365x1024: '1365x1024', _1024x1365: '1024x1365', _1536x1024: '1536x1024', _1024x1536: '1024x1536', _1820x1024: '1820x1024', _1024x1820: '1024x1820', _1024x2048: '1024x2048', _2048x1024: '2048x1024', _1434x1024: '1434x1024', _1024x1434: '1024x1434', _1024x1280: '1024x1280', _1280x1024: '1280x1024', _1024x1707: '1024x1707', _1707x1024: '1707x1024' }; function instanceOfImageSize(value) { for (const key in exports.ImageSize) { if (Object.prototype.hasOwnProperty.call(exports.ImageSize, key)) { if (exports.ImageSize[key] === value) { return true; } } } return false; } function ImageSizeFromJSON(json) { return ImageSizeFromJSONTyped(json, false); } function ImageSizeFromJSONTyped(json, ignoreDiscriminator) { return json; } function ImageSizeToJSON(value) { return value; } function ImageSizeToJSONTyped(value, ignoreDiscriminator) { return value; }