Skip to content

armgit / spree

Public Imported from GitHub
0

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.

Regenerate the starter's route tree for the companies and catalogs routes

Damian Legawiec47eeafc93fba
diff --git a/packages/dashboard-starter/src/routeTree.gen.ts b/packages/dashboard-starter/src/routeTree.gen.ts
index 17004a5645..33643c4c77 100644
--- a/packages/dashboard-starter/src/routeTree.gen.ts
+++ b/packages/dashboard-starter/src/routeTree.gen.ts
@@ -71,6 +71,7 @@ import { Route as SettingsDeliveryProfilesIndexRouteImport } from './../../dashb
import { Route as ProductsPriceListsIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/price-lists/index'
import { Route as ProductsCollectionsIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/collections/index'
import { Route as ProductsCategoriesIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/categories/index'
+import { Route as ProductsCatalogsIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/catalogs/index'
import { Route as OrdersOrderIdIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/orders/$orderId/index'
import { Route as SettingsWebhooksWebhookEndpointIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/webhooks/$webhookEndpointId'
import { Route as ProductsPriceListsNewRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/price-lists/new'
@@ -78,8 +79,8 @@ import { Route as ProductsCollectionsNewRouteImport } from './../../dashboard/sr
import { Route as ProductsCollectionsCollectionIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/collections/$collectionId'
import { Route as ProductsCategoriesNewRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/categories/new'
import { Route as ProductsCategoriesCategoryIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/categories/$categoryId'
+import { Route as ProductsCatalogsCatalogIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/catalogs/$catalogId'
import { Route as OrdersOrderIdEditRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/orders/$orderId/edit'
-import { Route as CompaniesLocationsDotlocationIdRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/companies/locations.$locationId'
import { Route as SettingsDeliveryProfilesProfileIdIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/delivery-profiles/$profileId/index'
import { Route as ProductsPriceListsPriceListIdIndexRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/products/price-lists/$priceListId/index'
import { Route as SettingsDeliveryProfilesProfileIdMethodsNewRouteImport } from './../../dashboard/src/routes/_authenticated/$storeId/settings/delivery-profiles/$profileId/methods/new'
@@ -399,6 +400,11 @@ const ProductsCategoriesIndexRoute = ProductsCategoriesIndexRouteImport.update({
path: '/products/categories/',
getParentRoute: () => authenticatedStoreIdRoute,
} as any)
+const ProductsCatalogsIndexRoute = ProductsCatalogsIndexRouteImport.update({
+ id: '/products/catalogs/',
+ path: '/products/catalogs/',
+ getParentRoute: () => authenticatedStoreIdRoute,
+} as any)
const OrdersOrderIdIndexRoute = OrdersOrderIdIndexRouteImport.update({
id: '/orders/$orderId/',
path: '/orders/$orderId/',
@@ -437,17 +443,17 @@ const ProductsCategoriesCategoryIdRoute =
path: '/products/categories/$categoryId',
getParentRoute: () => authenticatedStoreIdRoute,
} as any)
+const ProductsCatalogsCatalogIdRoute =
+ ProductsCatalogsCatalogIdRouteImport.update({
+ id: '/products/catalogs/$catalogId',
+ path: '/products/catalogs/$catalogId',
+ getParentRoute: () => authenticatedStoreIdRoute,
+ } as any)
const OrdersOrderIdEditRoute = OrdersOrderIdEditRouteImport.update({
id: '/orders/$orderId/edit',
path: '/orders/$orderId/edit',
getParentRoute: () => authenticatedStoreIdRoute,
} as any)
-const CompaniesLocationsDotlocationIdRoute =
- CompaniesLocationsDotlocationIdRouteImport.update({
- id: '/companies/locations/$locationId',
- path: '/companies/locations/$locationId',
- getParentRoute: () => authenticatedStoreIdRoute,
- } as any)
const SettingsDeliveryProfilesProfileIdIndexRoute =
SettingsDeliveryProfilesProfileIdIndexRouteImport.update({
id: '/delivery-profiles/$profileId/',
@@ -529,8 +535,8 @@ export interface FileRoutesByFullPath {
'/$storeId/promotions/': typeof PromotionsIndexRoute
'/$storeId/sellers/': typeof SellersIndexRoute
'/$storeId/settings/': typeof SettingsIndexRoute
- '/$storeId/companies/locations/$locationId': typeof CompaniesLocationsDotlocationIdRoute
'/$storeId/orders/$orderId/edit': typeof OrdersOrderIdEditRoute
+ '/$storeId/products/catalogs/$catalogId': typeof ProductsCatalogsCatalogIdRoute
'/$storeId/products/categories/$categoryId': typeof ProductsCategoriesCategoryIdRoute
'/$storeId/products/categories/new': typeof ProductsCategoriesNewRoute
'/$storeId/products/collections/$collectionId': typeof ProductsCollectionsCollectionIdRoute
@@ -538,6 +544,7 @@ export interface FileRoutesByFullPath {
'/$storeId/products/price-lists/new': typeof ProductsPriceListsNewRoute
'/$storeId/settings/webhooks/$webhookEndpointId': typeof SettingsWebhooksWebhookEndpointIdRoute
'/$storeId/orders/$orderId/': typeof OrdersOrderIdIndexRoute
+ '/$storeId/products/catalogs/': typeof ProductsCatalogsIndexRoute
'/$storeId/products/categories/': typeof ProductsCategoriesIndexRoute
'/$storeId/products/collections/': typeof ProductsCollectionsIndexRoute
'/$storeId/products/price-lists/': typeof ProductsPriceListsIndexRoute
@@ -603,8 +610,8 @@ export interface FileRoutesByTo {
'/$storeId/promotions': typeof PromotionsIndexRoute
'/$storeId/sellers': typeof SellersIndexRoute
'/$storeId/settings': typeof SettingsIndexRoute
- '/$storeId/companies/locations/$locationId': typeof CompaniesLocationsDotlocationIdRoute
'/$storeId/orders/$orderId/edit': typeof OrdersOrderIdEditRoute
+ '/$storeId/products/catalogs/$catalogId': typeof ProductsCatalogsCatalogIdRoute
'/$storeId/products/categories/$categoryId': typeof ProductsCategoriesCategoryIdRoute
'/$storeId/products/categories/new': typeof ProductsCategoriesNewRoute
'/$storeId/products/collections/$collectionId': typeof ProductsCollectionsCollectionIdRoute
@@ -612,6 +619,7 @@ export interface FileRoutesByTo {
'/$storeId/products/price-lists/new': typeof ProductsPriceListsNewRoute
'/$storeId/settings/webhooks/$webhookEndpointId': typeof SettingsWebhooksWebhookEndpointIdRoute
'/$storeId/orders/$orderId': typeof OrdersOrderIdIndexRoute
+ '/$storeId/products/catalogs': typeof ProductsCatalogsIndexRoute
'/$storeId/products/categories': typeof ProductsCategoriesIndexRoute
'/$storeId/products/collections': typeof ProductsCollectionsIndexRoute
'/$storeId/products/price-lists': typeof ProductsPriceListsIndexRoute
@@ -681,8 +689,8 @@ export interface FileRoutesById {
'/_authenticated/$storeId/promotions/': typeof PromotionsIndexRoute
'/_authenticated/$storeId/sellers/': typeof SellersIndexRoute
'/_authenticated/$storeId/settings/': typeof SettingsIndexRoute
- '/_authenticated/$storeId/companies/locations/$locationId': typeof CompaniesLocationsDotlocationIdRoute
'/_authenticated/$storeId/orders/$orderId/edit': typeof OrdersOrderIdEditRoute
+ '/_authenticated/$storeId/products/catalogs/$catalogId': typeof ProductsCatalogsCatalogIdRoute
'/_authenticated/$storeId/products/categories/$categoryId': typeof ProductsCategoriesCategoryIdRoute
'/_authenticated/$storeId/products/categories/new': typeof ProductsCategoriesNewRoute
'/_authenticated/$storeId/products/collections/$collectionId': typeof ProductsCollectionsCollectionIdRoute
@@ -690,6 +698,7 @@ export interface FileRoutesById {
'/_authenticated/$storeId/products/price-lists/new': typeof ProductsPriceListsNewRoute
'/_authenticated/$storeId/settings/webhooks/$webhookEndpointId': typeof SettingsWebhooksWebhookEndpointIdRoute
'/_authenticated/$storeId/orders/$orderId/': typeof OrdersOrderIdIndexRoute
+ '/_authenticated/$storeId/products/catalogs/': typeof ProductsCatalogsIndexRoute
'/_authenticated/$storeId/products/categories/': typeof ProductsCategoriesIndexRoute
'/_authenticated/$storeId/products/collections/': typeof ProductsCollectionsIndexRoute
'/_authenticated/$storeId/products/price-lists/': typeof ProductsPriceListsIndexRoute
@@ -759,8 +768,8 @@ export interface FileRouteTypes {
| '/$storeId/promotions/'
| '/$storeId/sellers/'
| '/$storeId/settings/'
- | '/$storeId/companies/locations/$locationId'
| '/$storeId/orders/$orderId/edit'
+ | '/$storeId/products/catalogs/$catalogId'
| '/$storeId/products/categories/$categoryId'
| '/$storeId/products/categories/new'
| '/$storeId/products/collections/$collectionId'
@@ -768,6 +777,7 @@ export interface FileRouteTypes {
| '/$storeId/products/price-lists/new'
| '/$storeId/settings/webhooks/$webhookEndpointId'
| '/$storeId/orders/$orderId/'
+ | '/$storeId/products/catalogs/'
| '/$storeId/products/categories/'
| '/$storeId/products/collections/'
| '/$storeId/products/price-lists/'
@@ -833,8 +843,8 @@ export interface FileRouteTypes {
| '/$storeId/promotions'
| '/$storeId/sellers'
| '/$storeId/settings'
- | '/$storeId/companies/locations/$locationId'
| '/$storeId/orders/$orderId/edit'
+ | '/$storeId/products/catalogs/$catalogId'
| '/$storeId/products/categories/$categoryId'
| '/$storeId/products/categories/new'
| '/$storeId/products/collections/$collectionId'
@@ -842,6 +852,7 @@ export interface FileRouteTypes {
| '/$storeId/products/price-lists/new'
| '/$storeId/settings/webhooks/$webhookEndpointId'
| '/$storeId/orders/$orderId'
+ | '/$storeId/products/catalogs'
| '/$storeId/products/categories'
| '/$storeId/products/collections'
| '/$storeId/products/price-lists'
@@ -910,8 +921,8 @@ export interface FileRouteTypes {
| '/_authenticated/$storeId/promotions/'
| '/_authenticated/$storeId/sellers/'
| '/_authenticated/$storeId/settings/'
- | '/_authenticated/$storeId/companies/locations/$locationId'
| '/_authenticated/$storeId/orders/$orderId/edit'
+ | '/_authenticated/$storeId/products/catalogs/$catalogId'
| '/_authenticated/$storeId/products/categories/$categoryId'
| '/_authenticated/$storeId/products/categories/new'
| '/_authenticated/$storeId/products/collections/$collectionId'
@@ -919,6 +930,7 @@ export interface FileRouteTypes {
| '/_authenticated/$storeId/products/price-lists/new'
| '/_authenticated/$storeId/settings/webhooks/$webhookEndpointId'
| '/_authenticated/$storeId/orders/$orderId/'
+ | '/_authenticated/$storeId/products/catalogs/'
| '/_authenticated/$storeId/products/categories/'
| '/_authenticated/$storeId/products/collections/'
| '/_authenticated/$storeId/products/price-lists/'
@@ -1376,6 +1388,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof ProductsCategoriesIndexRouteImport
parentRoute: typeof authenticatedStoreIdRoute
}
+ '/_authenticated/$storeId/products/catalogs/': {
+ id: '/_authenticated/$storeId/products/catalogs/'
+ path: '/products/catalogs'
+ fullPath: '/$storeId/products/catalogs/'
+ preLoaderRoute: typeof ProductsCatalogsIndexRouteImport
+ parentRoute: typeof authenticatedStoreIdRoute
+ }
'/_authenticated/$storeId/orders/$orderId/': {
id: '/_authenticated/$storeId/orders/$orderId/'
path: '/orders/$orderId'
@@ -1425,6 +1444,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof ProductsCategoriesCategoryIdRouteImport
parentRoute: 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
+ parentRoute: typeof authenticatedStoreIdRoute
+ }
'/_authenticated/$storeId/orders/$orderId/edit': {
id: '/_authenticated/$storeId/orders/$orderId/edit'
path: '/orders/$orderId/edit'
@@ -1432,13 +1458,6 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof OrdersOrderIdEditRouteImport
parentRoute: typeof authenticatedStoreIdRoute
}
- '/_authenticated/$storeId/companies/locations/$locationId': {
- id: '/_authenticated/$storeId/companies/locations/$locationId'
- path: '/companies/locations/$locationId'
- fullPath: '/$storeId/companies/locations/$locationId'
- preLoaderRoute: typeof CompaniesLocationsDotlocationIdRouteImport
- parentRoute: typeof authenticatedStoreIdRoute
- }
'/_authenticated/$storeId/settings/delivery-profiles/$profileId/': {
id: '/_authenticated/$storeId/settings/delivery-profiles/$profileId/'
path: '/delivery-profiles/$profileId'
@@ -1566,14 +1585,15 @@ interface authenticatedStoreIdRouteChildren {
ProductsIndexRoute: typeof ProductsIndexRoute
PromotionsIndexRoute: typeof PromotionsIndexRoute
SellersIndexRoute: typeof SellersIndexRoute
- CompaniesLocationsDotlocationIdRoute: typeof CompaniesLocationsDotlocationIdRoute
OrdersOrderIdEditRoute: typeof OrdersOrderIdEditRoute
+ ProductsCatalogsCatalogIdRoute: typeof ProductsCatalogsCatalogIdRoute
ProductsCategoriesCategoryIdRoute: typeof ProductsCategoriesCategoryIdRoute
ProductsCategoriesNewRoute: typeof ProductsCategoriesNewRoute
ProductsCollectionsCollectionIdRoute: typeof ProductsCollectionsCollectionIdRoute
ProductsCollectionsNewRoute: typeof ProductsCollectionsNewRoute
ProductsPriceListsNewRoute: typeof ProductsPriceListsNewRoute
OrdersOrderIdIndexRoute: typeof OrdersOrderIdIndexRoute
+ ProductsCatalogsIndexRoute: typeof ProductsCatalogsIndexRoute
ProductsCategoriesIndexRoute: typeof ProductsCategoriesIndexRoute
ProductsCollectionsIndexRoute: typeof ProductsCollectionsIndexRoute
ProductsPriceListsIndexRoute: typeof ProductsPriceListsIndexRoute
@@ -1610,14 +1630,15 @@ const authenticatedStoreIdRouteChildren: authenticatedStoreIdRouteChildren = {
ProductsIndexRoute: ProductsIndexRoute,
PromotionsIndexRoute: PromotionsIndexRoute,
SellersIndexRoute: SellersIndexRoute,
- CompaniesLocationsDotlocationIdRoute: CompaniesLocationsDotlocationIdRoute,
OrdersOrderIdEditRoute: OrdersOrderIdEditRoute,
+ ProductsCatalogsCatalogIdRoute: ProductsCatalogsCatalogIdRoute,
ProductsCategoriesCategoryIdRoute: ProductsCategoriesCategoryIdRoute,
ProductsCategoriesNewRoute: ProductsCategoriesNewRoute,
ProductsCollectionsCollectionIdRoute: ProductsCollectionsCollectionIdRoute,
ProductsCollectionsNewRoute: ProductsCollectionsNewRoute,
ProductsPriceListsNewRoute: ProductsPriceListsNewRoute,
OrdersOrderIdIndexRoute: OrdersOrderIdIndexRoute,
+ ProductsCatalogsIndexRoute: ProductsCatalogsIndexRoute,
ProductsCategoriesIndexRoute: ProductsCategoriesIndexRoute,
ProductsCollectionsIndexRoute: ProductsCollectionsIndexRoute,
ProductsPriceListsIndexRoute: ProductsPriceListsIndexRoute,