File size: 4,991 Bytes
fa7b380
 
 
 
 
 
 
 
 
 
 
 
2704918
 
fa7b380
2704918
fa7b380
 
 
 
 
 
2704918
 
 
 
 
 
 
 
 
 
fa7b380
 
 
 
 
2704918
 
 
 
 
fa7b380
 
 
2704918
fa7b380
2704918
 
fa7b380
 
 
2704918
fa7b380
2704918
 
fa7b380
 
 
 
2704918
fa7b380
2704918
 
fa7b380
 
 
2704918
 
 
 
 
 
fa7b380
2704918
 
 
 
 
 
 
 
 
 
 
 
 
fa7b380
 
 
 
2704918
fa7b380
2704918
 
fa7b380
 
 
 
 
 
 
 
 
 
 
2704918
 
 
 
 
 
 
 
 
 
 
 
 
 
fa7b380
 
 
 
 
 
 
2704918
 
 
 
 
 
 
fa7b380
 
 
 
 
2704918
fa7b380
2704918
 
fa7b380
 
 
 
2704918
 
 
 
 
 
 
 
 
 
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
/* 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 { Route as rootRouteImport } from './routes/__root'
import { Route as IndexRouteImport } from './routes/index'
import { Route as ApiUploadToDatasetRouteImport } from './routes/api/upload-to-dataset'
import { Route as ApiTagsRouteImport } from './routes/api/tags'
import { Route as ApiDownloadZipRouteImport } from './routes/api/download-zip'
import { Route as ApiDescribeImageRouteImport } from './routes/api/describe-image'

const IndexRoute = IndexRouteImport.update({
  id: '/',
  path: '/',
  getParentRoute: () => rootRouteImport,
} as any)
const ApiUploadToDatasetRoute = ApiUploadToDatasetRouteImport.update({
  id: '/api/upload-to-dataset',
  path: '/api/upload-to-dataset',
  getParentRoute: () => rootRouteImport,
} as any)
const ApiTagsRoute = ApiTagsRouteImport.update({
  id: '/api/tags',
  path: '/api/tags',
  getParentRoute: () => rootRouteImport,
} as any)
const ApiDownloadZipRoute = ApiDownloadZipRouteImport.update({
  id: '/api/download-zip',
  path: '/api/download-zip',
  getParentRoute: () => rootRouteImport,
} as any)
const ApiDescribeImageRoute = ApiDescribeImageRouteImport.update({
  id: '/api/describe-image',
  path: '/api/describe-image',
  getParentRoute: () => rootRouteImport,
} as any)

export interface FileRoutesByFullPath {
  '/': typeof IndexRoute
  '/api/describe-image': typeof ApiDescribeImageRoute
  '/api/download-zip': typeof ApiDownloadZipRoute
  '/api/tags': typeof ApiTagsRoute
  '/api/upload-to-dataset': typeof ApiUploadToDatasetRoute
}
export interface FileRoutesByTo {
  '/': typeof IndexRoute
  '/api/describe-image': typeof ApiDescribeImageRoute
  '/api/download-zip': typeof ApiDownloadZipRoute
  '/api/tags': typeof ApiTagsRoute
  '/api/upload-to-dataset': typeof ApiUploadToDatasetRoute
}
export interface FileRoutesById {
  __root__: typeof rootRouteImport
  '/': typeof IndexRoute
  '/api/describe-image': typeof ApiDescribeImageRoute
  '/api/download-zip': typeof ApiDownloadZipRoute
  '/api/tags': typeof ApiTagsRoute
  '/api/upload-to-dataset': typeof ApiUploadToDatasetRoute
}
export interface FileRouteTypes {
  fileRoutesByFullPath: FileRoutesByFullPath
  fullPaths:
    | '/'
    | '/api/describe-image'
    | '/api/download-zip'
    | '/api/tags'
    | '/api/upload-to-dataset'
  fileRoutesByTo: FileRoutesByTo
  to:
    | '/'
    | '/api/describe-image'
    | '/api/download-zip'
    | '/api/tags'
    | '/api/upload-to-dataset'
  id:
    | '__root__'
    | '/'
    | '/api/describe-image'
    | '/api/download-zip'
    | '/api/tags'
    | '/api/upload-to-dataset'
  fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
  IndexRoute: typeof IndexRoute
  ApiDescribeImageRoute: typeof ApiDescribeImageRoute
  ApiDownloadZipRoute: typeof ApiDownloadZipRoute
  ApiTagsRoute: typeof ApiTagsRoute
  ApiUploadToDatasetRoute: typeof ApiUploadToDatasetRoute
}

declare module '@tanstack/react-router' {
  interface FileRoutesByPath {
    '/': {
      id: '/'
      path: '/'
      fullPath: '/'
      preLoaderRoute: typeof IndexRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/api/upload-to-dataset': {
      id: '/api/upload-to-dataset'
      path: '/api/upload-to-dataset'
      fullPath: '/api/upload-to-dataset'
      preLoaderRoute: typeof ApiUploadToDatasetRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/api/tags': {
      id: '/api/tags'
      path: '/api/tags'
      fullPath: '/api/tags'
      preLoaderRoute: typeof ApiTagsRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/api/download-zip': {
      id: '/api/download-zip'
      path: '/api/download-zip'
      fullPath: '/api/download-zip'
      preLoaderRoute: typeof ApiDownloadZipRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/api/describe-image': {
      id: '/api/describe-image'
      path: '/api/describe-image'
      fullPath: '/api/describe-image'
      preLoaderRoute: typeof ApiDescribeImageRouteImport
      parentRoute: typeof rootRouteImport
    }
  }
}

const rootRouteChildren: RootRouteChildren = {
  IndexRoute: IndexRoute,
  ApiDescribeImageRoute: ApiDescribeImageRoute,
  ApiDownloadZipRoute: ApiDownloadZipRoute,
  ApiTagsRoute: ApiTagsRoute,
  ApiUploadToDatasetRoute: ApiUploadToDatasetRoute,
}
export const routeTree = rootRouteImport
  ._addFileChildren(rootRouteChildren)
  ._addFileTypes<FileRouteTypes>()

import type { getRouter } from './router.tsx'
import type { startInstance } from './start.ts'
declare module '@tanstack/react-start' {
  interface Register {
    ssr: true
    router: Awaited<ReturnType<typeof getRouter>>
    config: Awaited<ReturnType<typeof startInstance.getOptions>>
  }
}