@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.14 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type Target = {
/**
* A list of the keys for targets that will receive this variation because of individual targeting
*/
values: Array<string>;
/**
* The index, from the array of variations for this flag, of the variation to serve this list of targets
*/
variation: number;
/**
* The context kind of the individual target
*/
contextKind?: string | undefined;
};
/** @internal */
export declare const Target$inboundSchema: z.ZodType<Target, z.ZodTypeDef, unknown>;
/** @internal */
export type Target$Outbound = {
values: Array<string>;
variation: number;
contextKind?: string | undefined;
};
/** @internal */
export declare const Target$outboundSchema: z.ZodType<Target$Outbound, z.ZodTypeDef, Target>;
export declare function targetToJSON(target: Target): string;
export declare function targetFromJSON(jsonString: string): SafeParseResult<Target, SDKValidationError>;
//# sourceMappingURL=target.d.ts.map