@spree/cli 3.0.2 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,32 +2,25 @@
2
2
 
3
3
  A Spree plugin: **{{name}}**.
4
4
 
5
- This is a hybrid Node/Ruby monorepo with two halves:
5
+ This monorepo holds the dashboard half of the plugin:
6
6
 
7
7
  - `packages/dashboard/` — TypeScript dashboard plugin (extends the Spree 6.0 admin via [`@spree/dashboard-core`](https://www.npmjs.com/package/@spree/dashboard-core))
8
- - `engine/` — Ruby Rails engine (Spree extension gem) that ships the Admin API endpoints and ActiveRecord models
9
8
 
10
- Both halves work together: the engine ships `/api/v3/admin/...` endpoints, the dashboard plugin calls them via the SDK's `request` method.
9
+ The example pages call `/api/v3/admin/{{name}}` endpoints through the SDK's `request` method. Those endpoints don't exist yet — they belong in a Spree extension gem (a Rails engine) that you create separately, with its model, Admin API controller and permission scope, as described in [Creating an extension](https://spreecommerce.org/docs/developer/contributing/creating-an-extension). Then point your Spree host's Gemfile at it:
10
+
11
+ ```ruby
12
+ gem '{{ruby_name}}', path: '../path/to/{{ruby_name}}'
13
+ ```
11
14
 
12
15
  ## Development setup
13
16
 
14
17
  ```bash
15
- # Install JavaScript dependencies
16
18
  pnpm install
17
-
18
- # Install Ruby dependencies for the engine
19
- cd engine && bundle install && cd ..
19
+ pnpm build # type-checks the plugin (it ships TypeScript source)
20
20
  ```
21
21
 
22
22
  ## Running against a Spree host app
23
23
 
24
- The engine needs to live alongside a Spree host (typically scaffolded via `create-spree-app`). Point your host's Gemfile at the local engine:
25
-
26
- ```ruby
27
- # in your Spree host's Gemfile
28
- gem '{{ruby_name}}', path: '../path/to/{{plugin_name}}/engine'
29
- ```
30
-
31
24
  Activate the dashboard plugin with a side-effect import in the host's `main.tsx`, before the router mounts. This runs `defineDashboardPlugin` so the nav entry, route, slot widget, and table column register:
32
25
 
33
26
  ```tsx
@@ -45,7 +38,7 @@ If you'd rather opt out of auto-discovery and register manually, pass an explici
45
38
  - [Plugin overview](https://spreecommerce.org/docs/developer/dashboard/plugins/overview) — packaging + publishing your plugin to npm
46
39
  - [Slots catalog](https://spreecommerce.org/docs/developer/dashboard/slots-catalog) — every named slot the dashboard exposes
47
40
  - [Custom Admin Endpoints](https://spreecommerce.org/docs/developer/sdk/admin/extending) — adding your own API endpoints
48
- - [Spree Extensions guide](https://spreecommerce.org/docs/developer/customization/extensions) — the Rails-engine side
41
+ - [Creating an extension](https://spreecommerce.org/docs/developer/contributing/creating-an-extension) — the Rails-engine side
49
42
 
50
43
  ## License
51
44
 
@@ -12,11 +12,15 @@
12
12
  "exports": {
13
13
  ".": "./src/index.tsx"
14
14
  },
15
+ "sideEffects": [
16
+ "./src/index.tsx"
17
+ ],
15
18
  "files": [
16
19
  "src",
17
20
  "README.md"
18
21
  ],
19
22
  "scripts": {
23
+ "build": "tsc --noEmit",
20
24
  "lint": "biome check src",
21
25
  "lint:fix": "biome check --fix src",
22
26
  "typecheck": "tsc --noEmit"
@@ -28,9 +32,9 @@
28
32
  }
29
33
  },
30
34
  "peerDependencies": {
31
- "@spree/admin-sdk": "^0.6.0",
32
- "@spree/dashboard-core": "^0.10.0",
33
- "@spree/dashboard-ui": "^0.10.0",
35
+ "@spree/admin-sdk": "{{spree_admin_sdk_range}}",
36
+ "@spree/dashboard-core": "{{spree_dashboard_core_range}}",
37
+ "@spree/dashboard-ui": "{{spree_dashboard_ui_range}}",
34
38
  "@tanstack/react-query": "^5",
35
39
  "@tanstack/react-router": "^1",
36
40
  "i18next": "^26",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.13/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
@@ -16,10 +16,10 @@
16
16
  "lint:fix": "biome check --fix ."
17
17
  },
18
18
  "dependencies": {
19
- "@spree/seller-dashboard": "^1.0.0-beta.3",
20
- "@spree/dashboard-core": "^1.0.0-beta.3",
21
- "@spree/dashboard-ui": "^1.0.0-beta.3",
22
- "@spree/seller-sdk": "^1.0.0-beta.2",
19
+ "@spree/seller-dashboard": "^1.0.0-rc.1",
20
+ "@spree/dashboard-core": "^1.0.0-rc.1",
21
+ "@spree/dashboard-ui": "^1.0.0-rc.1",
22
+ "@spree/seller-sdk": "^1.0.0-rc.1",
23
23
  "@tanstack/react-query": "^5.100.9",
24
24
  "@tanstack/react-router": "^1.169.2",
25
25
  "react": "^19.2.6",
@@ -8,41 +8,35 @@
8
8
  // You should NOT make any changes in this file as it will be overwritten.
9
9
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
10
10
 
11
- import { Route as rootRouteImport } from './../../seller-dashboard/src/routes/__root'
12
- import { Route as resetPasswordRouteImport } from './../../seller-dashboard/src/routes/reset-password'
13
- import { Route as loginRouteImport } from './../../seller-dashboard/src/routes/login'
14
- import { Route as forgotPasswordRouteImport } from './../../seller-dashboard/src/routes/forgot-password'
15
- import { Route as authenticatedRouteImport } from './../../seller-dashboard/src/routes/_authenticated'
16
- import { Route as authenticatedIndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/index'
17
- import { Route as acceptInvitationDotinvitationIdRouteImport } from './../../seller-dashboard/src/routes/accept-invitation.$invitationId'
18
- import { Route as authenticatedSellerIdRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId'
19
- import { Route as IndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/index'
20
- import { Route as SettingsRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings'
21
- import { Route as ProfileRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/profile'
22
- import { Route as OnboardingRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/onboarding'
23
- import { Route as SettingsIndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings/index'
24
- import { Route as ProductsIndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/products/index'
25
- import { Route as PayoutsIndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/payouts/index'
26
- import { Route as OrdersIndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/orders/index'
27
- import { Route as EarningsIndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/earnings/index'
28
- import { Route as SettingsTeamRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings/team'
29
- import { Route as SettingsStockLocationsRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings/stock-locations'
30
- import { Route as SettingsPoliciesRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings/policies'
31
- import { Route as SettingsPackageTypesRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings/package-types'
32
- import { Route as SettingsDeliveryMethodsRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings/delivery-methods'
33
- import { Route as ProductsNewRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/products/new'
34
- import { Route as ProductsProductIdRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/products/$productId'
35
- import { Route as PayoutsPayoutIdRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/payouts/$payoutId'
36
- import { Route as OrdersOrderIdRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/orders/$orderId'
11
+ import { Route as rootRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/__root'
12
+ import { Route as authenticatedRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated'
13
+ import { Route as forgotPasswordRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/forgot-password'
14
+ import { Route as loginRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/login'
15
+ import { Route as resetPasswordRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/reset-password'
16
+ import { Route as authenticatedIndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/index'
17
+ import { Route as authenticatedSellerIdRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId'
18
+ import { Route as acceptInvitationDotinvitationIdRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/accept-invitation.$invitationId'
19
+ import { Route as IndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/index'
20
+ import { Route as OnboardingRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/onboarding'
21
+ import { Route as ProfileRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/profile'
22
+ import { Route as SettingsRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings'
23
+ import { Route as EarningsIndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/earnings/index'
24
+ import { Route as OrdersIndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/orders/index'
25
+ import { Route as OrdersOrderIdRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/orders/$orderId'
26
+ import { Route as PayoutsIndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/payouts/index'
27
+ import { Route as PayoutsPayoutIdRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/payouts/$payoutId'
28
+ import { Route as ProductsIndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/products/index'
29
+ import { Route as ProductsProductIdRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/products/$productId'
30
+ import { Route as ProductsNewRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/products/new'
31
+ import { Route as SettingsIndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings/index'
32
+ import { Route as SettingsDeliveryMethodsRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings/delivery-methods'
33
+ import { Route as SettingsPackageTypesRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings/package-types'
34
+ import { Route as SettingsPoliciesRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings/policies'
35
+ import { Route as SettingsStockLocationsRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings/stock-locations'
36
+ import { Route as SettingsTeamRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings/team'
37
37
 
38
- const resetPasswordRoute = resetPasswordRouteImport.update({
39
- id: '/reset-password',
40
- path: '/reset-password',
41
- getParentRoute: () => rootRouteImport,
42
- } as any)
43
- const loginRoute = loginRouteImport.update({
44
- id: '/login',
45
- path: '/login',
38
+ const authenticatedRoute = authenticatedRouteImport.update({
39
+ id: '/_authenticated',
46
40
  getParentRoute: () => rootRouteImport,
47
41
  } as any)
48
42
  const forgotPasswordRoute = forgotPasswordRouteImport.update({
@@ -50,8 +44,14 @@ const forgotPasswordRoute = forgotPasswordRouteImport.update({
50
44
  path: '/forgot-password',
51
45
  getParentRoute: () => rootRouteImport,
52
46
  } as any)
53
- const authenticatedRoute = authenticatedRouteImport.update({
54
- id: '/_authenticated',
47
+ const loginRoute = loginRouteImport.update({
48
+ id: '/login',
49
+ path: '/login',
50
+ getParentRoute: () => rootRouteImport,
51
+ } as any)
52
+ const resetPasswordRoute = resetPasswordRouteImport.update({
53
+ id: '/reset-password',
54
+ path: '/reset-password',
55
55
  getParentRoute: () => rootRouteImport,
56
56
  } as any)
57
57
  const authenticatedIndexRoute = authenticatedIndexRouteImport.update({
@@ -59,25 +59,25 @@ const authenticatedIndexRoute = authenticatedIndexRouteImport.update({
59
59
  path: '/',
60
60
  getParentRoute: () => authenticatedRoute,
61
61
  } as any)
62
+ const authenticatedSellerIdRoute = authenticatedSellerIdRouteImport.update({
63
+ id: '/$sellerId',
64
+ path: '/$sellerId',
65
+ getParentRoute: () => authenticatedRoute,
66
+ } as any)
62
67
  const acceptInvitationDotinvitationIdRoute =
63
68
  acceptInvitationDotinvitationIdRouteImport.update({
64
69
  id: '/accept-invitation/$invitationId',
65
70
  path: '/accept-invitation/$invitationId',
66
71
  getParentRoute: () => rootRouteImport,
67
72
  } as any)
68
- const authenticatedSellerIdRoute = authenticatedSellerIdRouteImport.update({
69
- id: '/$sellerId',
70
- path: '/$sellerId',
71
- getParentRoute: () => authenticatedRoute,
72
- } as any)
73
73
  const IndexRoute = IndexRouteImport.update({
74
74
  id: '/',
75
75
  path: '/',
76
76
  getParentRoute: () => authenticatedSellerIdRoute,
77
77
  } as any)
78
- const SettingsRoute = SettingsRouteImport.update({
79
- id: '/settings',
80
- path: '/settings',
78
+ const OnboardingRoute = OnboardingRouteImport.update({
79
+ id: '/onboarding',
80
+ path: '/onboarding',
81
81
  getParentRoute: () => authenticatedSellerIdRoute,
82
82
  } as any)
83
83
  const ProfileRoute = ProfileRouteImport.update({
@@ -85,19 +85,24 @@ const ProfileRoute = ProfileRouteImport.update({
85
85
  path: '/profile',
86
86
  getParentRoute: () => authenticatedSellerIdRoute,
87
87
  } as any)
88
- const OnboardingRoute = OnboardingRouteImport.update({
89
- id: '/onboarding',
90
- path: '/onboarding',
88
+ const SettingsRoute = SettingsRouteImport.update({
89
+ id: '/settings',
90
+ path: '/settings',
91
91
  getParentRoute: () => authenticatedSellerIdRoute,
92
92
  } as any)
93
- const SettingsIndexRoute = SettingsIndexRouteImport.update({
94
- id: '/',
95
- path: '/',
96
- getParentRoute: () => SettingsRoute,
93
+ const EarningsIndexRoute = EarningsIndexRouteImport.update({
94
+ id: '/earnings/',
95
+ path: '/earnings/',
96
+ getParentRoute: () => authenticatedSellerIdRoute,
97
97
  } as any)
98
- const ProductsIndexRoute = ProductsIndexRouteImport.update({
99
- id: '/products/',
100
- path: '/products/',
98
+ const OrdersIndexRoute = OrdersIndexRouteImport.update({
99
+ id: '/orders/',
100
+ path: '/orders/',
101
+ getParentRoute: () => authenticatedSellerIdRoute,
102
+ } as any)
103
+ const OrdersOrderIdRoute = OrdersOrderIdRouteImport.update({
104
+ id: '/orders/$orderId',
105
+ path: '/orders/$orderId',
101
106
  getParentRoute: () => authenticatedSellerIdRoute,
102
107
  } as any)
103
108
  const PayoutsIndexRoute = PayoutsIndexRouteImport.update({
@@ -105,29 +110,34 @@ const PayoutsIndexRoute = PayoutsIndexRouteImport.update({
105
110
  path: '/payouts/',
106
111
  getParentRoute: () => authenticatedSellerIdRoute,
107
112
  } as any)
108
- const OrdersIndexRoute = OrdersIndexRouteImport.update({
109
- id: '/orders/',
110
- path: '/orders/',
113
+ const PayoutsPayoutIdRoute = PayoutsPayoutIdRouteImport.update({
114
+ id: '/payouts/$payoutId',
115
+ path: '/payouts/$payoutId',
111
116
  getParentRoute: () => authenticatedSellerIdRoute,
112
117
  } as any)
113
- const EarningsIndexRoute = EarningsIndexRouteImport.update({
114
- id: '/earnings/',
115
- path: '/earnings/',
118
+ const ProductsIndexRoute = ProductsIndexRouteImport.update({
119
+ id: '/products/',
120
+ path: '/products/',
116
121
  getParentRoute: () => authenticatedSellerIdRoute,
117
122
  } as any)
118
- const SettingsTeamRoute = SettingsTeamRouteImport.update({
119
- id: '/team',
120
- path: '/team',
121
- getParentRoute: () => SettingsRoute,
123
+ const ProductsProductIdRoute = ProductsProductIdRouteImport.update({
124
+ id: '/products/$productId',
125
+ path: '/products/$productId',
126
+ getParentRoute: () => authenticatedSellerIdRoute,
122
127
  } as any)
123
- const SettingsStockLocationsRoute = SettingsStockLocationsRouteImport.update({
124
- id: '/stock-locations',
125
- path: '/stock-locations',
128
+ const ProductsNewRoute = ProductsNewRouteImport.update({
129
+ id: '/products/new',
130
+ path: '/products/new',
131
+ getParentRoute: () => authenticatedSellerIdRoute,
132
+ } as any)
133
+ const SettingsIndexRoute = SettingsIndexRouteImport.update({
134
+ id: '/',
135
+ path: '/',
126
136
  getParentRoute: () => SettingsRoute,
127
137
  } as any)
128
- const SettingsPoliciesRoute = SettingsPoliciesRouteImport.update({
129
- id: '/policies',
130
- path: '/policies',
138
+ const SettingsDeliveryMethodsRoute = SettingsDeliveryMethodsRouteImport.update({
139
+ id: '/delivery-methods',
140
+ path: '/delivery-methods',
131
141
  getParentRoute: () => SettingsRoute,
132
142
  } as any)
133
143
  const SettingsPackageTypesRoute = SettingsPackageTypesRouteImport.update({
@@ -135,30 +145,20 @@ const SettingsPackageTypesRoute = SettingsPackageTypesRouteImport.update({
135
145
  path: '/package-types',
136
146
  getParentRoute: () => SettingsRoute,
137
147
  } as any)
138
- const SettingsDeliveryMethodsRoute = SettingsDeliveryMethodsRouteImport.update({
139
- id: '/delivery-methods',
140
- path: '/delivery-methods',
148
+ const SettingsPoliciesRoute = SettingsPoliciesRouteImport.update({
149
+ id: '/policies',
150
+ path: '/policies',
141
151
  getParentRoute: () => SettingsRoute,
142
152
  } as any)
143
- const ProductsNewRoute = ProductsNewRouteImport.update({
144
- id: '/products/new',
145
- path: '/products/new',
146
- getParentRoute: () => authenticatedSellerIdRoute,
147
- } as any)
148
- const ProductsProductIdRoute = ProductsProductIdRouteImport.update({
149
- id: '/products/$productId',
150
- path: '/products/$productId',
151
- getParentRoute: () => authenticatedSellerIdRoute,
152
- } as any)
153
- const PayoutsPayoutIdRoute = PayoutsPayoutIdRouteImport.update({
154
- id: '/payouts/$payoutId',
155
- path: '/payouts/$payoutId',
156
- getParentRoute: () => authenticatedSellerIdRoute,
153
+ const SettingsStockLocationsRoute = SettingsStockLocationsRouteImport.update({
154
+ id: '/stock-locations',
155
+ path: '/stock-locations',
156
+ getParentRoute: () => SettingsRoute,
157
157
  } as any)
158
- const OrdersOrderIdRoute = OrdersOrderIdRouteImport.update({
159
- id: '/orders/$orderId',
160
- path: '/orders/$orderId',
161
- getParentRoute: () => authenticatedSellerIdRoute,
158
+ const SettingsTeamRoute = SettingsTeamRouteImport.update({
159
+ id: '/team',
160
+ path: '/team',
161
+ getParentRoute: () => SettingsRoute,
162
162
  } as any)
163
163
 
164
164
  export interface FileRoutesByFullPath {
@@ -329,18 +329,11 @@ export interface RootRouteChildren {
329
329
 
330
330
  declare module '@tanstack/react-router' {
331
331
  interface FileRoutesByPath {
332
- '/reset-password': {
333
- id: '/reset-password'
334
- path: '/reset-password'
335
- fullPath: '/reset-password'
336
- preLoaderRoute: typeof resetPasswordRouteImport
337
- parentRoute: typeof rootRouteImport
338
- }
339
- '/login': {
340
- id: '/login'
341
- path: '/login'
342
- fullPath: '/login'
343
- preLoaderRoute: typeof loginRouteImport
332
+ '/_authenticated': {
333
+ id: '/_authenticated'
334
+ path: ''
335
+ fullPath: '/'
336
+ preLoaderRoute: typeof authenticatedRouteImport
344
337
  parentRoute: typeof rootRouteImport
345
338
  }
346
339
  '/forgot-password': {
@@ -350,11 +343,18 @@ declare module '@tanstack/react-router' {
350
343
  preLoaderRoute: typeof forgotPasswordRouteImport
351
344
  parentRoute: typeof rootRouteImport
352
345
  }
353
- '/_authenticated': {
354
- id: '/_authenticated'
355
- path: ''
356
- fullPath: '/'
357
- preLoaderRoute: typeof authenticatedRouteImport
346
+ '/login': {
347
+ id: '/login'
348
+ path: '/login'
349
+ fullPath: '/login'
350
+ preLoaderRoute: typeof loginRouteImport
351
+ parentRoute: typeof rootRouteImport
352
+ }
353
+ '/reset-password': {
354
+ id: '/reset-password'
355
+ path: '/reset-password'
356
+ fullPath: '/reset-password'
357
+ preLoaderRoute: typeof resetPasswordRouteImport
358
358
  parentRoute: typeof rootRouteImport
359
359
  }
360
360
  '/_authenticated/': {
@@ -364,13 +364,6 @@ declare module '@tanstack/react-router' {
364
364
  preLoaderRoute: typeof authenticatedIndexRouteImport
365
365
  parentRoute: typeof authenticatedRoute
366
366
  }
367
- '/accept-invitation/$invitationId': {
368
- id: '/accept-invitation/$invitationId'
369
- path: '/accept-invitation/$invitationId'
370
- fullPath: '/accept-invitation/$invitationId'
371
- preLoaderRoute: typeof acceptInvitationDotinvitationIdRouteImport
372
- parentRoute: typeof rootRouteImport
373
- }
374
367
  '/_authenticated/$sellerId': {
375
368
  id: '/_authenticated/$sellerId'
376
369
  path: '/$sellerId'
@@ -378,6 +371,13 @@ declare module '@tanstack/react-router' {
378
371
  preLoaderRoute: typeof authenticatedSellerIdRouteImport
379
372
  parentRoute: typeof authenticatedRoute
380
373
  }
374
+ '/accept-invitation/$invitationId': {
375
+ id: '/accept-invitation/$invitationId'
376
+ path: '/accept-invitation/$invitationId'
377
+ fullPath: '/accept-invitation/$invitationId'
378
+ preLoaderRoute: typeof acceptInvitationDotinvitationIdRouteImport
379
+ parentRoute: typeof rootRouteImport
380
+ }
381
381
  '/_authenticated/$sellerId/': {
382
382
  id: '/_authenticated/$sellerId/'
383
383
  path: '/'
@@ -385,11 +385,11 @@ declare module '@tanstack/react-router' {
385
385
  preLoaderRoute: typeof IndexRouteImport
386
386
  parentRoute: typeof authenticatedSellerIdRoute
387
387
  }
388
- '/_authenticated/$sellerId/settings': {
389
- id: '/_authenticated/$sellerId/settings'
390
- path: '/settings'
391
- fullPath: '/$sellerId/settings'
392
- preLoaderRoute: typeof SettingsRouteImport
388
+ '/_authenticated/$sellerId/onboarding': {
389
+ id: '/_authenticated/$sellerId/onboarding'
390
+ path: '/onboarding'
391
+ fullPath: '/$sellerId/onboarding'
392
+ preLoaderRoute: typeof OnboardingRouteImport
393
393
  parentRoute: typeof authenticatedSellerIdRoute
394
394
  }
395
395
  '/_authenticated/$sellerId/profile': {
@@ -399,25 +399,32 @@ declare module '@tanstack/react-router' {
399
399
  preLoaderRoute: typeof ProfileRouteImport
400
400
  parentRoute: typeof authenticatedSellerIdRoute
401
401
  }
402
- '/_authenticated/$sellerId/onboarding': {
403
- id: '/_authenticated/$sellerId/onboarding'
404
- path: '/onboarding'
405
- fullPath: '/$sellerId/onboarding'
406
- preLoaderRoute: typeof OnboardingRouteImport
402
+ '/_authenticated/$sellerId/settings': {
403
+ id: '/_authenticated/$sellerId/settings'
404
+ path: '/settings'
405
+ fullPath: '/$sellerId/settings'
406
+ preLoaderRoute: typeof SettingsRouteImport
407
407
  parentRoute: typeof authenticatedSellerIdRoute
408
408
  }
409
- '/_authenticated/$sellerId/settings/': {
410
- id: '/_authenticated/$sellerId/settings/'
411
- path: '/'
412
- fullPath: '/$sellerId/settings/'
413
- preLoaderRoute: typeof SettingsIndexRouteImport
414
- parentRoute: typeof SettingsRoute
409
+ '/_authenticated/$sellerId/earnings/': {
410
+ id: '/_authenticated/$sellerId/earnings/'
411
+ path: '/earnings'
412
+ fullPath: '/$sellerId/earnings/'
413
+ preLoaderRoute: typeof EarningsIndexRouteImport
414
+ parentRoute: typeof authenticatedSellerIdRoute
415
415
  }
416
- '/_authenticated/$sellerId/products/': {
417
- id: '/_authenticated/$sellerId/products/'
418
- path: '/products'
419
- fullPath: '/$sellerId/products/'
420
- preLoaderRoute: typeof ProductsIndexRouteImport
416
+ '/_authenticated/$sellerId/orders/': {
417
+ id: '/_authenticated/$sellerId/orders/'
418
+ path: '/orders'
419
+ fullPath: '/$sellerId/orders/'
420
+ preLoaderRoute: typeof OrdersIndexRouteImport
421
+ parentRoute: typeof authenticatedSellerIdRoute
422
+ }
423
+ '/_authenticated/$sellerId/orders/$orderId': {
424
+ id: '/_authenticated/$sellerId/orders/$orderId'
425
+ path: '/orders/$orderId'
426
+ fullPath: '/$sellerId/orders/$orderId'
427
+ preLoaderRoute: typeof OrdersOrderIdRouteImport
421
428
  parentRoute: typeof authenticatedSellerIdRoute
422
429
  }
423
430
  '/_authenticated/$sellerId/payouts/': {
@@ -427,39 +434,46 @@ declare module '@tanstack/react-router' {
427
434
  preLoaderRoute: typeof PayoutsIndexRouteImport
428
435
  parentRoute: typeof authenticatedSellerIdRoute
429
436
  }
430
- '/_authenticated/$sellerId/orders/': {
431
- id: '/_authenticated/$sellerId/orders/'
432
- path: '/orders'
433
- fullPath: '/$sellerId/orders/'
434
- preLoaderRoute: typeof OrdersIndexRouteImport
437
+ '/_authenticated/$sellerId/payouts/$payoutId': {
438
+ id: '/_authenticated/$sellerId/payouts/$payoutId'
439
+ path: '/payouts/$payoutId'
440
+ fullPath: '/$sellerId/payouts/$payoutId'
441
+ preLoaderRoute: typeof PayoutsPayoutIdRouteImport
435
442
  parentRoute: typeof authenticatedSellerIdRoute
436
443
  }
437
- '/_authenticated/$sellerId/earnings/': {
438
- id: '/_authenticated/$sellerId/earnings/'
439
- path: '/earnings'
440
- fullPath: '/$sellerId/earnings/'
441
- preLoaderRoute: typeof EarningsIndexRouteImport
444
+ '/_authenticated/$sellerId/products/': {
445
+ id: '/_authenticated/$sellerId/products/'
446
+ path: '/products'
447
+ fullPath: '/$sellerId/products/'
448
+ preLoaderRoute: typeof ProductsIndexRouteImport
442
449
  parentRoute: typeof authenticatedSellerIdRoute
443
450
  }
444
- '/_authenticated/$sellerId/settings/team': {
445
- id: '/_authenticated/$sellerId/settings/team'
446
- path: '/team'
447
- fullPath: '/$sellerId/settings/team'
448
- preLoaderRoute: typeof SettingsTeamRouteImport
449
- parentRoute: typeof SettingsRoute
451
+ '/_authenticated/$sellerId/products/$productId': {
452
+ id: '/_authenticated/$sellerId/products/$productId'
453
+ path: '/products/$productId'
454
+ fullPath: '/$sellerId/products/$productId'
455
+ preLoaderRoute: typeof ProductsProductIdRouteImport
456
+ parentRoute: typeof authenticatedSellerIdRoute
450
457
  }
451
- '/_authenticated/$sellerId/settings/stock-locations': {
452
- id: '/_authenticated/$sellerId/settings/stock-locations'
453
- path: '/stock-locations'
454
- fullPath: '/$sellerId/settings/stock-locations'
455
- preLoaderRoute: typeof SettingsStockLocationsRouteImport
458
+ '/_authenticated/$sellerId/products/new': {
459
+ id: '/_authenticated/$sellerId/products/new'
460
+ path: '/products/new'
461
+ fullPath: '/$sellerId/products/new'
462
+ preLoaderRoute: typeof ProductsNewRouteImport
463
+ parentRoute: typeof authenticatedSellerIdRoute
464
+ }
465
+ '/_authenticated/$sellerId/settings/': {
466
+ id: '/_authenticated/$sellerId/settings/'
467
+ path: '/'
468
+ fullPath: '/$sellerId/settings/'
469
+ preLoaderRoute: typeof SettingsIndexRouteImport
456
470
  parentRoute: typeof SettingsRoute
457
471
  }
458
- '/_authenticated/$sellerId/settings/policies': {
459
- id: '/_authenticated/$sellerId/settings/policies'
460
- path: '/policies'
461
- fullPath: '/$sellerId/settings/policies'
462
- preLoaderRoute: typeof SettingsPoliciesRouteImport
472
+ '/_authenticated/$sellerId/settings/delivery-methods': {
473
+ id: '/_authenticated/$sellerId/settings/delivery-methods'
474
+ path: '/delivery-methods'
475
+ fullPath: '/$sellerId/settings/delivery-methods'
476
+ preLoaderRoute: typeof SettingsDeliveryMethodsRouteImport
463
477
  parentRoute: typeof SettingsRoute
464
478
  }
465
479
  '/_authenticated/$sellerId/settings/package-types': {
@@ -469,40 +483,26 @@ declare module '@tanstack/react-router' {
469
483
  preLoaderRoute: typeof SettingsPackageTypesRouteImport
470
484
  parentRoute: typeof SettingsRoute
471
485
  }
472
- '/_authenticated/$sellerId/settings/delivery-methods': {
473
- id: '/_authenticated/$sellerId/settings/delivery-methods'
474
- path: '/delivery-methods'
475
- fullPath: '/$sellerId/settings/delivery-methods'
476
- preLoaderRoute: typeof SettingsDeliveryMethodsRouteImport
486
+ '/_authenticated/$sellerId/settings/policies': {
487
+ id: '/_authenticated/$sellerId/settings/policies'
488
+ path: '/policies'
489
+ fullPath: '/$sellerId/settings/policies'
490
+ preLoaderRoute: typeof SettingsPoliciesRouteImport
477
491
  parentRoute: typeof SettingsRoute
478
492
  }
479
- '/_authenticated/$sellerId/products/new': {
480
- id: '/_authenticated/$sellerId/products/new'
481
- path: '/products/new'
482
- fullPath: '/$sellerId/products/new'
483
- preLoaderRoute: typeof ProductsNewRouteImport
484
- parentRoute: typeof authenticatedSellerIdRoute
485
- }
486
- '/_authenticated/$sellerId/products/$productId': {
487
- id: '/_authenticated/$sellerId/products/$productId'
488
- path: '/products/$productId'
489
- fullPath: '/$sellerId/products/$productId'
490
- preLoaderRoute: typeof ProductsProductIdRouteImport
491
- parentRoute: typeof authenticatedSellerIdRoute
492
- }
493
- '/_authenticated/$sellerId/payouts/$payoutId': {
494
- id: '/_authenticated/$sellerId/payouts/$payoutId'
495
- path: '/payouts/$payoutId'
496
- fullPath: '/$sellerId/payouts/$payoutId'
497
- preLoaderRoute: typeof PayoutsPayoutIdRouteImport
498
- parentRoute: typeof authenticatedSellerIdRoute
493
+ '/_authenticated/$sellerId/settings/stock-locations': {
494
+ id: '/_authenticated/$sellerId/settings/stock-locations'
495
+ path: '/stock-locations'
496
+ fullPath: '/$sellerId/settings/stock-locations'
497
+ preLoaderRoute: typeof SettingsStockLocationsRouteImport
498
+ parentRoute: typeof SettingsRoute
499
499
  }
500
- '/_authenticated/$sellerId/orders/$orderId': {
501
- id: '/_authenticated/$sellerId/orders/$orderId'
502
- path: '/orders/$orderId'
503
- fullPath: '/$sellerId/orders/$orderId'
504
- preLoaderRoute: typeof OrdersOrderIdRouteImport
505
- parentRoute: typeof authenticatedSellerIdRoute
500
+ '/_authenticated/$sellerId/settings/team': {
501
+ id: '/_authenticated/$sellerId/settings/team'
502
+ path: '/team'
503
+ fullPath: '/$sellerId/settings/team'
504
+ preLoaderRoute: typeof SettingsTeamRouteImport
505
+ parentRoute: typeof SettingsRoute
506
506
  }
507
507
  }
508
508
  }