Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fix: type checking failed in pnpm projects using the dashboard packages (#14845)
Damian Legawiec9a0a293e2e91
diff --git a/.changeset/route-tree-real-paths.md b/.changeset/route-tree-real-paths.mdnew file mode 100644index 0000000000..513fff5e33--- /dev/null+++ b/.changeset/route-tree-real-paths.md@@ -0,0 +1,7 @@+---+"@spree/dashboard-core": patch+"@spree/dashboard": patch+"@spree/seller-dashboard": patch+---++Fixed type checking in projects that install the dashboard or seller panel with pnpm. The generated route file imported the routes through the package's `node_modules` link, where TypeScript cannot find the dashboard's own dependencies, so `tsc` reported hundreds of "Cannot find module" errors. It now imports them from the installed location again. Under pnpm that location includes the package version, so an upgrade rewrites the import paths in `routeTree.gen.ts`.diff --git a/packages/dashboard-core/src/vite/discover.ts b/packages/dashboard-core/src/vite/discover.tsindex 099f27c363..2070b9eb4e 100644--- a/packages/dashboard-core/src/vite/discover.ts+++ b/packages/dashboard-core/src/vite/discover.ts@@ -71,9 +71,7 @@ export function discoverDashboardPluginManifests(const routes = pkg.spree?.dashboard?.routesmanifests.push({name,- routesDir: routes- ? linkedPackagePath(root, name, path.resolve(path.dirname(manifestPath), routes))- : undefined,+ routesDir: routes ? path.resolve(path.dirname(manifestPath), routes) : undefined,})}return manifests@@ -128,34 +126,24 @@ export function discoverDashboardPlugins({ root, onWarn }: DiscoverOptions): str}/**- * Re-expresses a path inside an installed package through the package's- * `node_modules/<name>` link, rather than the real location Node resolves to.+ * The routes directory of an installed dashboard shell (`@spree/dashboard`,+ * `@spree/seller-dashboard`), at its real location. The shell's `.` export+ * maps to a file in `src/`, so `routes/` is its sibling directory.*- * Under pnpm the real location is `node_modules/.pnpm/<name>@<version>_<hash>/…`,- * which changes with every install. The route generator writes these paths- * into the host's committed `routeTree.gen.ts`, so a real location made the- * file differ on a new project's first dev start and after every upgrade —- * and each rewrite reloaded the open page. The link stays put across installs- * and is the same inside the monorepo, so the file only changes when the- * routes do.+ * The route generator imports these files from the host's `routeTree.gen.ts`.+ * Under pnpm a package is reached through a `node_modules/<name>` link, while+ * its own dependencies sit next to its real location under+ * `node_modules/.pnpm/`. TypeScript does not follow the link for a relative+ * import, so a route file imported through it cannot see the shell's+ * dependencies and the host's type check fails. Plugin routes directories+ * resolve to their real location for the same reason.** @param root host project root- * @param packageName the package the path belongs to- * @param resolvedPath a path inside that package, as Node resolved it- * @returns the same path through the link, or `resolvedPath` when no link- * leads to it (the package resolving itself, an unusual layout)+ * @param packageName the shell package the host depends on*/-export function linkedPackagePath(root: string, packageName: string, resolvedPath: string): string {- const realPath = fs.realpathSync(resolvedPath)- for (let dir = root; ; dir = path.dirname(dir)) {- const link = path.join(dir, 'node_modules', packageName)- if (fs.existsSync(path.join(link, 'package.json'))) {- const inside = path.relative(fs.realpathSync(link), realPath)- if (inside.startsWith('..') || path.isAbsolute(inside)) return resolvedPath- return path.join(link, inside)- }- if (path.dirname(dir) === dir) return resolvedPath- }+export function resolveShellRoutesDir(root: string, packageName: string): string {+ const require = createRequire(path.join(root, 'package.json'))+ return path.join(path.dirname(fs.realpathSync(require.resolve(packageName))), 'routes')}interface HostManifest {diff --git a/packages/dashboard-core/tests/discover.test.ts b/packages/dashboard-core/tests/discover.test.tsindex d2dacc150f..4509bbf0f1 100644--- a/packages/dashboard-core/tests/discover.test.ts+++ b/packages/dashboard-core/tests/discover.test.ts@@ -2,7 +2,11 @@ import fs from 'node:fs'import os from 'node:os'import path from 'node:path'import { afterEach, beforeEach, describe, expect, it } from 'vitest'-import { discoverDashboardPluginManifests, discoverDashboardPlugins } from '../src/vite/discover'+import {+ discoverDashboardPluginManifests,+ discoverDashboardPlugins,+ resolveShellRoutesDir,+} from '../src/vite/discover'/*** Each test builds a tiny fixture project on disk:@@ -155,6 +159,27 @@ describe('discoverDashboardPlugins', () => {})})+// pnpm's layout: a package really lives under a versioned `.pnpm/` directory,+// next to its own dependencies, and is reached through a `node_modules/<name>`+// link. Route files land in the host's route tree; imported through the link,+// TypeScript cannot find the package's dependencies, so they must be imported+// from the real location.+function installThroughPnpmLink(root: string, name: string, pkg: Record<string, unknown>): string {+ const store = path.join(+ root,+ `node_modules/.pnpm/${name.replace('/', '+')}@1.0.0_abc123/node_modules/${name}`,+ )+ fs.mkdirSync(path.join(store, 'src/routes'), { recursive: true })+ fs.writeFileSync(+ path.join(store, 'package.json'),+ JSON.stringify({ name, version: '1.0.0', ...pkg }),+ )+ fs.writeFileSync(path.join(store, 'src/index.ts'), '')+ fs.mkdirSync(path.join(root, 'node_modules', path.dirname(name)), { recursive: true })+ fs.symlinkSync(store, path.join(root, 'node_modules', name), 'dir')+ return fs.realpathSync(store)+}+describe('discoverDashboardPluginManifests', () => {let fixture: Fixture@@ -166,32 +191,38 @@ describe('discoverDashboardPluginManifests', () => {fixture.cleanup()})- // pnpm's layout: the package really lives under a versioned `.pnpm/`- // directory, reached through a `node_modules/<name>` link. The routes path- // ends up in the host's committed route tree, so it must name the link —- // the versioned directory changes with every install.- it('reports routes through the node_modules link, not the versioned store path', () => {- const store = path.join(- fixture.root,- 'node_modules/.pnpm/@[email protected]_abc123/node_modules/@acme/plugin',- )- fs.mkdirSync(path.join(store, 'src/routes'), { recursive: true })- fs.writeFileSync(- path.join(store, 'package.json'),- JSON.stringify({- name: '@acme/plugin',- version: '1.0.0',- main: 'index.js',- spree: { dashboard: { plugin: true, routes: './src/routes' } },- }),- )- fs.writeFileSync(path.join(store, 'index.js'), '')- fs.mkdirSync(path.join(fixture.root, 'node_modules/@acme'), { recursive: true })- fs.symlinkSync(store, path.join(fixture.root, 'node_modules/@acme/plugin'), 'dir')+ it('reports routes at the real location, not through the node_modules link', () => {+ const store = installThroughPnpmLink(fixture.root, '@acme/plugin', {+ main: 'src/index.ts',+ spree: { dashboard: { plugin: true, routes: './src/routes' } },+ })fixture.writeHost({ '@acme/plugin': '1.0.0' })const [manifest] = discoverDashboardPluginManifests({ root: fixture.root })- expect(manifest.routesDir).toBe(path.join(fixture.root, 'node_modules/@acme/plugin/src/routes'))+ expect(manifest.routesDir).toBe(path.join(store, 'src/routes'))+ })+})++describe('resolveShellRoutesDir', () => {+ let fixture: Fixture++ beforeEach(() => {+ fixture = makeFixture()+ })++ afterEach(() => {+ fixture.cleanup()+ })++ it('returns the routes directory at the real location, not through the node_modules link', () => {+ const store = installThroughPnpmLink(fixture.root, '@spree/dashboard', {+ exports: { '.': './src/index.ts' },+ })+ fixture.writeHost({ '@spree/dashboard': '1.0.0' })++ expect(resolveShellRoutesDir(fixture.root, '@spree/dashboard')).toBe(+ path.join(store, 'src/routes'),+ )})})diff --git a/packages/dashboard-starter/src/routeTree.gen.ts b/packages/dashboard-starter/src/routeTree.gen.tsindex 76ae8add27..4703467faa 100644--- a/packages/dashboard-starter/src/routeTree.gen.ts+++ b/packages/dashboard-starter/src/routeTree.gen.ts@@ -8,117 +8,116 @@// 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 './../node_modules/@spree/dashboard/src/routes/__root'-import { Route as setupRouteImport } from './../node_modules/@spree/dashboard/src/routes/setup'-import { Route as resetPasswordRouteImport } from './../node_modules/@spree/dashboard/src/routes/reset-password'-import { Route as loginRouteImport } from './../node_modules/@spree/dashboard/src/routes/login'-import { Route as forgotPasswordRouteImport } from './../node_modules/@spree/dashboard/src/routes/forgot-password'-import { Route as authenticatedRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated'-import { Route as authenticatedIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/index'-import { Route as acceptInvitationDotinvitationIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/accept-invitation.$invitationId'-import { Route as authenticatedStoreIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId'-import { Route as IndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/index'-import { Route as SuppliersRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/suppliers'-import { Route as SettingsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings'-import { Route as ReturnsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/returns'-import { Route as GettingStartedRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/getting-started'-import { Route as ExchangesRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/exchanges'-import { Route as ClaimsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/claims'-import { Route as SplatRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/$'-import { Route as TransfersIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/transfers/index'-import { Route as SettingsIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/index'-import { Route as SellersIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/sellers/index'-import { Route as ReportsIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/reports/index'-import { Route as PurchaseOrdersIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/purchase-orders/index'-import { Route as PromotionsIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/promotions/index'-import { Route as ProductsIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/index'-import { Route as OrdersIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/orders/index'-import { Route as InventoryIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/inventory/index'-import { Route as CustomersIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/customers/index'-import { Route as CompaniesIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/companies/index'-import { Route as BrandsDotindexRouteImport } from './../node_modules/@spree/dashboard-plugin-example/src/routes/brands.index'-import { Route as TransfersNewRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/transfers/new'-import { Route as SettingsTaxRatesRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/tax-rates'-import { Route as SettingsTaxCategoriesRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/tax-categories'-import { Route as SettingsStoreRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/store'-import { Route as SettingsStockLocationsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/stock-locations'-import { Route as SettingsStaffRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/staff'-import { Route as SettingsSellerRequirementsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/seller-requirements'-import { Route as SettingsRolesRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/roles'-import { Route as SettingsReasonsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/reasons'-import { Route as SettingsProductTypesRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/product-types'-import { Route as SettingsPoliciesRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/policies'-import { Route as SettingsPayoutsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/payouts'-import { Route as SettingsPaymentMethodsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/payment-methods'-import { Route as SettingsPackageTypesRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/package-types'-import { Route as SettingsMarketsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/markets'-import { Route as SettingsMarketplaceRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/marketplace'-import { Route as SettingsIntegrationsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/integrations'-import { Route as SettingsCustomFieldDefinitionsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/custom-field-definitions'-import { Route as SettingsCommissionRatesRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/commission-rates'-import { Route as SettingsChannelsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/channels'-import { Route as SettingsApiKeysRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/api-keys'-import { Route as SettingsAllowedOriginsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/allowed-origins'-import { Route as SellersTransfersRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/sellers/transfers'-import { Route as SellersCommissionRatesRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/sellers/commission-rates'-import { Route as SellersSellerIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/sellers/$sellerId'-import { Route as ReportsNewRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/reports/new'-import { Route as ReportsReportIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/reports/$reportId'-import { Route as PurchaseOrdersNewRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/purchase-orders/new'-import { Route as PromotionsNewRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/promotions/new'-import { Route as PromotionsGiftCardsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/promotions/gift-cards'-import { Route as PromotionsPromotionIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/promotions/$promotionId'-import { Route as ProductsTranslationsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/translations'-import { Route as ProductsOptionsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/options'-import { Route as ProductsNewRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/new'-import { Route as ProductsMediaRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/media'-import { Route as ProductsProductIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/$productId'-import { Route as OrdersNewRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/orders/new'-import { Route as OrdersDraftsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/orders/drafts'-import { Route as LoyaltyStoreCreditsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/loyalty/store-credits'-import { Route as LoyaltyGiftCardsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/loyalty/gift-cards'-import { Route as CustomersGroupsRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/customers/groups'-import { Route as CustomersCustomerIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/customers/$customerId'-import { Route as CompaniesCompanyIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/companies/$companyId'-import { Route as BrandsDotbrandIdRouteImport } from './../node_modules/@spree/dashboard-plugin-example/src/routes/brands.$brandId'-import { Route as TransfersTransferIdIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/transfers/$transferId/index'-import { Route as SettingsWebhooksIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/webhooks/index'-import { Route as SettingsImportsIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/imports/index'-import { Route as SettingsEmailsIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/emails/index'-import { Route as SettingsDeliveryProfilesIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/delivery-profiles/index'-import { Route as SellersPayoutsIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/sellers/payouts/index'-import { Route as PurchaseOrdersPurchaseOrderIdIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/purchase-orders/$purchaseOrderId/index'-import { Route as ProductsPriceListsIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/price-lists/index'-import { Route as ProductsCollectionsIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/collections/index'-import { Route as ProductsCategoriesIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/categories/index'-import { Route as ProductsCatalogsIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/catalogs/index'-import { Route as OrdersOrderIdIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/orders/$orderId/index'-import { Route as TransfersTransferIdEditRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/transfers/$transferId/edit'-import { Route as SettingsWebhooksWebhookEndpointIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/webhooks/$webhookEndpointId'-import { Route as SellersPayoutsPayoutIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/sellers/payouts/$payoutId'-import { Route as PurchaseOrdersPurchaseOrderIdEditRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/purchase-orders/$purchaseOrderId/edit'-import { Route as ProductsPriceListsNewRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/price-lists/new'-import { Route as ProductsCollectionsNewRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/collections/new'-import { Route as ProductsCollectionsCollectionIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/collections/$collectionId'-import { Route as ProductsCategoriesNewRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/categories/new'-import { Route as ProductsCategoriesCategoryIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/categories/$categoryId'-import { Route as ProductsCatalogsCatalogIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/catalogs/$catalogId'-import { Route as OrdersOrderIdEditRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/orders/$orderId/edit'-import { Route as SettingsEmailsTemplatesIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/emails/templates/index'-import { Route as SettingsDeliveryProfilesProfileIdIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/delivery-profiles/$profileId/index'-import { Route as ProductsPriceListsPriceListIdIndexRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/products/price-lists/$priceListId/index'-import { Route as SettingsEmailsTemplatesTemplateIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/emails/templates/$templateId'-import { Route as SettingsDeliveryProfilesProfileIdMethodsNewRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/delivery-profiles/$profileId/methods/new'-import { Route as SettingsDeliveryProfilesProfileIdMethodsMethodIdRouteImport } from './../node_modules/@spree/dashboard/src/routes/_authenticated/$storeId/settings/delivery-profiles/$profileId/methods/$methodId'+import { Route as rootRouteImport } from './../../dashboard/src/routes/__root'+import { Route as authenticatedRouteImport } from './../../dashboard/src/routes/_authenticated'+import { Route as forgotPasswordRouteImport } from './../../dashboard/src/routes/forgot-password'+import { Route as loginRouteImport } from './../../dashboard/src/routes/login'+import { Route as resetPasswordRouteImport } from './../../dashboard/src/routes/reset-password'+import { Route as setupRouteImport } from './../../dashboard/src/routes/setup'+import { Route as authenticatedIndexRouteImport } from './../../dashboard/src/routes/_authenticated/index'+import { Route as authenticatedStoreIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId'+import { Route as acceptInvitationDotinvitationIdRouteImport } from './../../dashboard/src/routes/accept-invitation.$invitationId'+import { Route as IndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/index'+import { Route as SplatRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/$'+import { Route as ClaimsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/claims'+import { Route as ExchangesRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/exchanges'+import { Route as GettingStartedRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/getting-started'+import { Route as ReturnsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/returns'+import { Route as SettingsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings'+import { Route as SuppliersRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/suppliers'+import { Route as BrandsDotindexRouteImport } from './../../dashboard-plugin-example/src/routes/brands.index'+import { Route as BrandsDotbrandIdRouteImport } from './../../dashboard-plugin-example/src/routes/brands.$brandId'+import { Route as CompaniesIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/companies/index'+import { Route as CompaniesCompanyIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/companies/$companyId'+import { Route as CustomersIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/customers/index'+import { Route as CustomersCustomerIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/customers/$customerId'+import { Route as CustomersGroupsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/customers/groups'+import { Route as InventoryIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/inventory/index'+import { Route as LoyaltyGiftCardsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/loyalty/gift-cards'+import { Route as LoyaltyStoreCreditsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/loyalty/store-credits'+import { Route as OrdersIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/orders/index'+import { Route as OrdersDraftsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/orders/drafts'+import { Route as OrdersNewRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/orders/new'+import { Route as ProductsIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/index'+import { Route as ProductsProductIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/$productId'+import { Route as ProductsMediaRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/media'+import { Route as ProductsNewRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/new'+import { Route as ProductsOptionsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/options'+import { Route as ProductsTranslationsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/translations'+import { Route as PromotionsIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/promotions/index'+import { Route as PromotionsPromotionIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/promotions/$promotionId'+import { Route as PromotionsGiftCardsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/promotions/gift-cards'+import { Route as PromotionsNewRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/promotions/new'+import { Route as PurchaseOrdersIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/purchase-orders/index'+import { Route as PurchaseOrdersNewRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/purchase-orders/new'+import { Route as ReportsIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/reports/index'+import { Route as ReportsReportIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/reports/$reportId'+import { Route as ReportsNewRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/reports/new'+import { Route as SellersIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/sellers/index'+import { Route as SellersSellerIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/sellers/$sellerId'+import { Route as SellersCommissionRatesRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/sellers/commission-rates'+import { Route as SellersTransfersRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/sellers/transfers'+import { Route as SettingsIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/index'+import { Route as SettingsAllowedOriginsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/allowed-origins'+import { Route as SettingsApiKeysRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/api-keys'+import { Route as SettingsChannelsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/channels'+import { Route as SettingsCommissionRatesRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/commission-rates'+import { Route as SettingsCustomFieldDefinitionsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/custom-field-definitions'+import { Route as SettingsIntegrationsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/integrations'+import { Route as SettingsMarketplaceRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/marketplace'+import { Route as SettingsMarketsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/markets'+import { Route as SettingsPackageTypesRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/package-types'+import { Route as SettingsPaymentMethodsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/payment-methods'+import { Route as SettingsPayoutsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/payouts'+import { Route as SettingsPoliciesRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/policies'+import { Route as SettingsProductTypesRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/product-types'+import { Route as SettingsReasonsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/reasons'+import { Route as SettingsRolesRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/roles'+import { Route as SettingsSellerRequirementsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/seller-requirements'+import { Route as SettingsStaffRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/staff'+import { Route as SettingsStockLocationsRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/stock-locations'+import { Route as SettingsStoreRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/store'+import { Route as SettingsTaxCategoriesRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/tax-categories'+import { Route as SettingsTaxRatesRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/tax-rates'+import { Route as TransfersIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/transfers/index'+import { Route as TransfersNewRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/transfers/new'+import { Route as OrdersOrderIdIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/orders/$orderId/index'+import { Route as OrdersOrderIdEditRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/orders/$orderId/edit'+import { Route as ProductsCatalogsIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/catalogs/index'+import { Route as ProductsCatalogsCatalogIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/catalogs/$catalogId'+import { Route as ProductsCategoriesIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/categories/index'+import { Route as ProductsCategoriesCategoryIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/categories/$categoryId'+import { Route as ProductsCategoriesNewRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/categories/new'+import { Route as ProductsCollectionsIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/collections/index'+import { Route as ProductsCollectionsCollectionIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/collections/$collectionId'+import { Route as ProductsCollectionsNewRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/collections/new'+import { Route as ProductsPriceListsIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/price-lists/index'+import { Route as ProductsPriceListsNewRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/price-lists/new'+import { Route as PurchaseOrdersPurchaseOrderIdIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/purchase-orders/$purchaseOrderId/index'+import { Route as PurchaseOrdersPurchaseOrderIdEditRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/purchase-orders/$purchaseOrderId/edit'+import { Route as SellersPayoutsIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/sellers/payouts/index'+import { Route as SellersPayoutsPayoutIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/sellers/payouts/$payoutId'+import { Route as SettingsDeliveryProfilesIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/delivery-profiles/index'+import { Route as SettingsEmailsIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/emails/index'+import { Route as SettingsImportsIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/imports/index'+import { Route as SettingsWebhooksIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/webhooks/index'+import { Route as SettingsWebhooksWebhookEndpointIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/webhooks/$webhookEndpointId'+import { Route as TransfersTransferIdIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/transfers/$transferId/index'+import { Route as TransfersTransferIdEditRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/transfers/$transferId/edit'+import { Route as ProductsPriceListsPriceListIdIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/price-lists/$priceListId/index'+import { Route as SettingsDeliveryProfilesProfileIdIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/delivery-profiles/$profileId/index'+import { Route as SettingsEmailsTemplatesIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/emails/templates/index'+import { Route as SettingsEmailsTemplatesTemplateIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/emails/templates/$templateId'+import { Route as SettingsDeliveryProfilesProfileIdMethodsMethodIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/delivery-profiles/$profileId/methods/$methodId'+import { Route as SettingsDeliveryProfilesProfileIdMethodsNewRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/delivery-profiles/$profileId/methods/new'-const setupRoute = setupRouteImport.update({- id: '/setup',- path: '/setup',+const authenticatedRoute = authenticatedRouteImport.update({+ id: '/_authenticated',getParentRoute: () => rootRouteImport,} as any)-const resetPasswordRoute = resetPasswordRouteImport.update({- id: '/reset-password',- path: '/reset-password',+const forgotPasswordRoute = forgotPasswordRouteImport.update({+ id: '/forgot-password',+ path: '/forgot-password',getParentRoute: () => rootRouteImport,} as any)const loginRoute = loginRouteImport.update({@@ -126,13 +125,14 @@ const loginRoute = loginRouteImport.update({path: '/login',getParentRoute: () => rootRouteImport,} as any)-const forgotPasswordRoute = forgotPasswordRouteImport.update({- id: '/forgot-password',- path: '/forgot-password',+const resetPasswordRoute = resetPasswordRouteImport.update({+ id: '/reset-password',+ path: '/reset-password',getParentRoute: () => rootRouteImport,} as any)-const authenticatedRoute = authenticatedRouteImport.update({- id: '/_authenticated',+const setupRoute = setupRouteImport.update({+ id: '/setup',+ path: '/setup',getParentRoute: () => rootRouteImport,} as any)const authenticatedIndexRoute = authenticatedIndexRouteImport.update({@@ -140,35 +140,35 @@ const authenticatedIndexRoute = authenticatedIndexRouteImport.update({path: '/',getParentRoute: () => authenticatedRoute,} as any)+const authenticatedStoreIdRoute = authenticatedStoreIdRouteImport.update({+ id: '/$storeId',+ path: '/$storeId',+ getParentRoute: () => authenticatedRoute,+} as any)const acceptInvitationDotinvitationIdRoute =acceptInvitationDotinvitationIdRouteImport.update({id: '/accept-invitation/$invitationId',path: '/accept-invitation/$invitationId',getParentRoute: () => rootRouteImport,} as any)-const authenticatedStoreIdRoute = authenticatedStoreIdRouteImport.update({- id: '/$storeId',- path: '/$storeId',- getParentRoute: () => authenticatedRoute,-} as any)const IndexRoute = IndexRouteImport.update({id: '/',path: '/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SuppliersRoute = SuppliersRouteImport.update({- id: '/suppliers',- path: '/suppliers',+const SplatRoute = SplatRouteImport.update({+ id: '/$',+ path: '/$',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsRoute = SettingsRouteImport.update({- id: '/settings',- path: '/settings',+const ClaimsRoute = ClaimsRouteImport.update({+ id: '/claims',+ path: '/claims',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const ReturnsRoute = ReturnsRouteImport.update({- id: '/returns',- path: '/returns',+const ExchangesRoute = ExchangesRouteImport.update({+ id: '/exchanges',+ path: '/exchanges',getParentRoute: () => authenticatedStoreIdRoute,} as any)const GettingStartedRoute = GettingStartedRouteImport.update({@@ -176,59 +176,54 @@ const GettingStartedRoute = GettingStartedRouteImport.update({path: '/getting-started',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const ExchangesRoute = ExchangesRouteImport.update({- id: '/exchanges',- path: '/exchanges',+const ReturnsRoute = ReturnsRouteImport.update({+ id: '/returns',+ path: '/returns',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const ClaimsRoute = ClaimsRouteImport.update({- id: '/claims',- path: '/claims',+const SettingsRoute = SettingsRouteImport.update({+ id: '/settings',+ path: '/settings',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SplatRoute = SplatRouteImport.update({- id: '/$',- path: '/$',+const SuppliersRoute = SuppliersRouteImport.update({+ id: '/suppliers',+ path: '/suppliers',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const TransfersIndexRoute = TransfersIndexRouteImport.update({- id: '/transfers/',- path: '/transfers/',+const BrandsDotindexRoute = BrandsDotindexRouteImport.update({+ id: '/brands/',+ path: '/brands/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsIndexRoute = SettingsIndexRouteImport.update({- id: '/',- path: '/',- getParentRoute: () => SettingsRoute,-} as any)-const SellersIndexRoute = SellersIndexRouteImport.update({- id: '/sellers/',- path: '/sellers/',+const BrandsDotbrandIdRoute = BrandsDotbrandIdRouteImport.update({+ id: '/brands/$brandId',+ path: '/brands/$brandId',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const ReportsIndexRoute = ReportsIndexRouteImport.update({- id: '/reports/',- path: '/reports/',+const CompaniesIndexRoute = CompaniesIndexRouteImport.update({+ id: '/companies/',+ path: '/companies/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const PurchaseOrdersIndexRoute = PurchaseOrdersIndexRouteImport.update({- id: '/purchase-orders/',- path: '/purchase-orders/',+const CompaniesCompanyIdRoute = CompaniesCompanyIdRouteImport.update({+ id: '/companies/$companyId',+ path: '/companies/$companyId',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const PromotionsIndexRoute = PromotionsIndexRouteImport.update({- id: '/promotions/',- path: '/promotions/',+const CustomersIndexRoute = CustomersIndexRouteImport.update({+ id: '/customers/',+ path: '/customers/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const ProductsIndexRoute = ProductsIndexRouteImport.update({- id: '/products/',- path: '/products/',+const CustomersCustomerIdRoute = CustomersCustomerIdRouteImport.update({+ id: '/customers/$customerId',+ path: '/customers/$customerId',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const OrdersIndexRoute = OrdersIndexRouteImport.update({- id: '/orders/',- path: '/orders/',+const CustomersGroupsRoute = CustomersGroupsRouteImport.update({+ id: '/customers/groups',+ path: '/customers/groups',getParentRoute: () => authenticatedStoreIdRoute,} as any)const InventoryIndexRoute = InventoryIndexRouteImport.update({@@ -236,105 +231,149 @@ const InventoryIndexRoute = InventoryIndexRouteImport.update({path: '/inventory/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const CustomersIndexRoute = CustomersIndexRouteImport.update({- id: '/customers/',- path: '/customers/',+const LoyaltyGiftCardsRoute = LoyaltyGiftCardsRouteImport.update({+ id: '/loyalty/gift-cards',+ path: '/loyalty/gift-cards',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const CompaniesIndexRoute = CompaniesIndexRouteImport.update({- id: '/companies/',- path: '/companies/',+const LoyaltyStoreCreditsRoute = LoyaltyStoreCreditsRouteImport.update({+ id: '/loyalty/store-credits',+ path: '/loyalty/store-credits',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const BrandsDotindexRoute = BrandsDotindexRouteImport.update({- id: '/brands/',- path: '/brands/',+const OrdersIndexRoute = OrdersIndexRouteImport.update({+ id: '/orders/',+ path: '/orders/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const TransfersNewRoute = TransfersNewRouteImport.update({- id: '/transfers/new',- path: '/transfers/new',+const OrdersDraftsRoute = OrdersDraftsRouteImport.update({+ id: '/orders/drafts',+ path: '/orders/drafts',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsTaxRatesRoute = SettingsTaxRatesRouteImport.update({- id: '/tax-rates',- path: '/tax-rates',- getParentRoute: () => SettingsRoute,-} as any)-const SettingsTaxCategoriesRoute = SettingsTaxCategoriesRouteImport.update({- id: '/tax-categories',- path: '/tax-categories',- getParentRoute: () => SettingsRoute,+const OrdersNewRoute = OrdersNewRouteImport.update({+ id: '/orders/new',+ path: '/orders/new',+ getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsStoreRoute = SettingsStoreRouteImport.update({- id: '/store',- path: '/store',- getParentRoute: () => SettingsRoute,+const ProductsIndexRoute = ProductsIndexRouteImport.update({+ id: '/products/',+ path: '/products/',+ getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsStockLocationsRoute = SettingsStockLocationsRouteImport.update({- id: '/stock-locations',- path: '/stock-locations',- getParentRoute: () => SettingsRoute,+const ProductsProductIdRoute = ProductsProductIdRouteImport.update({+ id: '/products/$productId',+ path: '/products/$productId',+ getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsStaffRoute = SettingsStaffRouteImport.update({- id: '/staff',- path: '/staff',- getParentRoute: () => SettingsRoute,+const ProductsMediaRoute = ProductsMediaRouteImport.update({+ id: '/products/media',+ path: '/products/media',+ getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsSellerRequirementsRoute =- SettingsSellerRequirementsRouteImport.update({- id: '/seller-requirements',- path: '/seller-requirements',- getParentRoute: () => SettingsRoute,- } as any)-const SettingsRolesRoute = SettingsRolesRouteImport.update({- id: '/roles',- path: '/roles',- getParentRoute: () => SettingsRoute,+const ProductsNewRoute = ProductsNewRouteImport.update({+ id: '/products/new',+ path: '/products/new',+ getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsReasonsRoute = SettingsReasonsRouteImport.update({- id: '/reasons',- path: '/reasons',- getParentRoute: () => SettingsRoute,+const ProductsOptionsRoute = ProductsOptionsRouteImport.update({+ id: '/products/options',+ path: '/products/options',+ getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsProductTypesRoute = SettingsProductTypesRouteImport.update({- id: '/product-types',- path: '/product-types',- getParentRoute: () => SettingsRoute,+const ProductsTranslationsRoute = ProductsTranslationsRouteImport.update({+ id: '/products/translations',+ path: '/products/translations',+ getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsPoliciesRoute = SettingsPoliciesRouteImport.update({- id: '/policies',- path: '/policies',- getParentRoute: () => SettingsRoute,+const PromotionsIndexRoute = PromotionsIndexRouteImport.update({+ id: '/promotions/',+ path: '/promotions/',+ getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsPayoutsRoute = SettingsPayoutsRouteImport.update({- id: '/payouts',- path: '/payouts',- getParentRoute: () => SettingsRoute,+const PromotionsPromotionIdRoute = PromotionsPromotionIdRouteImport.update({+ id: '/promotions/$promotionId',+ path: '/promotions/$promotionId',+ getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsPaymentMethodsRoute = SettingsPaymentMethodsRouteImport.update({- id: '/payment-methods',- path: '/payment-methods',- getParentRoute: () => SettingsRoute,+const PromotionsGiftCardsRoute = PromotionsGiftCardsRouteImport.update({+ id: '/promotions/gift-cards',+ path: '/promotions/gift-cards',+ getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsPackageTypesRoute = SettingsPackageTypesRouteImport.update({- id: '/package-types',- path: '/package-types',- getParentRoute: () => SettingsRoute,+const PromotionsNewRoute = PromotionsNewRouteImport.update({+ id: '/promotions/new',+ path: '/promotions/new',+ getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsMarketsRoute = SettingsMarketsRouteImport.update({- id: '/markets',- path: '/markets',- getParentRoute: () => SettingsRoute,+const PurchaseOrdersIndexRoute = PurchaseOrdersIndexRouteImport.update({+ id: '/purchase-orders/',+ path: '/purchase-orders/',+ getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsMarketplaceRoute = SettingsMarketplaceRouteImport.update({- id: '/marketplace',- path: '/marketplace',- getParentRoute: () => SettingsRoute,+const PurchaseOrdersNewRoute = PurchaseOrdersNewRouteImport.update({+ id: '/purchase-orders/new',+ path: '/purchase-orders/new',+ getParentRoute: () => authenticatedStoreIdRoute,} as any)-const SettingsIntegrationsRoute = SettingsIntegrationsRouteImport.update({- id: '/integrations',- path: '/integrations',+const ReportsIndexRoute = ReportsIndexRouteImport.update({+ id: '/reports/',+ path: '/reports/',+ getParentRoute: () => authenticatedStoreIdRoute,+} as any)+const ReportsReportIdRoute = ReportsReportIdRouteImport.update({+ id: '/reports/$reportId',+ path: '/reports/$reportId',+ getParentRoute: () => authenticatedStoreIdRoute,+} as any)+const ReportsNewRoute = ReportsNewRouteImport.update({+ id: '/reports/new',+ path: '/reports/new',+ getParentRoute: () => authenticatedStoreIdRoute,+} as any)+const SellersIndexRoute = SellersIndexRouteImport.update({+ id: '/sellers/',+ path: '/sellers/',+ getParentRoute: () => authenticatedStoreIdRoute,+} as any)+const SellersSellerIdRoute = SellersSellerIdRouteImport.update({+ id: '/sellers/$sellerId',+ path: '/sellers/$sellerId',+ getParentRoute: () => authenticatedStoreIdRoute,+} as any)+const SellersCommissionRatesRoute = SellersCommissionRatesRouteImport.update({+ id: '/sellers/commission-rates',+ path: '/sellers/commission-rates',+ getParentRoute: () => authenticatedStoreIdRoute,+} as any)+const SellersTransfersRoute = SellersTransfersRouteImport.update({+ id: '/sellers/transfers',+ path: '/sellers/transfers',+ getParentRoute: () => authenticatedStoreIdRoute,+} as any)+const SettingsIndexRoute = SettingsIndexRouteImport.update({+ id: '/',+ path: '/',+ getParentRoute: () => SettingsRoute,+} as any)+const SettingsAllowedOriginsRoute = SettingsAllowedOriginsRouteImport.update({+ id: '/allowed-origins',+ path: '/allowed-origins',+ getParentRoute: () => SettingsRoute,+} as any)+const SettingsApiKeysRoute = SettingsApiKeysRouteImport.update({+ id: '/api-keys',+ path: '/api-keys',+ getParentRoute: () => SettingsRoute,+} as any)+const SettingsChannelsRoute = SettingsChannelsRouteImport.update({+ id: '/channels',+ path: '/channels',+ getParentRoute: () => SettingsRoute,+} as any)+const SettingsCommissionRatesRoute = SettingsCommissionRatesRouteImport.update({+ id: '/commission-rates',+ path: '/commission-rates',getParentRoute: () => SettingsRoute,} as any)const SettingsCustomFieldDefinitionsRoute =@@ -343,166 +382,159 @@ const SettingsCustomFieldDefinitionsRoute =path: '/custom-field-definitions',getParentRoute: () => SettingsRoute,} as any)-const SettingsCommissionRatesRoute = SettingsCommissionRatesRouteImport.update({- id: '/commission-rates',- path: '/commission-rates',+const SettingsIntegrationsRoute = SettingsIntegrationsRouteImport.update({+ id: '/integrations',+ path: '/integrations',getParentRoute: () => SettingsRoute,} as any)-const SettingsChannelsRoute = SettingsChannelsRouteImport.update({- id: '/channels',- path: '/channels',+const SettingsMarketplaceRoute = SettingsMarketplaceRouteImport.update({+ id: '/marketplace',+ path: '/marketplace',getParentRoute: () => SettingsRoute,} as any)-const SettingsApiKeysRoute = SettingsApiKeysRouteImport.update({- id: '/api-keys',- path: '/api-keys',+const SettingsMarketsRoute = SettingsMarketsRouteImport.update({+ id: '/markets',+ path: '/markets',getParentRoute: () => SettingsRoute,} as any)-const SettingsAllowedOriginsRoute = SettingsAllowedOriginsRouteImport.update({- id: '/allowed-origins',- path: '/allowed-origins',+const SettingsPackageTypesRoute = SettingsPackageTypesRouteImport.update({+ id: '/package-types',+ path: '/package-types',getParentRoute: () => SettingsRoute,} as any)-const SellersTransfersRoute = SellersTransfersRouteImport.update({- id: '/sellers/transfers',- path: '/sellers/transfers',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsPaymentMethodsRoute = SettingsPaymentMethodsRouteImport.update({+ id: '/payment-methods',+ path: '/payment-methods',+ getParentRoute: () => SettingsRoute,} as any)-const SellersCommissionRatesRoute = SellersCommissionRatesRouteImport.update({- id: '/sellers/commission-rates',- path: '/sellers/commission-rates',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsPayoutsRoute = SettingsPayoutsRouteImport.update({+ id: '/payouts',+ path: '/payouts',+ getParentRoute: () => SettingsRoute,} as any)-const SellersSellerIdRoute = SellersSellerIdRouteImport.update({- id: '/sellers/$sellerId',- path: '/sellers/$sellerId',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsPoliciesRoute = SettingsPoliciesRouteImport.update({+ id: '/policies',+ path: '/policies',+ getParentRoute: () => SettingsRoute,} as any)-const ReportsNewRoute = ReportsNewRouteImport.update({- id: '/reports/new',- path: '/reports/new',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsProductTypesRoute = SettingsProductTypesRouteImport.update({+ id: '/product-types',+ path: '/product-types',+ getParentRoute: () => SettingsRoute,} as any)-const ReportsReportIdRoute = ReportsReportIdRouteImport.update({- id: '/reports/$reportId',- path: '/reports/$reportId',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsReasonsRoute = SettingsReasonsRouteImport.update({+ id: '/reasons',+ path: '/reasons',+ getParentRoute: () => SettingsRoute,} as any)-const PurchaseOrdersNewRoute = PurchaseOrdersNewRouteImport.update({- id: '/purchase-orders/new',- path: '/purchase-orders/new',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsRolesRoute = SettingsRolesRouteImport.update({+ id: '/roles',+ path: '/roles',+ getParentRoute: () => SettingsRoute,} as any)-const PromotionsNewRoute = PromotionsNewRouteImport.update({- id: '/promotions/new',- path: '/promotions/new',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsSellerRequirementsRoute =+ SettingsSellerRequirementsRouteImport.update({+ id: '/seller-requirements',+ path: '/seller-requirements',+ getParentRoute: () => SettingsRoute,+ } as any)+const SettingsStaffRoute = SettingsStaffRouteImport.update({+ id: '/staff',+ path: '/staff',+ getParentRoute: () => SettingsRoute,} as any)-const PromotionsGiftCardsRoute = PromotionsGiftCardsRouteImport.update({- id: '/promotions/gift-cards',- path: '/promotions/gift-cards',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsStockLocationsRoute = SettingsStockLocationsRouteImport.update({+ id: '/stock-locations',+ path: '/stock-locations',+ getParentRoute: () => SettingsRoute,} as any)-const PromotionsPromotionIdRoute = PromotionsPromotionIdRouteImport.update({- id: '/promotions/$promotionId',- path: '/promotions/$promotionId',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsStoreRoute = SettingsStoreRouteImport.update({+ id: '/store',+ path: '/store',+ getParentRoute: () => SettingsRoute,} as any)-const ProductsTranslationsRoute = ProductsTranslationsRouteImport.update({- id: '/products/translations',- path: '/products/translations',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsTaxCategoriesRoute = SettingsTaxCategoriesRouteImport.update({+ id: '/tax-categories',+ path: '/tax-categories',+ getParentRoute: () => SettingsRoute,} as any)-const ProductsOptionsRoute = ProductsOptionsRouteImport.update({- id: '/products/options',- path: '/products/options',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsTaxRatesRoute = SettingsTaxRatesRouteImport.update({+ id: '/tax-rates',+ path: '/tax-rates',+ getParentRoute: () => SettingsRoute,} as any)-const ProductsNewRoute = ProductsNewRouteImport.update({- id: '/products/new',- path: '/products/new',+const TransfersIndexRoute = TransfersIndexRouteImport.update({+ id: '/transfers/',+ path: '/transfers/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const ProductsMediaRoute = ProductsMediaRouteImport.update({- id: '/products/media',- path: '/products/media',+const TransfersNewRoute = TransfersNewRouteImport.update({+ id: '/transfers/new',+ path: '/transfers/new',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const ProductsProductIdRoute = ProductsProductIdRouteImport.update({- id: '/products/$productId',- path: '/products/$productId',+const OrdersOrderIdIndexRoute = OrdersOrderIdIndexRouteImport.update({+ id: '/orders/$orderId/',+ path: '/orders/$orderId/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const OrdersNewRoute = OrdersNewRouteImport.update({- id: '/orders/new',- path: '/orders/new',+const OrdersOrderIdEditRoute = OrdersOrderIdEditRouteImport.update({+ id: '/orders/$orderId/edit',+ path: '/orders/$orderId/edit',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const OrdersDraftsRoute = OrdersDraftsRouteImport.update({- id: '/orders/drafts',- path: '/orders/drafts',+const ProductsCatalogsIndexRoute = ProductsCatalogsIndexRouteImport.update({+ id: '/products/catalogs/',+ path: '/products/catalogs/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const LoyaltyStoreCreditsRoute = LoyaltyStoreCreditsRouteImport.update({- id: '/loyalty/store-credits',- path: '/loyalty/store-credits',+const ProductsCatalogsCatalogIdRoute =+ ProductsCatalogsCatalogIdRouteImport.update({+ id: '/products/catalogs/$catalogId',+ path: '/products/catalogs/$catalogId',+ getParentRoute: () => authenticatedStoreIdRoute,+ } as any)+const ProductsCategoriesIndexRoute = ProductsCategoriesIndexRouteImport.update({+ id: '/products/categories/',+ path: '/products/categories/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const LoyaltyGiftCardsRoute = LoyaltyGiftCardsRouteImport.update({- id: '/loyalty/gift-cards',- path: '/loyalty/gift-cards',+const ProductsCategoriesCategoryIdRoute =+ ProductsCategoriesCategoryIdRouteImport.update({+ id: '/products/categories/$categoryId',+ path: '/products/categories/$categoryId',+ getParentRoute: () => authenticatedStoreIdRoute,+ } as any)+const ProductsCategoriesNewRoute = ProductsCategoriesNewRouteImport.update({+ id: '/products/categories/new',+ path: '/products/categories/new',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const CustomersGroupsRoute = CustomersGroupsRouteImport.update({- id: '/customers/groups',- path: '/customers/groups',+const ProductsCollectionsIndexRoute =+ ProductsCollectionsIndexRouteImport.update({+ id: '/products/collections/',+ path: '/products/collections/',+ getParentRoute: () => authenticatedStoreIdRoute,+ } as any)+const ProductsCollectionsCollectionIdRoute =+ ProductsCollectionsCollectionIdRouteImport.update({+ id: '/products/collections/$collectionId',+ path: '/products/collections/$collectionId',+ getParentRoute: () => authenticatedStoreIdRoute,+ } as any)+const ProductsCollectionsNewRoute = ProductsCollectionsNewRouteImport.update({+ id: '/products/collections/new',+ path: '/products/collections/new',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const CustomersCustomerIdRoute = CustomersCustomerIdRouteImport.update({- id: '/customers/$customerId',- path: '/customers/$customerId',+const ProductsPriceListsIndexRoute = ProductsPriceListsIndexRouteImport.update({+ id: '/products/price-lists/',+ path: '/products/price-lists/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const CompaniesCompanyIdRoute = CompaniesCompanyIdRouteImport.update({- id: '/companies/$companyId',- path: '/companies/$companyId',- getParentRoute: () => authenticatedStoreIdRoute,-} as any)-const BrandsDotbrandIdRoute = BrandsDotbrandIdRouteImport.update({- id: '/brands/$brandId',- path: '/brands/$brandId',- getParentRoute: () => authenticatedStoreIdRoute,-} as any)-const TransfersTransferIdIndexRoute =- TransfersTransferIdIndexRouteImport.update({- id: '/transfers/$transferId/',- path: '/transfers/$transferId/',- getParentRoute: () => authenticatedStoreIdRoute,- } as any)-const SettingsWebhooksIndexRoute = SettingsWebhooksIndexRouteImport.update({- id: '/webhooks/',- path: '/webhooks/',- getParentRoute: () => SettingsRoute,-} as any)-const SettingsImportsIndexRoute = SettingsImportsIndexRouteImport.update({- id: '/imports/',- path: '/imports/',- getParentRoute: () => SettingsRoute,-} as any)-const SettingsEmailsIndexRoute = SettingsEmailsIndexRouteImport.update({- id: '/emails/',- path: '/emails/',- getParentRoute: () => SettingsRoute,-} as any)-const SettingsDeliveryProfilesIndexRoute =- SettingsDeliveryProfilesIndexRouteImport.update({- id: '/delivery-profiles/',- path: '/delivery-profiles/',- getParentRoute: () => SettingsRoute,- } as any)-const SellersPayoutsIndexRoute = SellersPayoutsIndexRouteImport.update({- id: '/sellers/payouts/',- path: '/sellers/payouts/',+const ProductsPriceListsNewRoute = ProductsPriceListsNewRouteImport.update({+ id: '/products/price-lists/new',+ path: '/products/price-lists/new',getParentRoute: () => authenticatedStoreIdRoute,} as any)const PurchaseOrdersPurchaseOrderIdIndexRoute =@@ -511,36 +543,42 @@ const PurchaseOrdersPurchaseOrderIdIndexRoute =path: '/purchase-orders/$purchaseOrderId/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const ProductsPriceListsIndexRoute = ProductsPriceListsIndexRouteImport.update({- id: '/products/price-lists/',- path: '/products/price-lists/',- getParentRoute: () => authenticatedStoreIdRoute,-} as any)-const ProductsCollectionsIndexRoute =- ProductsCollectionsIndexRouteImport.update({- id: '/products/collections/',- path: '/products/collections/',+const PurchaseOrdersPurchaseOrderIdEditRoute =+ PurchaseOrdersPurchaseOrderIdEditRouteImport.update({+ id: '/purchase-orders/$purchaseOrderId/edit',+ path: '/purchase-orders/$purchaseOrderId/edit',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const ProductsCategoriesIndexRoute = ProductsCategoriesIndexRouteImport.update({- id: '/products/categories/',- path: '/products/categories/',+const SellersPayoutsIndexRoute = SellersPayoutsIndexRouteImport.update({+ id: '/sellers/payouts/',+ path: '/sellers/payouts/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const ProductsCatalogsIndexRoute = ProductsCatalogsIndexRouteImport.update({- id: '/products/catalogs/',- path: '/products/catalogs/',+const SellersPayoutsPayoutIdRoute = SellersPayoutsPayoutIdRouteImport.update({+ id: '/sellers/payouts/$payoutId',+ path: '/sellers/payouts/$payoutId',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const OrdersOrderIdIndexRoute = OrdersOrderIdIndexRouteImport.update({- id: '/orders/$orderId/',- path: '/orders/$orderId/',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsDeliveryProfilesIndexRoute =+ SettingsDeliveryProfilesIndexRouteImport.update({+ id: '/delivery-profiles/',+ path: '/delivery-profiles/',+ getParentRoute: () => SettingsRoute,+ } as any)+const SettingsEmailsIndexRoute = SettingsEmailsIndexRouteImport.update({+ id: '/emails/',+ path: '/emails/',+ getParentRoute: () => SettingsRoute,} as any)-const TransfersTransferIdEditRoute = TransfersTransferIdEditRouteImport.update({- id: '/transfers/$transferId/edit',- path: '/transfers/$transferId/edit',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsImportsIndexRoute = SettingsImportsIndexRouteImport.update({+ id: '/imports/',+ path: '/imports/',+ getParentRoute: () => SettingsRoute,+} as any)+const SettingsWebhooksIndexRoute = SettingsWebhooksIndexRouteImport.update({+ id: '/webhooks/',+ path: '/webhooks/',+ getParentRoute: () => SettingsRoute,} as any)const SettingsWebhooksWebhookEndpointIdRoute =SettingsWebhooksWebhookEndpointIdRouteImport.update({@@ -548,72 +586,34 @@ const SettingsWebhooksWebhookEndpointIdRoute =path: '/webhooks/$webhookEndpointId',getParentRoute: () => SettingsRoute,} as any)-const SellersPayoutsPayoutIdRoute = SellersPayoutsPayoutIdRouteImport.update({- id: '/sellers/payouts/$payoutId',- path: '/sellers/payouts/$payoutId',- getParentRoute: () => authenticatedStoreIdRoute,-} as any)-const PurchaseOrdersPurchaseOrderIdEditRoute =- PurchaseOrdersPurchaseOrderIdEditRouteImport.update({- id: '/purchase-orders/$purchaseOrderId/edit',- path: '/purchase-orders/$purchaseOrderId/edit',- getParentRoute: () => authenticatedStoreIdRoute,- } as any)-const ProductsPriceListsNewRoute = ProductsPriceListsNewRouteImport.update({- id: '/products/price-lists/new',- path: '/products/price-lists/new',- getParentRoute: () => authenticatedStoreIdRoute,-} as any)-const ProductsCollectionsNewRoute = ProductsCollectionsNewRouteImport.update({- id: '/products/collections/new',- path: '/products/collections/new',- getParentRoute: () => authenticatedStoreIdRoute,-} as any)-const ProductsCollectionsCollectionIdRoute =- ProductsCollectionsCollectionIdRouteImport.update({- id: '/products/collections/$collectionId',- path: '/products/collections/$collectionId',+const TransfersTransferIdIndexRoute =+ TransfersTransferIdIndexRouteImport.update({+ id: '/transfers/$transferId/',+ path: '/transfers/$transferId/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const ProductsCategoriesNewRoute = ProductsCategoriesNewRouteImport.update({- id: '/products/categories/new',- path: '/products/categories/new',+const TransfersTransferIdEditRoute = TransfersTransferIdEditRouteImport.update({+ id: '/transfers/$transferId/edit',+ path: '/transfers/$transferId/edit',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const ProductsCategoriesCategoryIdRoute =- ProductsCategoriesCategoryIdRouteImport.update({- id: '/products/categories/$categoryId',- path: '/products/categories/$categoryId',- getParentRoute: () => authenticatedStoreIdRoute,- } as any)-const ProductsCatalogsCatalogIdRoute =- ProductsCatalogsCatalogIdRouteImport.update({- id: '/products/catalogs/$catalogId',- path: '/products/catalogs/$catalogId',+const ProductsPriceListsPriceListIdIndexRoute =+ ProductsPriceListsPriceListIdIndexRouteImport.update({+ id: '/products/price-lists/$priceListId/',+ path: '/products/price-lists/$priceListId/',getParentRoute: () => authenticatedStoreIdRoute,} as any)-const OrdersOrderIdEditRoute = OrdersOrderIdEditRouteImport.update({- id: '/orders/$orderId/edit',- path: '/orders/$orderId/edit',- getParentRoute: () => authenticatedStoreIdRoute,-} as any)-const SettingsEmailsTemplatesIndexRoute =- SettingsEmailsTemplatesIndexRouteImport.update({- id: '/emails/templates/',- path: '/emails/templates/',- getParentRoute: () => SettingsRoute,- } as any)const SettingsDeliveryProfilesProfileIdIndexRoute =SettingsDeliveryProfilesProfileIdIndexRouteImport.update({id: '/delivery-profiles/$profileId/',path: '/delivery-profiles/$profileId/',getParentRoute: () => SettingsRoute,} as any)-const ProductsPriceListsPriceListIdIndexRoute =- ProductsPriceListsPriceListIdIndexRouteImport.update({- id: '/products/price-lists/$priceListId/',- path: '/products/price-lists/$priceListId/',- getParentRoute: () => authenticatedStoreIdRoute,+const SettingsEmailsTemplatesIndexRoute =+ SettingsEmailsTemplatesIndexRouteImport.update({+ id: '/emails/templates/',+ path: '/emails/templates/',+ getParentRoute: () => SettingsRoute,} as any)const SettingsEmailsTemplatesTemplateIdRoute =SettingsEmailsTemplatesTemplateIdRouteImport.update({@@ -621,18 +621,18 @@ const SettingsEmailsTemplatesTemplateIdRoute =path: '/emails/templates/$templateId',getParentRoute: () => SettingsRoute,} as any)-const SettingsDeliveryProfilesProfileIdMethodsNewRoute =- SettingsDeliveryProfilesProfileIdMethodsNewRouteImport.update({- id: '/delivery-profiles/$profileId/methods/new',- path: '/delivery-profiles/$profileId/methods/new',- getParentRoute: () => SettingsRoute,- } as any)const SettingsDeliveryProfilesProfileIdMethodsMethodIdRoute =SettingsDeliveryProfilesProfileIdMethodsMethodIdRouteImport.update({id: '/delivery-profiles/$profileId/methods/$methodId',path: '/delivery-profiles/$profileId/methods/$methodId',getParentRoute: () => SettingsRoute,} as any)+const SettingsDeliveryProfilesProfileIdMethodsNewRoute =+ SettingsDeliveryProfilesProfileIdMethodsNewRouteImport.update({+ id: '/delivery-profiles/$profileId/methods/new',+ path: '/delivery-profiles/$profileId/methods/new',+ getParentRoute: () => SettingsRoute,+ } as any)export interface FileRoutesByFullPath {'/': typeof authenticatedIndexRoute@@ -1259,18 +1259,18 @@ export interface RootRouteChildren {declare module '@tanstack/react-router' {interface FileRoutesByPath {- '/setup': {- id: '/setup'- path: '/setup'- fullPath: '/setup'- preLoaderRoute: typeof setupRouteImport+ '/_authenticated': {+ id: '/_authenticated'+ path: ''+ fullPath: '/'+ preLoaderRoute: typeof authenticatedRouteImportparentRoute: typeof rootRouteImport}- '/reset-password': {- id: '/reset-password'- path: '/reset-password'- fullPath: '/reset-password'- preLoaderRoute: typeof resetPasswordRouteImport+ '/forgot-password': {+ id: '/forgot-password'+ path: '/forgot-password'+ fullPath: '/forgot-password'+ preLoaderRoute: typeof forgotPasswordRouteImportparentRoute: typeof rootRouteImport}'/login': {@@ -1280,18 +1280,18 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof loginRouteImportparentRoute: typeof rootRouteImport}- '/forgot-password': {- id: '/forgot-password'- path: '/forgot-password'- fullPath: '/forgot-password'- preLoaderRoute: typeof forgotPasswordRouteImport+ '/reset-password': {+ id: '/reset-password'+ path: '/reset-password'+ fullPath: '/reset-password'+ preLoaderRoute: typeof resetPasswordRouteImportparentRoute: typeof rootRouteImport}- '/_authenticated': {- id: '/_authenticated'- path: ''- fullPath: '/'- preLoaderRoute: typeof authenticatedRouteImport+ '/setup': {+ id: '/setup'+ path: '/setup'+ fullPath: '/setup'+ preLoaderRoute: typeof setupRouteImportparentRoute: typeof rootRouteImport}'/_authenticated/': {@@ -1301,13 +1301,6 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof authenticatedIndexRouteImportparentRoute: typeof authenticatedRoute}- '/accept-invitation/$invitationId': {- id: '/accept-invitation/$invitationId'- path: '/accept-invitation/$invitationId'- fullPath: '/accept-invitation/$invitationId'- preLoaderRoute: typeof acceptInvitationDotinvitationIdRouteImport- parentRoute: typeof rootRouteImport- }'/_authenticated/$storeId': {id: '/_authenticated/$storeId'path: '/$storeId'@@ -1315,6 +1308,13 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof authenticatedStoreIdRouteImportparentRoute: typeof authenticatedRoute}+ '/accept-invitation/$invitationId': {+ id: '/accept-invitation/$invitationId'+ path: '/accept-invitation/$invitationId'+ fullPath: '/accept-invitation/$invitationId'+ preLoaderRoute: typeof acceptInvitationDotinvitationIdRouteImport+ parentRoute: typeof rootRouteImport+ }'/_authenticated/$storeId/': {id: '/_authenticated/$storeId/'path: '/'@@ -1322,26 +1322,26 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof IndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/suppliers': {- id: '/_authenticated/$storeId/suppliers'- path: '/suppliers'- fullPath: '/$storeId/suppliers'- preLoaderRoute: typeof SuppliersRouteImport+ '/_authenticated/$storeId/$': {+ id: '/_authenticated/$storeId/$'+ path: '/$'+ fullPath: '/$storeId/$'+ preLoaderRoute: typeof SplatRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings': {- id: '/_authenticated/$storeId/settings'- path: '/settings'- fullPath: '/$storeId/settings'- preLoaderRoute: typeof SettingsRouteImport+ '/_authenticated/$storeId/claims': {+ id: '/_authenticated/$storeId/claims'+ path: '/claims'+ fullPath: '/$storeId/claims'+ preLoaderRoute: typeof ClaimsRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/returns': {- id: '/_authenticated/$storeId/returns'- path: '/returns'- fullPath: '/$storeId/returns'- preLoaderRoute: typeof ReturnsRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/exchanges': {+ id: '/_authenticated/$storeId/exchanges'+ path: '/exchanges'+ fullPath: '/$storeId/exchanges'+ preLoaderRoute: typeof ExchangesRouteImport+ parentRoute: typeof authenticatedStoreIdRoute}'/_authenticated/$storeId/getting-started': {id: '/_authenticated/$storeId/getting-started'@@ -1350,81 +1350,74 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof GettingStartedRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/exchanges': {- id: '/_authenticated/$storeId/exchanges'- path: '/exchanges'- fullPath: '/$storeId/exchanges'- preLoaderRoute: typeof ExchangesRouteImport+ '/_authenticated/$storeId/returns': {+ id: '/_authenticated/$storeId/returns'+ path: '/returns'+ fullPath: '/$storeId/returns'+ preLoaderRoute: typeof ReturnsRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/claims': {- id: '/_authenticated/$storeId/claims'- path: '/claims'- fullPath: '/$storeId/claims'- preLoaderRoute: typeof ClaimsRouteImport+ '/_authenticated/$storeId/settings': {+ id: '/_authenticated/$storeId/settings'+ path: '/settings'+ fullPath: '/$storeId/settings'+ preLoaderRoute: typeof SettingsRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/$': {- id: '/_authenticated/$storeId/$'- path: '/$'- fullPath: '/$storeId/$'- preLoaderRoute: typeof SplatRouteImport+ '/_authenticated/$storeId/suppliers': {+ id: '/_authenticated/$storeId/suppliers'+ path: '/suppliers'+ fullPath: '/$storeId/suppliers'+ preLoaderRoute: typeof SuppliersRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/transfers/': {- id: '/_authenticated/$storeId/transfers/'- path: '/transfers'- fullPath: '/$storeId/transfers/'- preLoaderRoute: typeof TransfersIndexRouteImport+ '/_authenticated/$storeId/brands/': {+ id: '/_authenticated/$storeId/brands/'+ path: '/brands'+ fullPath: '/$storeId/brands/'+ preLoaderRoute: typeof BrandsDotindexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings/': {- id: '/_authenticated/$storeId/settings/'- path: '/'- fullPath: '/$storeId/settings/'- preLoaderRoute: typeof SettingsIndexRouteImport- parentRoute: typeof SettingsRoute- }- '/_authenticated/$storeId/sellers/': {- id: '/_authenticated/$storeId/sellers/'- path: '/sellers'- fullPath: '/$storeId/sellers/'- preLoaderRoute: typeof SellersIndexRouteImport+ '/_authenticated/$storeId/brands/$brandId': {+ id: '/_authenticated/$storeId/brands/$brandId'+ path: '/brands/$brandId'+ fullPath: '/$storeId/brands/$brandId'+ preLoaderRoute: typeof BrandsDotbrandIdRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/reports/': {- id: '/_authenticated/$storeId/reports/'- path: '/reports'- fullPath: '/$storeId/reports/'- preLoaderRoute: typeof ReportsIndexRouteImport+ '/_authenticated/$storeId/companies/': {+ id: '/_authenticated/$storeId/companies/'+ path: '/companies'+ fullPath: '/$storeId/companies/'+ preLoaderRoute: typeof CompaniesIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/purchase-orders/': {- id: '/_authenticated/$storeId/purchase-orders/'- path: '/purchase-orders'- fullPath: '/$storeId/purchase-orders/'- preLoaderRoute: typeof PurchaseOrdersIndexRouteImport+ '/_authenticated/$storeId/companies/$companyId': {+ id: '/_authenticated/$storeId/companies/$companyId'+ path: '/companies/$companyId'+ fullPath: '/$storeId/companies/$companyId'+ preLoaderRoute: typeof CompaniesCompanyIdRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/promotions/': {- id: '/_authenticated/$storeId/promotions/'- path: '/promotions'- fullPath: '/$storeId/promotions/'- preLoaderRoute: typeof PromotionsIndexRouteImport+ '/_authenticated/$storeId/customers/': {+ id: '/_authenticated/$storeId/customers/'+ path: '/customers'+ fullPath: '/$storeId/customers/'+ preLoaderRoute: typeof CustomersIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/products/': {- id: '/_authenticated/$storeId/products/'- path: '/products'- fullPath: '/$storeId/products/'- preLoaderRoute: typeof ProductsIndexRouteImport+ '/_authenticated/$storeId/customers/$customerId': {+ id: '/_authenticated/$storeId/customers/$customerId'+ path: '/customers/$customerId'+ fullPath: '/$storeId/customers/$customerId'+ preLoaderRoute: typeof CustomersCustomerIdRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/orders/': {- id: '/_authenticated/$storeId/orders/'- path: '/orders'- fullPath: '/$storeId/orders/'- preLoaderRoute: typeof OrdersIndexRouteImport+ '/_authenticated/$storeId/customers/groups': {+ id: '/_authenticated/$storeId/customers/groups'+ path: '/customers/groups'+ fullPath: '/$storeId/customers/groups'+ preLoaderRoute: typeof CustomersGroupsRouteImportparentRoute: typeof authenticatedStoreIdRoute}'/_authenticated/$storeId/inventory/': {@@ -1434,207 +1427,130 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof InventoryIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/customers/': {- id: '/_authenticated/$storeId/customers/'- path: '/customers'- fullPath: '/$storeId/customers/'- preLoaderRoute: typeof CustomersIndexRouteImport+ '/_authenticated/$storeId/loyalty/gift-cards': {+ id: '/_authenticated/$storeId/loyalty/gift-cards'+ path: '/loyalty/gift-cards'+ fullPath: '/$storeId/loyalty/gift-cards'+ preLoaderRoute: typeof LoyaltyGiftCardsRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/companies/': {- id: '/_authenticated/$storeId/companies/'- path: '/companies'- fullPath: '/$storeId/companies/'- preLoaderRoute: typeof CompaniesIndexRouteImport+ '/_authenticated/$storeId/loyalty/store-credits': {+ id: '/_authenticated/$storeId/loyalty/store-credits'+ path: '/loyalty/store-credits'+ fullPath: '/$storeId/loyalty/store-credits'+ preLoaderRoute: typeof LoyaltyStoreCreditsRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/brands/': {- id: '/_authenticated/$storeId/brands/'- path: '/brands'- fullPath: '/$storeId/brands/'- preLoaderRoute: typeof BrandsDotindexRouteImport+ '/_authenticated/$storeId/orders/': {+ id: '/_authenticated/$storeId/orders/'+ path: '/orders'+ fullPath: '/$storeId/orders/'+ preLoaderRoute: typeof OrdersIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/transfers/new': {- id: '/_authenticated/$storeId/transfers/new'- path: '/transfers/new'- fullPath: '/$storeId/transfers/new'- preLoaderRoute: typeof TransfersNewRouteImport+ '/_authenticated/$storeId/orders/drafts': {+ id: '/_authenticated/$storeId/orders/drafts'+ path: '/orders/drafts'+ fullPath: '/$storeId/orders/drafts'+ preLoaderRoute: typeof OrdersDraftsRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings/tax-rates': {- id: '/_authenticated/$storeId/settings/tax-rates'- path: '/tax-rates'- fullPath: '/$storeId/settings/tax-rates'- preLoaderRoute: typeof SettingsTaxRatesRouteImport- parentRoute: typeof SettingsRoute- }- '/_authenticated/$storeId/settings/tax-categories': {- id: '/_authenticated/$storeId/settings/tax-categories'- path: '/tax-categories'- fullPath: '/$storeId/settings/tax-categories'- preLoaderRoute: typeof SettingsTaxCategoriesRouteImport- parentRoute: typeof SettingsRoute+ '/_authenticated/$storeId/orders/new': {+ id: '/_authenticated/$storeId/orders/new'+ path: '/orders/new'+ fullPath: '/$storeId/orders/new'+ preLoaderRoute: typeof OrdersNewRouteImport+ parentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings/store': {- id: '/_authenticated/$storeId/settings/store'- path: '/store'- fullPath: '/$storeId/settings/store'- preLoaderRoute: typeof SettingsStoreRouteImport- parentRoute: typeof SettingsRoute+ '/_authenticated/$storeId/products/': {+ id: '/_authenticated/$storeId/products/'+ path: '/products'+ fullPath: '/$storeId/products/'+ preLoaderRoute: typeof ProductsIndexRouteImport+ parentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings/stock-locations': {- id: '/_authenticated/$storeId/settings/stock-locations'- path: '/stock-locations'- fullPath: '/$storeId/settings/stock-locations'- preLoaderRoute: typeof SettingsStockLocationsRouteImport- parentRoute: typeof SettingsRoute+ '/_authenticated/$storeId/products/$productId': {+ id: '/_authenticated/$storeId/products/$productId'+ path: '/products/$productId'+ fullPath: '/$storeId/products/$productId'+ preLoaderRoute: typeof ProductsProductIdRouteImport+ parentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings/staff': {- id: '/_authenticated/$storeId/settings/staff'- path: '/staff'- fullPath: '/$storeId/settings/staff'- preLoaderRoute: typeof SettingsStaffRouteImport- parentRoute: typeof SettingsRoute+ '/_authenticated/$storeId/products/media': {+ id: '/_authenticated/$storeId/products/media'+ path: '/products/media'+ fullPath: '/$storeId/products/media'+ preLoaderRoute: typeof ProductsMediaRouteImport+ parentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings/seller-requirements': {- id: '/_authenticated/$storeId/settings/seller-requirements'- path: '/seller-requirements'- fullPath: '/$storeId/settings/seller-requirements'- preLoaderRoute: typeof SettingsSellerRequirementsRouteImport- parentRoute: typeof SettingsRoute+ '/_authenticated/$storeId/products/new': {+ id: '/_authenticated/$storeId/products/new'+ path: '/products/new'+ fullPath: '/$storeId/products/new'+ preLoaderRoute: typeof ProductsNewRouteImport+ parentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings/roles': {- id: '/_authenticated/$storeId/settings/roles'- path: '/roles'- fullPath: '/$storeId/settings/roles'- preLoaderRoute: typeof SettingsRolesRouteImport- parentRoute: typeof SettingsRoute+ '/_authenticated/$storeId/products/options': {+ id: '/_authenticated/$storeId/products/options'+ path: '/products/options'+ fullPath: '/$storeId/products/options'+ preLoaderRoute: typeof ProductsOptionsRouteImport+ parentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings/reasons': {- id: '/_authenticated/$storeId/settings/reasons'- path: '/reasons'- fullPath: '/$storeId/settings/reasons'- preLoaderRoute: typeof SettingsReasonsRouteImport- parentRoute: typeof SettingsRoute+ '/_authenticated/$storeId/products/translations': {+ id: '/_authenticated/$storeId/products/translations'+ path: '/products/translations'+ fullPath: '/$storeId/products/translations'+ preLoaderRoute: typeof ProductsTranslationsRouteImport+ parentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings/product-types': {- id: '/_authenticated/$storeId/settings/product-types'- path: '/product-types'- fullPath: '/$storeId/settings/product-types'- preLoaderRoute: typeof SettingsProductTypesRouteImport- parentRoute: typeof SettingsRoute+ '/_authenticated/$storeId/promotions/': {+ id: '/_authenticated/$storeId/promotions/'+ path: '/promotions'+ fullPath: '/$storeId/promotions/'+ preLoaderRoute: typeof PromotionsIndexRouteImport+ parentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings/policies': {- id: '/_authenticated/$storeId/settings/policies'- path: '/policies'- fullPath: '/$storeId/settings/policies'- preLoaderRoute: typeof SettingsPoliciesRouteImport- parentRoute: typeof SettingsRoute- }- '/_authenticated/$storeId/settings/payouts': {- id: '/_authenticated/$storeId/settings/payouts'- path: '/payouts'- fullPath: '/$storeId/settings/payouts'- preLoaderRoute: typeof SettingsPayoutsRouteImport- parentRoute: typeof SettingsRoute- }- '/_authenticated/$storeId/settings/payment-methods': {- id: '/_authenticated/$storeId/settings/payment-methods'- path: '/payment-methods'- fullPath: '/$storeId/settings/payment-methods'- preLoaderRoute: typeof SettingsPaymentMethodsRouteImport- parentRoute: typeof SettingsRoute- }- '/_authenticated/$storeId/settings/package-types': {- id: '/_authenticated/$storeId/settings/package-types'- path: '/package-types'- fullPath: '/$storeId/settings/package-types'- preLoaderRoute: typeof SettingsPackageTypesRouteImport- parentRoute: typeof SettingsRoute- }- '/_authenticated/$storeId/settings/markets': {- id: '/_authenticated/$storeId/settings/markets'- path: '/markets'- fullPath: '/$storeId/settings/markets'- preLoaderRoute: typeof SettingsMarketsRouteImport- parentRoute: typeof SettingsRoute- }- '/_authenticated/$storeId/settings/marketplace': {- id: '/_authenticated/$storeId/settings/marketplace'- path: '/marketplace'- fullPath: '/$storeId/settings/marketplace'- preLoaderRoute: typeof SettingsMarketplaceRouteImport- parentRoute: typeof SettingsRoute- }- '/_authenticated/$storeId/settings/integrations': {- id: '/_authenticated/$storeId/settings/integrations'- path: '/integrations'- fullPath: '/$storeId/settings/integrations'- preLoaderRoute: typeof SettingsIntegrationsRouteImport- parentRoute: typeof SettingsRoute- }- '/_authenticated/$storeId/settings/custom-field-definitions': {- id: '/_authenticated/$storeId/settings/custom-field-definitions'- path: '/custom-field-definitions'- fullPath: '/$storeId/settings/custom-field-definitions'- preLoaderRoute: typeof SettingsCustomFieldDefinitionsRouteImport- parentRoute: typeof SettingsRoute- }- '/_authenticated/$storeId/settings/commission-rates': {- id: '/_authenticated/$storeId/settings/commission-rates'- path: '/commission-rates'- fullPath: '/$storeId/settings/commission-rates'- preLoaderRoute: typeof SettingsCommissionRatesRouteImport- parentRoute: typeof SettingsRoute- }- '/_authenticated/$storeId/settings/channels': {- id: '/_authenticated/$storeId/settings/channels'- path: '/channels'- fullPath: '/$storeId/settings/channels'- preLoaderRoute: typeof SettingsChannelsRouteImport- parentRoute: typeof SettingsRoute- }- '/_authenticated/$storeId/settings/api-keys': {- id: '/_authenticated/$storeId/settings/api-keys'- path: '/api-keys'- fullPath: '/$storeId/settings/api-keys'- preLoaderRoute: typeof SettingsApiKeysRouteImport- parentRoute: typeof SettingsRoute+ '/_authenticated/$storeId/promotions/$promotionId': {+ id: '/_authenticated/$storeId/promotions/$promotionId'+ path: '/promotions/$promotionId'+ fullPath: '/$storeId/promotions/$promotionId'+ preLoaderRoute: typeof PromotionsPromotionIdRouteImport+ parentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings/allowed-origins': {- id: '/_authenticated/$storeId/settings/allowed-origins'- path: '/allowed-origins'- fullPath: '/$storeId/settings/allowed-origins'- preLoaderRoute: typeof SettingsAllowedOriginsRouteImport- parentRoute: typeof SettingsRoute+ '/_authenticated/$storeId/promotions/gift-cards': {+ id: '/_authenticated/$storeId/promotions/gift-cards'+ path: '/promotions/gift-cards'+ fullPath: '/$storeId/promotions/gift-cards'+ preLoaderRoute: typeof PromotionsGiftCardsRouteImport+ parentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/sellers/transfers': {- id: '/_authenticated/$storeId/sellers/transfers'- path: '/sellers/transfers'- fullPath: '/$storeId/sellers/transfers'- preLoaderRoute: typeof SellersTransfersRouteImport+ '/_authenticated/$storeId/promotions/new': {+ id: '/_authenticated/$storeId/promotions/new'+ path: '/promotions/new'+ fullPath: '/$storeId/promotions/new'+ preLoaderRoute: typeof PromotionsNewRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/sellers/commission-rates': {- id: '/_authenticated/$storeId/sellers/commission-rates'- path: '/sellers/commission-rates'- fullPath: '/$storeId/sellers/commission-rates'- preLoaderRoute: typeof SellersCommissionRatesRouteImport+ '/_authenticated/$storeId/purchase-orders/': {+ id: '/_authenticated/$storeId/purchase-orders/'+ path: '/purchase-orders'+ fullPath: '/$storeId/purchase-orders/'+ preLoaderRoute: typeof PurchaseOrdersIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/sellers/$sellerId': {- id: '/_authenticated/$storeId/sellers/$sellerId'- path: '/sellers/$sellerId'- fullPath: '/$storeId/sellers/$sellerId'- preLoaderRoute: typeof SellersSellerIdRouteImport+ '/_authenticated/$storeId/purchase-orders/new': {+ id: '/_authenticated/$storeId/purchase-orders/new'+ path: '/purchase-orders/new'+ fullPath: '/$storeId/purchase-orders/new'+ preLoaderRoute: typeof PurchaseOrdersNewRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/reports/new': {- id: '/_authenticated/$storeId/reports/new'- path: '/reports/new'- fullPath: '/$storeId/reports/new'- preLoaderRoute: typeof ReportsNewRouteImport+ '/_authenticated/$storeId/reports/': {+ id: '/_authenticated/$storeId/reports/'+ path: '/reports'+ fullPath: '/$storeId/reports/'+ preLoaderRoute: typeof ReportsIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}'/_authenticated/$storeId/reports/$reportId': {@@ -1644,193 +1560,221 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof ReportsReportIdRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/purchase-orders/new': {- id: '/_authenticated/$storeId/purchase-orders/new'- path: '/purchase-orders/new'- fullPath: '/$storeId/purchase-orders/new'- preLoaderRoute: typeof PurchaseOrdersNewRouteImport+ '/_authenticated/$storeId/reports/new': {+ id: '/_authenticated/$storeId/reports/new'+ path: '/reports/new'+ fullPath: '/$storeId/reports/new'+ preLoaderRoute: typeof ReportsNewRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/promotions/new': {- id: '/_authenticated/$storeId/promotions/new'- path: '/promotions/new'- fullPath: '/$storeId/promotions/new'- preLoaderRoute: typeof PromotionsNewRouteImport+ '/_authenticated/$storeId/sellers/': {+ id: '/_authenticated/$storeId/sellers/'+ path: '/sellers'+ fullPath: '/$storeId/sellers/'+ preLoaderRoute: typeof SellersIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/promotions/gift-cards': {- id: '/_authenticated/$storeId/promotions/gift-cards'- path: '/promotions/gift-cards'- fullPath: '/$storeId/promotions/gift-cards'- preLoaderRoute: typeof PromotionsGiftCardsRouteImport+ '/_authenticated/$storeId/sellers/$sellerId': {+ id: '/_authenticated/$storeId/sellers/$sellerId'+ path: '/sellers/$sellerId'+ fullPath: '/$storeId/sellers/$sellerId'+ preLoaderRoute: typeof SellersSellerIdRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/promotions/$promotionId': {- id: '/_authenticated/$storeId/promotions/$promotionId'- path: '/promotions/$promotionId'- fullPath: '/$storeId/promotions/$promotionId'- preLoaderRoute: typeof PromotionsPromotionIdRouteImport+ '/_authenticated/$storeId/sellers/commission-rates': {+ id: '/_authenticated/$storeId/sellers/commission-rates'+ path: '/sellers/commission-rates'+ fullPath: '/$storeId/sellers/commission-rates'+ preLoaderRoute: typeof SellersCommissionRatesRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/products/translations': {- id: '/_authenticated/$storeId/products/translations'- path: '/products/translations'- fullPath: '/$storeId/products/translations'- preLoaderRoute: typeof ProductsTranslationsRouteImport+ '/_authenticated/$storeId/sellers/transfers': {+ id: '/_authenticated/$storeId/sellers/transfers'+ path: '/sellers/transfers'+ fullPath: '/$storeId/sellers/transfers'+ preLoaderRoute: typeof SellersTransfersRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/products/options': {- id: '/_authenticated/$storeId/products/options'- path: '/products/options'- fullPath: '/$storeId/products/options'- preLoaderRoute: typeof ProductsOptionsRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/': {+ id: '/_authenticated/$storeId/settings/'+ path: '/'+ fullPath: '/$storeId/settings/'+ preLoaderRoute: typeof SettingsIndexRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/products/new': {- id: '/_authenticated/$storeId/products/new'- path: '/products/new'- fullPath: '/$storeId/products/new'- preLoaderRoute: typeof ProductsNewRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/allowed-origins': {+ id: '/_authenticated/$storeId/settings/allowed-origins'+ path: '/allowed-origins'+ fullPath: '/$storeId/settings/allowed-origins'+ preLoaderRoute: typeof SettingsAllowedOriginsRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/products/media': {- id: '/_authenticated/$storeId/products/media'- path: '/products/media'- fullPath: '/$storeId/products/media'- preLoaderRoute: typeof ProductsMediaRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/api-keys': {+ id: '/_authenticated/$storeId/settings/api-keys'+ path: '/api-keys'+ fullPath: '/$storeId/settings/api-keys'+ preLoaderRoute: typeof SettingsApiKeysRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/products/$productId': {- id: '/_authenticated/$storeId/products/$productId'- path: '/products/$productId'- fullPath: '/$storeId/products/$productId'- preLoaderRoute: typeof ProductsProductIdRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/channels': {+ id: '/_authenticated/$storeId/settings/channels'+ path: '/channels'+ fullPath: '/$storeId/settings/channels'+ preLoaderRoute: typeof SettingsChannelsRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/orders/new': {- id: '/_authenticated/$storeId/orders/new'- path: '/orders/new'- fullPath: '/$storeId/orders/new'- preLoaderRoute: typeof OrdersNewRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/commission-rates': {+ id: '/_authenticated/$storeId/settings/commission-rates'+ path: '/commission-rates'+ fullPath: '/$storeId/settings/commission-rates'+ preLoaderRoute: typeof SettingsCommissionRatesRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/orders/drafts': {- id: '/_authenticated/$storeId/orders/drafts'- path: '/orders/drafts'- fullPath: '/$storeId/orders/drafts'- preLoaderRoute: typeof OrdersDraftsRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/custom-field-definitions': {+ id: '/_authenticated/$storeId/settings/custom-field-definitions'+ path: '/custom-field-definitions'+ fullPath: '/$storeId/settings/custom-field-definitions'+ preLoaderRoute: typeof SettingsCustomFieldDefinitionsRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/loyalty/store-credits': {- id: '/_authenticated/$storeId/loyalty/store-credits'- path: '/loyalty/store-credits'- fullPath: '/$storeId/loyalty/store-credits'- preLoaderRoute: typeof LoyaltyStoreCreditsRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/integrations': {+ id: '/_authenticated/$storeId/settings/integrations'+ path: '/integrations'+ fullPath: '/$storeId/settings/integrations'+ preLoaderRoute: typeof SettingsIntegrationsRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/loyalty/gift-cards': {- id: '/_authenticated/$storeId/loyalty/gift-cards'- path: '/loyalty/gift-cards'- fullPath: '/$storeId/loyalty/gift-cards'- preLoaderRoute: typeof LoyaltyGiftCardsRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/marketplace': {+ id: '/_authenticated/$storeId/settings/marketplace'+ path: '/marketplace'+ fullPath: '/$storeId/settings/marketplace'+ preLoaderRoute: typeof SettingsMarketplaceRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/customers/groups': {- id: '/_authenticated/$storeId/customers/groups'- path: '/customers/groups'- fullPath: '/$storeId/customers/groups'- preLoaderRoute: typeof CustomersGroupsRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/markets': {+ id: '/_authenticated/$storeId/settings/markets'+ path: '/markets'+ fullPath: '/$storeId/settings/markets'+ preLoaderRoute: typeof SettingsMarketsRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/customers/$customerId': {- id: '/_authenticated/$storeId/customers/$customerId'- path: '/customers/$customerId'- fullPath: '/$storeId/customers/$customerId'- preLoaderRoute: typeof CustomersCustomerIdRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/package-types': {+ id: '/_authenticated/$storeId/settings/package-types'+ path: '/package-types'+ fullPath: '/$storeId/settings/package-types'+ preLoaderRoute: typeof SettingsPackageTypesRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/companies/$companyId': {- id: '/_authenticated/$storeId/companies/$companyId'- path: '/companies/$companyId'- fullPath: '/$storeId/companies/$companyId'- preLoaderRoute: typeof CompaniesCompanyIdRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/payment-methods': {+ id: '/_authenticated/$storeId/settings/payment-methods'+ path: '/payment-methods'+ fullPath: '/$storeId/settings/payment-methods'+ preLoaderRoute: typeof SettingsPaymentMethodsRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/brands/$brandId': {- id: '/_authenticated/$storeId/brands/$brandId'- path: '/brands/$brandId'- fullPath: '/$storeId/brands/$brandId'- preLoaderRoute: typeof BrandsDotbrandIdRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/payouts': {+ id: '/_authenticated/$storeId/settings/payouts'+ path: '/payouts'+ fullPath: '/$storeId/settings/payouts'+ preLoaderRoute: typeof SettingsPayoutsRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/transfers/$transferId/': {- id: '/_authenticated/$storeId/transfers/$transferId/'- path: '/transfers/$transferId'- fullPath: '/$storeId/transfers/$transferId/'- preLoaderRoute: typeof TransfersTransferIdIndexRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/policies': {+ id: '/_authenticated/$storeId/settings/policies'+ path: '/policies'+ fullPath: '/$storeId/settings/policies'+ preLoaderRoute: typeof SettingsPoliciesRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/settings/webhooks/': {- id: '/_authenticated/$storeId/settings/webhooks/'- path: '/webhooks'- fullPath: '/$storeId/settings/webhooks/'- preLoaderRoute: typeof SettingsWebhooksIndexRouteImport+ '/_authenticated/$storeId/settings/product-types': {+ id: '/_authenticated/$storeId/settings/product-types'+ path: '/product-types'+ fullPath: '/$storeId/settings/product-types'+ preLoaderRoute: typeof SettingsProductTypesRouteImportparentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/settings/imports/': {- id: '/_authenticated/$storeId/settings/imports/'- path: '/imports'- fullPath: '/$storeId/settings/imports/'- preLoaderRoute: typeof SettingsImportsIndexRouteImport+ '/_authenticated/$storeId/settings/reasons': {+ id: '/_authenticated/$storeId/settings/reasons'+ path: '/reasons'+ fullPath: '/$storeId/settings/reasons'+ preLoaderRoute: typeof SettingsReasonsRouteImportparentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/settings/emails/': {- id: '/_authenticated/$storeId/settings/emails/'- path: '/emails'- fullPath: '/$storeId/settings/emails/'- preLoaderRoute: typeof SettingsEmailsIndexRouteImport+ '/_authenticated/$storeId/settings/roles': {+ id: '/_authenticated/$storeId/settings/roles'+ path: '/roles'+ fullPath: '/$storeId/settings/roles'+ preLoaderRoute: typeof SettingsRolesRouteImportparentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/settings/delivery-profiles/': {- id: '/_authenticated/$storeId/settings/delivery-profiles/'- path: '/delivery-profiles'- fullPath: '/$storeId/settings/delivery-profiles/'- preLoaderRoute: typeof SettingsDeliveryProfilesIndexRouteImport+ '/_authenticated/$storeId/settings/seller-requirements': {+ id: '/_authenticated/$storeId/settings/seller-requirements'+ path: '/seller-requirements'+ fullPath: '/$storeId/settings/seller-requirements'+ preLoaderRoute: typeof SettingsSellerRequirementsRouteImport+ parentRoute: typeof SettingsRoute+ }+ '/_authenticated/$storeId/settings/staff': {+ id: '/_authenticated/$storeId/settings/staff'+ path: '/staff'+ fullPath: '/$storeId/settings/staff'+ preLoaderRoute: typeof SettingsStaffRouteImport+ parentRoute: typeof SettingsRoute+ }+ '/_authenticated/$storeId/settings/stock-locations': {+ id: '/_authenticated/$storeId/settings/stock-locations'+ path: '/stock-locations'+ fullPath: '/$storeId/settings/stock-locations'+ preLoaderRoute: typeof SettingsStockLocationsRouteImport+ parentRoute: typeof SettingsRoute+ }+ '/_authenticated/$storeId/settings/store': {+ id: '/_authenticated/$storeId/settings/store'+ path: '/store'+ fullPath: '/$storeId/settings/store'+ preLoaderRoute: typeof SettingsStoreRouteImport+ parentRoute: typeof SettingsRoute+ }+ '/_authenticated/$storeId/settings/tax-categories': {+ id: '/_authenticated/$storeId/settings/tax-categories'+ path: '/tax-categories'+ fullPath: '/$storeId/settings/tax-categories'+ preLoaderRoute: typeof SettingsTaxCategoriesRouteImportparentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/sellers/payouts/': {- id: '/_authenticated/$storeId/sellers/payouts/'- path: '/sellers/payouts'- fullPath: '/$storeId/sellers/payouts/'- preLoaderRoute: typeof SellersPayoutsIndexRouteImport- parentRoute: typeof authenticatedStoreIdRoute+ '/_authenticated/$storeId/settings/tax-rates': {+ id: '/_authenticated/$storeId/settings/tax-rates'+ path: '/tax-rates'+ fullPath: '/$storeId/settings/tax-rates'+ preLoaderRoute: typeof SettingsTaxRatesRouteImport+ parentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/purchase-orders/$purchaseOrderId/': {- id: '/_authenticated/$storeId/purchase-orders/$purchaseOrderId/'- path: '/purchase-orders/$purchaseOrderId'- fullPath: '/$storeId/purchase-orders/$purchaseOrderId/'- preLoaderRoute: typeof PurchaseOrdersPurchaseOrderIdIndexRouteImport+ '/_authenticated/$storeId/transfers/': {+ id: '/_authenticated/$storeId/transfers/'+ path: '/transfers'+ fullPath: '/$storeId/transfers/'+ preLoaderRoute: typeof TransfersIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/products/price-lists/': {- id: '/_authenticated/$storeId/products/price-lists/'- path: '/products/price-lists'- fullPath: '/$storeId/products/price-lists/'- preLoaderRoute: typeof ProductsPriceListsIndexRouteImport+ '/_authenticated/$storeId/transfers/new': {+ id: '/_authenticated/$storeId/transfers/new'+ path: '/transfers/new'+ fullPath: '/$storeId/transfers/new'+ preLoaderRoute: typeof TransfersNewRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/products/collections/': {- id: '/_authenticated/$storeId/products/collections/'- path: '/products/collections'- fullPath: '/$storeId/products/collections/'- preLoaderRoute: typeof ProductsCollectionsIndexRouteImport+ '/_authenticated/$storeId/orders/$orderId/': {+ id: '/_authenticated/$storeId/orders/$orderId/'+ path: '/orders/$orderId'+ fullPath: '/$storeId/orders/$orderId/'+ preLoaderRoute: typeof OrdersOrderIdIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/products/categories/': {- id: '/_authenticated/$storeId/products/categories/'- path: '/products/categories'- fullPath: '/$storeId/products/categories/'- preLoaderRoute: typeof ProductsCategoriesIndexRouteImport+ '/_authenticated/$storeId/orders/$orderId/edit': {+ id: '/_authenticated/$storeId/orders/$orderId/edit'+ path: '/orders/$orderId/edit'+ fullPath: '/$storeId/orders/$orderId/edit'+ preLoaderRoute: typeof OrdersOrderIdEditRouteImportparentRoute: typeof authenticatedStoreIdRoute}'/_authenticated/$storeId/products/catalogs/': {@@ -1840,46 +1784,46 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof ProductsCatalogsIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/orders/$orderId/': {- id: '/_authenticated/$storeId/orders/$orderId/'- path: '/orders/$orderId'- fullPath: '/$storeId/orders/$orderId/'- preLoaderRoute: typeof OrdersOrderIdIndexRouteImport+ '/_authenticated/$storeId/products/catalogs/$catalogId': {+ id: '/_authenticated/$storeId/products/catalogs/$catalogId'+ path: '/products/catalogs/$catalogId'+ fullPath: '/$storeId/products/catalogs/$catalogId'+ preLoaderRoute: typeof ProductsCatalogsCatalogIdRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/transfers/$transferId/edit': {- id: '/_authenticated/$storeId/transfers/$transferId/edit'- path: '/transfers/$transferId/edit'- fullPath: '/$storeId/transfers/$transferId/edit'- preLoaderRoute: typeof TransfersTransferIdEditRouteImport+ '/_authenticated/$storeId/products/categories/': {+ id: '/_authenticated/$storeId/products/categories/'+ path: '/products/categories'+ fullPath: '/$storeId/products/categories/'+ preLoaderRoute: typeof ProductsCategoriesIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings/webhooks/$webhookEndpointId': {- id: '/_authenticated/$storeId/settings/webhooks/$webhookEndpointId'- path: '/webhooks/$webhookEndpointId'- fullPath: '/$storeId/settings/webhooks/$webhookEndpointId'- preLoaderRoute: typeof SettingsWebhooksWebhookEndpointIdRouteImport- parentRoute: typeof SettingsRoute+ '/_authenticated/$storeId/products/categories/$categoryId': {+ id: '/_authenticated/$storeId/products/categories/$categoryId'+ path: '/products/categories/$categoryId'+ fullPath: '/$storeId/products/categories/$categoryId'+ preLoaderRoute: typeof ProductsCategoriesCategoryIdRouteImport+ parentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/sellers/payouts/$payoutId': {- id: '/_authenticated/$storeId/sellers/payouts/$payoutId'- path: '/sellers/payouts/$payoutId'- fullPath: '/$storeId/sellers/payouts/$payoutId'- preLoaderRoute: typeof SellersPayoutsPayoutIdRouteImport+ '/_authenticated/$storeId/products/categories/new': {+ id: '/_authenticated/$storeId/products/categories/new'+ path: '/products/categories/new'+ fullPath: '/$storeId/products/categories/new'+ preLoaderRoute: typeof ProductsCategoriesNewRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/purchase-orders/$purchaseOrderId/edit': {- id: '/_authenticated/$storeId/purchase-orders/$purchaseOrderId/edit'- path: '/purchase-orders/$purchaseOrderId/edit'- fullPath: '/$storeId/purchase-orders/$purchaseOrderId/edit'- preLoaderRoute: typeof PurchaseOrdersPurchaseOrderIdEditRouteImport+ '/_authenticated/$storeId/products/collections/': {+ id: '/_authenticated/$storeId/products/collections/'+ path: '/products/collections'+ fullPath: '/$storeId/products/collections/'+ preLoaderRoute: typeof ProductsCollectionsIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/products/price-lists/new': {- id: '/_authenticated/$storeId/products/price-lists/new'- path: '/products/price-lists/new'- fullPath: '/$storeId/products/price-lists/new'- preLoaderRoute: typeof ProductsPriceListsNewRouteImport+ '/_authenticated/$storeId/products/collections/$collectionId': {+ id: '/_authenticated/$storeId/products/collections/$collectionId'+ path: '/products/collections/$collectionId'+ fullPath: '/$storeId/products/collections/$collectionId'+ preLoaderRoute: typeof ProductsCollectionsCollectionIdRouteImportparentRoute: typeof authenticatedStoreIdRoute}'/_authenticated/$storeId/products/collections/new': {@@ -1889,55 +1833,97 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof ProductsCollectionsNewRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/products/collections/$collectionId': {- id: '/_authenticated/$storeId/products/collections/$collectionId'- path: '/products/collections/$collectionId'- fullPath: '/$storeId/products/collections/$collectionId'- preLoaderRoute: typeof ProductsCollectionsCollectionIdRouteImport+ '/_authenticated/$storeId/products/price-lists/': {+ id: '/_authenticated/$storeId/products/price-lists/'+ path: '/products/price-lists'+ fullPath: '/$storeId/products/price-lists/'+ preLoaderRoute: typeof ProductsPriceListsIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/products/categories/new': {- id: '/_authenticated/$storeId/products/categories/new'- path: '/products/categories/new'- fullPath: '/$storeId/products/categories/new'- preLoaderRoute: typeof ProductsCategoriesNewRouteImport+ '/_authenticated/$storeId/products/price-lists/new': {+ id: '/_authenticated/$storeId/products/price-lists/new'+ path: '/products/price-lists/new'+ fullPath: '/$storeId/products/price-lists/new'+ preLoaderRoute: typeof ProductsPriceListsNewRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/products/categories/$categoryId': {- id: '/_authenticated/$storeId/products/categories/$categoryId'- path: '/products/categories/$categoryId'- fullPath: '/$storeId/products/categories/$categoryId'- preLoaderRoute: typeof ProductsCategoriesCategoryIdRouteImport+ '/_authenticated/$storeId/purchase-orders/$purchaseOrderId/': {+ id: '/_authenticated/$storeId/purchase-orders/$purchaseOrderId/'+ path: '/purchase-orders/$purchaseOrderId'+ fullPath: '/$storeId/purchase-orders/$purchaseOrderId/'+ preLoaderRoute: typeof PurchaseOrdersPurchaseOrderIdIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/products/catalogs/$catalogId': {- id: '/_authenticated/$storeId/products/catalogs/$catalogId'- path: '/products/catalogs/$catalogId'- fullPath: '/$storeId/products/catalogs/$catalogId'- preLoaderRoute: typeof ProductsCatalogsCatalogIdRouteImport+ '/_authenticated/$storeId/purchase-orders/$purchaseOrderId/edit': {+ id: '/_authenticated/$storeId/purchase-orders/$purchaseOrderId/edit'+ path: '/purchase-orders/$purchaseOrderId/edit'+ fullPath: '/$storeId/purchase-orders/$purchaseOrderId/edit'+ preLoaderRoute: typeof PurchaseOrdersPurchaseOrderIdEditRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/orders/$orderId/edit': {- id: '/_authenticated/$storeId/orders/$orderId/edit'- path: '/orders/$orderId/edit'- fullPath: '/$storeId/orders/$orderId/edit'- preLoaderRoute: typeof OrdersOrderIdEditRouteImport+ '/_authenticated/$storeId/sellers/payouts/': {+ id: '/_authenticated/$storeId/sellers/payouts/'+ path: '/sellers/payouts'+ fullPath: '/$storeId/sellers/payouts/'+ preLoaderRoute: typeof SellersPayoutsIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}- '/_authenticated/$storeId/settings/emails/templates/': {- id: '/_authenticated/$storeId/settings/emails/templates/'- path: '/emails/templates'- fullPath: '/$storeId/settings/emails/templates/'- preLoaderRoute: typeof SettingsEmailsTemplatesIndexRouteImport+ '/_authenticated/$storeId/sellers/payouts/$payoutId': {+ id: '/_authenticated/$storeId/sellers/payouts/$payoutId'+ path: '/sellers/payouts/$payoutId'+ fullPath: '/$storeId/sellers/payouts/$payoutId'+ preLoaderRoute: typeof SellersPayoutsPayoutIdRouteImport+ parentRoute: typeof authenticatedStoreIdRoute+ }+ '/_authenticated/$storeId/settings/delivery-profiles/': {+ id: '/_authenticated/$storeId/settings/delivery-profiles/'+ path: '/delivery-profiles'+ fullPath: '/$storeId/settings/delivery-profiles/'+ preLoaderRoute: typeof SettingsDeliveryProfilesIndexRouteImportparentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/settings/delivery-profiles/$profileId/': {- id: '/_authenticated/$storeId/settings/delivery-profiles/$profileId/'- path: '/delivery-profiles/$profileId'- fullPath: '/$storeId/settings/delivery-profiles/$profileId/'- preLoaderRoute: typeof SettingsDeliveryProfilesProfileIdIndexRouteImport+ '/_authenticated/$storeId/settings/emails/': {+ id: '/_authenticated/$storeId/settings/emails/'+ path: '/emails'+ fullPath: '/$storeId/settings/emails/'+ preLoaderRoute: typeof SettingsEmailsIndexRouteImport+ parentRoute: typeof SettingsRoute+ }+ '/_authenticated/$storeId/settings/imports/': {+ id: '/_authenticated/$storeId/settings/imports/'+ path: '/imports'+ fullPath: '/$storeId/settings/imports/'+ preLoaderRoute: typeof SettingsImportsIndexRouteImport+ parentRoute: typeof SettingsRoute+ }+ '/_authenticated/$storeId/settings/webhooks/': {+ id: '/_authenticated/$storeId/settings/webhooks/'+ path: '/webhooks'+ fullPath: '/$storeId/settings/webhooks/'+ preLoaderRoute: typeof SettingsWebhooksIndexRouteImport+ parentRoute: typeof SettingsRoute+ }+ '/_authenticated/$storeId/settings/webhooks/$webhookEndpointId': {+ id: '/_authenticated/$storeId/settings/webhooks/$webhookEndpointId'+ path: '/webhooks/$webhookEndpointId'+ fullPath: '/$storeId/settings/webhooks/$webhookEndpointId'+ preLoaderRoute: typeof SettingsWebhooksWebhookEndpointIdRouteImportparentRoute: typeof SettingsRoute}+ '/_authenticated/$storeId/transfers/$transferId/': {+ id: '/_authenticated/$storeId/transfers/$transferId/'+ path: '/transfers/$transferId'+ fullPath: '/$storeId/transfers/$transferId/'+ preLoaderRoute: typeof TransfersTransferIdIndexRouteImport+ parentRoute: typeof authenticatedStoreIdRoute+ }+ '/_authenticated/$storeId/transfers/$transferId/edit': {+ id: '/_authenticated/$storeId/transfers/$transferId/edit'+ path: '/transfers/$transferId/edit'+ fullPath: '/$storeId/transfers/$transferId/edit'+ preLoaderRoute: typeof TransfersTransferIdEditRouteImport+ parentRoute: typeof authenticatedStoreIdRoute+ }'/_authenticated/$storeId/products/price-lists/$priceListId/': {id: '/_authenticated/$storeId/products/price-lists/$priceListId/'path: '/products/price-lists/$priceListId'@@ -1945,6 +1931,20 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof ProductsPriceListsPriceListIdIndexRouteImportparentRoute: typeof authenticatedStoreIdRoute}+ '/_authenticated/$storeId/settings/delivery-profiles/$profileId/': {+ id: '/_authenticated/$storeId/settings/delivery-profiles/$profileId/'+ path: '/delivery-profiles/$profileId'+ fullPath: '/$storeId/settings/delivery-profiles/$profileId/'+ preLoaderRoute: typeof SettingsDeliveryProfilesProfileIdIndexRouteImport+ parentRoute: typeof SettingsRoute+ }+ '/_authenticated/$storeId/settings/emails/templates/': {+ id: '/_authenticated/$storeId/settings/emails/templates/'+ path: '/emails/templates'+ fullPath: '/$storeId/settings/emails/templates/'+ preLoaderRoute: typeof SettingsEmailsTemplatesIndexRouteImport+ parentRoute: typeof SettingsRoute+ }'/_authenticated/$storeId/settings/emails/templates/$templateId': {id: '/_authenticated/$storeId/settings/emails/templates/$templateId'path: '/emails/templates/$templateId'@@ -1952,13 +1952,6 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof SettingsEmailsTemplatesTemplateIdRouteImportparentRoute: typeof SettingsRoute}- '/_authenticated/$storeId/settings/delivery-profiles/$profileId/methods/new': {- id: '/_authenticated/$storeId/settings/delivery-profiles/$profileId/methods/new'- path: '/delivery-profiles/$profileId/methods/new'- fullPath: '/$storeId/settings/delivery-profiles/$profileId/methods/new'- preLoaderRoute: typeof SettingsDeliveryProfilesProfileIdMethodsNewRouteImport- parentRoute: typeof SettingsRoute- }'/_authenticated/$storeId/settings/delivery-profiles/$profileId/methods/$methodId': {id: '/_authenticated/$storeId/settings/delivery-profiles/$profileId/methods/$methodId'path: '/delivery-profiles/$profileId/methods/$methodId'@@ -1966,6 +1959,13 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof SettingsDeliveryProfilesProfileIdMethodsMethodIdRouteImportparentRoute: typeof SettingsRoute}+ '/_authenticated/$storeId/settings/delivery-profiles/$profileId/methods/new': {+ id: '/_authenticated/$storeId/settings/delivery-profiles/$profileId/methods/new'+ path: '/delivery-profiles/$profileId/methods/new'+ fullPath: '/$storeId/settings/delivery-profiles/$profileId/methods/new'+ preLoaderRoute: typeof SettingsDeliveryProfilesProfileIdMethodsNewRouteImport+ parentRoute: typeof SettingsRoute+ }}}diff --git a/packages/dashboard/src/vite/index.ts b/packages/dashboard/src/vite/index.tsindex d3bccbf3b9..5b1393441f 100644--- a/packages/dashboard/src/vite/index.ts+++ b/packages/dashboard/src/vite/index.ts@@ -13,7 +13,6 @@* should import `@spree/dashboard-core/vite` instead — no shell, no shell* routes to compose.*/-import { createRequire } from 'node:module'import path from 'node:path'import {type SpreeDashboardPluginOptions as CoreOptions,@@ -21,7 +20,7 @@ import {} from '@spree/dashboard-core/vite'import {discoverDashboardPluginManifests,- linkedPackagePath,+ resolveShellRoutesDir,} from '@spree/dashboard-core/vite/discover'import { TanStackRouterVite } from '@tanstack/router-plugin/vite'import { index, layout, physical, rootRoute, route } from '@tanstack/virtual-file-routes'@@ -67,16 +66,7 @@ export function spreeDashboardPlugin(options: SpreeDashboardPluginOptions = {}):* shell's dev/e2e in-repo rather than silently in hosts.*/function dashboardRouterPlugin(hostRoot: string, options: SpreeDashboardPluginOptions) {- const fromHost = createRequire(path.join(hostRoot, 'package.json'))- // Resolve the shell's routes directory from wherever the host's- // `@spree/dashboard` lives (workspace symlink or npm install). The `.`- // export maps to a file in src/, so `routes/` is its sibling directory.- const shellEntry = fromHost.resolve('@spree/dashboard')- const shellRoutesDir = linkedPackagePath(- hostRoot,- '@spree/dashboard',- path.join(path.dirname(shellEntry), 'routes'),- )+ const shellRoutesDir = resolveShellRoutesDir(hostRoot, '@spree/dashboard')const manifests = discoverDashboardPluginManifests({ root: hostRoot, onWarn: (msg) => console.warn(`[@spree/dashboard/vite] ${msg}`) },diff --git a/packages/seller-dashboard-starter/src/routeTree.gen.ts b/packages/seller-dashboard-starter/src/routeTree.gen.tsindex f648690a90..ba3c041330 100644--- a/packages/seller-dashboard-starter/src/routeTree.gen.ts+++ b/packages/seller-dashboard-starter/src/routeTree.gen.ts@@ -8,32 +8,32 @@// 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 './../node_modules/@spree/seller-dashboard/src/routes/__root'-import { Route as authenticatedRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated'-import { Route as forgotPasswordRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/forgot-password'-import { Route as loginRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/login'-import { Route as resetPasswordRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/reset-password'-import { Route as authenticatedIndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/index'-import { Route as authenticatedSellerIdRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId'-import { Route as acceptInvitationDotinvitationIdRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/accept-invitation.$invitationId'-import { Route as IndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/index'-import { Route as OnboardingRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/onboarding'-import { Route as ProfileRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/profile'-import { Route as SettingsRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings'-import { Route as EarningsIndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/earnings/index'-import { Route as OrdersIndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/orders/index'-import { Route as OrdersOrderIdRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/orders/$orderId'-import { Route as PayoutsIndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/payouts/index'-import { Route as PayoutsPayoutIdRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/payouts/$payoutId'-import { Route as ProductsIndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/products/index'-import { Route as ProductsProductIdRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/products/$productId'-import { Route as ProductsNewRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/products/new'-import { Route as SettingsIndexRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings/index'-import { Route as SettingsDeliveryMethodsRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings/delivery-methods'-import { Route as SettingsPackageTypesRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings/package-types'-import { Route as SettingsPoliciesRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings/policies'-import { Route as SettingsStockLocationsRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings/stock-locations'-import { Route as SettingsTeamRouteImport } from './../node_modules/@spree/seller-dashboard/src/routes/_authenticated/$sellerId/settings/team'+import { Route as rootRouteImport } from './../../seller-dashboard/src/routes/__root'+import { Route as authenticatedRouteImport } from './../../seller-dashboard/src/routes/_authenticated'+import { Route as forgotPasswordRouteImport } from './../../seller-dashboard/src/routes/forgot-password'+import { Route as loginRouteImport } from './../../seller-dashboard/src/routes/login'+import { Route as resetPasswordRouteImport } from './../../seller-dashboard/src/routes/reset-password'+import { Route as authenticatedIndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/index'+import { Route as authenticatedSellerIdRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId'+import { Route as acceptInvitationDotinvitationIdRouteImport } from './../../seller-dashboard/src/routes/accept-invitation.$invitationId'+import { Route as IndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/index'+import { Route as OnboardingRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/onboarding'+import { Route as ProfileRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/profile'+import { Route as SettingsRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings'+import { Route as EarningsIndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/earnings/index'+import { Route as OrdersIndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/orders/index'+import { Route as OrdersOrderIdRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/orders/$orderId'+import { Route as PayoutsIndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/payouts/index'+import { Route as PayoutsPayoutIdRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/payouts/$payoutId'+import { Route as ProductsIndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/products/index'+import { Route as ProductsProductIdRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/products/$productId'+import { Route as ProductsNewRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/products/new'+import { Route as SettingsIndexRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings/index'+import { Route as SettingsDeliveryMethodsRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings/delivery-methods'+import { Route as SettingsPackageTypesRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings/package-types'+import { Route as SettingsPoliciesRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings/policies'+import { Route as SettingsStockLocationsRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings/stock-locations'+import { Route as SettingsTeamRouteImport } from './../../seller-dashboard/src/routes/_authenticated/$sellerId/settings/team'const authenticatedRoute = authenticatedRouteImport.update({id: '/_authenticated',diff --git a/packages/seller-dashboard/src/vite/index.ts b/packages/seller-dashboard/src/vite/index.tsindex 79e90215cd..8da5db87a4 100644--- a/packages/seller-dashboard/src/vite/index.ts+++ b/packages/seller-dashboard/src/vite/index.ts@@ -1,10 +1,9 @@-import { createRequire } from 'node:module'import path from 'node:path'import {type SpreeDashboardPluginOptions as CoreOptions,spreeDashboardPlugin as spreeDashboardCorePlugin,} from '@spree/dashboard-core/vite'-import { linkedPackagePath } from '@spree/dashboard-core/vite/discover'+import { resolveShellRoutesDir } from '@spree/dashboard-core/vite/discover'import { TanStackRouterVite } from '@tanstack/router-plugin/vite'import { index, layout, physical, rootRoute, route } from '@tanstack/virtual-file-routes'import type { PluginOption } from 'vite'@@ -56,16 +55,7 @@ export function spreeSellerDashboardPlugin(* authenticated branch whose pages all hang off a seller.*/function sellerRouterPlugin(hostRoot: string, options: SpreeSellerDashboardPluginOptions) {- const fromHost = createRequire(path.join(hostRoot, 'package.json'))- // Resolve the shell's routes directory from wherever the host's- // `@spree/seller-dashboard` lives (workspace symlink or npm install). The- // `.` export maps to a file in src/, so `routes/` is its sibling.- const shellEntry = fromHost.resolve('@spree/seller-dashboard')- const shellRoutesDir = linkedPackagePath(- hostRoot,- '@spree/seller-dashboard',- path.join(path.dirname(shellEntry), 'routes'),- )+ const shellRoutesDir = resolveShellRoutesDir(hostRoot, '@spree/seller-dashboard')const virtualRouteConfig = rootRoute('__root.tsx', [route('/login', 'login.tsx'),