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.

62 lines • 2.51 kB
import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Link, Link$Outbound } from "./link.js"; import { MetricInGroupRep, MetricInGroupRep$Outbound } from "./metricingrouprep.js"; /** * The type of the metric group */ export declare const DependentMetricGroupRepWithMetricsKind: { readonly Funnel: "funnel"; readonly Standard: "standard"; }; /** * The type of the metric group */ export type DependentMetricGroupRepWithMetricsKind = ClosedEnum<typeof DependentMetricGroupRepWithMetricsKind>; export type DependentMetricGroupRepWithMetrics = { /** * A unique key to reference the metric group */ key: string; /** * A human-friendly name for the metric group */ name: string; /** * The type of the metric group */ kind: DependentMetricGroupRepWithMetricsKind; /** * The location and content type of related resources */ links: { [k: string]: Link; }; /** * The metrics in the metric group */ metrics?: Array<MetricInGroupRep> | undefined; }; /** @internal */ export declare const DependentMetricGroupRepWithMetricsKind$inboundSchema: z.ZodNativeEnum<typeof DependentMetricGroupRepWithMetricsKind>; /** @internal */ export declare const DependentMetricGroupRepWithMetricsKind$outboundSchema: z.ZodNativeEnum<typeof DependentMetricGroupRepWithMetricsKind>; /** @internal */ export declare const DependentMetricGroupRepWithMetrics$inboundSchema: z.ZodType<DependentMetricGroupRepWithMetrics, z.ZodTypeDef, unknown>; /** @internal */ export type DependentMetricGroupRepWithMetrics$Outbound = { key: string; name: string; kind: string; _links: { [k: string]: Link$Outbound; }; metrics?: Array<MetricInGroupRep$Outbound> | undefined; }; /** @internal */ export declare const DependentMetricGroupRepWithMetrics$outboundSchema: z.ZodType<DependentMetricGroupRepWithMetrics$Outbound, z.ZodTypeDef, DependentMetricGroupRepWithMetrics>; export declare function dependentMetricGroupRepWithMetricsToJSON(dependentMetricGroupRepWithMetrics: DependentMetricGroupRepWithMetrics): string; export declare function dependentMetricGroupRepWithMetricsFromJSON(jsonString: string): SafeParseResult<DependentMetricGroupRepWithMetrics, SDKValidationError>; //# sourceMappingURL=dependentmetricgrouprepwithmetrics.d.ts.map