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 bc6ff8f commit 67d811e
Showing 1 changed file with 32 additions and 3 deletions.
35 changes: 32 additions & 3 deletions src/routeTree.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,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 DirectionMapsIndexImport } from './routes/directionMaps/index'
import { Route as ChakraUiIndexImport } from './routes/chakra-ui/index'
import { Route as AboutIndexImport } from './routes/about/index'

Expand All @@ -30,6 +31,12 @@ const MapsIndexRoute = MapsIndexImport.update({
getParentRoute: () => rootRoute,
} as any)

const DirectionMapsIndexRoute = DirectionMapsIndexImport.update({
id: '/directionMaps/',
path: '/directionMaps/',
getParentRoute: () => rootRoute,
} as any)

const ChakraUiIndexRoute = ChakraUiIndexImport.update({
id: '/chakra-ui/',
path: '/chakra-ui/',
Expand Down Expand Up @@ -67,6 +74,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof ChakraUiIndexImport
parentRoute: typeof rootRoute
}
'/directionMaps/': {
id: '/directionMaps/'
path: '/directionMaps'
fullPath: '/directionMaps'
preLoaderRoute: typeof DirectionMapsIndexImport
parentRoute: typeof rootRoute
}
'/maps/': {
id: '/maps/'
path: '/maps'
Expand All @@ -83,13 +97,15 @@ export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/about': typeof AboutIndexRoute
'/chakra-ui': typeof ChakraUiIndexRoute
'/directionMaps': typeof DirectionMapsIndexRoute
'/maps': typeof MapsIndexRoute
}

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

Expand All @@ -98,29 +114,38 @@ export interface FileRoutesById {
'/': typeof IndexRoute
'/about/': typeof AboutIndexRoute
'/chakra-ui/': typeof ChakraUiIndexRoute
'/directionMaps/': typeof DirectionMapsIndexRoute
'/maps/': typeof MapsIndexRoute
}

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

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

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

Expand All @@ -137,6 +162,7 @@ export const routeTree = rootRoute
"/",
"/about/",
"/chakra-ui/",
"/directionMaps/",
"/maps/"
]
},
Expand All @@ -149,6 +175,9 @@ export const routeTree = rootRoute
"/chakra-ui/": {
"filePath": "chakra-ui/index.tsx"
},
"/directionMaps/": {
"filePath": "directionMaps/index.tsx"
},
"/maps/": {
"filePath": "maps/index.tsx"
}
Expand Down

0 comments on commit 67d811e

Please sign in to comment.