Skip to content

Tankōbon / shared/data / DatabaseLocation

Interface: DatabaseLocation ​

Defined in: shared/data.ts:8

Where the SQLite database file currently lives.

Properties ​

directory ​

directory: string

Defined in: shared/data.ts:10

Directory holding the database file.


fileName ​

fileName: string

Defined in: shared/data.ts:12

Name of the database file inside directory (tankobon.db unless the user chose another).


filePath ​

filePath: string

Defined in: shared/data.ts:14

Full path of the database file itself, for display.


isDefault ​

isDefault: boolean

Defined in: shared/data.ts:16

Whether that's Electron's userData directory, i.e. the app's default location.


isDefaultFileName ​

isDefaultFileName: boolean

Defined in: shared/data.ts:18

Whether the file has the default name, tankobon.db.