| 14 | } from './types' |
| 15 | |
| 16 | export interface NotionContext { |
| 17 | recordMap: ExtendedRecordMap |
| 18 | components: NotionComponents |
| 19 | |
| 20 | mapPageUrl: MapPageUrlFn |
| 21 | mapImageUrl: MapImageUrlFn |
| 22 | searchNotion?: SearchNotionFn |
| 23 | isShowingSearch?: boolean |
| 24 | onHideSearch?: () => void |
| 25 | |
| 26 | rootPageId?: string |
| 27 | rootDomain?: string |
| 28 | |
| 29 | fullPage: boolean |
| 30 | darkMode: boolean |
| 31 | previewImages: boolean |
| 32 | forceCustomImages: boolean |
| 33 | showCollectionViewDropdown: boolean |
| 34 | showTableOfContents: boolean |
| 35 | minTableOfContentsItems: number |
| 36 | linkTableTitleProperties: boolean |
| 37 | isLinkCollectionToUrlProperty: boolean |
| 38 | |
| 39 | defaultPageIcon?: string | null |
| 40 | defaultPageCover?: string | null |
| 41 | defaultPageCoverPosition?: number |
| 42 | |
| 43 | zoom: any |
| 44 | } |
| 45 | |
| 46 | export interface PartialNotionContext { |
| 47 | recordMap?: ExtendedRecordMap |
nothing calls this directly
no outgoing calls
no test coverage detected