UNPKG

@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.

22 lines • 904 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { safeParse } from "../../lib/schemas.js"; /** @internal */ export const ExperimentPatchInput$inboundSchema = z.object({ comment: z.string().optional(), instructions: z.array(z.record(z.any())), }); /** @internal */ export const ExperimentPatchInput$outboundSchema = z.object({ comment: z.string().optional(), instructions: z.array(z.record(z.any())), }); export function experimentPatchInputToJSON(experimentPatchInput) { return JSON.stringify(ExperimentPatchInput$outboundSchema.parse(experimentPatchInput)); } export function experimentPatchInputFromJSON(jsonString) { return safeParse(jsonString, (x) => ExperimentPatchInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ExperimentPatchInput' from JSON`); } //# sourceMappingURL=experimentpatchinput.js.map