using stream: schema to fetch in App

This commit is contained in:
lloydzhou
2024-09-28 15:05:41 +08:00
parent d84d51b475
commit 2d920f7ccc
7 changed files with 204 additions and 122 deletions

1
app/global.d.ts vendored
View File

@@ -12,6 +12,7 @@ declare module "*.svg";
declare interface Window {
__TAURI__?: {
convertFileSrc(url: string, protocol?: string): string;
writeText(text: string): Promise<void>;
invoke(command: string, payload?: Record<string, unknown>): Promise<any>;
dialog: {