mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-18 01:36:08 +08:00
21 lines
455 B
TypeScript
21 lines
455 B
TypeScript
import { CopyInFile } from './sandbox';
|
|
|
|
export interface Execute {
|
|
execute: string;
|
|
clean: () => Promise<any>;
|
|
copyIn: Record<string, CopyInFile>;
|
|
time?: number;
|
|
}
|
|
|
|
export interface CheckConfig {
|
|
execute: string;
|
|
input: CopyInFile;
|
|
output: CopyInFile;
|
|
user_stdout: CopyInFile;
|
|
user_stderr: CopyInFile;
|
|
copyIn: Record<string, CopyInFile>;
|
|
score: number;
|
|
detail: boolean;
|
|
env?: Record<string, string>;
|
|
}
|