UNPKG

@simonecoelhosfo/optimizely-mcp-server

Version:

Optimizely MCP Server for AI assistants with integrated CLI tools

46 lines 1.31 kB
export interface QueryIntent { type: 'count' | 'sum' | 'list' | 'detail' | 'compare' | 'analyze'; confidence: number; reasoning: string[]; } export interface FieldLocalityInfo { field: string; primaryLocation: string; requiresJoin: boolean; isJsonPath: boolean; confidence: number; } export interface JoinHints { necessaryJoins: string[]; unnecessaryJoins: string[]; prohibitedJoins: string[]; reasoning: string; } export interface AggregationContext { isAggregation: boolean; aggregationType: 'count' | 'sum' | 'avg' | 'min' | 'max'; groupByFields: string[]; groupByRequiresJoin: boolean; preferredStrategy: string; maxAcceptableJoins: number; } export interface AtomicIntent { id: string; type: 'action' | 'entity' | 'filter' | 'aggregation' | 'relationship' | 'transformation'; value: any; confidence: number; dependencies: string[]; metadata: { position: number; rawText: string; alternatives: any[]; }; } export interface DecomposedQuery { originalQuery: string; normalizedQuery: string; queryType: 'count' | 'sum' | 'list' | 'detail' | 'compare' | 'analyze'; atomicIntents: AtomicIntent[]; confidence: number; } //# sourceMappingURL=enhanced-types.d.ts.map