forked from franciscoBSalgueiro/en-croissant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
routeTree.gen.ts
106 lines (87 loc) · 2.57 KB
/
routeTree.gen.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/* prettier-ignore-start */
/* eslint-disable */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// This file is auto-generated by TanStack Router
// Import Routes
import { Route as rootRoute } from './routes/__root'
import { Route as SettingsImport } from './routes/settings'
import { Route as FilesImport } from './routes/files'
import { Route as EnginesImport } from './routes/engines'
import { Route as AccountsImport } from './routes/accounts'
import { Route as IndexImport } from './routes/index'
import { Route as DatabasesIndexImport } from './routes/databases/index'
import { Route as DatabasesDatabaseIdImport } from './routes/databases/$databaseId'
// Create/Update Routes
const SettingsRoute = SettingsImport.update({
path: '/settings',
getParentRoute: () => rootRoute,
} as any)
const FilesRoute = FilesImport.update({
path: '/files',
getParentRoute: () => rootRoute,
} as any)
const EnginesRoute = EnginesImport.update({
path: '/engines',
getParentRoute: () => rootRoute,
} as any)
const AccountsRoute = AccountsImport.update({
path: '/accounts',
getParentRoute: () => rootRoute,
} as any)
const IndexRoute = IndexImport.update({
path: '/',
getParentRoute: () => rootRoute,
} as any)
const DatabasesIndexRoute = DatabasesIndexImport.update({
path: '/databases/',
getParentRoute: () => rootRoute,
} as any)
const DatabasesDatabaseIdRoute = DatabasesDatabaseIdImport.update({
path: '/databases/$databaseId',
getParentRoute: () => rootRoute,
} as any)
// Populate the FileRoutesByPath interface
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/': {
preLoaderRoute: typeof IndexImport
parentRoute: typeof rootRoute
}
'/accounts': {
preLoaderRoute: typeof AccountsImport
parentRoute: typeof rootRoute
}
'/engines': {
preLoaderRoute: typeof EnginesImport
parentRoute: typeof rootRoute
}
'/files': {
preLoaderRoute: typeof FilesImport
parentRoute: typeof rootRoute
}
'/settings': {
preLoaderRoute: typeof SettingsImport
parentRoute: typeof rootRoute
}
'/databases/$databaseId': {
preLoaderRoute: typeof DatabasesDatabaseIdImport
parentRoute: typeof rootRoute
}
'/databases/': {
preLoaderRoute: typeof DatabasesIndexImport
parentRoute: typeof rootRoute
}
}
}
// Create and export the route tree
export const routeTree = rootRoute.addChildren([
IndexRoute,
AccountsRoute,
EnginesRoute,
FilesRoute,
SettingsRoute,
DatabasesDatabaseIdRoute,
DatabasesIndexRoute,
])
/* prettier-ignore-end */