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.

20 lines • 840 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 FlagConfigEvaluation$inboundSchema = z.object({ contextKinds: z.array(z.string()).optional(), }); /** @internal */ export const FlagConfigEvaluation$outboundSchema = z.object({ contextKinds: z.array(z.string()).optional(), }); export function flagConfigEvaluationToJSON(flagConfigEvaluation) { return JSON.stringify(FlagConfigEvaluation$outboundSchema.parse(flagConfigEvaluation)); } export function flagConfigEvaluationFromJSON(jsonString) { return safeParse(jsonString, (x) => FlagConfigEvaluation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FlagConfigEvaluation' from JSON`); } //# sourceMappingURL=flagconfigevaluation.js.map