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.

26 lines • 1.45 kB
/* * 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 AIConfigTargetingEnvironmentFallthroughRolloutExperimentationAllocation$inboundSchema = z.object({ canReshuffle: z.boolean(), defaultVariation: z.number().int(), type: z.string(), }); /** @internal */ export const AIConfigTargetingEnvironmentFallthroughRolloutExperimentationAllocation$outboundSchema = z.object({ canReshuffle: z.boolean(), defaultVariation: z.number().int(), type: z.string(), }); export function aiConfigTargetingEnvironmentFallthroughRolloutExperimentationAllocationToJSON(aiConfigTargetingEnvironmentFallthroughRolloutExperimentationAllocation) { return JSON.stringify(AIConfigTargetingEnvironmentFallthroughRolloutExperimentationAllocation$outboundSchema .parse(aiConfigTargetingEnvironmentFallthroughRolloutExperimentationAllocation)); } export function aiConfigTargetingEnvironmentFallthroughRolloutExperimentationAllocationFromJSON(jsonString) { return safeParse(jsonString, (x) => AIConfigTargetingEnvironmentFallthroughRolloutExperimentationAllocation$inboundSchema .parse(JSON.parse(x)), `Failed to parse 'AIConfigTargetingEnvironmentFallthroughRolloutExperimentationAllocation' from JSON`); } //# sourceMappingURL=aiconfigtargetingenvironmentfallthroughrolloutexperimentationallocation.js.map