@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.
50 lines • 1.7 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Link, Link$Outbound } from "./link.js";
export type FlagRep = {
/**
* The targeting rule
*/
targetingRule?: string | undefined;
/**
* The rule description
*/
targetingRuleDescription?: string | undefined;
/**
* An array of clauses used for individual targeting based on attributes
*/
targetingRuleClauses?: Array<any> | undefined;
/**
* The flag version
*/
flagConfigVersion?: number | undefined;
/**
* The ID of the variation to route traffic not part of the experiment analysis to
*/
notInExperimentVariationId?: string | undefined;
/**
* The location and content type of related resources
*/
links: {
[k: string]: Link;
};
};
/** @internal */
export declare const FlagRep$inboundSchema: z.ZodType<FlagRep, z.ZodTypeDef, unknown>;
/** @internal */
export type FlagRep$Outbound = {
targetingRule?: string | undefined;
targetingRuleDescription?: string | undefined;
targetingRuleClauses?: Array<any> | undefined;
flagConfigVersion?: number | undefined;
notInExperimentVariationId?: string | undefined;
_links: {
[k: string]: Link$Outbound;
};
};
/** @internal */
export declare const FlagRep$outboundSchema: z.ZodType<FlagRep$Outbound, z.ZodTypeDef, FlagRep>;
export declare function flagRepToJSON(flagRep: FlagRep): string;
export declare function flagRepFromJSON(jsonString: string): SafeParseResult<FlagRep, SDKValidationError>;
//# sourceMappingURL=flagrep.d.ts.map