@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.26 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type MetricEventDefaultRep = {
/**
* Whether to disable defaulting missing unit events when calculating results. Defaults to false
*/
disabled?: boolean | undefined;
/**
* The default value applied to missing unit events. Set to 0 when <code>disabled</code> is false. No other values are currently supported.
*/
value?: number | undefined;
};
/** @internal */
export declare const MetricEventDefaultRep$inboundSchema: z.ZodType<MetricEventDefaultRep, z.ZodTypeDef, unknown>;
/** @internal */
export type MetricEventDefaultRep$Outbound = {
disabled?: boolean | undefined;
value?: number | undefined;
};
/** @internal */
export declare const MetricEventDefaultRep$outboundSchema: z.ZodType<MetricEventDefaultRep$Outbound, z.ZodTypeDef, MetricEventDefaultRep>;
export declare function metricEventDefaultRepToJSON(metricEventDefaultRep: MetricEventDefaultRep): string;
export declare function metricEventDefaultRepFromJSON(jsonString: string): SafeParseResult<MetricEventDefaultRep, SDKValidationError>;
//# sourceMappingURL=metriceventdefaultrep.d.ts.map