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

32 行
999 B

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