aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/types.ts')
-rw-r--r--apps/files/src/types.ts15
1 files changed, 11 insertions, 4 deletions
diff --git a/apps/files/src/types.ts b/apps/files/src/types.ts
index db3de13d4eb..dd2b9bbce3b 100644
--- a/apps/files/src/types.ts
+++ b/apps/files/src/types.ts
@@ -50,16 +50,18 @@ export interface PathOptions {
// User config store
export interface UserConfig {
- [key: string]: boolean|undefined
+ [key: string]: boolean | string | undefined
+ crop_image_previews: boolean
+ default_view: 'files' | 'personal'
+ grid_view: boolean
show_dialog_file_extension: boolean,
show_hidden: boolean
- crop_image_previews: boolean
+ show_mime_column: boolean
sort_favorites_first: boolean
sort_folders_first: boolean
- grid_view: boolean
- show_mime_column: boolean
}
+
export interface UserConfigStore {
userConfig: UserConfig
}
@@ -111,6 +113,11 @@ export interface ActiveStore {
activeAction: FileAction|null
}
+/**
+ * Search scope for the in-files-search
+ */
+export type SearchScope = 'filter'|'locally'|'globally'
+
export interface TemplateFile {
app: string
label: string