core: remove problem_copy

This commit is contained in:
undefined committed 2020-12-23 01:33:55 +08:00
1 parent 2e600b92e5
commit 1bf6fcd423
10 files changed
+114 -70

No files matched your search

+4 -8
View File
@@ -93,15 +93,11 @@ export interface User extends Dictionary<any> {
export type Udict = NumericDictionary<User>;
export interface ProblemDataSource {
host?: string, // Empty for local
domainId: string,
pid: number,
export interface ProblemData {
name: string,
size: number,
}
// ObjectID for built-in files, ProblemDataSource for other source (RemoteJudge, etc.)
export type ProblemData = ObjectID | ProblemDataSource;
export interface TestCaseConfig {
input: string,
output: string,
@@ -196,7 +192,7 @@ declare module './model/problem' {
nAccept: number,
tag: string[],
category: string[],
data?: ProblemData,
data: ProblemData[],
hidden: boolean,
config: ProblemConfig,
acMsg?: string,