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 • 912 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 ExperimentAllocationRep$inboundSchema = z.object({ defaultVariation: z.number().int(), canReshuffle: z.boolean(), }); /** @internal */ export const ExperimentAllocationRep$outboundSchema = z.object({ defaultVariation: z.number().int(), canReshuffle: z.boolean(), }); export function experimentAllocationRepToJSON(experimentAllocationRep) { return JSON.stringify(ExperimentAllocationRep$outboundSchema.parse(experimentAllocationRep)); } export function experimentAllocationRepFromJSON(jsonString) { return safeParse(jsonString, (x) => ExperimentAllocationRep$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ExperimentAllocationRep' from JSON`); } //# sourceMappingURL=experimentallocationrep.js.map