Showing the changes to apps/cloud/src (1 of 15 files). Show all
Unified · Split
| @@ -14,11 +14,13 @@ import { Route as LoginRouteImport } from './routes/bare/login' · 13 unmodified lines | ||
| 14 | 14 | import { Route as CreateOrgRouteImport } from './routes/bare/create-org' |
| 15 | 15 | import { Route as DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIndexRouteImport } from './../../../packages/react/src/routes/index' |
| 16 | 16 | import { Route as DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolsRouteImport } from './../../../packages/react/src/routes/tools' |
| 17 | +import { Route as DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRouteImport } from './../../../packages/react/src/routes/toolkits' | |
| 17 | 18 | import { Route as SecretsRouteImport } from './routes/app/secrets' |
| 18 | 19 | import { Route as DotDotDotDotDotDotDotDotPackagesReactSrcRoutesPoliciesRouteImport } from './../../../packages/react/src/routes/policies' |
| 19 | 20 | import { Route as OrgRouteImport } from './routes/app/org' |
| 20 | 21 | import { Route as BillingRouteImport } from './routes/app/billing' |
| 21 | 22 | import { Route as ApiKeysRouteImport } from './routes/app/api-keys' |
| 23 | +import { Route as DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsDottoolkitSlugRouteImport } from './../../../packages/react/src/routes/toolkits.$toolkitSlug' | |
| 22 | 24 | import { Route as ResumeDotexecutionIdRouteImport } from './routes/app/resume.$executionId' |
| 23 | 25 | import { Route as DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIntegrationsDotnamespaceRouteImport } from './../../../packages/react/src/routes/integrations.$namespace' |
| 24 | 26 | import { Route as Billing_DotplansRouteImport } from './routes/app/billing_.plans' |
| @@ -51,6 +53,12 @@ const DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolsRoute = · 26 unmodified lines | ||
| 51 | 53 | path: '/{-$orgSlug}/tools', |
| 52 | 54 | getParentRoute: () => rootRouteImport, |
| 53 | 55 | } as any) |
| 56 | +const DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRoute = | |
| 57 | + DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRouteImport.update({ | |
| 58 | + id: '/{-$orgSlug}/toolkits', | |
| 59 | + path: '/{-$orgSlug}/toolkits', | |
| 60 | + getParentRoute: () => rootRouteImport, | |
| 61 | + } as any) | |
| 54 | 62 | const SecretsRoute = SecretsRouteImport.update({ |
| 55 | 63 | id: '/{-$orgSlug}/secrets', |
| 56 | 64 | path: '/{-$orgSlug}/secrets', |
| @@ -77,6 +85,15 @@ const ApiKeysRoute = ApiKeysRouteImport.update({ · 20 unmodified lines | ||
| 77 | 85 | path: '/{-$orgSlug}/api-keys', |
| 78 | 86 | getParentRoute: () => rootRouteImport, |
| 79 | 87 | } as any) |
| 88 | +const DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsDottoolkitSlugRoute = | |
| 89 | + DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsDottoolkitSlugRouteImport.update( | |
| 90 | + { | |
| 91 | + id: '/$toolkitSlug', | |
| 92 | + path: '/$toolkitSlug', | |
| 93 | + getParentRoute: () => | |
| 94 | + DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRoute, | |
| 95 | + } as any, | |
| 96 | + ) | |
| 80 | 97 | const ResumeDotexecutionIdRoute = ResumeDotexecutionIdRouteImport.update({ |
| 81 | 98 | id: '/{-$orgSlug}/resume/$executionId', |
| 82 | 99 | path: '/{-$orgSlug}/resume/$executionId', |
| @@ -113,11 +130,13 @@ export interface FileRoutesByFullPath { · 30 unmodified lines | ||
| 113 | 130 | '/{-$orgSlug}/org': typeof OrgRoute |
| 114 | 131 | '/{-$orgSlug}/policies': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesPoliciesRoute |
| 115 | 132 | '/{-$orgSlug}/secrets': typeof SecretsRoute |
| 133 | + '/{-$orgSlug}/toolkits': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRouteWithChildren | |
| 116 | 134 | '/{-$orgSlug}/tools': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolsRoute |
| 117 | 135 | '/{-$orgSlug}/': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIndexRoute |
| 118 | 136 | '/{-$orgSlug}/billing/plans': typeof Billing_DotplansRoute |
| 119 | 137 | '/{-$orgSlug}/integrations/$namespace': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIntegrationsDotnamespaceRoute |
| 120 | 138 | '/{-$orgSlug}/resume/$executionId': typeof ResumeDotexecutionIdRoute |
| 139 | + '/{-$orgSlug}/toolkits/$toolkitSlug': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsDottoolkitSlugRoute | |
| 121 | 140 | '/{-$orgSlug}/integrations/add/$pluginKey': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIntegrationsDotaddDotpluginKeyRoute |
| 122 | 141 | } |
| 123 | 142 | export interface FileRoutesByTo { |
| @@ -129,11 +148,13 @@ export interface FileRoutesByTo { · 5 unmodified lines | ||
| 129 | 148 | '/{-$orgSlug}/org': typeof OrgRoute |
| 130 | 149 | '/{-$orgSlug}/policies': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesPoliciesRoute |
| 131 | 150 | '/{-$orgSlug}/secrets': typeof SecretsRoute |
| 151 | + '/{-$orgSlug}/toolkits': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRouteWithChildren | |
| 132 | 152 | '/{-$orgSlug}/tools': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolsRoute |
| 133 | 153 | '/{-$orgSlug}': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIndexRoute |
| 134 | 154 | '/{-$orgSlug}/billing/plans': typeof Billing_DotplansRoute |
| 135 | 155 | '/{-$orgSlug}/integrations/$namespace': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIntegrationsDotnamespaceRoute |
| 136 | 156 | '/{-$orgSlug}/resume/$executionId': typeof ResumeDotexecutionIdRoute |
| 157 | + '/{-$orgSlug}/toolkits/$toolkitSlug': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsDottoolkitSlugRoute | |
| 137 | 158 | '/{-$orgSlug}/integrations/add/$pluginKey': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIntegrationsDotaddDotpluginKeyRoute |
| 138 | 159 | } |
| 139 | 160 | export interface FileRoutesById { |
| @@ -146,11 +167,13 @@ export interface FileRoutesById { · 6 unmodified lines | ||
| 146 | 167 | '/{-$orgSlug}/org': typeof OrgRoute |
| 147 | 168 | '/{-$orgSlug}/policies': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesPoliciesRoute |
| 148 | 169 | '/{-$orgSlug}/secrets': typeof SecretsRoute |
| 170 | + '/{-$orgSlug}/toolkits': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRouteWithChildren | |
| 149 | 171 | '/{-$orgSlug}/tools': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolsRoute |
| 150 | 172 | '/{-$orgSlug}/': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIndexRoute |
| 151 | 173 | '/{-$orgSlug}/billing_/plans': typeof Billing_DotplansRoute |
| 152 | 174 | '/{-$orgSlug}/integrations/$namespace': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIntegrationsDotnamespaceRoute |
| 153 | 175 | '/{-$orgSlug}/resume/$executionId': typeof ResumeDotexecutionIdRoute |
| 176 | + '/{-$orgSlug}/toolkits/$toolkitSlug': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsDottoolkitSlugRoute | |
| 154 | 177 | '/{-$orgSlug}/integrations/add/$pluginKey': typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIntegrationsDotaddDotpluginKeyRoute |
| 155 | 178 | } |
| 156 | 179 | export interface FileRouteTypes { |
| @@ -164,11 +187,13 @@ export interface FileRouteTypes { · 7 unmodified lines | ||
| 164 | 187 | | '/{-$orgSlug}/org' |
| 165 | 188 | | '/{-$orgSlug}/policies' |
| 166 | 189 | | '/{-$orgSlug}/secrets' |
| 190 | + | '/{-$orgSlug}/toolkits' | |
| 167 | 191 | | '/{-$orgSlug}/tools' |
| 168 | 192 | | '/{-$orgSlug}/' |
| 169 | 193 | | '/{-$orgSlug}/billing/plans' |
| 170 | 194 | | '/{-$orgSlug}/integrations/$namespace' |
| 171 | 195 | | '/{-$orgSlug}/resume/$executionId' |
| 196 | + | '/{-$orgSlug}/toolkits/$toolkitSlug' | |
| 172 | 197 | | '/{-$orgSlug}/integrations/add/$pluginKey' |
| 173 | 198 | fileRoutesByTo: FileRoutesByTo |
| 174 | 199 | to: |
| @@ -180,11 +205,13 @@ export interface FileRouteTypes { · 5 unmodified lines | ||
| 180 | 205 | | '/{-$orgSlug}/org' |
| 181 | 206 | | '/{-$orgSlug}/policies' |
| 182 | 207 | | '/{-$orgSlug}/secrets' |
| 208 | + | '/{-$orgSlug}/toolkits' | |
| 183 | 209 | | '/{-$orgSlug}/tools' |
| 184 | 210 | | '/{-$orgSlug}' |
| 185 | 211 | | '/{-$orgSlug}/billing/plans' |
| 186 | 212 | | '/{-$orgSlug}/integrations/$namespace' |
| 187 | 213 | | '/{-$orgSlug}/resume/$executionId' |
| 214 | + | '/{-$orgSlug}/toolkits/$toolkitSlug' | |
| 188 | 215 | | '/{-$orgSlug}/integrations/add/$pluginKey' |
| 189 | 216 | id: |
| 190 | 217 | | '__root__' |
| @@ -196,11 +223,13 @@ export interface FileRouteTypes { · 5 unmodified lines | ||
| 196 | 223 | | '/{-$orgSlug}/org' |
| 197 | 224 | | '/{-$orgSlug}/policies' |
| 198 | 225 | | '/{-$orgSlug}/secrets' |
| 226 | + | '/{-$orgSlug}/toolkits' | |
| 199 | 227 | | '/{-$orgSlug}/tools' |
| 200 | 228 | | '/{-$orgSlug}/' |
| 201 | 229 | | '/{-$orgSlug}/billing_/plans' |
| 202 | 230 | | '/{-$orgSlug}/integrations/$namespace' |
| 203 | 231 | | '/{-$orgSlug}/resume/$executionId' |
| 232 | + | '/{-$orgSlug}/toolkits/$toolkitSlug' | |
| 204 | 233 | | '/{-$orgSlug}/integrations/add/$pluginKey' |
| 205 | 234 | fileRoutesById: FileRoutesById |
| 206 | 235 | } |
| @@ -213,6 +242,7 @@ export interface RootRouteChildren { · 6 unmodified lines | ||
| 213 | 242 | OrgRoute: typeof OrgRoute |
| 214 | 243 | DotDotDotDotDotDotDotDotPackagesReactSrcRoutesPoliciesRoute: typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesPoliciesRoute |
| 215 | 244 | SecretsRoute: typeof SecretsRoute |
| 245 | + DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRoute: typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRouteWithChildren | |
| 216 | 246 | DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolsRoute: typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolsRoute |
| 217 | 247 | DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIndexRoute: typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIndexRoute |
| 218 | 248 | Billing_DotplansRoute: typeof Billing_DotplansRoute |
| @@ -258,6 +288,13 @@ declare module '@tanstack/react-router' { · 39 unmodified lines | ||
| 258 | 288 | preLoaderRoute: typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolsRouteImport |
| 259 | 289 | parentRoute: typeof rootRouteImport |
| 260 | 290 | } |
| 291 | + '/{-$orgSlug}/toolkits': { | |
| 292 | + id: '/{-$orgSlug}/toolkits' | |
| 293 | + path: '/{-$orgSlug}/toolkits' | |
| 294 | + fullPath: '/{-$orgSlug}/toolkits' | |
| 295 | + preLoaderRoute: typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRouteImport | |
| 296 | + parentRoute: typeof rootRouteImport | |
| 297 | + } | |
| 261 | 298 | '/{-$orgSlug}/secrets': { |
| 262 | 299 | id: '/{-$orgSlug}/secrets' |
| 263 | 300 | path: '/{-$orgSlug}/secrets' |
| @@ -293,6 +330,13 @@ declare module '@tanstack/react-router' { · 29 unmodified lines | ||
| 293 | 330 | preLoaderRoute: typeof ApiKeysRouteImport |
| 294 | 331 | parentRoute: typeof rootRouteImport |
| 295 | 332 | } |
| 333 | + '/{-$orgSlug}/toolkits/$toolkitSlug': { | |
| 334 | + id: '/{-$orgSlug}/toolkits/$toolkitSlug' | |
| 335 | + path: '/$toolkitSlug' | |
| 336 | + fullPath: '/{-$orgSlug}/toolkits/$toolkitSlug' | |
| 337 | + preLoaderRoute: typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsDottoolkitSlugRouteImport | |
| 338 | + parentRoute: typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRoute | |
| 339 | + } | |
| 296 | 340 | '/{-$orgSlug}/resume/$executionId': { |
| 297 | 341 | id: '/{-$orgSlug}/resume/$executionId' |
| 298 | 342 | path: '/{-$orgSlug}/resume/$executionId' |
| @@ -324,6 +368,21 @@ declare module '@tanstack/react-router' { · 25 unmodified lines | ||
| 324 | 368 | } |
| 325 | 369 | } |
| 326 | 370 | |
| 371 | +interface DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRouteChildren { | |
| 372 | + DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsDottoolkitSlugRoute: typeof DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsDottoolkitSlugRoute | |
| 373 | +} | |
| 374 | + | |
| 375 | +const DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRouteChildren: DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRouteChildren = | |
| 376 | + { | |
| 377 | + DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsDottoolkitSlugRoute: | |
| 378 | + DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsDottoolkitSlugRoute, | |
| 379 | + } | |
| 380 | + | |
| 381 | +const DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRouteWithChildren = | |
| 382 | + DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRoute._addFileChildren( | |
| 383 | + DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRouteChildren, | |
| 384 | + ) | |
| 385 | + | |
| 327 | 386 | const rootRouteChildren: RootRouteChildren = { |
| 328 | 387 | CreateOrgRoute: CreateOrgRoute, |
| 329 | 388 | LoginRoute: LoginRoute, |
| @@ -334,6 +393,8 @@ const rootRouteChildren: RootRouteChildren = { · 4 unmodified lines | ||
| 334 | 393 | DotDotDotDotDotDotDotDotPackagesReactSrcRoutesPoliciesRoute: |
| 335 | 394 | DotDotDotDotDotDotDotDotPackagesReactSrcRoutesPoliciesRoute, |
| 336 | 395 | SecretsRoute: SecretsRoute, |
| 396 | + DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRoute: | |
| 397 | + DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolkitsRouteWithChildren, | |
| 337 | 398 | DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolsRoute: |
| 338 | 399 | DotDotDotDotDotDotDotDotPackagesReactSrcRoutesToolsRoute, |
| 339 | 400 | DotDotDotDotDotDotDotDotPackagesReactSrcRoutesIndexRoute: |
| @@ -350,11 +411,15 @@ export const routeTree = rootRouteImport · 10 unmodified lines | ||
| 350 | 411 | ._addFileTypes<FileRouteTypes>() |
| 351 | 412 | |
| 352 | 413 | import type { getRouter } from './router.tsx' |
| 414 | + | |
| 353 | 415 | import type { startInstance } from './start.ts' |
| 416 | + | |
| 354 | 417 | declare module '@tanstack/react-start' { |
| 355 | 418 | interface Register { |
| 356 | 419 | ssr: true |
| 420 | + | |
| 357 | 421 | router: Awaited<ReturnType<typeof getRouter>> |
| 422 | + | |
| 358 | 423 | config: Awaited<ReturnType<typeof startInstance.getOptions>> |
| 359 | 424 | } |
| 360 | 425 | } |