dataRequest.js 294 B

1234567
  1. export default {
  2. userId: { type: String, required: true },
  3. createdAt: { type: Date, default: Date.now, required: true },
  4. type: { type: String, required: true, enum: ["remove"] },
  5. resolved: { type: Boolean, default: false },
  6. documentVersion: { type: Number, default: 1, required: true }
  7. };