@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.
25 lines • 1.06 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type Defaults = {
/**
* The index, from the array of variations for this flag, of the variation to serve by default when targeting is on.
*/
onVariation: number;
/**
* The index, from the array of variations for this flag, of the variation to serve by default when targeting is off.
*/
offVariation: number;
};
/** @internal */
export declare const Defaults$inboundSchema: z.ZodType<Defaults, z.ZodTypeDef, unknown>;
/** @internal */
export type Defaults$Outbound = {
onVariation: number;
offVariation: number;
};
/** @internal */
export declare const Defaults$outboundSchema: z.ZodType<Defaults$Outbound, z.ZodTypeDef, Defaults>;
export declare function defaultsToJSON(defaults: Defaults): string;
export declare function defaultsFromJSON(jsonString: string): SafeParseResult<Defaults, SDKValidationError>;
//# sourceMappingURL=defaults.d.ts.map