flykup_model_development 3.1.72 → 3.1.73

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.
@@ -93,7 +93,24 @@ const bundleSaleSchema = new Schema({
93
93
  key: { type: String, default: null },
94
94
  url: { type: String, default: null }
95
95
  },
96
- createdAt: { type: Date, default: Date.now }
96
+ createdAt: { type: Date, default: Date.now },
97
+ interestedUsers: {
98
+ type: [
99
+ {
100
+ userId: {
101
+ type: Schema.Types.ObjectId,
102
+ ref: 'users',
103
+ required: true
104
+ },
105
+ interestedAt: {
106
+ type: Date,
107
+ default: Date.now
108
+ },
109
+ _id: false
110
+ }
111
+ ],
112
+ default: []
113
+ }
97
114
  });
98
115
 
99
116
  // Show Schema with FIXED validation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flykup_model_development",
3
- "version": "3.1.72",
3
+ "version": "3.1.73",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "private": false,