mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-21 21:24:05 +02:00
refactor: cleaning and formatting
This commit is contained in:
parent
e674e0a0ec
commit
00749a9d3a
12 changed files with 479 additions and 120 deletions
|
@ -27,8 +27,12 @@ export default defineNuxtPlugin(() => {
|
|||
});
|
||||
},
|
||||
|
||||
async getImagePath(path: string): Promise<string> {
|
||||
return await invoke<string>("get_image_path", { path });
|
||||
async deleteHistoryItem(id: string): Promise<void> {
|
||||
await invoke<void>("delete_history_item", { id });
|
||||
},
|
||||
|
||||
async clearHistory(): Promise<void> {
|
||||
await invoke<void>("clear_history");
|
||||
},
|
||||
|
||||
async writeAndPaste(data: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue