mirror of
https://github.com/foomo/gotsrpc.git
synced 2026-08-16 23:00:23 +00:00
fix: add arg
This commit is contained in:
@@ -115,8 +115,8 @@ export class ServiceClient {
|
||||
async interfaceSlice(v:Array<any>|null):Promise<Array<any>|null> {
|
||||
return (await this.transport<{0:Array<any>|null}>("InterfaceSlice", [v]))[0]
|
||||
}
|
||||
async nestedType():Promise<github_com_foomo_gotsrpc_v2_example_basic_service.NestedType|null> {
|
||||
return (await this.transport<{0:github_com_foomo_gotsrpc_v2_example_basic_service.NestedType|null}>("NestedType", []))[0]
|
||||
async nestedType(v:github_com_foomo_gotsrpc_v2_example_basic_service.NestedType|null):Promise<github_com_foomo_gotsrpc_v2_example_basic_service.NestedType|null> {
|
||||
return (await this.transport<{0:github_com_foomo_gotsrpc_v2_example_basic_service.NestedType|null}>("NestedType", [v]))[0]
|
||||
}
|
||||
async string(v:string):Promise<string> {
|
||||
return (await this.transport<{0:string}>("String", [v]))[0]
|
||||
|
||||
@@ -86,16 +86,15 @@ export enum IntTypeMapValue {
|
||||
IntATypeMapValue = 1,
|
||||
IntBTypeMapValue = 2,
|
||||
}
|
||||
// github.com/foomo/gotsrpc/v2/example/basic/service.NestedSubType
|
||||
export interface NestedSubType {
|
||||
Foo:string;
|
||||
}
|
||||
// github.com/foomo/gotsrpc/v2/example/basic/service.NestedType
|
||||
export type NestedType = Record<github_com_foomo_gotsrpc_v2_example_basic_service.NestedTypeKey,Record<github_com_foomo_gotsrpc_v2_example_basic_service.NestedTypeSubKey,Array<github_com_foomo_gotsrpc_v2_example_basic_service.NestedSubType|null>|null>|null>
|
||||
export type NestedType = Record<github_com_foomo_gotsrpc_v2_example_basic_service.NestedTypeKey,Record<github_com_foomo_gotsrpc_v2_example_basic_service.NestedTypeSubKey,Array<github_com_foomo_gotsrpc_v2_example_basic_service.NestedTypeSubType|null>|null>|null>
|
||||
// github.com/foomo/gotsrpc/v2/example/basic/service.NestedTypeKey
|
||||
export type NestedTypeKey = string
|
||||
// github.com/foomo/gotsrpc/v2/example/basic/service.NestedTypeSubKey
|
||||
export type NestedTypeSubKey = string
|
||||
// github.com/foomo/gotsrpc/v2/example/basic/service.NestedTypeSubType
|
||||
export interface NestedTypeSubType {
|
||||
}
|
||||
// github.com/foomo/gotsrpc/v2/example/basic/service.StringType
|
||||
export enum StringType {
|
||||
StringAType = "A",
|
||||
|
||||
Reference in New Issue
Block a user