Initial commit.
This commit is contained in:
191
src/routeTree.gen.ts
Normal file
191
src/routeTree.gen.ts
Normal file
@@ -0,0 +1,191 @@
|
||||
/* eslint-disable */
|
||||
|
||||
// @ts-nocheck
|
||||
|
||||
// noinspection JSUnusedGlobalSymbols
|
||||
|
||||
// This file was automatically generated by TanStack Router.
|
||||
// You should NOT make any changes in this file as it will be overwritten.
|
||||
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
||||
|
||||
// Import Routes
|
||||
|
||||
import { Route as rootRoute } from './routes/__root'
|
||||
import { Route as AboutImport } from './routes/about'
|
||||
import { Route as IndexImport } from './routes/index'
|
||||
import { Route as SessionsIndexImport } from './routes/sessions.index'
|
||||
import { Route as CampaignsIndexImport } from './routes/campaigns.index'
|
||||
import { Route as CampaignsCampaignIdImport } from './routes/campaigns.$campaignId'
|
||||
|
||||
// Create/Update Routes
|
||||
|
||||
const AboutRoute = AboutImport.update({
|
||||
id: '/about',
|
||||
path: '/about',
|
||||
getParentRoute: () => rootRoute,
|
||||
} as any)
|
||||
|
||||
const IndexRoute = IndexImport.update({
|
||||
id: '/',
|
||||
path: '/',
|
||||
getParentRoute: () => rootRoute,
|
||||
} as any)
|
||||
|
||||
const SessionsIndexRoute = SessionsIndexImport.update({
|
||||
id: '/sessions/',
|
||||
path: '/sessions/',
|
||||
getParentRoute: () => rootRoute,
|
||||
} as any)
|
||||
|
||||
const CampaignsIndexRoute = CampaignsIndexImport.update({
|
||||
id: '/campaigns/',
|
||||
path: '/campaigns/',
|
||||
getParentRoute: () => rootRoute,
|
||||
} as any)
|
||||
|
||||
const CampaignsCampaignIdRoute = CampaignsCampaignIdImport.update({
|
||||
id: '/campaigns/$campaignId',
|
||||
path: '/campaigns/$campaignId',
|
||||
getParentRoute: () => rootRoute,
|
||||
} as any)
|
||||
|
||||
// Populate the FileRoutesByPath interface
|
||||
|
||||
declare module '@tanstack/react-router' {
|
||||
interface FileRoutesByPath {
|
||||
'/': {
|
||||
id: '/'
|
||||
path: '/'
|
||||
fullPath: '/'
|
||||
preLoaderRoute: typeof IndexImport
|
||||
parentRoute: typeof rootRoute
|
||||
}
|
||||
'/about': {
|
||||
id: '/about'
|
||||
path: '/about'
|
||||
fullPath: '/about'
|
||||
preLoaderRoute: typeof AboutImport
|
||||
parentRoute: typeof rootRoute
|
||||
}
|
||||
'/campaigns/$campaignId': {
|
||||
id: '/campaigns/$campaignId'
|
||||
path: '/campaigns/$campaignId'
|
||||
fullPath: '/campaigns/$campaignId'
|
||||
preLoaderRoute: typeof CampaignsCampaignIdImport
|
||||
parentRoute: typeof rootRoute
|
||||
}
|
||||
'/campaigns/': {
|
||||
id: '/campaigns/'
|
||||
path: '/campaigns'
|
||||
fullPath: '/campaigns'
|
||||
preLoaderRoute: typeof CampaignsIndexImport
|
||||
parentRoute: typeof rootRoute
|
||||
}
|
||||
'/sessions/': {
|
||||
id: '/sessions/'
|
||||
path: '/sessions'
|
||||
fullPath: '/sessions'
|
||||
preLoaderRoute: typeof SessionsIndexImport
|
||||
parentRoute: typeof rootRoute
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Create and export the route tree
|
||||
|
||||
export interface FileRoutesByFullPath {
|
||||
'/': typeof IndexRoute
|
||||
'/about': typeof AboutRoute
|
||||
'/campaigns/$campaignId': typeof CampaignsCampaignIdRoute
|
||||
'/campaigns': typeof CampaignsIndexRoute
|
||||
'/sessions': typeof SessionsIndexRoute
|
||||
}
|
||||
|
||||
export interface FileRoutesByTo {
|
||||
'/': typeof IndexRoute
|
||||
'/about': typeof AboutRoute
|
||||
'/campaigns/$campaignId': typeof CampaignsCampaignIdRoute
|
||||
'/campaigns': typeof CampaignsIndexRoute
|
||||
'/sessions': typeof SessionsIndexRoute
|
||||
}
|
||||
|
||||
export interface FileRoutesById {
|
||||
__root__: typeof rootRoute
|
||||
'/': typeof IndexRoute
|
||||
'/about': typeof AboutRoute
|
||||
'/campaigns/$campaignId': typeof CampaignsCampaignIdRoute
|
||||
'/campaigns/': typeof CampaignsIndexRoute
|
||||
'/sessions/': typeof SessionsIndexRoute
|
||||
}
|
||||
|
||||
export interface FileRouteTypes {
|
||||
fileRoutesByFullPath: FileRoutesByFullPath
|
||||
fullPaths:
|
||||
| '/'
|
||||
| '/about'
|
||||
| '/campaigns/$campaignId'
|
||||
| '/campaigns'
|
||||
| '/sessions'
|
||||
fileRoutesByTo: FileRoutesByTo
|
||||
to: '/' | '/about' | '/campaigns/$campaignId' | '/campaigns' | '/sessions'
|
||||
id:
|
||||
| '__root__'
|
||||
| '/'
|
||||
| '/about'
|
||||
| '/campaigns/$campaignId'
|
||||
| '/campaigns/'
|
||||
| '/sessions/'
|
||||
fileRoutesById: FileRoutesById
|
||||
}
|
||||
|
||||
export interface RootRouteChildren {
|
||||
IndexRoute: typeof IndexRoute
|
||||
AboutRoute: typeof AboutRoute
|
||||
CampaignsCampaignIdRoute: typeof CampaignsCampaignIdRoute
|
||||
CampaignsIndexRoute: typeof CampaignsIndexRoute
|
||||
SessionsIndexRoute: typeof SessionsIndexRoute
|
||||
}
|
||||
|
||||
const rootRouteChildren: RootRouteChildren = {
|
||||
IndexRoute: IndexRoute,
|
||||
AboutRoute: AboutRoute,
|
||||
CampaignsCampaignIdRoute: CampaignsCampaignIdRoute,
|
||||
CampaignsIndexRoute: CampaignsIndexRoute,
|
||||
SessionsIndexRoute: SessionsIndexRoute,
|
||||
}
|
||||
|
||||
export const routeTree = rootRoute
|
||||
._addFileChildren(rootRouteChildren)
|
||||
._addFileTypes<FileRouteTypes>()
|
||||
|
||||
/* ROUTE_MANIFEST_START
|
||||
{
|
||||
"routes": {
|
||||
"__root__": {
|
||||
"filePath": "__root.tsx",
|
||||
"children": [
|
||||
"/",
|
||||
"/about",
|
||||
"/campaigns/$campaignId",
|
||||
"/campaigns/",
|
||||
"/sessions/"
|
||||
]
|
||||
},
|
||||
"/": {
|
||||
"filePath": "index.tsx"
|
||||
},
|
||||
"/about": {
|
||||
"filePath": "about.tsx"
|
||||
},
|
||||
"/campaigns/$campaignId": {
|
||||
"filePath": "campaigns.$campaignId.tsx"
|
||||
},
|
||||
"/campaigns/": {
|
||||
"filePath": "campaigns.index.tsx"
|
||||
},
|
||||
"/sessions/": {
|
||||
"filePath": "sessions.index.tsx"
|
||||
}
|
||||
}
|
||||
}
|
||||
ROUTE_MANIFEST_END */
|
||||
Reference in New Issue
Block a user