@djangocfg/api 2.1.607 → 2.1.609
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@djangocfg/api",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.609",
|
|
4
4
|
"description": "Auto-generated TypeScript API client with React hooks, SWR integration, and Zod validation for Django REST Framework backends",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"django",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"zod": "^4.3.6"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
94
|
+
"@djangocfg/typescript-config": "^2.1.609",
|
|
95
95
|
"@testing-library/react": "^16.3.2",
|
|
96
96
|
"@types/node": "^25.9.5",
|
|
97
97
|
"@types/react": "19.2.15",
|
|
@@ -52,8 +52,8 @@ import type {
|
|
|
52
52
|
import type { OtpRequestRequest } from '../../_api/generated/_cfg_accounts/types.gen';
|
|
53
53
|
|
|
54
54
|
// The ONLY place route conventions are declared. '/auth' is the sign-in page
|
|
55
|
-
// convention
|
|
56
|
-
//
|
|
55
|
+
// convention and '/private' is the default landing page after sign-in
|
|
56
|
+
// (`defaultCallback`). Apps override via AuthConfig.routes;
|
|
57
57
|
// everything downstream reads the RESOLVED values from `useAuth().routes`.
|
|
58
58
|
const defaultRoutes = {
|
|
59
59
|
auth: '/auth',
|