mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-06 03:00:06 +08:00
29 lines
719 B
JavaScript
29 lines
719 B
JavaScript
// @ts-check
|
|
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
import {main} from './models';
|
|
|
|
window.go = window.go || {};
|
|
window.go.main = {
|
|
GreetService: {
|
|
|
|
/**
|
|
* GreetService.Greet
|
|
* Greet greets a person
|
|
* @param name {string}
|
|
* @returns {Promise<string>}
|
|
**/
|
|
Greet: function(name) { wails.CallByID(1, ...Array.prototype.slice.call(arguments, 0)); },
|
|
|
|
/**
|
|
* GreetService.GreetPerson
|
|
* GreetPerson greets a person
|
|
* @param person {main.Person}
|
|
* @returns {Promise<string>}
|
|
**/
|
|
GreetPerson: function(person) { wails.CallByID(2, ...Array.prototype.slice.call(arguments, 0)); },
|
|
},
|
|
};
|
|
|