@launchdarkly/mcp-server
Version:
The local [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for [LaunchDarkly](https://launchdarkly.com/) federal and European Union (EU) environments.
21 lines • 950 B
JavaScript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import * as z from "zod/v3";
import { safeParse } from "../../lib/schemas.js";
import { JudgeAttachment$inboundSchema, JudgeAttachment$outboundSchema, } from "./judgeattachment.js";
/** @internal */
export const JudgeConfiguration$inboundSchema = z.object({
judges: z.array(JudgeAttachment$inboundSchema).optional(),
});
/** @internal */
export const JudgeConfiguration$outboundSchema = z.object({
judges: z.array(JudgeAttachment$outboundSchema).optional(),
});
export function judgeConfigurationToJSON(judgeConfiguration) {
return JSON.stringify(JudgeConfiguration$outboundSchema.parse(judgeConfiguration));
}
export function judgeConfigurationFromJSON(jsonString) {
return safeParse(jsonString, (x) => JudgeConfiguration$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'JudgeConfiguration' from JSON`);
}
//# sourceMappingURL=judgeconfiguration.js.map