mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
core: add title to discussion.PROJECTION_LIST
This commit is contained in:
1 parent
ae92dc8b4a
commit
b240a46057
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hydrooj",
|
"name": "hydrooj",
|
||||||
"version": "2.20.14",
|
"version": "2.20.15",
|
||||||
"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",
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ export namespace Ddoc {
|
|||||||
export const PROJECTION_LIST: Ddoc.Field[] = [
|
export const PROJECTION_LIST: Ddoc.Field[] = [
|
||||||
'_id', 'domainId', 'docType', 'docId', 'highlight',
|
'_id', 'domainId', 'docType', 'docId', 'highlight',
|
||||||
'nReply', 'views', 'pin', 'updateAt', 'owner',
|
'nReply', 'views', 'pin', 'updateAt', 'owner',
|
||||||
'parentId', 'parentType',
|
'parentId', 'parentType', 'title',
|
||||||
];
|
];
|
||||||
export const PROJECTION_PUBLIC: Ddoc.Field[] = [
|
export const PROJECTION_PUBLIC: Ddoc.Field[] = [
|
||||||
...PROJECTION_LIST, 'content', 'history',
|
...PROJECTION_LIST, 'content', 'history',
|
||||||
|
|||||||
Reference in new issue
Block a user