express TS backend
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

30 行
987 B

  1. export default interface skillInformation {
  2. name: string,
  3. category: 'FRONT_END' | 'BACKEND' | 'DATABASE' | 'BENIFICIAL'
  4. };
  5. export default interface IUser {
  6. name: string,
  7. email: string,
  8. password: string,
  9. isVerified: boolean,
  10. userType: 'ADMIN' | 'MODERATOR' | 'APPLICANT',
  11. skillSet?: Array<skillInformation>,
  12. progress?: Array<{
  13. roundType: 'PRELIMINARY' | 'TECHNICAL_INTERVIEW' | 'ASSIGNMENT' | 'FINAL_INTERVIEW',
  14. score: number,
  15. status: undefined | 'PASS' | 'FAIL' | 'PAUSED' | 'IN_PROGRESS' | 'REVIEW',
  16. answers?: Array<string>,
  17. preferredInterviewSlot?: Date,
  18. }>,
  19. userDocuments?: Array<{
  20. type: 'ID_PROOF' | 'CERTIFICATES' | 'EXPERIENCE_LETTER' | 'PAYSLIPS',
  21. status: undefined | 'UPLOADED' | 'VERIFYING' | 'VERIFIED' | 'FAILED',
  22. comments?: Array<{
  23. userName: string,
  24. comment: string,
  25. timeStamps: Date,
  26. }>,
  27. document: File,
  28. }>,
  29. }