Add user authentication and dynamic feature/category inputs

Implement Keycloak authentication, protected routes, and add combobox and autocomplete components for tool categories and features.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 776963d0-f75d-42e2-a57b-cc36bdff8495
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 0b145113-c016-4f54-b000-13bd3b0ba8f0
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0683fb79-a27c-485c-9333-5f4b288c4567/776963d0-f75d-42e2-a57b-cc36bdff8495/z4uWN6A
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
cheffe01
2026-05-25 13:20:15 +00:00
parent e03c51a75e
commit 7abb048edc
22 changed files with 1027 additions and 68 deletions
+18
View File
@@ -269,3 +269,21 @@ export const ListCategoriesResponseItem = zod.string()
export const ListCategoriesResponse = zod.array(ListCategoriesResponseItem)
/**
* @summary List all distinct feature strings across all tools
*/
export const ListAllFeaturesResponseItem = zod.string()
export const ListAllFeaturesResponse = zod.array(ListAllFeaturesResponseItem)
/**
* @summary Get current authenticated user
*/
export const GetMeResponse = zod.object({
"sub": zod.string(),
"email": zod.string().nullish(),
"name": zod.string().nullish(),
"preferredUsername": zod.string().nullish()
})
@@ -0,0 +1,17 @@
/**
* Generated by orval v8.9.1 🍺
* Do not edit manually.
* Api
* ToolRate API — Tool listing and rating platform
* OpenAPI spec version: 0.1.0
*/
export interface AuthUser {
sub: string;
/** @nullable */
email?: string | null;
/** @nullable */
name?: string | null;
/** @nullable */
preferredUsername?: string | null;
}
+1
View File
@@ -7,6 +7,7 @@
*/
export * from './analyticsSummary';
export * from './authUser';
export * from './categoryStats';
export * from './errorResponse';
export * from './getRatingDistributionParams';