shopoflex-types 1.0.105 → 1.0.106

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.
@@ -51,6 +51,7 @@ export interface ProductType {
51
51
  hasModifiers?: boolean;
52
52
  isSellable?: boolean;
53
53
  usageTypes?: UsageTypes;
54
+ notes?: ProductNotes;
54
55
  label?: Label;
55
56
  hasVariants?: boolean;
56
57
  sort?: number;
@@ -79,6 +80,10 @@ export interface Modifier {
79
80
  priceOverride?: number;
80
81
  }[];
81
82
  }
83
+ export interface ProductNotes {
84
+ active?: boolean;
85
+ data?: any;
86
+ }
82
87
  export interface CartItem {
83
88
  _id?: string;
84
89
  categoriesIds: string[];
@@ -92,7 +97,7 @@ export interface CartItem {
92
97
  modifiersPrice?: number;
93
98
  unitPrice?: number;
94
99
  totalPrice?: number;
95
- notes?: string;
100
+ notes?: ProductNotes;
96
101
  }
97
102
  export interface sModifier {
98
103
  name: NameType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.105",
3
+ "version": "1.0.106",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",