Add user pages
This commit is contained in:
@@ -2,7 +2,7 @@ import crypto from 'crypto'
|
||||
|
||||
import { readFile, writeFile, access, constants } from 'fs/promises'
|
||||
|
||||
import { MetadataProps as MetaProps, Problem, ProblemId, Solution, SolutionId, User, UserId } from '../../shared/model'
|
||||
import { MetadataProps as MetaProps, Problem, ProblemId, Solution, SolutionId, User } from '../../shared/model'
|
||||
|
||||
function once<T extends (...args: any) => any>(fn: T, message: string): T {
|
||||
let flag = false
|
||||
|
||||
@@ -24,7 +24,6 @@ import {
|
||||
} from './db/database'
|
||||
|
||||
import {
|
||||
Id,
|
||||
isAdministrator,
|
||||
isStudent,
|
||||
Opaque,
|
||||
|
||||
Reference in New Issue
Block a user