flykup_model_development 3.1.46 → 3.1.47
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/shows.model.js +7 -1
- package/package.json +1 -1
package/models/shows.model.js
CHANGED
|
@@ -181,7 +181,7 @@ const showSchema = new Schema(
|
|
|
181
181
|
],
|
|
182
182
|
default: [],
|
|
183
183
|
},
|
|
184
|
-
|
|
184
|
+
auctionProducts: {
|
|
185
185
|
type: [
|
|
186
186
|
{
|
|
187
187
|
_id: false,
|
|
@@ -191,6 +191,12 @@ const showSchema = new Schema(
|
|
|
191
191
|
reservedPrice: { type: Number, min: 0, default: null },
|
|
192
192
|
auctionNumber: {
|
|
193
193
|
type: Number,
|
|
194
|
+
},
|
|
195
|
+
// BGA Integration - Reference to BGA auction document
|
|
196
|
+
auctionObjectId: {
|
|
197
|
+
type: Schema.Types.ObjectId,
|
|
198
|
+
required: true,
|
|
199
|
+
index: true
|
|
194
200
|
}
|
|
195
201
|
},
|
|
196
202
|
],
|