plugin:yaak-models|upsert PoC

This commit is contained in:
Gregory Schier
2025-03-26 09:54:42 -07:00
parent b7f62b78b1
commit 17657a4d04
31 changed files with 255 additions and 408 deletions
+7
View File
@@ -1 +1,8 @@
import { invoke } from '@tauri-apps/api/core';
import type { AnyModel } from './bindings/gen_models';
export * from './bindings/gen_models';
export async function upsertAnyModel(model: AnyModel): Promise<String> {
return invoke<String>('plugin:yaak-models|upsert', { model });
}