export interface CustomWidgetAiEvaluationCase { id: string; request: string; documentationUrl: string; apiNotes: string; sampleResponse?: unknown; previewResponses?: Array<{ pathIncludes: string; response: unknown; }>; minimumPreviewCycles?: number; expectations?: { sourceBaseUrl: string; sourceAuth: "none" | "apiKeyQuery"; sourceAuthName?: string; requests: Array<{ kind: "query" | "action"; method: "GET" | "POST"; pathIncludes: string; trigger?: "load" | "manual"; queryIncludes?: Record; }>; templateIncludes?: string[]; }; } export const CUSTOM_WIDGET_AI_EVALUATION_CASES: readonly CustomWidgetAiEvaluationCase[] = [ { id: "pokedex", documentationUrl: "https://pokeapi.co/docs/v2", request: "Create a complete Pokédex widget using PokéAPI. Make at least three deliberate refinement passes through validation and preview testing. It must have a substantial polished UI with a direct name lookup, a searchable loaded list that stays visible while details open in a separate responsive result area, sprites, types, abilities, base-stat progress bars, and clear initial, loading, empty, failure, and success states. Use a restrained accent and flexible tile sizing rather than repetitive nested cards or a fixed-height list. Completeness must come from tested useful interactions, not filler JSX.", apiNotes: "Use GET /api/v2/pokemon?limit=