@shophost/react 2.0.46 → 2.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/router/resolve.d.ts +10 -0
- package/admin/router/routes.d.ts +3 -0
- package/admin/settings/integrations/components/integration-list.d.ts +1 -0
- package/admin/settings/integrations/components/stripe-integration-form.d.ts +1 -0
- package/admin/settings/integrations/lib/integration-catalog.d.ts +9 -0
- package/admin/settings/integrations/views/integration-create-view.d.ts +1 -0
- package/admin/settings/integrations/views/integration-detail-view.d.ts +1 -0
- package/admin/settings/integrations/views/integrations-list-view.d.ts +1 -0
- package/admin-client.cjs +1 -1
- package/admin-client.js +1787 -1652
- package/index.react-server.cjs +1 -1
- package/index.react-server.mjs +7 -7
- package/package.json +3 -3
package/index.react-server.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function n(i){return{basePath:"/admin",...i}}function r(i){const e=i.replace(/\/$/,"");return{home:e,signIn:`${e}/auth/sign-in`,signUp:`${e}/auth/sign-up`,organizations:`${e}/organizations`,dashboard:t=>`${e}/${t}/dashboard`,liveOrders:t=>`${e}/${t}/live-orders`,orders:t=>`${e}/${t}/orders`,reservations:t=>`${e}/${t}/reservations`,products:t=>`${e}/${t}/products`,productCreate:t=>`${e}/${t}/products/create`,productEdit:(t,s)=>`${e}/${t}/products/${s}`,productCategories:t=>`${e}/${t}/product-categories`,productCategoryCreate:t=>`${e}/${t}/product-categories/create`,productCategoryEdit:(t,s)=>`${e}/${t}/product-categories/${s}`,manufacturers:t=>`${e}/${t}/manufacturers`,manufacturerCreate:t=>`${e}/${t}/manufacturers/create`,manufacturerEdit:(t,s)=>`${e}/${t}/manufacturers/${s}`,settings:t=>`${e}/${t}/settings`,settingsIntegrations:t=>`${e}/${t}/settings/integrations`,settingsIntegrationsCreate:t=>`${e}/${t}/settings/integrations/create`,settingsIntegration:(t,s)=>`${e}/${t}/settings/integrations/${s}`,settingsOpeningTimes:t=>`${e}/${t}/settings/opening-times`,settingsShippingMethods:t=>`${e}/${t}/settings/shipping-methods`,settingsShippingMethodCreate:t=>`${e}/${t}/settings/shipping-methods/create`,settingsShippingMethodEdit:(t,s)=>`${e}/${t}/settings/shipping-methods/${s}`,settingsAccess:t=>`${e}/${t}/settings/access`,settingsAccessInvite:t=>`${e}/${t}/settings/access/invite`,settingsAccessMemberEdit:(t,s)=>`${e}/${t}/settings/access/${s}`}}exports.createRoutes=r,exports.defineConfig=n;
|
package/index.react-server.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
function i
|
|
2
|
-
return { basePath: "/admin", ...
|
|
1
|
+
function n(i) {
|
|
2
|
+
return { basePath: "/admin", ...i };
|
|
3
3
|
}
|
|
4
|
-
function
|
|
5
|
-
const e =
|
|
6
|
-
return { home: e, signIn: `${e}/auth/sign-in`, signUp: `${e}/auth/sign-up`, organizations: `${e}/organizations`, dashboard: (t) => `${e}/${t}/dashboard`, liveOrders: (t) => `${e}/${t}/live-orders`, orders: (t) => `${e}/${t}/orders`, reservations: (t) => `${e}/${t}/reservations`, products: (t) => `${e}/${t}/products`, productCreate: (t) => `${e}/${t}/products/create`, productEdit: (t, s) => `${e}/${t}/products/${s}`, productCategories: (t) => `${e}/${t}/product-categories`, productCategoryCreate: (t) => `${e}/${t}/product-categories/create`, productCategoryEdit: (t, s) => `${e}/${t}/product-categories/${s}`, manufacturers: (t) => `${e}/${t}/manufacturers`, manufacturerCreate: (t) => `${e}/${t}/manufacturers/create`, manufacturerEdit: (t, s) => `${e}/${t}/manufacturers/${s}`, settings: (t) => `${e}/${t}/settings`, settingsOpeningTimes: (t) => `${e}/${t}/settings/opening-times`, settingsShippingMethods: (t) => `${e}/${t}/settings/shipping-methods`, settingsShippingMethodCreate: (t) => `${e}/${t}/settings/shipping-methods/create`, settingsShippingMethodEdit: (t, s) => `${e}/${t}/settings/shipping-methods/${s}`, settingsAccess: (t) => `${e}/${t}/settings/access`, settingsAccessInvite: (t) => `${e}/${t}/settings/access/invite`, settingsAccessMemberEdit: (t, s) => `${e}/${t}/settings/access/${s}` };
|
|
4
|
+
function r(i) {
|
|
5
|
+
const e = i.replace(/\/$/, "");
|
|
6
|
+
return { home: e, signIn: `${e}/auth/sign-in`, signUp: `${e}/auth/sign-up`, organizations: `${e}/organizations`, dashboard: (t) => `${e}/${t}/dashboard`, liveOrders: (t) => `${e}/${t}/live-orders`, orders: (t) => `${e}/${t}/orders`, reservations: (t) => `${e}/${t}/reservations`, products: (t) => `${e}/${t}/products`, productCreate: (t) => `${e}/${t}/products/create`, productEdit: (t, s) => `${e}/${t}/products/${s}`, productCategories: (t) => `${e}/${t}/product-categories`, productCategoryCreate: (t) => `${e}/${t}/product-categories/create`, productCategoryEdit: (t, s) => `${e}/${t}/product-categories/${s}`, manufacturers: (t) => `${e}/${t}/manufacturers`, manufacturerCreate: (t) => `${e}/${t}/manufacturers/create`, manufacturerEdit: (t, s) => `${e}/${t}/manufacturers/${s}`, settings: (t) => `${e}/${t}/settings`, settingsIntegrations: (t) => `${e}/${t}/settings/integrations`, settingsIntegrationsCreate: (t) => `${e}/${t}/settings/integrations/create`, settingsIntegration: (t, s) => `${e}/${t}/settings/integrations/${s}`, settingsOpeningTimes: (t) => `${e}/${t}/settings/opening-times`, settingsShippingMethods: (t) => `${e}/${t}/settings/shipping-methods`, settingsShippingMethodCreate: (t) => `${e}/${t}/settings/shipping-methods/create`, settingsShippingMethodEdit: (t, s) => `${e}/${t}/settings/shipping-methods/${s}`, settingsAccess: (t) => `${e}/${t}/settings/access`, settingsAccessInvite: (t) => `${e}/${t}/settings/access/invite`, settingsAccessMemberEdit: (t, s) => `${e}/${t}/settings/access/${s}` };
|
|
7
7
|
}
|
|
8
8
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
r as createRoutes,
|
|
10
|
+
n as defineConfig
|
|
11
11
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shophost/react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.cjs",
|
|
6
6
|
"module": "./index.mjs",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"@react-aria/datepicker": "^3.16.1",
|
|
83
83
|
"@react-stately/datepicker": "^3.16.1",
|
|
84
84
|
"@remixicon/react": "^4.6.0",
|
|
85
|
-
"@shophost/client": "^2.0.
|
|
86
|
-
"@shophost/rest-api": "^2.0.
|
|
85
|
+
"@shophost/client": "^2.0.47",
|
|
86
|
+
"@shophost/rest-api": "^2.0.47",
|
|
87
87
|
"@tanstack/react-query": "^5.67.2",
|
|
88
88
|
"@tanstack/react-table": "^8.21.3",
|
|
89
89
|
"@vercel/blob": "^0.27.2",
|