mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-06-28 05:25:11 +00:00
Upgrade Wails to 2.7.1
This commit is contained in:
5
frontend/wailsjs/go/app/App.d.ts
generated
vendored
5
frontend/wailsjs/go/app/App.d.ts
generated
vendored
@ -1,7 +1,6 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
import {app} from '../models';
|
||||
import {map[string]app} from '../models';
|
||||
import {menu} from '../models';
|
||||
import {context} from '../models';
|
||||
import {ui} from '../models';
|
||||
@ -36,7 +35,7 @@ export function GetIndexes(arg1:string,arg2:string,arg3:string):Promise<app.GetI
|
||||
|
||||
export function HostLogs(arg1:string,arg2:string):Promise<app.HostLogsResult>;
|
||||
|
||||
export function Hosts():Promise<map[string]app.Host>;
|
||||
export function Hosts():Promise<{[key: string]: app.Host}>;
|
||||
|
||||
export function InsertItems(arg1:string,arg2:string,arg3:string,arg4:string):Promise<any>;
|
||||
|
||||
@ -76,7 +75,7 @@ export function SaveShellOuput(arg1:string):Promise<void>;
|
||||
|
||||
export function SaveShellScript(arg1:string,arg2:string,arg3:string,arg4:string,arg5:boolean):Promise<app.SaveShellScriptResult>;
|
||||
|
||||
export function SavedQueries():Promise<map[string]app.SavedQuery>;
|
||||
export function SavedQueries():Promise<{[key: string]: app.SavedQuery}>;
|
||||
|
||||
export function Settings():Promise<app.Settings>;
|
||||
|
||||
|
8
frontend/wailsjs/runtime/runtime.d.ts
generated
vendored
8
frontend/wailsjs/runtime/runtime.d.ts
generated
vendored
@ -225,3 +225,11 @@ export function Hide(): void;
|
||||
// [Show](https://wails.io/docs/reference/runtime/intro#show)
|
||||
// Shows the application.
|
||||
export function Show(): void;
|
||||
|
||||
// [ClipboardGetText](https://wails.io/docs/reference/runtime/clipboard#clipboardgettext)
|
||||
// Returns the current text stored on clipboard
|
||||
export function ClipboardGetText(): Promise<string>;
|
||||
|
||||
// [ClipboardSetText](https://wails.io/docs/reference/runtime/clipboard#clipboardsettext)
|
||||
// Sets a text on the clipboard
|
||||
export function ClipboardSetText(text: string): Promise<boolean>;
|
||||
|
14
frontend/wailsjs/runtime/runtime.js
generated
14
frontend/wailsjs/runtime/runtime.js
generated
@ -37,11 +37,11 @@ export function LogFatal(message) {
|
||||
}
|
||||
|
||||
export function EventsOnMultiple(eventName, callback, maxCallbacks) {
|
||||
window.runtime.EventsOnMultiple(eventName, callback, maxCallbacks);
|
||||
return window.runtime.EventsOnMultiple(eventName, callback, maxCallbacks);
|
||||
}
|
||||
|
||||
export function EventsOn(eventName, callback) {
|
||||
EventsOnMultiple(eventName, callback, -1);
|
||||
return EventsOnMultiple(eventName, callback, -1);
|
||||
}
|
||||
|
||||
export function EventsOff(eventName, ...additionalEventNames) {
|
||||
@ -49,7 +49,7 @@ export function EventsOff(eventName, ...additionalEventNames) {
|
||||
}
|
||||
|
||||
export function EventsOnce(eventName, callback) {
|
||||
EventsOnMultiple(eventName, callback, 1);
|
||||
return EventsOnMultiple(eventName, callback, 1);
|
||||
}
|
||||
|
||||
export function EventsEmit(eventName) {
|
||||
@ -192,3 +192,11 @@ export function Hide() {
|
||||
export function Show() {
|
||||
window.runtime.Show();
|
||||
}
|
||||
|
||||
export function ClipboardGetText() {
|
||||
return window.runtime.ClipboardGetText();
|
||||
}
|
||||
|
||||
export function ClipboardSetText(text) {
|
||||
return window.runtime.ClipboardSetText(text);
|
||||
}
|
Reference in New Issue
Block a user