mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[v3] Fix binding generator output and import paths (#3334)
* Fix relative import path computation * Fix models output path * Add option to generate bindings using bundled runtime * Update binding example * Fix testdata * Update changelog --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
co-authored by
Lea Anthony
parent
f0986a6441
commit
45b2681dfc
+2
-2
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
|
||||
*/
|
||||
|
||||
/**
|
||||
* Greet does XYZ
|
||||
* Greet does XYZ
|
||||
* @function Greet
|
||||
* @param name {string}
|
||||
* @returns {Promise<string>}
|
||||
@@ -18,7 +18,7 @@ export async function Greet(name) {
|
||||
}
|
||||
|
||||
/**
|
||||
* NewPerson creates a new person
|
||||
* NewPerson creates a new person
|
||||
* @function NewPerson
|
||||
* @param name {string}
|
||||
* @returns {Promise<Person>}
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
|
||||
*/
|
||||
|
||||
/**
|
||||
* Greet does XYZ
|
||||
* Greet does XYZ
|
||||
* @function Greet
|
||||
* @param name {string}
|
||||
* @returns {Promise<string>}
|
||||
@@ -18,7 +18,7 @@ export async function Greet(name) {
|
||||
}
|
||||
|
||||
/**
|
||||
* NewPerson creates a new person
|
||||
* NewPerson creates a new person
|
||||
* @function NewPerson
|
||||
* @param name {string}
|
||||
* @returns {Promise<Person>}
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
|
||||
*/
|
||||
|
||||
/**
|
||||
* Yay does this and that
|
||||
* Yay does this and that
|
||||
* @function Yay
|
||||
* @returns {Promise<Address>}
|
||||
**/
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
|
||||
*/
|
||||
|
||||
/**
|
||||
* Yay does this and that
|
||||
* Yay does this and that
|
||||
* @function Yay
|
||||
* @returns {Promise<Address>}
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user