2021-01-31 02:43:13 +13:00
|
|
|
export interface I_ExtraDocumentFields{
|
|
|
|
id: string
|
|
|
|
value: any
|
|
|
|
type?: string
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface I_OpenedDocument{
|
|
|
|
_id: string
|
|
|
|
_rev?: string
|
|
|
|
editMode: boolean
|
|
|
|
type: string
|
|
|
|
icon: string
|
|
|
|
hasEdits: boolean
|
2021-04-14 03:18:42 +12:00
|
|
|
isFinished: boolean
|
2021-01-31 02:43:13 +13:00
|
|
|
isNew: boolean
|
|
|
|
url: string
|
2021-04-11 13:40:03 +12:00
|
|
|
scrollDistance?: number
|
2021-01-31 02:43:13 +13:00
|
|
|
extraFields: I_ExtraDocumentFields[]
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface I_ShortenedDocument{
|
|
|
|
label: string
|
|
|
|
icon: string
|
|
|
|
type: string
|
|
|
|
url: string
|
|
|
|
expandable?: boolean
|
|
|
|
_id: string
|
2021-03-03 08:59:56 +13:00
|
|
|
hierarchicalPath?: string
|
2021-02-28 06:00:57 +13:00
|
|
|
isCategory?: boolean
|
2021-04-06 12:15:17 +12:00
|
|
|
isMinor?: boolean
|
2021-01-31 02:43:13 +13:00
|
|
|
parentDoc: string | false
|
|
|
|
children: I_ShortenedDocument[]
|
|
|
|
extraFields: I_ExtraDocumentFields[]
|
2021-03-03 08:59:56 +13:00
|
|
|
color?: string
|
2021-03-03 14:10:05 +13:00
|
|
|
tags?: string[]
|
2021-03-03 08:59:56 +13:00
|
|
|
|
|
|
|
activeTypeSearch?: boolean
|
|
|
|
filteredOut?: boolean
|
|
|
|
exactMatch?: boolean
|
|
|
|
fullWordMatch?: number
|
|
|
|
partialWordMatch?: number
|
2021-05-06 11:59:10 +12:00
|
|
|
isMatched?: boolean
|
2021-01-31 02:43:13 +13:00
|
|
|
}
|