remove domain system

This commit is contained in:
masnn committed 2020-04-03 20:56:08 +08:00
1 parent 7fa4a58abe
commit fc26af30ef
31 files changed
+709 -1242

No files matched your search

+1 -7
View File
@@ -6,17 +6,13 @@ export class User {
unameLower: string
salt: string
hash: string
priv: number
domainId: string = 'system'
displayName: string = ''
nAccept: number = 0
nSubmit: number = 0
perm: string = '0'
constructor(user, domainUser) { }
hasPriv(priv) { }
constructor(user) { }
hasPerm(perm) { }
checkPassword(password) { }
async joinDomain(role, joinAt) { }
}
export interface TestCase {
time: number,
@@ -26,7 +22,6 @@ export interface TestCase {
}
export interface Record {
_id: import('bson').ObjectID,
domainId: string,
pid: string | boolean,
creator: number,
lang: string,
@@ -43,7 +38,6 @@ export interface Record {
}
export interface Problem {
_id: number | string,
domainId: string,
title: string,
content: string,
timeLimit: number,