mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: validator: support 'convert' as default action
fix #505, close #506
This commit is contained in:
1 parent
02c0d7aaa8
commit
1124ed9506
7 files changed
+11
-9
No files matched your search
@@ -385,12 +385,12 @@ export class ContestEditHandler extends Handler {
|
||||
@param('pids', Types.Content)
|
||||
@param('rated', Types.Boolean)
|
||||
@param('code', Types.String, true)
|
||||
@param('autoHide', Types.Boolean, true)
|
||||
@param('autoHide', Types.Boolean)
|
||||
@param('assign', Types.CommaSeperatedArray, true)
|
||||
@param('lock', Types.UnsignedInt, true)
|
||||
@param('contestDuration', Types.Float, true)
|
||||
@param('maintainer', Types.NumericArray, true)
|
||||
@param('allowViewCode', Types.Boolean, true)
|
||||
@param('allowViewCode', Types.Boolean)
|
||||
async postUpdate(
|
||||
domainId: string, tid: ObjectID, beginAtDate: string, beginAtTime: string, duration: number,
|
||||
title: string, content: string, rule: string, _pids: string, rated = false,
|
||||
|
||||
Reference in new issue
Block a user