[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:
Fabio Massaioli
2024-03-22 21:18:04 +11:00
committed by GitHub
co-authored by Lea Anthony
parent f0986a6441
commit 45b2681dfc
56 changed files with 364 additions and 372 deletions
@@ -9,7 +9,7 @@ import {Call} from '@wailsio/runtime';
*/
/**
* Greet does XYZ
* Greet does XYZ
* @function Greet
* @param name {string}
* @param title {Title}
@@ -20,7 +20,7 @@ export async function Greet(name, title) {
}
/**
* NewPerson creates a new person
* NewPerson creates a new person
* @function NewPerson
* @param name {string}
* @returns {Promise<Person>}
@@ -8,7 +8,7 @@
*/
/**
* Greet does XYZ
* Greet does XYZ
* @function Greet
* @param name {string}
* @param title {Title}
@@ -19,7 +19,7 @@ export async function Greet(name, title) {
}
/**
* NewPerson creates a new person
* NewPerson creates a new person
* @function NewPerson
* @param name {string}
* @returns {Promise<Person>}
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
*/
/**
* Greet does XYZ
* Greet does XYZ
* @function Greet
* @param name {string}
* @param title {servicesTitle}
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
*/
/**
* Greet does XYZ
* Greet does XYZ
* @function Greet
* @param name {string}
* @param title {servicesTitle}
@@ -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>}
@@ -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>}
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
*/
/**
* Yay does this and that
* Yay does this and that
* @function Yay
* @returns {Promise<Address>}
**/
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
*/
/**
* Yay does this and that
* Yay does this and that
* @function Yay
* @returns {Promise<Address>}
**/
@@ -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>}
@@ -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>}
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
*/
/**
* Yay does this and that
* Yay does this and that
* @function Yay
* @returns {Promise<Address>}
**/
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
*/
/**
* Yay does this and that
* Yay does this and that
* @function Yay
* @returns {Promise<Address>}
**/
@@ -5,7 +5,7 @@
import {Call} from '@wailsio/runtime';
/**
* Greet someone
* Greet someone
* @function Greet
* @param name {string}
* @returns {Promise<string>}
@@ -5,7 +5,7 @@
import {Call} from '@wailsio/runtime';
/**
* Greet someone
* Greet someone
* @function Greet
* @param name {string}
* @returns {Promise<string>}
@@ -5,7 +5,7 @@
import {Call} from '@wailsio/runtime';
/**
* Greet someone
* Greet someone
* @function Greet
* @param name {string}
* @returns {Promise<string>}
@@ -15,7 +15,7 @@ export async function Greet(name) {
}
/**
* Greet someone
* Greet someone
* @function GreetWithContext
* @param name {string}
* @returns {Promise<string>}
@@ -5,7 +5,7 @@
import {Call} from '@wailsio/runtime';
/**
* Greet someone
* Greet someone
* @function Greet
* @param name {string}
* @returns {Promise<string>}
@@ -15,7 +15,7 @@ export async function Greet(name) {
}
/**
* Greet someone
* Greet someone
* @function GreetWithContext
* @param name {string}
* @returns {Promise<string>}
@@ -4,7 +4,7 @@
import {Call} from '@wailsio/runtime';
/**
/**
* @function Greet
* @param name {string}
* @returns {Promise<string>}
@@ -4,7 +4,7 @@
import {Call} from '@wailsio/runtime';
/**
/**
* @function Greet
* @param name {string}
* @returns {Promise<string>}
@@ -4,7 +4,7 @@
import {Call} from '@wailsio/runtime';
/**
/**
* @function Hello
* @returns {Promise<void>}
**/
@@ -4,7 +4,7 @@
import {Call} from '@wailsio/runtime';
/**
/**
* @function Hello
* @returns {Promise<void>}
**/

Some files were not shown because too many files have changed in this diff Show More