mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 01:38:19 +08:00
core: 修复additional_files列表显示错误
This commit is contained in:
1 parent
6cfd226e1e
commit
91f364d1b9
2 files changed
+3
-1
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "2.17.9",
|
||||
"version": "2.17.10",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "dist/loader.js",
|
||||
"typings": "dist/loader.d.ts",
|
||||
|
||||
@@ -39,6 +39,7 @@ export namespace Pdoc {
|
||||
tag: [],
|
||||
category: [],
|
||||
data: [],
|
||||
additional_file: [],
|
||||
hidden: true,
|
||||
config: {},
|
||||
acMsg: '',
|
||||
@@ -76,6 +77,7 @@ export const PROJECTION_LIST: Pdoc.Field[] = [
|
||||
export const PROJECTION_PUBLIC: Pdoc.Field[] = [
|
||||
...PROJECTION_LIST,
|
||||
'content', 'html', 'data', 'config', 'acMsg',
|
||||
'additional_file',
|
||||
];
|
||||
|
||||
export async function add(
|
||||
|
||||
Reference in new issue
Block a user