gitscope
← marzneshin / v0.3.0 / dashboard/src/routeTree.gen.ts
https://dev.kronoz.win/r/marzneshin.git
dashboard/src/routeTree.gen.ts · TypeScript
Blame Raw
  1/* prettier-ignore-start */
  2
  3/* eslint-disable */
  4
  5// @ts-nocheck
  6
  7// noinspection JSUnusedGlobalSymbols
  8
  9// This file is auto-generated by TanStack Router
 10
 11// Import Routes
 12
 13import { Route as rootRoute } from './routes/__root'
 14import { Route as DashboardImport } from './routes/_dashboard'
 15import { Route as AuthImport } from './routes/_auth'
 16import { Route as DashboardIndexImport } from './routes/_dashboard/index'
 17import { Route as DashboardUsersImport } from './routes/_dashboard/users'
 18import { Route as DashboardSettingsImport } from './routes/_dashboard/settings'
 19import { Route as DashboardServicesImport } from './routes/_dashboard/services'
 20import { Route as DashboardNodesImport } from './routes/_dashboard/nodes'
 21import { Route as DashboardHostsImport } from './routes/_dashboard/hosts'
 22import { Route as AuthLoginImport } from './routes/_auth/login'
 23
 24// Create/Update Routes
 25
 26const DashboardRoute = DashboardImport.update({
 27  id: '/_dashboard',
 28  getParentRoute: () => rootRoute,
 29} as any)
 30
 31const AuthRoute = AuthImport.update({
 32  id: '/_auth',
 33  getParentRoute: () => rootRoute,
 34} as any)
 35
 36const DashboardIndexRoute = DashboardIndexImport.update({
 37  path: '/',
 38  getParentRoute: () => DashboardRoute,
 39} as any)
 40
 41const DashboardUsersRoute = DashboardUsersImport.update({
 42  path: '/users',
 43  getParentRoute: () => DashboardRoute,
 44} as any)
 45
 46const DashboardSettingsRoute = DashboardSettingsImport.update({
 47  path: '/settings',
 48  getParentRoute: () => DashboardRoute,
 49} as any)
 50
 51const DashboardServicesRoute = DashboardServicesImport.update({
 52  path: '/services',
 53  getParentRoute: () => DashboardRoute,
 54} as any)
 55
 56const DashboardNodesRoute = DashboardNodesImport.update({
 57  path: '/nodes',
 58  getParentRoute: () => DashboardRoute,
 59} as any)
 60
 61const DashboardHostsRoute = DashboardHostsImport.update({
 62  path: '/hosts',
 63  getParentRoute: () => DashboardRoute,
 64} as any)
 65
 66const AuthLoginRoute = AuthLoginImport.update({
 67  path: '/login',
 68  getParentRoute: () => AuthRoute,
 69} as any)
 70
 71// Populate the FileRoutesByPath interface
 72
 73declare module '@tanstack/react-router' {
 74  interface FileRoutesByPath {
 75    '/_auth': {
 76      id: '/_auth'
 77      path: ''
 78      fullPath: ''
 79      preLoaderRoute: typeof AuthImport
 80      parentRoute: typeof rootRoute
 81    }
 82    '/_dashboard': {
 83      id: '/_dashboard'
 84      path: ''
 85      fullPath: ''
 86      preLoaderRoute: typeof DashboardImport
 87      parentRoute: typeof rootRoute
 88    }
 89    '/_auth/login': {
 90      id: '/_auth/login'
 91      path: '/login'
 92      fullPath: '/login'
 93      preLoaderRoute: typeof AuthLoginImport
 94      parentRoute: typeof AuthImport
 95    }
 96    '/_dashboard/hosts': {
 97      id: '/_dashboard/hosts'
 98      path: '/hosts'
 99      fullPath: '/hosts'
100      preLoaderRoute: typeof DashboardHostsImport
101      parentRoute: typeof DashboardImport
102    }
103    '/_dashboard/nodes': {
104      id: '/_dashboard/nodes'
105      path: '/nodes'
106      fullPath: '/nodes'
107      preLoaderRoute: typeof DashboardNodesImport
108      parentRoute: typeof DashboardImport
109    }
110    '/_dashboard/services': {
111      id: '/_dashboard/services'
112      path: '/services'
113      fullPath: '/services'
114      preLoaderRoute: typeof DashboardServicesImport
115      parentRoute: typeof DashboardImport
116    }
117    '/_dashboard/settings': {
118      id: '/_dashboard/settings'
119      path: '/settings'
120      fullPath: '/settings'
121      preLoaderRoute: typeof DashboardSettingsImport
122      parentRoute: typeof DashboardImport
123    }
124    '/_dashboard/users': {
125      id: '/_dashboard/users'
126      path: '/users'
127      fullPath: '/users'
128      preLoaderRoute: typeof DashboardUsersImport
129      parentRoute: typeof DashboardImport
130    }
131    '/_dashboard/': {
132      id: '/_dashboard/'
133      path: '/'
134      fullPath: '/'
135      preLoaderRoute: typeof DashboardIndexImport
136      parentRoute: typeof DashboardImport
137    }
138  }
139}
140
141// Create and export the route tree
142
143export const routeTree = rootRoute.addChildren({
144  AuthRoute: AuthRoute.addChildren({ AuthLoginRoute }),
145  DashboardRoute: DashboardRoute.addChildren({
146    DashboardHostsRoute,
147    DashboardNodesRoute,
148    DashboardServicesRoute,
149    DashboardSettingsRoute,
150    DashboardUsersRoute,
151    DashboardIndexRoute,
152  }),
153})
154
155/* prettier-ignore-end */
156
157/* ROUTE_MANIFEST_START
158{
159  "routes": {
160    "__root__": {
161      "filePath": "__root.tsx",
162      "children": [
163        "/_auth",
164        "/_dashboard"
165      ]
166    },
167    "/_auth": {
168      "filePath": "_auth.tsx",
169      "children": [
170        "/_auth/login"
171      ]
172    },
173    "/_dashboard": {
174      "filePath": "_dashboard.tsx",
175      "children": [
176        "/_dashboard/hosts",
177        "/_dashboard/nodes",
178        "/_dashboard/services",
179        "/_dashboard/settings",
180        "/_dashboard/users",
181        "/_dashboard/"
182      ]
183    },
184    "/_auth/login": {
185      "filePath": "_auth/login.tsx",
186      "parent": "/_auth"
187    },
188    "/_dashboard/hosts": {
189      "filePath": "_dashboard/hosts.tsx",
190      "parent": "/_dashboard"
191    },
192    "/_dashboard/nodes": {
193      "filePath": "_dashboard/nodes.tsx",
194      "parent": "/_dashboard"
195    },
196    "/_dashboard/services": {
197      "filePath": "_dashboard/services.tsx",
198      "parent": "/_dashboard"
199    },
200    "/_dashboard/settings": {
201      "filePath": "_dashboard/settings.tsx",
202      "parent": "/_dashboard"
203    },
204    "/_dashboard/users": {
205      "filePath": "_dashboard/users.tsx",
206      "parent": "/_dashboard"
207    },
208    "/_dashboard/": {
209      "filePath": "_dashboard/index.tsx",
210      "parent": "/_dashboard"
211    }
212  }
213}
214ROUTE_MANIFEST_END */