@pintahub/database-schemas 1.5.2 → 1.5.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schemas/Product.js +11 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/database-schemas",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -96,6 +96,12 @@ const Product = new Schema({
96
96
  index: true,
97
97
  },
98
98
 
99
+ vendor: {
100
+ type: String,
101
+ trim: true,
102
+ index: true,
103
+ },
104
+
99
105
  group: {
100
106
  type: Schema.Types.ObjectId,
101
107
  },
@@ -123,6 +129,11 @@ const Product = new Schema({
123
129
  index: true,
124
130
  },
125
131
 
132
+ trello_id: {
133
+ type: String,
134
+ trim: true,
135
+ },
136
+
126
137
  updated_at: {
127
138
  type: Date,
128
139
  default: Date.now