@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.
35 lines • 1.41 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type LayerSnapshotRep = {
/**
* Key of the layer the experiment was part of
*/
key: string;
/**
* Layer name at the time this experiment iteration was stopped
*/
name: string;
/**
* Percent of layer traffic that was reserved in the layer for this experiment iteration
*/
reservationPercent: number;
/**
* Percent of layer traffic that was reserved for other experiments in the same environment, when this experiment iteration was stopped
*/
otherReservationPercent: number;
};
/** @internal */
export declare const LayerSnapshotRep$inboundSchema: z.ZodType<LayerSnapshotRep, z.ZodTypeDef, unknown>;
/** @internal */
export type LayerSnapshotRep$Outbound = {
key: string;
name: string;
reservationPercent: number;
otherReservationPercent: number;
};
/** @internal */
export declare const LayerSnapshotRep$outboundSchema: z.ZodType<LayerSnapshotRep$Outbound, z.ZodTypeDef, LayerSnapshotRep>;
export declare function layerSnapshotRepToJSON(layerSnapshotRep: LayerSnapshotRep): string;
export declare function layerSnapshotRepFromJSON(jsonString: string): SafeParseResult<LayerSnapshotRep, SDKValidationError>;
//# sourceMappingURL=layersnapshotrep.d.ts.map