Skip to content

Commit 5e24f36

Browse files
committed
feature: add avg interaction time
1 parent 6b91f5a commit 5e24f36

16 files changed

Lines changed: 1069 additions & 694 deletions

File tree

clients/search-component/example/src/routeTree.gen.ts

Lines changed: 72 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -8,130 +8,130 @@
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 SearchpageImport } from "./routes/searchpage";
17-
import { Route as RecsImport } from "./routes/recs";
18-
import { Route as EcommerceImport } from "./routes/ecommerce";
15+
import { Route as rootRoute } from './routes/__root'
16+
import { Route as SearchpageImport } from './routes/searchpage'
17+
import { Route as RecsImport } from './routes/recs'
18+
import { Route as EcommerceImport } from './routes/ecommerce'
1919

2020
// Create Virtual Routes
2121

22-
const IndexLazyImport = createFileRoute("/")();
22+
const IndexLazyImport = createFileRoute('/')()
2323

2424
// Create/Update Routes
2525

2626
const SearchpageRoute = SearchpageImport.update({
27-
id: "/searchpage",
28-
path: "/searchpage",
27+
id: '/searchpage',
28+
path: '/searchpage',
2929
getParentRoute: () => rootRoute,
30-
} as any);
30+
} as any)
3131

3232
const RecsRoute = RecsImport.update({
33-
id: "/recs",
34-
path: "/recs",
33+
id: '/recs',
34+
path: '/recs',
3535
getParentRoute: () => rootRoute,
36-
} as any);
36+
} as any)
3737

3838
const EcommerceRoute = EcommerceImport.update({
39-
id: "/ecommerce",
40-
path: "/ecommerce",
39+
id: '/ecommerce',
40+
path: '/ecommerce',
4141
getParentRoute: () => rootRoute,
42-
} as any);
42+
} as any)
4343

4444
const IndexLazyRoute = IndexLazyImport.update({
45-
id: "/",
46-
path: "/",
45+
id: '/',
46+
path: '/',
4747
getParentRoute: () => rootRoute,
48-
} as any).lazy(() => import("./routes/index.lazy").then((d) => d.Route));
48+
} as any).lazy(() => import('./routes/index.lazy').then((d) => d.Route))
4949

5050
// Populate the FileRoutesByPath interface
5151

52-
declare module "@tanstack/react-router" {
52+
declare module '@tanstack/react-router' {
5353
interface FileRoutesByPath {
54-
"/": {
55-
id: "/";
56-
path: "/";
57-
fullPath: "/";
58-
preLoaderRoute: typeof IndexLazyImport;
59-
parentRoute: typeof rootRoute;
60-
};
61-
"/ecommerce": {
62-
id: "/ecommerce";
63-
path: "/ecommerce";
64-
fullPath: "/ecommerce";
65-
preLoaderRoute: typeof EcommerceImport;
66-
parentRoute: typeof rootRoute;
67-
};
68-
"/recs": {
69-
id: "/recs";
70-
path: "/recs";
71-
fullPath: "/recs";
72-
preLoaderRoute: typeof RecsImport;
73-
parentRoute: typeof rootRoute;
74-
};
75-
"/searchpage": {
76-
id: "/searchpage";
77-
path: "/searchpage";
78-
fullPath: "/searchpage";
79-
preLoaderRoute: typeof SearchpageImport;
80-
parentRoute: typeof rootRoute;
81-
};
54+
'/': {
55+
id: '/'
56+
path: '/'
57+
fullPath: '/'
58+
preLoaderRoute: typeof IndexLazyImport
59+
parentRoute: typeof rootRoute
60+
}
61+
'/ecommerce': {
62+
id: '/ecommerce'
63+
path: '/ecommerce'
64+
fullPath: '/ecommerce'
65+
preLoaderRoute: typeof EcommerceImport
66+
parentRoute: typeof rootRoute
67+
}
68+
'/recs': {
69+
id: '/recs'
70+
path: '/recs'
71+
fullPath: '/recs'
72+
preLoaderRoute: typeof RecsImport
73+
parentRoute: typeof rootRoute
74+
}
75+
'/searchpage': {
76+
id: '/searchpage'
77+
path: '/searchpage'
78+
fullPath: '/searchpage'
79+
preLoaderRoute: typeof SearchpageImport
80+
parentRoute: typeof rootRoute
81+
}
8282
}
8383
}
8484

8585
// Create and export the route tree
8686

8787
export interface FileRoutesByFullPath {
88-
"/": typeof IndexLazyRoute;
89-
"/ecommerce": typeof EcommerceRoute;
90-
"/recs": typeof RecsRoute;
91-
"/searchpage": typeof SearchpageRoute;
88+
'/': typeof IndexLazyRoute
89+
'/ecommerce': typeof EcommerceRoute
90+
'/recs': typeof RecsRoute
91+
'/searchpage': typeof SearchpageRoute
9292
}
9393

9494
export interface FileRoutesByTo {
95-
"/": typeof IndexLazyRoute;
96-
"/ecommerce": typeof EcommerceRoute;
97-
"/recs": typeof RecsRoute;
98-
"/searchpage": typeof SearchpageRoute;
95+
'/': typeof IndexLazyRoute
96+
'/ecommerce': typeof EcommerceRoute
97+
'/recs': typeof RecsRoute
98+
'/searchpage': typeof SearchpageRoute
9999
}
100100

101101
export interface FileRoutesById {
102-
__root__: typeof rootRoute;
103-
"/": typeof IndexLazyRoute;
104-
"/ecommerce": typeof EcommerceRoute;
105-
"/recs": typeof RecsRoute;
106-
"/searchpage": typeof SearchpageRoute;
102+
__root__: typeof rootRoute
103+
'/': typeof IndexLazyRoute
104+
'/ecommerce': typeof EcommerceRoute
105+
'/recs': typeof RecsRoute
106+
'/searchpage': typeof SearchpageRoute
107107
}
108108

109109
export interface FileRouteTypes {
110-
fileRoutesByFullPath: FileRoutesByFullPath;
111-
fullPaths: "/" | "/ecommerce" | "/recs" | "/searchpage";
112-
fileRoutesByTo: FileRoutesByTo;
113-
to: "/" | "/ecommerce" | "/recs" | "/searchpage";
114-
id: "__root__" | "/" | "/ecommerce" | "/recs" | "/searchpage";
115-
fileRoutesById: FileRoutesById;
110+
fileRoutesByFullPath: FileRoutesByFullPath
111+
fullPaths: '/' | '/ecommerce' | '/recs' | '/searchpage'
112+
fileRoutesByTo: FileRoutesByTo
113+
to: '/' | '/ecommerce' | '/recs' | '/searchpage'
114+
id: '__root__' | '/' | '/ecommerce' | '/recs' | '/searchpage'
115+
fileRoutesById: FileRoutesById
116116
}
117117

118118
export interface RootRouteChildren {
119-
IndexLazyRoute: typeof IndexLazyRoute;
120-
EcommerceRoute: typeof EcommerceRoute;
121-
RecsRoute: typeof RecsRoute;
122-
SearchpageRoute: typeof SearchpageRoute;
119+
IndexLazyRoute: typeof IndexLazyRoute
120+
EcommerceRoute: typeof EcommerceRoute
121+
RecsRoute: typeof RecsRoute
122+
SearchpageRoute: typeof SearchpageRoute
123123
}
124124

125125
const rootRouteChildren: RootRouteChildren = {
126126
IndexLazyRoute: IndexLazyRoute,
127127
EcommerceRoute: EcommerceRoute,
128128
RecsRoute: RecsRoute,
129129
SearchpageRoute: SearchpageRoute,
130-
};
130+
}
131131

132132
export const routeTree = rootRoute
133133
._addFileChildren(rootRouteChildren)
134-
._addFileTypes<FileRouteTypes>();
134+
._addFileTypes<FileRouteTypes>()
135135

136136
/* ROUTE_MANIFEST_START
137137
{

0 commit comments

Comments
 (0)