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.

29 lines • 1.51 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ExperimentEnvironmentSettingRep, ExperimentEnvironmentSettingRep$Outbound } from "./experimentenvironmentsettingrep.js"; import { MetricListingRep, MetricListingRep$Outbound } from "./metriclistingrep.js"; export type LegacyExperimentRep = { metricKey?: string | undefined; metric?: MetricListingRep | undefined; environments?: Array<string> | undefined; environmentSettings?: { [k: string]: ExperimentEnvironmentSettingRep; } | undefined; }; /** @internal */ export declare const LegacyExperimentRep$inboundSchema: z.ZodType<LegacyExperimentRep, z.ZodTypeDef, unknown>; /** @internal */ export type LegacyExperimentRep$Outbound = { metricKey?: string | undefined; _metric?: MetricListingRep$Outbound | undefined; environments?: Array<string> | undefined; _environmentSettings?: { [k: string]: ExperimentEnvironmentSettingRep$Outbound; } | undefined; }; /** @internal */ export declare const LegacyExperimentRep$outboundSchema: z.ZodType<LegacyExperimentRep$Outbound, z.ZodTypeDef, LegacyExperimentRep>; export declare function legacyExperimentRepToJSON(legacyExperimentRep: LegacyExperimentRep): string; export declare function legacyExperimentRepFromJSON(jsonString: string): SafeParseResult<LegacyExperimentRep, SDKValidationError>; //# sourceMappingURL=legacyexperimentrep.d.ts.map