rerobe-js-orm 4.4.8 → 4.4.9

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.
@@ -85,7 +85,7 @@ class ProductFormState extends FormState_1.default {
85
85
  this.fields.metaDataTitle = this.fieldFactory('textInput', 'metaDataTitle');
86
86
  this.fields.metaDataDescription = this.fieldFactory('textInput', 'metaDataDescription');
87
87
  this.fields.handle = this.fieldFactory('textInput', 'handle');
88
- // Product Classification (UNIQUE, MULTI, TEMPLATE)
88
+ // Product Classification (UNIQUE, MULTIVARIANT, TEMPLATE)
89
89
  this.fields.productClass = this.fieldFactory('singleSelect', 'productClass', options_1.productClassOptions);
90
90
  }
91
91
  autoCreateTitle() {
@@ -1062,17 +1062,27 @@ const productClassOptions = [
1062
1062
  {
1063
1063
  label: 'Unique',
1064
1064
  value: 'UNIQUE',
1065
- description: 'One-of-a-kind, no variants',
1065
+ description: 'One-of-a-kind product with no variants (e.g., vintage clothing, collectibles).',
1066
1066
  },
1067
1067
  {
1068
- label: 'Multiple',
1069
- value: 'MULTI',
1070
- description: 'Many duplicates of the same product (e.g., gift cards, shopping bags, etc.)',
1068
+ label: 'Multi-Variant',
1069
+ value: 'MULTIVARIANT',
1070
+ description: 'A product that has multiple variants (e.g., size, color, style).',
1071
1071
  },
1072
1072
  {
1073
1073
  label: 'Template',
1074
1074
  value: 'TEMPLATE',
1075
- description: 'Blueprint for cloning a variant of the product at checkout',
1075
+ description: 'A blueprint used to quickly clone or create a variant of the product at checkout.',
1076
+ },
1077
+ {
1078
+ label: 'Supply',
1079
+ value: 'SUPPLY',
1080
+ description: 'Order-related inventory items such as shopping bags or other sellable supplies.',
1081
+ },
1082
+ {
1083
+ label: 'Digital',
1084
+ value: 'DIGITAL',
1085
+ description: 'Non-physical products that never run out of stock (e.g., gift cards, downloads).',
1076
1086
  },
1077
1087
  ];
1078
1088
  exports.productClassOptions = productClassOptions;
@@ -30,7 +30,7 @@ type ProductAttributes = {
30
30
  metaDataTitle?: string;
31
31
  metaDataDescription?: string;
32
32
  isTaxable?: string;
33
- productClass?: 'UNIQUE' | 'MULTI' | 'TEMPLATE' | string;
33
+ productClass?: 'UNIQUE' | 'MULTIVARIANT' | 'TEMPLATE' | string;
34
34
  };
35
35
  type ProductFilterAttributes = {
36
36
  documentId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "4.4.8",
3
+ "version": "4.4.9",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",