Time fork test
Some checks failed
Lint / lint (push) Failing after 9s

This commit is contained in:
Julien Valverdé
2025-01-11 17:51:36 +01:00
parent e1a85fbb7e
commit 8ae59bdd93
5 changed files with 65 additions and 52 deletions

View File

@@ -11,15 +11,15 @@
// Import Routes
import { Route as rootRoute } from './routes/__root'
import { Route as TeardownImport } from './routes/teardown'
import { Route as TimeImport } from './routes/time'
import { Route as CountImport } from './routes/count'
import { Route as IndexImport } from './routes/index'
// Create/Update Routes
const TeardownRoute = TeardownImport.update({
id: '/teardown',
path: '/teardown',
const TimeRoute = TimeImport.update({
id: '/time',
path: '/time',
getParentRoute: () => rootRoute,
} as any)
@@ -53,11 +53,11 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof CountImport
parentRoute: typeof rootRoute
}
'/teardown': {
id: '/teardown'
path: '/teardown'
fullPath: '/teardown'
preLoaderRoute: typeof TeardownImport
'/time': {
id: '/time'
path: '/time'
fullPath: '/time'
preLoaderRoute: typeof TimeImport
parentRoute: typeof rootRoute
}
}
@@ -68,41 +68,41 @@ declare module '@tanstack/react-router' {
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/count': typeof CountRoute
'/teardown': typeof TeardownRoute
'/time': typeof TimeRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/count': typeof CountRoute
'/teardown': typeof TeardownRoute
'/time': typeof TimeRoute
}
export interface FileRoutesById {
__root__: typeof rootRoute
'/': typeof IndexRoute
'/count': typeof CountRoute
'/teardown': typeof TeardownRoute
'/time': typeof TimeRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths: '/' | '/count' | '/teardown'
fullPaths: '/' | '/count' | '/time'
fileRoutesByTo: FileRoutesByTo
to: '/' | '/count' | '/teardown'
id: '__root__' | '/' | '/count' | '/teardown'
to: '/' | '/count' | '/time'
id: '__root__' | '/' | '/count' | '/time'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
CountRoute: typeof CountRoute
TeardownRoute: typeof TeardownRoute
TimeRoute: typeof TimeRoute
}
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
CountRoute: CountRoute,
TeardownRoute: TeardownRoute,
TimeRoute: TimeRoute,
}
export const routeTree = rootRoute
@@ -117,7 +117,7 @@ export const routeTree = rootRoute
"children": [
"/",
"/count",
"/teardown"
"/time"
]
},
"/": {
@@ -126,8 +126,8 @@ export const routeTree = rootRoute
"/count": {
"filePath": "count.tsx"
},
"/teardown": {
"filePath": "teardown.tsx"
"/time": {
"filePath": "time.tsx"
}
}
}