@francesco_ksh/app-ksh-mgd-schemas 1.8.8 → 1.8.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.
package/models/Listing.js CHANGED
@@ -40,31 +40,7 @@ const listingSchema = new Schema(
40
40
  type: Number,
41
41
  },
42
42
  },
43
- // TO BE REMOVED //
44
- category: {
45
- type: [String],
46
- },
47
- materials: {
48
- type: Array,
49
- },
50
- brand: {
51
- type: String,
52
- },
53
- commission: {
54
- type: Number,
55
- default: 80,
56
- required: true,
57
- },
58
- type: {
59
- type: String,
60
- },
61
- colors: {
62
- type: Array,
63
- },
64
- Model: {
65
- type: String,
66
- },
67
- //////////////////
43
+
68
44
  newSchema: {
69
45
  supervised: {
70
46
  type: Boolean,
@@ -184,18 +160,6 @@ const listingSchema = new Schema(
184
160
  type: [Number],
185
161
  required: true,
186
162
  },
187
- item: {
188
- type: Object,
189
- // required: true,
190
- },
191
- vehicle: {
192
- type: String,
193
- required: true,
194
- },
195
- helpers: {
196
- type: Number,
197
- required: true,
198
- },
199
163
  address: {
200
164
  type: String,
201
165
  },
package/models/Test.js CHANGED
@@ -6,6 +6,12 @@ const testSchema = new Schema(
6
6
  hook: {
7
7
  type: Object,
8
8
  },
9
+ refresh_token: {
10
+ type: String,
11
+ },
12
+ realmId: {
13
+ type: String,
14
+ },
9
15
  date: {
10
16
  type: Date,
11
17
  default: Date.now,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@francesco_ksh/app-ksh-mgd-schemas",
3
- "version": "1.8.8",
3
+ "version": "1.8.9",
4
4
  "description": "Mongoose schema definitions",
5
5
  "main": "index.js",
6
6
  "repository": {