core: 修复additional_files列表显示错误

This commit is contained in:
undefined committed 2021-02-03 22:11:11 +08:00
1 parent 6cfd226e1e
commit 91f364d1b9
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "hydrooj", "name": "hydrooj",
"version": "2.17.9", "version": "2.17.10",
"bin": "bin/hydrooj.js", "bin": "bin/hydrooj.js",
"main": "dist/loader.js", "main": "dist/loader.js",
"typings": "dist/loader.d.ts", "typings": "dist/loader.d.ts",
+2
View File
@@ -39,6 +39,7 @@ export namespace Pdoc {
tag: [], tag: [],
category: [], category: [],
data: [], data: [],
additional_file: [],
hidden: true, hidden: true,
config: {}, config: {},
acMsg: '', acMsg: '',
@@ -76,6 +77,7 @@ export const PROJECTION_LIST: Pdoc.Field[] = [
export const PROJECTION_PUBLIC: Pdoc.Field[] = [ export const PROJECTION_PUBLIC: Pdoc.Field[] = [
...PROJECTION_LIST, ...PROJECTION_LIST,
'content', 'html', 'data', 'config', 'acMsg', 'content', 'html', 'data', 'config', 'acMsg',
'additional_file',
]; ];
export async function add( export async function add(