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 • 878 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 TreatmentParameterInput$inboundSchema = z.object({ flagKey: z.string(), variationId: z.string(), }); /** @internal */ export const TreatmentParameterInput$outboundSchema = z.object({ flagKey: z.string(), variationId: z.string(), }); export function treatmentParameterInputToJSON(treatmentParameterInput) { return JSON.stringify(TreatmentParameterInput$outboundSchema.parse(treatmentParameterInput)); } export function treatmentParameterInputFromJSON(jsonString) { return safeParse(jsonString, (x) => TreatmentParameterInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TreatmentParameterInput' from JSON`); } //# sourceMappingURL=treatmentparameterinput.js.map