@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.
28 lines • 1.44 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type PostFeatureFlagRequest = {
/**
* The project key
*/
projectKey: string;
/**
* The key of the feature flag to be cloned. The key identifies the flag in your code. For example, setting `clone=flagKey` copies the full targeting configuration for all environments, including `on/off` state, from the original flag to the new flag.
*/
clone?: string | undefined;
featureFlagBody: components.FeatureFlagBody;
};
/** @internal */
export declare const PostFeatureFlagRequest$inboundSchema: z.ZodType<PostFeatureFlagRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PostFeatureFlagRequest$Outbound = {
projectKey: string;
clone?: string | undefined;
FeatureFlagBody: components.FeatureFlagBody$Outbound;
};
/** @internal */
export declare const PostFeatureFlagRequest$outboundSchema: z.ZodType<PostFeatureFlagRequest$Outbound, z.ZodTypeDef, PostFeatureFlagRequest>;
export declare function postFeatureFlagRequestToJSON(postFeatureFlagRequest: PostFeatureFlagRequest): string;
export declare function postFeatureFlagRequestFromJSON(jsonString: string): SafeParseResult<PostFeatureFlagRequest, SDKValidationError>;
//# sourceMappingURL=postfeatureflag.d.ts.map