@pintahub/database-schemas 2.6.6 → 2.6.8

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": "2.6.6",
3
+ "version": "2.6.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -68,6 +68,11 @@ const OrderItem = new Schema({
68
68
  trim: true,
69
69
  },
70
70
 
71
+ image_id: {
72
+ type: String,
73
+ trim: true,
74
+ },
75
+
71
76
  updated_at: {
72
77
  type: Date,
73
78
  default: Date.now
@@ -60,6 +60,20 @@ const SocialsObject = new Schema({
60
60
  },
61
61
  })
62
62
 
63
+ const MerchizeSettings = new Schema({
64
+ _id: false,
65
+
66
+ base_url: {
67
+ type: String,
68
+ trim: true,
69
+ },
70
+
71
+ access_token: {
72
+ type: String,
73
+ trim: true,
74
+ },
75
+ })
76
+
63
77
  const StoreSetting = new Schema({
64
78
  store: {
65
79
  type: Schema.Types.ObjectId,
@@ -89,6 +103,10 @@ const StoreSetting = new Schema({
89
103
  type: SocialsObject,
90
104
  },
91
105
 
106
+ merchize: {
107
+ type: MerchizeSettings,
108
+ },
109
+
92
110
  updated_at: {
93
111
  type: Date,
94
112
  default: Date.now