@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 • 823 B
JavaScript
/*
* 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 GetAIConfigRequest$inboundSchema = z.object({
projectKey: z.string(),
configKey: z.string(),
});
/** @internal */
export const GetAIConfigRequest$outboundSchema = z.object({
projectKey: z.string(),
configKey: z.string(),
});
export function getAIConfigRequestToJSON(getAIConfigRequest) {
return JSON.stringify(GetAIConfigRequest$outboundSchema.parse(getAIConfigRequest));
}
export function getAIConfigRequestFromJSON(jsonString) {
return safeParse(jsonString, (x) => GetAIConfigRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAIConfigRequest' from JSON`);
}
//# sourceMappingURL=getaiconfig.js.map