@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.
30 lines • 1.25 kB
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 GetExperimentsAnyEnvRequest$inboundSchema = z.object({
projectKey: z.string(),
limit: z.number().int().optional(),
offset: z.number().int().optional(),
filter: z.string().optional(),
expand: z.string().optional(),
lifecycleState: z.string().optional(),
});
/** @internal */
export const GetExperimentsAnyEnvRequest$outboundSchema = z.object({
projectKey: z.string(),
limit: z.number().int().optional(),
offset: z.number().int().optional(),
filter: z.string().optional(),
expand: z.string().optional(),
lifecycleState: z.string().optional(),
});
export function getExperimentsAnyEnvRequestToJSON(getExperimentsAnyEnvRequest) {
return JSON.stringify(GetExperimentsAnyEnvRequest$outboundSchema.parse(getExperimentsAnyEnvRequest));
}
export function getExperimentsAnyEnvRequestFromJSON(jsonString) {
return safeParse(jsonString, (x) => GetExperimentsAnyEnvRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetExperimentsAnyEnvRequest' from JSON`);
}
//# sourceMappingURL=getexperimentsanyenv.js.map