@simonecoelhosfo/optimizely-mcp-server
Version:
Optimizely MCP Server for AI assistants with integrated CLI tools
23 lines • 995 B
TypeScript
/**
* Manage Flag State Tool - Individual Module
* @description Handles flag state management and rule updates
* @since 2025-08-04
* @author Tool Modularization Team
*
* Migration Status: COMPLETED
* Original Method: OptimizelyMCPTools.manageFlagState
* Complexity: MEDIUM
* Dependencies: logger, errorMapper, manageEntityLifecycle
*/
import { ToolDefinition, ToolDependencies } from '../types/ToolDefinition.js';
interface ManageFlagStateDependencies extends ToolDependencies {
manageEntityLifecycle: (operation: string, entityType: string, entityData?: any, entityId?: string, projectId?: string, options?: any) => Promise<any>;
}
/**
* Creates the Manage Flag State tool with injected dependencies
* @param deps - Injected dependencies (storage, logger, errorMapper, etc.)
* @returns Tool definition with handler
*/
export declare function createManageFlagStateTool(deps: ManageFlagStateDependencies): ToolDefinition;
export {};
//# sourceMappingURL=ManageFlagState.d.ts.map