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
@@ -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>}
|
||||
|
||||
+2
-2
@@ -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>}
|
||||
|
||||
Vendored
+1
-1
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
|
||||
*/
|
||||
|
||||
/**
|
||||
* Greet does XYZ
|
||||
* Greet does XYZ
|
||||
* @function Greet
|
||||
* @param name {string}
|
||||
* @param title {servicesTitle}
|
||||
|
||||
Vendored
+1
-1
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
|
||||
*/
|
||||
|
||||
/**
|
||||
* Greet does XYZ
|
||||
* Greet does XYZ
|
||||
* @function Greet
|
||||
* @param name {string}
|
||||
* @param title {servicesTitle}
|
||||
|
||||
Vendored
+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>}
|
||||
**/
|
||||
|
||||
+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>}
|
||||
**/
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
import {Call} from '@wailsio/runtime';
|
||||
|
||||
/**
|
||||
* Greet someone
|
||||
* Greet someone
|
||||
* @function Greet
|
||||
* @param name {string}
|
||||
* @returns {Promise<string>}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
import {Call} from '@wailsio/runtime';
|
||||
|
||||
/**
|
||||
* Greet someone
|
||||
* Greet someone
|
||||
* @function Greet
|
||||
* @param name {string}
|
||||
* @returns {Promise<string>}
|
||||
|
||||
+2
-2
@@ -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>}
|
||||
|
||||
Vendored
+2
-2
@@ -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>}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
import {Call} from '@wailsio/runtime';
|
||||
|
||||
/**
|
||||
/**
|
||||
* @function Greet
|
||||
* @param name {string}
|
||||
* @returns {Promise<string>}
|
||||
|
||||
Vendored
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
import {Call} from '@wailsio/runtime';
|
||||
|
||||
/**
|
||||
/**
|
||||
* @function Greet
|
||||
* @param name {string}
|
||||
* @returns {Promise<string>}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
import {Call} from '@wailsio/runtime';
|
||||
|
||||
/**
|
||||
/**
|
||||
* @function Hello
|
||||
* @returns {Promise<void>}
|
||||
**/
|
||||
|
||||
Vendored
+1
-1
@@ -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
Reference in New Issue
Block a user