@simonecoelhosfo/optimizely-mcp-server
Version:
Optimizely MCP Server for AI assistants with integrated CLI tools
39 lines • 1.19 kB
TypeScript
/**
* Auto-generated field mappings for view-based architecture
* Generated on: 2025-07-07T08:15:43.318Z
* Total mappings: 56
*
* MANUAL FIX APPLIED (2025-07-08):
* - Fixed flag_key mapping from experiments_unified_view to flags_unified_view
* - Fixed flag_name mapping from experiments_unified_view to flags_unified_view
*/
export interface ViewFieldMapping {
fieldName: string;
legacy: {
tables: string[];
column?: string;
};
view: {
viewName: string;
columnName: string;
preComputed: boolean;
performance: 'fast' | 'medium' | 'slow';
};
metadata: {
type: string;
description?: string;
};
routing: {
preferView: boolean;
fallbackRequired?: boolean;
};
}
export declare const VIEW_FIELD_MAPPINGS: Record<string, ViewFieldMapping>;
export declare function getViewMapping(fieldName: string): ViewFieldMapping | undefined;
export declare function shouldUseView(fieldName: string): boolean;
export declare const VIEW_MAPPING_STATS: {
totalMappings: number;
computedFields: number;
views: number;
};
//# sourceMappingURL=ViewFieldMappings.generated.d.ts.map