Add auto-generated API client and update authStore tests

- Integrated OpenAPI-generated TypeScript SDK (`sdk.gen.ts`, `types.gen.ts`, `client.gen.ts`) for API interactions.
- Refactored `authStore` tests to include storage mock reset logic with default implementations.
This commit is contained in:
Felipe Cardoso
2025-10-31 23:24:19 +01:00
parent b4866f9100
commit 31e2109278
19 changed files with 5383 additions and 11 deletions

10
frontend/src/lib/api/generated/index.ts Executable file → Normal file
View File

@@ -1,8 +1,4 @@
// This file will be auto-generated by running: npm run generate:api
// Make sure the backend is running before generating the API client
//
// To generate: npm run generate:api
//
// This placeholder prevents import errors before generation
// This file is auto-generated by @hey-api/openapi-ts
export {}
export type * from './types.gen';
export * from './sdk.gen';