mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: 跨站发送题目
This commit is contained in:
1 parent
61a941b989
commit
bf81742fb5
8 files changed
+169
-75
No files matched your search
@@ -37,7 +37,7 @@ export interface SystemKeys {
|
||||
'problem.categories': string,
|
||||
'session.keys': string[],
|
||||
'session.secure': boolean,
|
||||
'session.expire_seconds': number,
|
||||
'session.saved_expire_seconds': number,
|
||||
'session.unsaved_expire_seconds': number,
|
||||
'user.quota': number,
|
||||
}
|
||||
@@ -408,9 +408,7 @@ export interface ContestRule {
|
||||
}
|
||||
|
||||
export type ContestRules = Dictionary<ContestRule>;
|
||||
|
||||
export type ProblemImporter = (url: string, handler: any) =>
|
||||
Promise<[Pdoc, fs.ReadStream?]> | [Pdoc, fs.ReadStream?];
|
||||
export type ProblemImporter = (url: string, handler: any) => Promise<[Pdoc, fs.ReadStream?]> | [Pdoc, fs.ReadStream?];
|
||||
|
||||
export interface Script {
|
||||
run: (args: any, report: Function) => any,
|
||||
|
||||
Reference in new issue
Block a user