UNPKG

@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
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type FlagInput = { /** * The ID of the variation or rollout of the flag to use. Use "fallthrough" for the default targeting behavior when the flag is on. */ ruleId: string; /** * The flag version */ flagConfigVersion: number; /** * The ID of the variation to route traffic not part of the experiment analysis to. Defaults to variation ID of baseline treatment, if set. */ notInExperimentVariationId?: string | undefined; }; /** @internal */ export declare const FlagInput$inboundSchema: z.ZodType<FlagInput, z.ZodTypeDef, unknown>; /** @internal */ export type FlagInput$Outbound = { ruleId: string; flagConfigVersion: number; notInExperimentVariationId?: string | undefined; }; /** @internal */ export declare const FlagInput$outboundSchema: z.ZodType<FlagInput$Outbound, z.ZodTypeDef, FlagInput>; export declare function flagInputToJSON(flagInput: FlagInput): string; export declare function flagInputFromJSON(jsonString: string): SafeParseResult<FlagInput, SDKValidationError>; //# sourceMappingURL=flaginput.d.ts.map