@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.
48 lines • 1.64 kB
TypeScript
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";
/**
* Status of the flag
*/
export declare const Name: {
readonly New: "new";
readonly Inactive: "inactive";
readonly Active: "active";
readonly Launched: "launched";
};
/**
* Status of the flag
*/
export type Name = ClosedEnum<typeof Name>;
export type FeatureFlagStatus = {
/**
* Status of the flag
*/
name: Name;
/**
* Timestamp of last time flag was requested
*/
lastRequested?: Date | null | undefined;
/**
* Default value seen from code
*/
default?: any | undefined;
};
/** @internal */
export declare const Name$inboundSchema: z.ZodNativeEnum<typeof Name>;
/** @internal */
export declare const Name$outboundSchema: z.ZodNativeEnum<typeof Name>;
/** @internal */
export declare const FeatureFlagStatus$inboundSchema: z.ZodType<FeatureFlagStatus, z.ZodTypeDef, unknown>;
/** @internal */
export type FeatureFlagStatus$Outbound = {
name: string;
lastRequested?: string | null | undefined;
default?: any | undefined;
};
/** @internal */
export declare const FeatureFlagStatus$outboundSchema: z.ZodType<FeatureFlagStatus$Outbound, z.ZodTypeDef, FeatureFlagStatus>;
export declare function featureFlagStatusToJSON(featureFlagStatus: FeatureFlagStatus): string;
export declare function featureFlagStatusFromJSON(jsonString: string): SafeParseResult<FeatureFlagStatus, SDKValidationError>;
//# sourceMappingURL=featureflagstatus.d.ts.map