2023-12-22 20:01:42 +11:00
|
|
|
// @ts-check
|
|
|
|
|
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
|
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
|
|
2024-01-07 20:11:34 +11:00
|
|
|
import {Call} from '@wailsio/runtime';
|
2023-12-22 20:01:42 +11:00
|
|
|
/**
|
|
|
|
|
* @typedef {import('./models').Person} Person
|
|
|
|
|
* @typedef {import('./models').Title} Title
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
2024-03-22 11:18:04 +01:00
|
|
|
* Greet does XYZ
|
2023-12-22 20:01:42 +11:00
|
|
|
* @function Greet
|
|
|
|
|
* @param name {string}
|
|
|
|
|
* @param title {Title}
|
|
|
|
|
* @returns {Promise<string>}
|
|
|
|
|
**/
|
2023-12-23 08:49:58 +11:00
|
|
|
export async function Greet(name, title) {
|
2024-01-07 20:11:34 +11:00
|
|
|
return Call.ByID(1411160069, ...Array.prototype.slice.call(arguments, 0));
|
2023-12-22 20:01:42 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
2024-03-22 11:18:04 +01:00
|
|
|
* NewPerson creates a new person
|
2023-12-22 20:01:42 +11:00
|
|
|
* @function NewPerson
|
|
|
|
|
* @param name {string}
|
|
|
|
|
* @returns {Promise<Person>}
|
|
|
|
|
**/
|
2023-12-23 08:49:58 +11:00
|
|
|
export async function NewPerson(name) {
|
2024-01-07 20:11:34 +11:00
|
|
|
return Call.ByID(1661412647, ...Array.prototype.slice.call(arguments, 0));
|
2023-12-22 20:01:42 +11:00
|
|
|
}
|