orgnote-api 0.41.10 → 0.41.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/constants/i18n-keys.d.ts
CHANGED
|
@@ -233,6 +233,8 @@ export declare const I18N: {
|
|
|
233
233
|
DELETE_FILE: DefaultCommands.DELETE_FILE;
|
|
234
234
|
CONFIRM_FILE_DELETION: DefaultCommands.CONFIRM_FILE_DELETION;
|
|
235
235
|
NEW_FILE_PATH: DefaultCommands.NEW_FILE_PATH;
|
|
236
|
+
SHOW_MOBILE_FILE_SEARCH: DefaultCommands.SHOW_MOBILE_FILE_SEARCH;
|
|
237
|
+
HIDE_MOBILE_FILE_SEARCH: DefaultCommands.HIDE_MOBILE_FILE_SEARCH;
|
|
236
238
|
OPEN_NOTE: DefaultCommands.OPEN_NOTE;
|
|
237
239
|
TABS: DefaultCommands.TABS;
|
|
238
240
|
SHOW_TAB_SWITCHER: DefaultCommands.SHOW_TAB_SWITCHER;
|
|
@@ -66,6 +66,8 @@ export declare enum DefaultCommands {
|
|
|
66
66
|
DELETE_FILE = "delete file",
|
|
67
67
|
CONFIRM_FILE_DELETION = "are you sure you want to delete file?",
|
|
68
68
|
NEW_FILE_PATH = "new file path",
|
|
69
|
+
SHOW_MOBILE_FILE_SEARCH = "show mobile file search",
|
|
70
|
+
HIDE_MOBILE_FILE_SEARCH = "hide mobile file search",
|
|
69
71
|
OPEN_NOTE = "open note",
|
|
70
72
|
TABS = "show tabs",
|
|
71
73
|
SHOW_TAB_SWITCHER = "show tab switcher",
|
|
@@ -80,6 +80,8 @@ export var DefaultCommands;
|
|
|
80
80
|
DefaultCommands["DELETE_FILE"] = "delete file";
|
|
81
81
|
DefaultCommands["CONFIRM_FILE_DELETION"] = "are you sure you want to delete file?";
|
|
82
82
|
DefaultCommands["NEW_FILE_PATH"] = "new file path";
|
|
83
|
+
DefaultCommands["SHOW_MOBILE_FILE_SEARCH"] = "show mobile file search";
|
|
84
|
+
DefaultCommands["HIDE_MOBILE_FILE_SEARCH"] = "hide mobile file search";
|
|
83
85
|
// Notes commands
|
|
84
86
|
DefaultCommands["OPEN_NOTE"] = "open note";
|
|
85
87
|
// Windows & buffers
|
|
@@ -5,6 +5,8 @@ export interface FileManagerStore {
|
|
|
5
5
|
path: Ref<string>;
|
|
6
6
|
focusFile: ShallowRef<DiskFile | undefined>;
|
|
7
7
|
focusDirPath: Ref<string>;
|
|
8
|
+
searchQuery: Ref<string>;
|
|
9
|
+
mobileFileSearchActive: Ref<boolean>;
|
|
8
10
|
deleteFile: (path?: string) => Promise<void>;
|
|
9
11
|
createFolder: (path?: string) => Promise<void>;
|
|
10
12
|
createFile: (path?: string) => Promise<void>;
|
|
@@ -30,6 +30,7 @@ export declare const ORG_NOTE_CONFIG_SCHEMA: import("valibot").SchemaWithPipe<re
|
|
|
30
30
|
readonly lightThemeName: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").LiteralSchema<any, undefined>], undefined>, undefined>;
|
|
31
31
|
readonly enableAnimations: import("valibot").BooleanSchema<undefined>;
|
|
32
32
|
readonly notificationTimeout: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
33
|
+
readonly tooltipDelay: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
33
34
|
readonly minNotificationLevel: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"error", undefined>, import("valibot").LiteralSchema<"warn", undefined>, import("valibot").LiteralSchema<"info", undefined>, import("valibot").LiteralSchema<"debug", undefined>, import("valibot").LiteralSchema<"trace", undefined>], undefined>, undefined>;
|
|
34
35
|
readonly persistantPanes: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
35
36
|
readonly persistantPanesSaveDelay: import("valibot").NumberSchema<undefined>;
|
package/models/orgnote-config.js
CHANGED
|
@@ -32,6 +32,7 @@ export const ORG_NOTE_CONFIG_SCHEMA = pipe(objectWithRest({
|
|
|
32
32
|
lightThemeName: optional(union([string(), literal(null)])),
|
|
33
33
|
enableAnimations: boolean(),
|
|
34
34
|
notificationTimeout: optional(number()),
|
|
35
|
+
tooltipDelay: optional(number()),
|
|
35
36
|
minNotificationLevel: optional(LOG_LEVEL_SCHEMA),
|
|
36
37
|
persistantPanes: optional(boolean()),
|
|
37
38
|
persistantPanesSaveDelay: number(),
|