|
- export type skillInformation = {
- name: string,
- category: 'FRONT_END' | 'BACKEND' | 'DATABASE' | 'BENIFICIAL'
- };
-
- export type IUser = {
- _id: string,
- name: string,
- email: string,
- password: string,
- isVerified: boolean,
- otp: number,
- 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,
- }>,
- }
|