Skip to content

Commit

Permalink
自動生成
Browse files Browse the repository at this point in the history
  • Loading branch information
takatea committed Dec 9, 2024
1 parent 08f2f3b commit 9f63307
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions src/routeTree.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

import { Route as rootRoute } from './routes/__root'
import { Route as IndexImport } from './routes/index'
import { Route as MapsIndexImport } from './routes/maps/index'
import { Route as ChakraUiIndexImport } from './routes/chakra-ui/index'
import { Route as AboutIndexImport } from './routes/about/index'

Expand All @@ -23,6 +24,12 @@ const IndexRoute = IndexImport.update({
getParentRoute: () => rootRoute,
} as any)

const MapsIndexRoute = MapsIndexImport.update({
id: '/maps/',
path: '/maps/',
getParentRoute: () => rootRoute,
} as any)

const ChakraUiIndexRoute = ChakraUiIndexImport.update({
id: '/chakra-ui/',
path: '/chakra-ui/',
Expand Down Expand Up @@ -60,6 +67,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof ChakraUiIndexImport
parentRoute: typeof rootRoute
}
'/maps/': {
id: '/maps/'
path: '/maps'
fullPath: '/maps'
preLoaderRoute: typeof MapsIndexImport
parentRoute: typeof rootRoute
}
}
}

Expand All @@ -69,40 +83,45 @@ export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/about': typeof AboutIndexRoute
'/chakra-ui': typeof ChakraUiIndexRoute
'/maps': typeof MapsIndexRoute
}

export interface FileRoutesByTo {
'/': typeof IndexRoute
'/about': typeof AboutIndexRoute
'/chakra-ui': typeof ChakraUiIndexRoute
'/maps': typeof MapsIndexRoute
}

export interface FileRoutesById {
__root__: typeof rootRoute
'/': typeof IndexRoute
'/about/': typeof AboutIndexRoute
'/chakra-ui/': typeof ChakraUiIndexRoute
'/maps/': typeof MapsIndexRoute
}

export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths: '/' | '/about' | '/chakra-ui'
fullPaths: '/' | '/about' | '/chakra-ui' | '/maps'
fileRoutesByTo: FileRoutesByTo
to: '/' | '/about' | '/chakra-ui'
id: '__root__' | '/' | '/about/' | '/chakra-ui/'
to: '/' | '/about' | '/chakra-ui' | '/maps'
id: '__root__' | '/' | '/about/' | '/chakra-ui/' | '/maps/'
fileRoutesById: FileRoutesById
}

export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
AboutIndexRoute: typeof AboutIndexRoute
ChakraUiIndexRoute: typeof ChakraUiIndexRoute
MapsIndexRoute: typeof MapsIndexRoute
}

const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
AboutIndexRoute: AboutIndexRoute,
ChakraUiIndexRoute: ChakraUiIndexRoute,
MapsIndexRoute: MapsIndexRoute,
}

export const routeTree = rootRoute
Expand All @@ -117,7 +136,8 @@ export const routeTree = rootRoute
"children": [
"/",
"/about/",
"/chakra-ui/"
"/chakra-ui/",
"/maps/"
]
},
"/": {
Expand All @@ -128,6 +148,9 @@ export const routeTree = rootRoute
},
"/chakra-ui/": {
"filePath": "chakra-ui/index.tsx"
},
"/maps/": {
"filePath": "maps/index.tsx"
}
}
}
Expand Down

0 comments on commit 9f63307

Please sign in to comment.