1212
1313import { Route as rootRoute } from './routes/__root'
1414import { Route as IndexImport } from './routes/index'
15- import { Route as WorkspaceWorkspaceIdImport } from './routes/workspace/$workspaceId'
15+ import { Route as JoinIndexImport } from './routes/join/index'
16+ import { Route as WorkspaceWorkspaceIdImpo . / routes / joinworkspace / $workspaceId '
1617
1718// Create/Update Routes
1819
@@ -22,6 +23,12 @@ const IndexRoute = IndexImport.update({
2223 getParentRoute : ( ) => rootRoute ,
2324} as any )
2425
26+ const JoinIndexRoute = JoinIndexImport . update ( {
27+ id : '/join/' ,
28+ path : '/join/' ,
29+ getParentRoute : ( ) => rootRoute ,
30+ } as any )
31+
2532const WorkspaceWorkspaceIdRoute = WorkspaceWorkspaceIdImport . update ( {
2633 id : '/workspace/$workspaceId' ,
2734 path : '/workspace/$workspaceId' ,
@@ -46,6 +53,13 @@ declare module '@tanstack/react-router' {
4653 preLoaderRoute : typeof WorkspaceWorkspaceIdImport
4754 parentRoute : typeof rootRoute
4855 }
56+ '/join/' : {
57+ id : '/join/'
58+ path : '/join'
59+ fullPath : '/join'
60+ preLoaderRoute : typeof JoinIndexImport
61+ parentRoute : typeof rootRoute
62+ }
4963 }
5064}
5165
@@ -54,36 +68,41 @@ declare module '@tanstack/react-router' {
5468export interface FileRoutesByFullPath {
5569 '/' : typeof IndexRoute
5670 '/workspace/$workspaceId' : typeof WorkspaceWorkspaceIdRoute
71+ '/join' : typeof JoinIndexRoute
5772}
5873
5974export interface FileRoutesByTo {
6075 '/' : typeof IndexRoute
6176 '/workspace/$workspaceId' : typeof WorkspaceWorkspaceIdRoute
77+ '/join' : typeof JoinIndexRoute
6278}
6379
6480export interface FileRoutesById {
6581 __root__ : typeof rootRoute
6682 '/' : typeof IndexRoute
6783 '/workspace/$workspaceId' : typeof WorkspaceWorkspaceIdRoute
84+ '/join/' : typeof JoinIndexRoute
6885}
6986
7087export interface FileRouteTypes {
7188 fileRoutesByFullPath : FileRoutesByFullPath
72- fullPaths : '/' | '/workspace/$workspaceId'
89+ fullPaths : '/' | '/workspace/$workspaceId' | '/join'
7390 fileRoutesByTo : FileRoutesByTo
74- to : '/' | '/workspace/$workspaceId'
75- id : '__root__' | '/' | '/workspace/$workspaceId'
91+ to : '/' | '/workspace/$workspaceId' | '/join'
92+ id : '__root__' | '/' | '/workspace/$workspaceId' | '/join/'
7693 fileRoutesById : FileRoutesById
7794}
7895
7996export interface RootRouteChildren {
8097 IndexRoute : typeof IndexRoute
8198 WorkspaceWorkspaceIdRoute : typeof WorkspaceWorkspaceIdRoute
99+ JoinIndexRoute : typeof JoinIndexRoute
82100}
83101
84102const rootRouteChildren : RootRouteChildren = {
85103 IndexRoute : IndexRoute ,
86104 WorkspaceWorkspaceIdRoute : WorkspaceWorkspaceIdRoute ,
105+ JoinIndexRoute : JoinIndexRoute ,
87106}
88107
89108export const routeTree = rootRoute
@@ -97,14 +116,18 @@ export const routeTree = rootRoute
97116 "filePath": "__root.tsx",
98117 "children": [
99118 "/",
100- "/workspace/$workspaceId"
119+ "/workspace/$workspaceId",
120+ "/join/"
101121 ]
102122 },
103123 "/": {
104124 "filePath": "index.tsx"
105125 },
106126 "/workspace/$workspaceId": {
107127 "filePath": "workspace/$workspaceId.tsx"
128+ },
129+ "/join/": {
130+ "filePath": "join/index.tsx"
108131 }
109132 }
110133}
0 commit comments