importJob.js 429 B

123456789
  1. export default {
  2. type: { type: String, required: true, enum: ["youtube"] },
  3. query: { type: Object, required: true },
  4. status: { type: String, required: true, enum: ["success", "error", "in-progress"] },
  5. response: { type: Object, required: true },
  6. requestedBy: { type: String, required: true },
  7. requestedAt: { type: Date, default: Date.now, required: true },
  8. documentVersion: { type: Number, default: 1, required: true }
  9. };