mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-24 01:38:26 +02:00
Merge pull request #227
* Search and install plugins PoC * Checksum * Tab sidebar for settings * Fix nested tabs, and tweaks * Table for plugin results * Deep links working * Focus window during deep links * Merge branch 'master' into plugin-directory * More stuff
This commit is contained in:
@@ -1,2 +1,14 @@
|
||||
import { invoke } from '@tauri-apps/api/core';
|
||||
import { PluginSearchResponse, PluginVersion } from './bindings/gen_search';
|
||||
|
||||
export * from './bindings/gen_models';
|
||||
export * from './bindings/gen_events';
|
||||
export * from './bindings/gen_search';
|
||||
|
||||
export async function searchPlugins(query: string) {
|
||||
return invoke<PluginSearchResponse>('plugin:yaak-plugins|search', { query });
|
||||
}
|
||||
|
||||
export async function installPlugin(plugin: PluginVersion) {
|
||||
return invoke<string>('plugin:yaak-plugins|install', { plugin });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user