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 • 984 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 AiConfigsMetricEventDefaultRep$inboundSchema = z.object({ disabled: z.boolean().optional(), value: z.number().optional(), }); /** @internal */ export const AiConfigsMetricEventDefaultRep$outboundSchema = z.object({ disabled: z.boolean().optional(), value: z.number().optional(), }); export function aiConfigsMetricEventDefaultRepToJSON(aiConfigsMetricEventDefaultRep) { return JSON.stringify(AiConfigsMetricEventDefaultRep$outboundSchema.parse(aiConfigsMetricEventDefaultRep)); } export function aiConfigsMetricEventDefaultRepFromJSON(jsonString) { return safeParse(jsonString, (x) => AiConfigsMetricEventDefaultRep$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AiConfigsMetricEventDefaultRep' from JSON`); } //# sourceMappingURL=aiconfigsmetriceventdefaultrep.js.map