mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: add type hint for langs field
This commit is contained in:
1 file changed
+14
-14
@@ -32,20 +32,20 @@ langs:
|
|||||||
- ~ Compiling be be ignored if compile option wasn't set
|
- ~ Compiling be be ignored if compile option wasn't set
|
||||||
- ~ Key marked with a ? means the option is optional
|
- ~ Key marked with a ? means the option is optional
|
||||||
- (name):
|
- (name):
|
||||||
disabled?: whether to disable this language
|
disabled?: (boolean) whether to disable this language
|
||||||
hidden?: won't show in the language selection
|
hidden?: (boolean) won't show in the language selection
|
||||||
compile?: Compile Command
|
compile?: (string) Compile Command
|
||||||
code_file?: Where to write code file when compiling, defaults to `foo.[name]`
|
code_file?: (string) Where to write code file when compiling, defaults to `foo.[name]`
|
||||||
execute: Command to execute the program
|
execute: (string) Command to execute the program
|
||||||
highlight?: PrismJS highlight mode
|
highlight?: (string) PrismJS highlight mode
|
||||||
monaco?: Monaco editor mode
|
monaco?: (string) Monaco editor mode
|
||||||
time_limit_rate?: Time limit rate
|
time_limit_rate?: (number) Time limit rate
|
||||||
target?: Compiler output file, defaults to `foo`
|
target?: (string) Compiler output file, defaults to `foo`
|
||||||
display: Display name
|
display: (string) Display name
|
||||||
compile_time_limit?: Compile time limit, in milliseconds
|
compile_time_limit?: (number) Compile time limit, in milliseconds
|
||||||
compile_memory_limit?: Compile memory limit, in MB
|
compile_memory_limit?: (number) Compile memory limit, in MB
|
||||||
address_space_limit?: Enable address space memory limit as CCF did
|
address_space_limit?: (boolean) Enable address space memory limit as CCF did
|
||||||
process_limit?: Limit the number of thread
|
process_limit?: (number) Limit the number of thread
|
||||||
bash:
|
bash:
|
||||||
display: Bash
|
display: Bash
|
||||||
code_file: foo.sh
|
code_file: foo.sh
|
||||||
|
|||||||
Reference in new issue
Block a user