mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-29 16:45:13 +02:00
global typedef for settings
This commit is contained in:
parent
93a0b39ecb
commit
eb8050fd1d
15
navigator-vue/src/globalTypedefs.js
Normal file
15
navigator-vue/src/globalTypedefs.js
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* @typedef {Object} NavigatorSettings
|
||||
* @property {Object} directoryView - Settings for directory view
|
||||
* @property {String} directoryView.view - 'list' - list view, otherwise grid view
|
||||
* @property {Boolean} directoryView.showHidden - show/hide entries starting with '.'
|
||||
* @property {Boolean} directoryView.separateDirs - separate or interleave files and directories while sorting
|
||||
* @property {Object} directoryView.cols - Booleans of whether or not to show columns in list view
|
||||
* @property {Boolean} directoryView.cols.mode - Show the mode column
|
||||
* @property {Boolean} directoryView.cols.owner - Show the owner column
|
||||
* @property {Boolean} directoryView.cols.group - Show the group column
|
||||
* @property {Boolean} directoryView.cols.size - Show the size column
|
||||
* @property {Boolean} directoryView.cols.ctime - Show the creation time column
|
||||
* @property {Boolean} directoryView.cols.mtime - Show the modification time column
|
||||
* @property {Boolean} directoryView.cols.atime - Show the access time column
|
||||
*/
|
@ -3,7 +3,7 @@
|
||||
*/
|
||||
export const notificationsInjectionKey = Symbol();
|
||||
/**
|
||||
* Settings object
|
||||
* Settings object {@link NavigatorSettings}
|
||||
*/
|
||||
export const settingsInjectionKey = Symbol();
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user