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 • 788 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 CustomProperty$inboundSchema = z.object({ name: z.string(), value: z.array(z.string()), }); /** @internal */ export const CustomProperty$outboundSchema = z.object({ name: z.string(), value: z.array(z.string()), }); export function customPropertyToJSON(customProperty) { return JSON.stringify(CustomProperty$outboundSchema.parse(customProperty)); } export function customPropertyFromJSON(jsonString) { return safeParse(jsonString, (x) => CustomProperty$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomProperty' from JSON`); } //# sourceMappingURL=customproperty.js.map