@@ -31,6 +31,7 @@ import { Route as AppLayoutBooksIndexImport } from './routes/app/_layout/books.i
31
31
import { Route as AppLayoutAccountIndexImport } from './routes/app/_layout/account.index'
32
32
import { Route as ManagerLayoutUsersNewIndexImport } from './routes/manager/_layout/users.new.index'
33
33
import { Route as ManagerLayoutUsersIdIndexImport } from './routes/manager/_layout/users.$id.index'
34
+ import { Route as ManagerLayoutBooksNewIndexImport } from './routes/manager/_layout/books.new.index'
34
35
import { Route as ManagerLayoutBooksIdIndexImport } from './routes/manager/_layout/books.$id.index'
35
36
import { Route as AppLayoutDesktopOnlyBooksIdIndexImport } from './routes/app/_layout-desktop-only/books.$id.index'
36
37
import { Route as ManagerLayoutUsersIdUpdateIndexImport } from './routes/manager/_layout/users.$id.update.index'
@@ -157,6 +158,14 @@ const ManagerLayoutUsersIdIndexRoute = ManagerLayoutUsersIdIndexImport.update({
157
158
getParentRoute : ( ) => ManagerLayoutRoute ,
158
159
} as any )
159
160
161
+ const ManagerLayoutBooksNewIndexRoute = ManagerLayoutBooksNewIndexImport . update (
162
+ {
163
+ id : '/books/new/' ,
164
+ path : '/books/new/' ,
165
+ getParentRoute : ( ) => ManagerLayoutRoute ,
166
+ } as any ,
167
+ )
168
+
160
169
const ManagerLayoutBooksIdIndexRoute = ManagerLayoutBooksIdIndexImport . update ( {
161
170
id : '/books/$id/' ,
162
171
path : '/books/$id/' ,
@@ -321,6 +330,13 @@ declare module '@tanstack/react-router' {
321
330
preLoaderRoute : typeof ManagerLayoutBooksIdIndexImport
322
331
parentRoute : typeof ManagerLayoutImport
323
332
}
333
+ '/manager/_layout/books/new/' : {
334
+ id : '/manager/_layout/books/new/'
335
+ path : '/books/new'
336
+ fullPath : '/manager/books/new'
337
+ preLoaderRoute : typeof ManagerLayoutBooksNewIndexImport
338
+ parentRoute : typeof ManagerLayoutImport
339
+ }
324
340
'/manager/_layout/users/$id/' : {
325
341
id : '/manager/_layout/users/$id/'
326
342
path : '/users/$id'
@@ -407,6 +423,7 @@ interface ManagerLayoutRouteChildren {
407
423
ManagerLayoutDashboardIndexRoute : typeof ManagerLayoutDashboardIndexRoute
408
424
ManagerLayoutUsersIndexRoute : typeof ManagerLayoutUsersIndexRoute
409
425
ManagerLayoutBooksIdIndexRoute : typeof ManagerLayoutBooksIdIndexRoute
426
+ ManagerLayoutBooksNewIndexRoute : typeof ManagerLayoutBooksNewIndexRoute
410
427
ManagerLayoutUsersIdIndexRoute : typeof ManagerLayoutUsersIdIndexRoute
411
428
ManagerLayoutUsersNewIndexRoute : typeof ManagerLayoutUsersNewIndexRoute
412
429
ManagerLayoutUsersIdUpdateIndexRoute : typeof ManagerLayoutUsersIdUpdateIndexRoute
@@ -419,6 +436,7 @@ const ManagerLayoutRouteChildren: ManagerLayoutRouteChildren = {
419
436
ManagerLayoutDashboardIndexRoute : ManagerLayoutDashboardIndexRoute ,
420
437
ManagerLayoutUsersIndexRoute : ManagerLayoutUsersIndexRoute ,
421
438
ManagerLayoutBooksIdIndexRoute : ManagerLayoutBooksIdIndexRoute ,
439
+ ManagerLayoutBooksNewIndexRoute : ManagerLayoutBooksNewIndexRoute ,
422
440
ManagerLayoutUsersIdIndexRoute : ManagerLayoutUsersIdIndexRoute ,
423
441
ManagerLayoutUsersNewIndexRoute : ManagerLayoutUsersNewIndexRoute ,
424
442
ManagerLayoutUsersIdUpdateIndexRoute : ManagerLayoutUsersIdUpdateIndexRoute ,
@@ -457,6 +475,7 @@ export interface FileRoutesByFullPath {
457
475
'/manager/users' : typeof ManagerLayoutUsersIndexRoute
458
476
'/app/books/$id' : typeof AppLayoutDesktopOnlyBooksIdIndexRoute
459
477
'/manager/books/$id' : typeof ManagerLayoutBooksIdIndexRoute
478
+ '/manager/books/new' : typeof ManagerLayoutBooksNewIndexRoute
460
479
'/manager/users/$id' : typeof ManagerLayoutUsersIdIndexRoute
461
480
'/manager/users/new' : typeof ManagerLayoutUsersNewIndexRoute
462
481
'/manager/users/$id/update' : typeof ManagerLayoutUsersIdUpdateIndexRoute
@@ -477,6 +496,7 @@ export interface FileRoutesByTo {
477
496
'/manager/users' : typeof ManagerLayoutUsersIndexRoute
478
497
'/app/books/$id' : typeof AppLayoutDesktopOnlyBooksIdIndexRoute
479
498
'/manager/books/$id' : typeof ManagerLayoutBooksIdIndexRoute
499
+ '/manager/books/new' : typeof ManagerLayoutBooksNewIndexRoute
480
500
'/manager/users/$id' : typeof ManagerLayoutUsersIdIndexRoute
481
501
'/manager/users/new' : typeof ManagerLayoutUsersNewIndexRoute
482
502
'/manager/users/$id/update' : typeof ManagerLayoutUsersIdUpdateIndexRoute
@@ -504,6 +524,7 @@ export interface FileRoutesById {
504
524
'/manager/_layout/users/' : typeof ManagerLayoutUsersIndexRoute
505
525
'/app/_layout-desktop-only/books/$id/' : typeof AppLayoutDesktopOnlyBooksIdIndexRoute
506
526
'/manager/_layout/books/$id/' : typeof ManagerLayoutBooksIdIndexRoute
527
+ '/manager/_layout/books/new/' : typeof ManagerLayoutBooksNewIndexRoute
507
528
'/manager/_layout/users/$id/' : typeof ManagerLayoutUsersIdIndexRoute
508
529
'/manager/_layout/users/new/' : typeof ManagerLayoutUsersNewIndexRoute
509
530
'/manager/_layout/users/$id/update/' : typeof ManagerLayoutUsersIdUpdateIndexRoute
@@ -529,6 +550,7 @@ export interface FileRouteTypes {
529
550
| '/manager/users'
530
551
| '/app/books/$id'
531
552
| '/manager/books/$id'
553
+ | '/manager/books/new'
532
554
| '/manager/users/$id'
533
555
| '/manager/users/new'
534
556
| '/manager/users/$id/update'
@@ -548,6 +570,7 @@ export interface FileRouteTypes {
548
570
| '/manager/users'
549
571
| '/app/books/$id'
550
572
| '/manager/books/$id'
573
+ | '/manager/books/new'
551
574
| '/manager/users/$id'
552
575
| '/manager/users/new'
553
576
| '/manager/users/$id/update'
@@ -573,6 +596,7 @@ export interface FileRouteTypes {
573
596
| '/manager/_layout/users/'
574
597
| '/app/_layout-desktop-only/books/$id/'
575
598
| '/manager/_layout/books/$id/'
599
+ | '/manager/_layout/books/new/'
576
600
| '/manager/_layout/users/$id/'
577
601
| '/manager/_layout/users/new/'
578
602
| '/manager/_layout/users/$id/update/'
@@ -659,6 +683,7 @@ export const routeTree = rootRoute
659
683
"/manager/_layout/dashboard/",
660
684
"/manager/_layout/users/",
661
685
"/manager/_layout/books/$id/",
686
+ "/manager/_layout/books/new/",
662
687
"/manager/_layout/users/$id/",
663
688
"/manager/_layout/users/new/",
664
689
"/manager/_layout/users/$id/update/"
@@ -716,6 +741,10 @@ export const routeTree = rootRoute
716
741
"filePath": "manager/_layout/books.$id.index.tsx",
717
742
"parent": "/manager/_layout"
718
743
},
744
+ "/manager/_layout/books/new/": {
745
+ "filePath": "manager/_layout/books.new.index.tsx",
746
+ "parent": "/manager/_layout"
747
+ },
719
748
"/manager/_layout/users/$id/": {
720
749
"filePath": "manager/_layout/users.$id.index.tsx",
721
750
"parent": "/manager/_layout"
0 commit comments