Refactored pages/api/assignments to mongodb
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { ObjectId } from "mongodb";
|
||||
import {Module} from ".";
|
||||
import {InstructorGender, ShuffleMap} from "./exam";
|
||||
import {PermissionType} from "./permissions";
|
||||
@@ -6,6 +7,7 @@ export type User = StudentUser | TeacherUser | CorporateUser | AgentUser | Admin
|
||||
export type UserStatus = "active" | "disabled" | "paymentDue";
|
||||
|
||||
export interface BasicUser {
|
||||
_id: ObjectId;
|
||||
email: string;
|
||||
name: string;
|
||||
profilePicture: string;
|
||||
|
||||
Reference in New Issue
Block a user