This commit is contained in:
parent
1d0d3230c9
commit
f96b8a8266
9 changed files with 154 additions and 7 deletions
4
frontend/wailsjs/go/main/App.d.ts
vendored
4
frontend/wailsjs/go/main/App.d.ts
vendored
|
|
@ -4,4 +4,8 @@ import {main} from '../models';
|
|||
|
||||
export function ListProcessors():Promise<Array<main.ListProcessorsResponse>>;
|
||||
|
||||
export function LoadCurrentBuffer():Promise<string>;
|
||||
|
||||
export function ProcessText(arg1:main.ProcessTextRequest):Promise<void>;
|
||||
|
||||
export function SaveCurrentBuffer(arg1:string):Promise<void>;
|
||||
|
|
|
|||
|
|
@ -6,6 +6,14 @@ export function ListProcessors() {
|
|||
return window['go']['main']['App']['ListProcessors']();
|
||||
}
|
||||
|
||||
export function LoadCurrentBuffer() {
|
||||
return window['go']['main']['App']['LoadCurrentBuffer']();
|
||||
}
|
||||
|
||||
export function ProcessText(arg1) {
|
||||
return window['go']['main']['App']['ProcessText'](arg1);
|
||||
}
|
||||
|
||||
export function SaveCurrentBuffer(arg1) {
|
||||
return window['go']['main']['App']['SaveCurrentBuffer'](arg1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue