Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | export interface Attachment {
_id: string
page: Page
creator: User
filePath: string
fileName: string
originalName: string
fileFormat: string
fileSize: number
createdAt: string
url: string
}
export interface Backlink {
_id: string
page: Page
fromPage: Page
fromRevision: Revision
updatedAt: string
}
export interface Notification {
_id: string
user: string
targetModel: 'Page'
target: Page
action: 'COMMENT' | 'LIKE'
status: string
actionUsers: User[]
createdAt: string
}
export interface Page {
_id: string
path: string
revision: Revision
redirectTo: string
status: string
creator: User
lastUpdateUser: User
liker: User[]
seenUsers: User[]
commentCount: number
bookmarkCount?: number
}
export interface Revision {
_id: string
path: string
body: string
format: string
author: User
createdAt: string
}
export interface Share {
uuid: string
page: Page | null
status: string
creator: User
secretKeyword: string
accesses: ShareAccess[]
createdAt: string
updatedAt: string
}
export interface ShareAccess {
share: Share
tracking: Tracking
createdAt: string
lastAccessedAt: string
}
export interface Tracking {
userAgent: string
remoteAddress: string
createdAt: string
}
export interface User {
_id: string
image: string
name: string
username: string
}
export interface Comment {
_id: string
page: string
creator: string
revision: string
comment: string
commentPosition: number
createdAt: string
} |