@recraft-ai/mcp-recraft-server
Version:
MCP Server implementation for recraft.ai API
35 lines (34 loc) • 1.04 kB
JavaScript
;
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;
}