Skip to content

Commit d14d371

Browse files
committed
poc(biome): run biome check/fix on graph-framework-schema
1 parent 5b25606 commit d14d371

File tree

3 files changed

+156
-108
lines changed

3 files changed

+156
-108
lines changed

apps/events/src/routeTree.gen.ts

Lines changed: 104 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -8,154 +8,173 @@
88
// You should NOT make any changes in this file as it will be overwritten.
99
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
1010

11-
import { createFileRoute } from '@tanstack/react-router';
11+
import { createFileRoute } from '@tanstack/react-router'
1212

1313
// Import Routes
1414

15-
import { Route as rootRoute } from './routes/__root';
16-
import { Route as IndexImport } from './routes/index';
17-
import { Route as PlaygroundImport } from './routes/playground';
18-
import { Route as Schema2Import } from './routes/schema2';
19-
import { Route as SpaceSpaceIdImport } from './routes/space/$spaceId';
15+
import { Route as rootRoute } from './routes/__root'
16+
import { Route as Schema2Import } from './routes/schema2'
17+
import { Route as PlaygroundImport } from './routes/playground'
18+
import { Route as IndexImport } from './routes/index'
19+
import { Route as SpaceSpaceIdImport } from './routes/space/$spaceId'
2020

2121
// Create Virtual Routes
2222

23-
const Login2LazyImport = createFileRoute('/login2')();
24-
const LoginLazyImport = createFileRoute('/login')();
23+
const Login2LazyImport = createFileRoute('/login2')()
24+
const LoginLazyImport = createFileRoute('/login')()
2525

2626
// Create/Update Routes
2727

2828
const Login2LazyRoute = Login2LazyImport.update({
2929
id: '/login2',
3030
path: '/login2',
3131
getParentRoute: () => rootRoute,
32-
} as any).lazy(() => import('./routes/login2.lazy').then((d) => d.Route));
32+
} as any).lazy(() => import('./routes/login2.lazy').then((d) => d.Route))
3333

3434
const LoginLazyRoute = LoginLazyImport.update({
3535
id: '/login',
3636
path: '/login',
3737
getParentRoute: () => rootRoute,
38-
} as any).lazy(() => import('./routes/login.lazy').then((d) => d.Route));
38+
} as any).lazy(() => import('./routes/login.lazy').then((d) => d.Route))
3939

4040
const Schema2Route = Schema2Import.update({
4141
id: '/schema2',
4242
path: '/schema2',
4343
getParentRoute: () => rootRoute,
44-
} as any);
44+
} as any)
4545

4646
const PlaygroundRoute = PlaygroundImport.update({
4747
id: '/playground',
4848
path: '/playground',
4949
getParentRoute: () => rootRoute,
50-
} as any);
50+
} as any)
5151

5252
const IndexRoute = IndexImport.update({
5353
id: '/',
5454
path: '/',
5555
getParentRoute: () => rootRoute,
56-
} as any);
56+
} as any)
5757

5858
const SpaceSpaceIdRoute = SpaceSpaceIdImport.update({
5959
id: '/space/$spaceId',
6060
path: '/space/$spaceId',
6161
getParentRoute: () => rootRoute,
62-
} as any);
62+
} as any)
6363

6464
// Populate the FileRoutesByPath interface
6565

6666
declare module '@tanstack/react-router' {
6767
interface FileRoutesByPath {
6868
'/': {
69-
id: '/';
70-
path: '/';
71-
fullPath: '/';
72-
preLoaderRoute: typeof IndexImport;
73-
parentRoute: typeof rootRoute;
74-
};
69+
id: '/'
70+
path: '/'
71+
fullPath: '/'
72+
preLoaderRoute: typeof IndexImport
73+
parentRoute: typeof rootRoute
74+
}
7575
'/playground': {
76-
id: '/playground';
77-
path: '/playground';
78-
fullPath: '/playground';
79-
preLoaderRoute: typeof PlaygroundImport;
80-
parentRoute: typeof rootRoute;
81-
};
76+
id: '/playground'
77+
path: '/playground'
78+
fullPath: '/playground'
79+
preLoaderRoute: typeof PlaygroundImport
80+
parentRoute: typeof rootRoute
81+
}
8282
'/schema2': {
83-
id: '/schema2';
84-
path: '/schema2';
85-
fullPath: '/schema2';
86-
preLoaderRoute: typeof Schema2Import;
87-
parentRoute: typeof rootRoute;
88-
};
83+
id: '/schema2'
84+
path: '/schema2'
85+
fullPath: '/schema2'
86+
preLoaderRoute: typeof Schema2Import
87+
parentRoute: typeof rootRoute
88+
}
8989
'/login': {
90-
id: '/login';
91-
path: '/login';
92-
fullPath: '/login';
93-
preLoaderRoute: typeof LoginLazyImport;
94-
parentRoute: typeof rootRoute;
95-
};
90+
id: '/login'
91+
path: '/login'
92+
fullPath: '/login'
93+
preLoaderRoute: typeof LoginLazyImport
94+
parentRoute: typeof rootRoute
95+
}
9696
'/login2': {
97-
id: '/login2';
98-
path: '/login2';
99-
fullPath: '/login2';
100-
preLoaderRoute: typeof Login2LazyImport;
101-
parentRoute: typeof rootRoute;
102-
};
97+
id: '/login2'
98+
path: '/login2'
99+
fullPath: '/login2'
100+
preLoaderRoute: typeof Login2LazyImport
101+
parentRoute: typeof rootRoute
102+
}
103103
'/space/$spaceId': {
104-
id: '/space/$spaceId';
105-
path: '/space/$spaceId';
106-
fullPath: '/space/$spaceId';
107-
preLoaderRoute: typeof SpaceSpaceIdImport;
108-
parentRoute: typeof rootRoute;
109-
};
104+
id: '/space/$spaceId'
105+
path: '/space/$spaceId'
106+
fullPath: '/space/$spaceId'
107+
preLoaderRoute: typeof SpaceSpaceIdImport
108+
parentRoute: typeof rootRoute
109+
}
110110
}
111111
}
112112

113113
// Create and export the route tree
114114

115115
export interface FileRoutesByFullPath {
116-
'/': typeof IndexRoute;
117-
'/playground': typeof PlaygroundRoute;
118-
'/schema2': typeof Schema2Route;
119-
'/login': typeof LoginLazyRoute;
120-
'/login2': typeof Login2LazyRoute;
121-
'/space/$spaceId': typeof SpaceSpaceIdRoute;
116+
'/': typeof IndexRoute
117+
'/playground': typeof PlaygroundRoute
118+
'/schema2': typeof Schema2Route
119+
'/login': typeof LoginLazyRoute
120+
'/login2': typeof Login2LazyRoute
121+
'/space/$spaceId': typeof SpaceSpaceIdRoute
122122
}
123123

124124
export interface FileRoutesByTo {
125-
'/': typeof IndexRoute;
126-
'/playground': typeof PlaygroundRoute;
127-
'/schema2': typeof Schema2Route;
128-
'/login': typeof LoginLazyRoute;
129-
'/login2': typeof Login2LazyRoute;
130-
'/space/$spaceId': typeof SpaceSpaceIdRoute;
125+
'/': typeof IndexRoute
126+
'/playground': typeof PlaygroundRoute
127+
'/schema2': typeof Schema2Route
128+
'/login': typeof LoginLazyRoute
129+
'/login2': typeof Login2LazyRoute
130+
'/space/$spaceId': typeof SpaceSpaceIdRoute
131131
}
132132

133133
export interface FileRoutesById {
134-
__root__: typeof rootRoute;
135-
'/': typeof IndexRoute;
136-
'/playground': typeof PlaygroundRoute;
137-
'/schema2': typeof Schema2Route;
138-
'/login': typeof LoginLazyRoute;
139-
'/login2': typeof Login2LazyRoute;
140-
'/space/$spaceId': typeof SpaceSpaceIdRoute;
134+
__root__: typeof rootRoute
135+
'/': typeof IndexRoute
136+
'/playground': typeof PlaygroundRoute
137+
'/schema2': typeof Schema2Route
138+
'/login': typeof LoginLazyRoute
139+
'/login2': typeof Login2LazyRoute
140+
'/space/$spaceId': typeof SpaceSpaceIdRoute
141141
}
142142

143143
export interface FileRouteTypes {
144-
fileRoutesByFullPath: FileRoutesByFullPath;
145-
fullPaths: '/' | '/playground' | '/schema2' | '/login' | '/login2' | '/space/$spaceId';
146-
fileRoutesByTo: FileRoutesByTo;
147-
to: '/' | '/playground' | '/schema2' | '/login' | '/login2' | '/space/$spaceId';
148-
id: '__root__' | '/' | '/playground' | '/schema2' | '/login' | '/login2' | '/space/$spaceId';
149-
fileRoutesById: FileRoutesById;
144+
fileRoutesByFullPath: FileRoutesByFullPath
145+
fullPaths:
146+
| '/'
147+
| '/playground'
148+
| '/schema2'
149+
| '/login'
150+
| '/login2'
151+
| '/space/$spaceId'
152+
fileRoutesByTo: FileRoutesByTo
153+
to:
154+
| '/'
155+
| '/playground'
156+
| '/schema2'
157+
| '/login'
158+
| '/login2'
159+
| '/space/$spaceId'
160+
id:
161+
| '__root__'
162+
| '/'
163+
| '/playground'
164+
| '/schema2'
165+
| '/login'
166+
| '/login2'
167+
| '/space/$spaceId'
168+
fileRoutesById: FileRoutesById
150169
}
151170

152171
export interface RootRouteChildren {
153-
IndexRoute: typeof IndexRoute;
154-
PlaygroundRoute: typeof PlaygroundRoute;
155-
Schema2Route: typeof Schema2Route;
156-
LoginLazyRoute: typeof LoginLazyRoute;
157-
Login2LazyRoute: typeof Login2LazyRoute;
158-
SpaceSpaceIdRoute: typeof SpaceSpaceIdRoute;
172+
IndexRoute: typeof IndexRoute
173+
PlaygroundRoute: typeof PlaygroundRoute
174+
Schema2Route: typeof Schema2Route
175+
LoginLazyRoute: typeof LoginLazyRoute
176+
Login2LazyRoute: typeof Login2LazyRoute
177+
SpaceSpaceIdRoute: typeof SpaceSpaceIdRoute
159178
}
160179

161180
const rootRouteChildren: RootRouteChildren = {
@@ -165,9 +184,11 @@ const rootRouteChildren: RootRouteChildren = {
165184
LoginLazyRoute: LoginLazyRoute,
166185
Login2LazyRoute: Login2LazyRoute,
167186
SpaceSpaceIdRoute: SpaceSpaceIdRoute,
168-
};
187+
}
169188

170-
export const routeTree = rootRoute._addFileChildren(rootRouteChildren)._addFileTypes<FileRouteTypes>();
189+
export const routeTree = rootRoute
190+
._addFileChildren(rootRouteChildren)
191+
._addFileTypes<FileRouteTypes>()
171192

172193
/* ROUTE_MANIFEST_START
173194
{

0 commit comments

Comments
 (0)