@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.
38 lines • 1.69 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 PatchFeatureFlagRequest = {
/**
* The project key
*/
projectKey: string;
/**
* The feature flag key. The key identifies the flag in your code.
*/
featureFlagKey: string;
/**
* If true, the patch will be applied even if it causes a pending scheduled change or approval request to fail.
*/
ignoreConflicts?: boolean | undefined;
/**
* If true, the patch will be validated but not persisted. Returns a preview of the flag after the patch is applied.
*/
dryRun?: boolean | undefined;
patchWithComment: components.PatchWithComment;
};
/** @internal */
export declare const PatchFeatureFlagRequest$inboundSchema: z.ZodType<PatchFeatureFlagRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchFeatureFlagRequest$Outbound = {
projectKey: string;
featureFlagKey: string;
ignoreConflicts?: boolean | undefined;
dryRun?: boolean | undefined;
PatchWithComment: components.PatchWithComment$Outbound;
};
/** @internal */
export declare const PatchFeatureFlagRequest$outboundSchema: z.ZodType<PatchFeatureFlagRequest$Outbound, z.ZodTypeDef, PatchFeatureFlagRequest>;
export declare function patchFeatureFlagRequestToJSON(patchFeatureFlagRequest: PatchFeatureFlagRequest): string;
export declare function patchFeatureFlagRequestFromJSON(jsonString: string): SafeParseResult<PatchFeatureFlagRequest, SDKValidationError>;
//# sourceMappingURL=patchfeatureflag.d.ts.map