flykup_model_development 3.1.36 → 3.1.37

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.
@@ -191,7 +191,38 @@ isEligibleToPlay: {
191
191
  type: Boolean,
192
192
  default: false, // Default to true, can be set to false if video is not eligible for playback
193
193
  index: true // Index for quick lookups
194
- }
194
+ },
195
+ // Admin Approval Fields
196
+ approvalStatus: {
197
+ type: String,
198
+ enum: ['pending', 'approved', 'rejected'],
199
+ default: 'pending',
200
+ index: true
201
+ },
202
+ approvedBy: {
203
+ type: Schema.Types.ObjectId,
204
+ ref: 'Admin',
205
+ default: null
206
+ },
207
+ approvedAt: {
208
+ type: Date,
209
+ default: null
210
+ },
211
+ rejectionReason: {
212
+ type: String,
213
+ default: null,
214
+ trim: true
215
+ },
216
+ rejectedBy: {
217
+ type: Schema.Types.ObjectId,
218
+ ref: 'Admin',
219
+ default: null
220
+ },
221
+ rejectedAt: {
222
+ type: Date,
223
+ default: null
224
+ },
225
+
195
226
  },
196
227
  { timestamps: true }
197
228
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flykup_model_development",
3
- "version": "3.1.36",
3
+ "version": "3.1.37",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "private": false,