-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOptions.ts
35 lines (34 loc) · 824 Bytes
/
Options.ts
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
import DisplayMode from './DisplayMode'
import ItemType from './ItemType'
export default interface Options {
showImage: boolean
mustHaveImage: boolean
showIntro: boolean
showBody: boolean
articleShowImage: boolean
articleShowIntro: boolean
articleShowBody: boolean
articleShowFiles: boolean
// showFilters: boolean
// filterRegulatoryText: string
// filterNonRegulatoryText: string
// filterAllText: string
// imageStyle: string
itemType: ItemType[]
startDate?: string
endDate?: string
useCache: boolean
cacheMax: number
cacheMaxAge: number
basePath: string
itemCount: number
itemsPerPage: number
language?: string
categories?: string[]
keywords?: string[]
markItem: boolean
regulatoryText: string
nonRegulatoryText: string
displayMode: DisplayMode
id?: string
}