report.ts 298 B

12345678910111213141516171819
  1. import { Song } from "./song";
  2. import { User } from "./user";
  3. export interface Report {
  4. _id: string;
  5. resolved: boolean;
  6. song: Song;
  7. issues: [
  8. {
  9. _id: string;
  10. category: string;
  11. title: string;
  12. description: string;
  13. resolved: boolean;
  14. }
  15. ];
  16. createdBy: User;
  17. createdAt: Date;
  18. }