@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.
41 lines • 1.54 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { FeatureFlag, FeatureFlag$Outbound } from "./featureflag.js";
import { Link, Link$Outbound } from "./link.js";
export type FeatureFlags = {
/**
* An array of feature flags
*/
items: Array<FeatureFlag>;
/**
* The location and content type of related resources
*/
links: {
[k: string]: Link;
};
/**
* The total number of flags
*/
totalCount?: number | undefined;
/**
* The number of flags that have differences between environments. Only shown when query parameter <code>compare</code> is <code>true</code>.
*/
totalCountWithDifferences?: number | undefined;
};
/** @internal */
export declare const FeatureFlags$inboundSchema: z.ZodType<FeatureFlags, z.ZodTypeDef, unknown>;
/** @internal */
export type FeatureFlags$Outbound = {
items: Array<FeatureFlag$Outbound>;
_links: {
[k: string]: Link$Outbound;
};
totalCount?: number | undefined;
totalCountWithDifferences?: number | undefined;
};
/** @internal */
export declare const FeatureFlags$outboundSchema: z.ZodType<FeatureFlags$Outbound, z.ZodTypeDef, FeatureFlags>;
export declare function featureFlagsToJSON(featureFlags: FeatureFlags): string;
export declare function featureFlagsFromJSON(jsonString: string): SafeParseResult<FeatureFlags, SDKValidationError>;
//# sourceMappingURL=featureflags.d.ts.map