refactor: simplify error handling and add category tree and post stats endpoints
- Remove unused admin auth imports and handleUnAuthorizationError function - Simplify expired token error handling to rely on interceptor - Update permission denied error redirect to check admin path - Refactor custom-client to use async/await pattern and remove cancel token logic - Add getApiV10CategoryTree endpoint with infinite and standard query hooks - Add getApiV10PostStats endpoint with infinite and standard query hooks
Showing
src/lib/utils/cms-user.ts
0 → 100644
src/lib/utils/datetime.ts
0 → 100644
src/lib/utils/header-link.ts
0 → 100644
src/store/useUserStore.ts
0 → 100644
Please register or sign in to comment