Skip to main content

Interface: SessionData

Defined in: Data/Models/User/Session.ts:7

Session data interface This represents the serialized state of all UI stores that needs to be persisted

Properties

bible?

optional bible?: object

Defined in: Data/Models/User/Session.ts:9

activeTabIndex?

optional activeTabIndex?: number

currentBook?

optional currentBook?: number

currentChapter?

optional currentChapter?: number

openTabs?

optional openTabs?: object[]

selectedVerseId?

optional selectedVerseId?: number | null


book?

optional book?: object

Defined in: Data/Models/User/Session.ts:33

activeTabIndex?

optional activeTabIndex?: number

currentSectionByTab?

optional currentSectionByTab?: Record<string, number | null>

openTabs?

optional openTabs?: object[]


commentary?

optional commentary?: object

Defined in: Data/Models/User/Session.ts:18

activeTabIndex?

optional activeTabIndex?: number

browseModeByTab?

optional browseModeByTab?: Record<string, boolean>

currentVerseId?

optional currentVerseId?: number | null

openTabs?

optional openTabs?: object[]


dictionary?

optional dictionary?: object

Defined in: Data/Models/User/Session.ts:26

activeTabIndex?

optional activeTabIndex?: number

currentEntryByTab?

optional currentEntryByTab?: Record<string, string>

openTabs?

optional openTabs?: object[]


dockviewState?

optional dockviewState?: Record<string, any>

Defined in: Data/Models/User/Session.ts:61


layout?

optional layout?: object

Defined in: Data/Models/User/Session.ts:53

activeLayout?

optional activeLayout?: string

paneSizes?

optional paneSizes?: Record<string, number>

paneVisibility?

optional paneVisibility?: Record<string, boolean>


notes?

optional notes?: object

Defined in: Data/Models/User/Session.ts:40

expandedNodeIds?

optional expandedNodeIds?: number[]

selectedNoteId?

optional selectedNoteId?: number | null


optional search?: object

Defined in: Data/Models/User/Session.ts:46

query?

optional query?: string

searchType?

optional searchType?: string

selectedModules?

optional selectedModules?: string[]


ui?

optional ui?: object

Defined in: Data/Models/User/Session.ts:64

fontSize?

optional fontSize?: number

notesDirectory?

optional notesDirectory?: string

notesPanels?

optional notesPanels?: Record<string, { currentNotePath?: string; currentPath?: string; sideTab?: "browse" | "recent"; view?: "browser" | "editor"; }>

preferences?

optional preferences?: object

preferences.globalFontScale?

optional globalFontScale?: number

preferences.theme?

optional theme?: string

preferences.typography?

optional typography?: object

preferences.typography.bibleFontFamily?

optional bibleFontFamily?: string

preferences.typography.bibleFontSize?

optional bibleFontSize?: number

preferences.typography.bibleLineHeight?

optional bibleLineHeight?: number

preferences.typography.studyFontFamily?

optional studyFontFamily?: string

preferences.typography.studyFontSize?

optional studyFontSize?: number

preferences.typography.studyLineHeight?

optional studyLineHeight?: number

preferences.typography.uiFontFamily?

optional uiFontFamily?: string

preferences.typography.uiFontSize?

optional uiFontSize?: number

preferences.typography.uiLineHeight?

optional uiLineHeight?: number

preferences.uiControlFontSize?

optional uiControlFontSize?: number

recentFiles?

optional recentFiles?: object[]

textSettings?

optional textSettings?: object

textSettings.bible?

optional bible?: object

textSettings.bible.fontFamily

fontFamily: string

textSettings.bible.fontSize

fontSize: number

textSettings.bible.lineHeight

lineHeight: number

textSettings.book?

optional book?: object

textSettings.book.fontFamily

fontFamily: string

textSettings.book.fontSize

fontSize: number

textSettings.book.lineHeight

lineHeight: number

textSettings.commentary?

optional commentary?: object

textSettings.commentary.fontFamily

fontFamily: string

textSettings.commentary.fontSize

fontSize: number

textSettings.commentary.lineHeight

lineHeight: number

textSettings.dictionary?

optional dictionary?: object

textSettings.dictionary.fontFamily

fontFamily: string

textSettings.dictionary.fontSize

fontSize: number

textSettings.dictionary.lineHeight

lineHeight: number

textSettingsCustomized?

optional textSettingsCustomized?: object

textSettingsCustomized.bible?

optional bible?: boolean

textSettingsCustomized.book?

optional book?: boolean

textSettingsCustomized.commentary?

optional commentary?: boolean

textSettingsCustomized.dictionary?

optional dictionary?: boolean

theme?

optional theme?: string