|
|
@@ -0,0 +1,28 @@ |
|
|
|
export default interface skillInformation { |
|
|
|
name: string, |
|
|
|
category: 'FRONT_END' | 'BACKEND' | 'DATABASE' | 'BENIFICIAL' |
|
|
|
}; |
|
|
|
|
|
|
|
export default interface IUser { |
|
|
|
name: string, |
|
|
|
email: string, |
|
|
|
userType: 'ADMIN' | 'MODERATOR' | 'APPLICANT', |
|
|
|
skillSet?: Array<skillInformation>, |
|
|
|
progress?: Array<{ |
|
|
|
roundType: 'PRELIMINARY' | 'TECHNICAL_INTERVIEW' | 'ASSIGNMENT' | 'FINAL_INTERVIEW', |
|
|
|
score: number, |
|
|
|
status: undefined | 'PASS' | 'FAIL' | 'PAUSED' | 'IN_PROGRESS' | 'REVIEW', |
|
|
|
answers?: Array<string>, |
|
|
|
preferredInterviewSlot?: Date, |
|
|
|
}>, |
|
|
|
userDocuments?: Array<{ |
|
|
|
type: 'ID_PROOF' | 'CERTIFICATES' | 'EXPERIENCE_LETTER' | 'PAYSLIPS', |
|
|
|
status: undefined | 'UPLOADED' | 'VERIFYING' | 'VERIFIED' | 'FAILED', |
|
|
|
comments?: Array<{ |
|
|
|
userName: string, |
|
|
|
comment: string, |
|
|
|
timeStamps: Date, |
|
|
|
}>, |
|
|
|
document: File, |
|
|
|
}>, |
|
|
|
} |