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.

23 lines • 1.14 kB
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { safeParse } from "../../lib/schemas.js"; import { AiConfigsLegacyExperimentRep$inboundSchema, AiConfigsLegacyExperimentRep$outboundSchema, } from "./aiconfigslegacyexperimentrep.js"; /** @internal */ export const AiConfigsExperimentInfoRep$inboundSchema = z.object({ baselineIdx: z.number().int(), items: z.array(AiConfigsLegacyExperimentRep$inboundSchema), }); /** @internal */ export const AiConfigsExperimentInfoRep$outboundSchema = z.object({ baselineIdx: z.number().int(), items: z.array(AiConfigsLegacyExperimentRep$outboundSchema), }); export function aiConfigsExperimentInfoRepToJSON(aiConfigsExperimentInfoRep) { return JSON.stringify(AiConfigsExperimentInfoRep$outboundSchema.parse(aiConfigsExperimentInfoRep)); } export function aiConfigsExperimentInfoRepFromJSON(jsonString) { return safeParse(jsonString, (x) => AiConfigsExperimentInfoRep$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AiConfigsExperimentInfoRep' from JSON`); } //# sourceMappingURL=aiconfigsexperimentinforep.js.map