@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.
59 lines • 2.22 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";
/**
* Filter type. One of [contextAttribute, eventProperty, group]
*/
export declare const AiConfigsFilterType: {
readonly Group: "group";
readonly ContextAttribute: "contextAttribute";
readonly EventProperty: "eventProperty";
};
/**
* Filter type. One of [contextAttribute, eventProperty, group]
*/
export type AiConfigsFilterType = ClosedEnum<typeof AiConfigsFilterType>;
export type AiConfigsFilter = {
/**
* Filter type. One of [contextAttribute, eventProperty, group]
*/
type: AiConfigsFilterType;
/**
* If not a group node, the context attribute name or event property name to filter on
*/
attribute?: string | undefined;
op: string;
/**
* The context attribute / event property values or group member nodes
*/
values: Array<any>;
/**
* For context attribute filters, the context kind.
*/
contextKind?: string | undefined;
/**
* If set, then take the inverse of the operator. 'in' becomes 'not in'.
*/
negate: boolean;
};
/** @internal */
export declare const AiConfigsFilterType$inboundSchema: z.ZodNativeEnum<typeof AiConfigsFilterType>;
/** @internal */
export declare const AiConfigsFilterType$outboundSchema: z.ZodNativeEnum<typeof AiConfigsFilterType>;
/** @internal */
export declare const AiConfigsFilter$inboundSchema: z.ZodType<AiConfigsFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type AiConfigsFilter$Outbound = {
type: string;
attribute?: string | undefined;
op: string;
values: Array<any>;
contextKind?: string | undefined;
negate: boolean;
};
/** @internal */
export declare const AiConfigsFilter$outboundSchema: z.ZodType<AiConfigsFilter$Outbound, z.ZodTypeDef, AiConfigsFilter>;
export declare function aiConfigsFilterToJSON(aiConfigsFilter: AiConfigsFilter): string;
export declare function aiConfigsFilterFromJSON(jsonString: string): SafeParseResult<AiConfigsFilter, SDKValidationError>;
//# sourceMappingURL=aiconfigsfilter.d.ts.map