@pintahub/database-schemas 4.0.2 → 4.0.4

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": "@pintahub/database-schemas",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,6 +23,12 @@ const TransferJob = new Schema({
23
23
  index: true,
24
24
  },
25
25
 
26
+ product_type: {
27
+ type: String,
28
+ trim: true,
29
+ index: true,
30
+ },
31
+
26
32
  destination_store: {
27
33
  type: Schema.Types.ObjectId,
28
34
  required: true,
@@ -89,7 +95,7 @@ const TransferJob = new Schema({
89
95
  },
90
96
 
91
97
  errors: {
92
- type: [Schema.Types.Mixed],
98
+ type: Schema.Types.Mixed,
93
99
  },
94
100
 
95
101
  updated_at: {