feat: add contextual actions to command palette

This commit is contained in:
Xylight committed 2024-10-18 14:06:30 -07:00
1 parent 3738413184
commit d7d8981cc6
6 files changed
+176 -69

No files matched your search

+4
View File
@@ -1,5 +1,6 @@
// See https://kit.svelte.dev/docs/types#app
import type { Action } from '$lib/components/ui/navbar/commands/actions'
import type { ComponentType, SvelteComponent } from 'svelte'
// for information about these interfaces
@@ -16,6 +17,9 @@ declare global {
props?: any
}
}
contextual?: {
actions?: Action[]
}
}
interface PageState {
openImage: url