@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.
23 lines • 944 B
JavaScript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import * as z from "zod/v3";
import { safeParse } from "../../lib/schemas.js";
import { CoreLink$inboundSchema, CoreLink$outboundSchema, } from "./corelink.js";
/** @internal */
export const ParentAndSelfLinks$inboundSchema = z.object({
self: CoreLink$inboundSchema,
parent: CoreLink$inboundSchema,
});
/** @internal */
export const ParentAndSelfLinks$outboundSchema = z.object({
self: CoreLink$outboundSchema,
parent: CoreLink$outboundSchema,
});
export function parentAndSelfLinksToJSON(parentAndSelfLinks) {
return JSON.stringify(ParentAndSelfLinks$outboundSchema.parse(parentAndSelfLinks));
}
export function parentAndSelfLinksFromJSON(jsonString) {
return safeParse(jsonString, (x) => ParentAndSelfLinks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ParentAndSelfLinks' from JSON`);
}
//# sourceMappingURL=parentandselflinks.js.map