Update bindings tests

This commit is contained in:
Lea Anthony
2024-01-07 20:11:34 +11:00
parent 6d8a004f4a
commit b6dc199993
74 changed files with 510 additions and 445 deletions
@@ -2,6 +2,7 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import {Call} from '@wailsio/runtime';
/**
* @function Greet
@@ -9,5 +10,5 @@
* @returns {Promise<string>}
**/
export async function Greet(name) {
return wails.CallByID(1411160069, ...Array.prototype.slice.call(arguments, 0));
return Call.ByID(1411160069, ...Array.prototype.slice.call(arguments, 0));
}
@@ -2,6 +2,7 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import {Call} from '@wailsio/runtime';
/**
* @function Greet
@@ -9,5 +10,5 @@
* @returns {Promise<string>}
**/
export async function Greet(name) {
return wails.CallByName("main.GreetService.Greet", ...Array.prototype.slice.call(arguments, 0));
return Call.ByName("main.GreetService.Greet", ...Array.prototype.slice.call(arguments, 0));
}
@@ -2,11 +2,12 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import {Call} from '@wailsio/runtime';
/**
* @function Hello
* @returns {Promise<void>}
**/
export async function Hello() {
return wails.CallByID(4249972365, ...Array.prototype.slice.call(arguments, 0));
return Call.ByID(4249972365, ...Array.prototype.slice.call(arguments, 0));
}
@@ -2,11 +2,12 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import {Call} from '@wailsio/runtime';
/**
* @function Hello
* @returns {Promise<void>}
**/
export async function Hello() {
return wails.CallByName("main.OtherService.Hello", ...Array.prototype.slice.call(arguments, 0));
return Call.ByName("main.OtherService.Hello", ...Array.prototype.slice.call(arguments, 0));
}