mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
讨论置顶功能,修复setup
This commit is contained in:
1 parent
32a6d2de13
commit
d184ca9ea1
20 files changed
+136
-173
No files matched your search
@@ -231,6 +231,7 @@ export interface DomainDoc extends Dictionary<any> {
|
||||
roles: Dictionary<string>,
|
||||
gravatar: string,
|
||||
bulletin: string,
|
||||
pidCounter: number,
|
||||
}
|
||||
|
||||
// Message
|
||||
@@ -262,10 +263,14 @@ export interface Ddoc {
|
||||
_id: ObjectID,
|
||||
docType: number,
|
||||
docId: ObjectID,
|
||||
parentType: number,
|
||||
parentId: ObjectID | number,
|
||||
owner: number,
|
||||
title: string,
|
||||
content: string,
|
||||
ip: string,
|
||||
pin: boolean,
|
||||
highlight: boolean,
|
||||
}
|
||||
|
||||
// Discussion reply
|
||||
@@ -277,6 +282,7 @@ export interface Drdoc {
|
||||
parentId: ObjectID,
|
||||
owner: number,
|
||||
ip: string,
|
||||
content: string,
|
||||
reply: Drrdoc[],
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user