-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d8a004
commit b6dc199
Showing
74 changed files
with
509 additions
and
444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
v3/internal/parser/testdata/enum/frontend/bindings/main/GreetService.name.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL | ||
// This file is automatically generated. DO NOT EDIT | ||
|
||
import {Call} from '@wailsio/runtime'; | ||
import {Person} from './models'; | ||
import {Title} from './models'; | ||
|
||
// Greet does XYZ | ||
export async function Greet(name: string, title: Title) : Promise<string> { | ||
return wails.CallByName("main.GreetService.Greet", name, title); | ||
return Call.ByName("main.GreetService.Greet", name, title); | ||
} | ||
|
||
// NewPerson creates a new person | ||
export async function NewPerson(name: string) : Promise<Person> { | ||
return wails.CallByName("main.GreetService.NewPerson", name); | ||
return Call.ByName("main.GreetService.NewPerson", name); | ||
} | ||
|
5 changes: 3 additions & 2 deletions
5
v3/internal/parser/testdata/enum/frontend/bindings/main/GreetService.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL | ||
// This file is automatically generated. DO NOT EDIT | ||
|
||
import {Call} from '@wailsio/runtime'; | ||
import {Person} from './models'; | ||
import {Title} from './models'; | ||
|
||
// Greet does XYZ | ||
export async function Greet(name: string, title: Title) : Promise<string> { | ||
return wails.CallByID(1411160069, name, title); | ||
return Call.ByID(1411160069, name, title); | ||
} | ||
|
||
// NewPerson creates a new person | ||
export async function NewPerson(name: string) : Promise<Person> { | ||
return wails.CallByID(1661412647, name); | ||
return Call.ByID(1661412647, name); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...al/parser/testdata/enum_from_imported_package/frontend/bindings/main/GreetService.name.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL | ||
// This file is automatically generated. DO NOT EDIT | ||
|
||
import {Call} from '@wailsio/runtime'; | ||
import {Title as servicesTitle} from '../services/models'; | ||
|
||
// Greet does XYZ | ||
export async function Greet(name: string, title: servicesTitle) : Promise<string> { | ||
return wails.CallByName("main.GreetService.Greet", name, title); | ||
return Call.ByName("main.GreetService.Greet", name, title); | ||
} | ||
|
3 changes: 2 additions & 1 deletion
3
...nternal/parser/testdata/enum_from_imported_package/frontend/bindings/main/GreetService.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL | ||
// This file is automatically generated. DO NOT EDIT | ||
|
||
import {Call} from '@wailsio/runtime'; | ||
import {Title as servicesTitle} from '../services/models'; | ||
|
||
// Greet does XYZ | ||
export async function Greet(name: string, title: servicesTitle) : Promise<string> { | ||
return wails.CallByID(1411160069, name, title); | ||
return Call.ByID(1411160069, name, title); | ||
} | ||
|
1 change: 0 additions & 1 deletion
1
v3/internal/parser/testdata/function_from_imported_package/boundmethods.got.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...arser/testdata/function_from_imported_package/frontend/bindings/main/GreetService.name.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL | ||
// This file is automatically generated. DO NOT EDIT | ||
|
||
import {Call} from '@wailsio/runtime'; | ||
import {Person} from './models'; | ||
|
||
// Greet does XYZ | ||
export async function Greet(name: string) : Promise<string> { | ||
return wails.CallByName("main.GreetService.Greet", name); | ||
return Call.ByName("main.GreetService.Greet", name); | ||
} | ||
|
||
// NewPerson creates a new person | ||
export async function NewPerson(name: string) : Promise<Person> { | ||
return wails.CallByName("main.GreetService.NewPerson", name); | ||
return Call.ByName("main.GreetService.NewPerson", name); | ||
} | ||
|
5 changes: 3 additions & 2 deletions
5
...nal/parser/testdata/function_from_imported_package/frontend/bindings/main/GreetService.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL | ||
// This file is automatically generated. DO NOT EDIT | ||
|
||
import {Call} from '@wailsio/runtime'; | ||
import {Person} from './models'; | ||
|
||
// Greet does XYZ | ||
export async function Greet(name: string) : Promise<string> { | ||
return wails.CallByID(1411160069, name); | ||
return Call.ByID(1411160069, name); | ||
} | ||
|
||
// NewPerson creates a new person | ||
export async function NewPerson(name: string) : Promise<Person> { | ||
return wails.CallByID(1661412647, name); | ||
return Call.ByID(1661412647, name); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...r/testdata/function_from_imported_package/frontend/bindings/services/OtherService.name.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL | ||
// This file is automatically generated. DO NOT EDIT | ||
|
||
import {Call} from '@wailsio/runtime'; | ||
import {Address} from './models'; | ||
|
||
// Yay does this and that | ||
export async function Yay() : Promise<Address> { | ||
return wails.CallByName("services.OtherService.Yay"); | ||
return Call.ByName("services.OtherService.Yay"); | ||
} | ||
|
3 changes: 2 additions & 1 deletion
3
...parser/testdata/function_from_imported_package/frontend/bindings/services/OtherService.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL | ||
// This file is automatically generated. DO NOT EDIT | ||
|
||
import {Call} from '@wailsio/runtime'; | ||
import {Address} from './models'; | ||
|
||
// Yay does this and that | ||
export async function Yay() : Promise<Address> { | ||
return wails.CallByID(1592414782); | ||
return Call.ByID(1592414782); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...estdata/function_from_nested_imported_package/frontend/bindings/main/GreetService.name.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL | ||
// This file is automatically generated. DO NOT EDIT | ||
|
||
import {Call} from '@wailsio/runtime'; | ||
import {Person} from './models'; | ||
|
||
// Greet does XYZ | ||
export async function Greet(name: string) : Promise<string> { | ||
return wails.CallByName("main.GreetService.Greet", name); | ||
return Call.ByName("main.GreetService.Greet", name); | ||
} | ||
|
||
// NewPerson creates a new person | ||
export async function NewPerson(name: string) : Promise<Person> { | ||
return wails.CallByName("main.GreetService.NewPerson", name); | ||
return Call.ByName("main.GreetService.NewPerson", name); | ||
} | ||
|
Oops, something went wrong.