@shophost/react 2.0.57 → 2.0.59
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/customer/components/customer-details/index.d.ts +1 -0
- package/admin/customer/components/customers-list/columns.d.ts +3 -0
- package/admin/customer/components/customers-list/index.d.ts +1 -0
- package/admin/customer/views/customer-detail-view.d.ts +1 -0
- package/admin/customer/views/customers-view.d.ts +1 -0
- package/admin/order/components/orders-list/columns.d.ts +1 -1
- package/admin/reservation/components/reservations-list/reservation-edit-form.d.ts +9 -0
- package/admin/router/resolve.d.ts +7 -0
- package/admin/router/routes.d.ts +2 -0
- package/admin-client.cjs +1 -1
- package/admin-client.js +2097 -1968
- package/index.react-server.cjs +1 -1
- package/index.react-server.mjs +1 -1
- package/package.json +3 -3
- package/react.css +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CustomerDetails(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CustomersList(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CustomerDetailView(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CustomersView(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Reservation } from '../../../../../../client/src/index.ts';
|
|
2
|
+
interface ReservationEditFormProps {
|
|
3
|
+
organizationId: string;
|
|
4
|
+
reservation: Reservation;
|
|
5
|
+
onCancel: () => void;
|
|
6
|
+
onSuccess: (reservation: Reservation) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function ReservationEditForm({ organizationId, reservation, onCancel, onSuccess, }: ReservationEditFormProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -15,6 +15,13 @@ export type RouteView = {
|
|
|
15
15
|
} | {
|
|
16
16
|
type: "reservations";
|
|
17
17
|
orgId: string;
|
|
18
|
+
} | {
|
|
19
|
+
type: "customers";
|
|
20
|
+
orgId: string;
|
|
21
|
+
} | {
|
|
22
|
+
type: "customer-detail";
|
|
23
|
+
orgId: string;
|
|
24
|
+
id: string;
|
|
18
25
|
} | {
|
|
19
26
|
type: "products-list";
|
|
20
27
|
orgId: string;
|
package/admin/router/routes.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export interface AdminRoutes {
|
|
|
7
7
|
liveOrders: (orgId: string) => string;
|
|
8
8
|
orders: (orgId: string) => string;
|
|
9
9
|
reservations: (orgId: string) => string;
|
|
10
|
+
customers: (orgId: string) => string;
|
|
11
|
+
customerDetail: (orgId: string, id: string) => string;
|
|
10
12
|
products: (orgId: string) => string;
|
|
11
13
|
productCreate: (orgId: string) => string;
|
|
12
14
|
productEdit: (orgId: string, id: string) => string;
|