@simonecoelhosfo/optimizely-mcp-server
Version:
Optimizely MCP Server for AI assistants with integrated CLI tools
37 lines • 1.28 kB
TypeScript
/**
* AUTO-GENERATED VIEW-ONLY FIELD MAPPINGS
*
* Generated on: 2025-07-07T17:30:17.838Z
* Total mappings: 75
*
* IMPORTANT: This is a VIEW-ONLY system. There are NO fallbacks to legacy tables.
* If a field is not in a view, it is NOT queryable.
*/
export interface ViewOnlyFieldMapping {
fieldName: string;
view: {
viewName: string;
columnName: string;
preComputed: boolean;
dataType: 'string' | 'number' | 'boolean' | 'datetime' | 'json' | 'identifier';
};
metadata: {
type: string;
description: string;
nullable: boolean;
isPrimaryKey: boolean;
};
}
export declare const VIEW_ONLY_FIELD_MAPPINGS: Record<string, ViewOnlyFieldMapping>;
export declare function getViewMapping(fieldName: string): ViewOnlyFieldMapping;
export declare function isFieldAvailable(fieldName: string): boolean;
export declare function getAvailableFields(): string[];
export declare function getFieldsForView(viewName: string): string[];
export declare const VIEW_STATS: {
totalMappings: number;
computedFields: number;
viewsUsed: number;
generatedAt: string;
};
export declare function legacyFieldError(fieldName: string): never;
//# sourceMappingURL=ViewOnlyFieldMappings.generated.d.ts.map