import {SongLegalOwner, SongLegalType, SongStatus, SongType} from './song.service';
import {Timestamp} from '@angular/fire/firestore';

export interface Song {
  id: string;
  comment: string;
  final: boolean;
  key: string;
  number: number;
  tempo: number;
  text: string;
  title: string;
  type: SongType;
  flags: string;
  status: SongStatus;

  legalType: SongLegalType;
  legalOwner: SongLegalOwner;
  legalOwnerId: string;

  artist: string;
  label: string;
  termsOfUse: string;
  origin: string;

  edits: Edit[];
}

export interface Edit {
  username: string;
  timestamp: Timestamp;
}
