prevent stale data in caches, add toolbar actions (#18 )

This commit is contained in:
FTCHD
2026-01-10 20:17:32 +07:00
parent cea94d0a4e
commit 712d0e5811
4 changed files with 145 additions and 8 deletions
+2
View File
@@ -20,6 +20,7 @@ export type ToolbarCommandId =
| 'remoteAutoMount'
| 'quit'
| 'remoteList'
| 'vfs'
export type ToolbarActionArgs = Record<string, any>
@@ -32,6 +33,7 @@ export interface ToolbarActionResult {
export interface ToolbarActionOnPressContext {
openWindow: (options: { name: string; url: string }) => Promise<unknown>
updateText: (text: string) => void
}
export interface ToolbarActionPath {