@cendo/database-schemas 2.2.2 → 2.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cendo/database-schemas",
3
- "version": "2.2.2",
3
+ "version": "2.3.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "keywords": [],
@@ -20,6 +20,13 @@ const FulfillmentStore = new Schema({
20
20
  index: true,
21
21
  },
22
22
 
23
+ /** Fulfillment vendor/provider name (e.g., 'dreamship', 'printify') */
24
+ vendor: {
25
+ type: String,
26
+ trim: true,
27
+ lowercase: true,
28
+ },
29
+
23
30
  /** API authentication key for the provider */
24
31
  api_key: {
25
32
  type: String,
@@ -38,6 +38,12 @@ const Product = new Schema({
38
38
  trim: true,
39
39
  },
40
40
 
41
+ /** Reference to the FulfillmentStore assigned to this product */
42
+ fulfillment_store: {
43
+ type: Schema.Types.ObjectId,
44
+ index: true,
45
+ },
46
+
41
47
  /** @deprecated URL to the customization/personalization tool */
42
48
  customize_url: {
43
49
  type: String,