export interface IDataProject {
  id: string
  title: string
  desc: string
  status: number
  member: number
  progress: number
}

export interface IDataListTaskProject {
  id: string
  title: string
  desc: string
  status: number
  dateStart: string
  dateEnd: string
}

export interface IDataFileProject {
  id: string
  name: string
  extension: string
  idStorage: string
}


export interface IDataLinkProject {
  id: string
  link: string
}

export interface IDataMemberProject {
  id: string
  idUser: string
  name: string
  email: string
  img: string
  position: string
}

export interface IFormProject {
  title: string,
  idGroup: string,
  task: IFormDateProject[] | [],
  member: IFormMemberProject[] | [],
  file: FormData[] | []
}

export interface IFormDateProject {
  dateStart: Date,
  dateEnd: Date,
  title: string,
}

export interface NewIFormDateProject {
  dateStart: string,
  dateEnd: string,
  title: string,
  dataDetail: any[]
}

export interface IFormMemberProject {
  idUser: string,
  name: string,
  img: string
}


export interface IFormAddDetailproject {
  dateStart: string,
  dateEnd: string,
  name: string,
  dataDetail: any[]
}


export interface IFormAddMemberProject {
  member: IFormMemberProject[] | []
}

export interface IDataMemberProjectDetail {
  id: string,
  idUser: string,
  isLeader: string,
  name: string,
  img: string
}

export interface IListFileTaskProject {
  name: string,
  extension: string
}