news.js 346 B

12345678910
  1. module.exports = {
  2. title: { type: String, required: true },
  3. description: { type: String, required: true },
  4. bugs: [{ type: String }],
  5. features: [{ type: String }],
  6. improvements: [{ type: String }],
  7. upcoming: [{ type: String }],
  8. createdBy: { type: String, required: true },
  9. createdAt: { type: Number, default: Date.now, required: true }
  10. };