@orderingstack/ordering-types 1.1.11 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.d.ts +10 -0
- package/dist/esm/index.d.ts +10 -0
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -81,6 +81,15 @@ export interface IProductExtra extends Partial<Record<string, string>> {
|
|
|
81
81
|
related?: string;
|
|
82
82
|
category?: string;
|
|
83
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* IProductFrontAttributes
|
|
86
|
+
*
|
|
87
|
+
* @interface IProductFrontAttributes attributes are added by useMenu hook
|
|
88
|
+
* @isHiddenByEnableKey {boolean} product has not been enabled by one of its enableKeys
|
|
89
|
+
*/
|
|
90
|
+
export interface IProductFrontAttributes {
|
|
91
|
+
isHiddenByEnableKey?: boolean;
|
|
92
|
+
}
|
|
84
93
|
export interface IProduct {
|
|
85
94
|
availability?: IProductAvailability;
|
|
86
95
|
id: string;
|
|
@@ -110,6 +119,7 @@ export interface IProduct {
|
|
|
110
119
|
qty: string;
|
|
111
120
|
}>;
|
|
112
121
|
attrs?: Record<string, string | boolean>;
|
|
122
|
+
__?: IProductFrontAttributes;
|
|
113
123
|
}
|
|
114
124
|
export interface IProductState {
|
|
115
125
|
selected: IProductStateSelected;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -81,6 +81,15 @@ export interface IProductExtra extends Partial<Record<string, string>> {
|
|
|
81
81
|
related?: string;
|
|
82
82
|
category?: string;
|
|
83
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* IProductFrontAttributes
|
|
86
|
+
*
|
|
87
|
+
* @interface IProductFrontAttributes attributes are added by useMenu hook
|
|
88
|
+
* @isHiddenByEnableKey {boolean} product has not been enabled by one of its enableKeys
|
|
89
|
+
*/
|
|
90
|
+
export interface IProductFrontAttributes {
|
|
91
|
+
isHiddenByEnableKey?: boolean;
|
|
92
|
+
}
|
|
84
93
|
export interface IProduct {
|
|
85
94
|
availability?: IProductAvailability;
|
|
86
95
|
id: string;
|
|
@@ -110,6 +119,7 @@ export interface IProduct {
|
|
|
110
119
|
qty: string;
|
|
111
120
|
}>;
|
|
112
121
|
attrs?: Record<string, string | boolean>;
|
|
122
|
+
__?: IProductFrontAttributes;
|
|
113
123
|
}
|
|
114
124
|
export interface IProductState {
|
|
115
125
|
selected: IProductStateSelected;
|