test: move nullable to test

This commit is contained in:
Kevin Franklin Kim
2026-03-02 17:54:57 +01:00
40 changed files with 733 additions and 427 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
/* eslint:disable */
// Code generated by gotsrpc https://github.com/foomo/gotsrpc/v2 - DO NOT EDIT.
// Code generated by gotsrpc https://github.com/foomo/gotsrpc/v2 - DO NOT EDIT.
import * as github_com_foomo_gotsrpc_v2_example_basic_service from './service-vo'; // ./client/src/service-client.ts to ./client/src/service-vo.ts
export class ServiceClient {
+67 -67
View File
@@ -1,5 +1,5 @@
/* eslint:disable */
// Code generated by gotsrpc https://github.com/foomo/gotsrpc/v2 - DO NOT EDIT.
// Code generated by gotsrpc https://github.com/foomo/gotsrpc/v2 - DO NOT EDIT.
import * as github_com_foomo_gotsrpc_v2_example_basic_service from './service-vo'; // ./client/src/service-vo.ts to ./client/src/service-vo.ts
// github.com/foomo/gotsrpc/v2/example/basic/service.Float32Type
@@ -12,8 +12,6 @@ export enum Float32TypeMapKey {
Float32ATypeMapKey = 1,
Float32BTypeMapKey = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.Float32TypeMapTyped
export type Float32TypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.Float32TypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.Float32TypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.Float32TypeMapValue
export enum Float32TypeMapValue {
Float32ATypeMapValue = 1,
@@ -29,8 +27,6 @@ export enum Float64TypeMapKey {
Float64ATypeMapKey = 1,
Float64BTypeMapKey = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.Float64TypeMapTyped
export type Float64TypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.Float64TypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.Float64TypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.Float64TypeMapValue
export enum Float64TypeMapValue {
Float64ATypeMapValue = 1,
@@ -46,8 +42,6 @@ export enum Int32TypeMapKey {
Int32ATypeMapKey = 1,
Int32BTypeMapKey = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.Int32TypeMapTyped
export type Int32TypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.Int32TypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.Int32TypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.Int32TypeMapValue
export enum Int32TypeMapValue {
Int32ATypeMapValue = 1,
@@ -63,8 +57,6 @@ export enum Int64TypeMapKey {
Int64ATypeMapKey = 1,
Int64BTypeMapKey = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.Int64TypeMapTyped
export type Int64TypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.Int64TypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.Int64TypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.Int64TypeMapValue
export enum Int64TypeMapValue {
Int64ATypeMapValue = 1,
@@ -80,22 +72,11 @@ export enum IntTypeMapKey {
IntATypeMapKey = 1,
IntBTypeMapKey = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.IntTypeMapTyped
export type IntTypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.IntTypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.IntTypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.IntTypeMapValue
export enum IntTypeMapValue {
IntATypeMapValue = 1,
IntBTypeMapValue = 2,
}
// 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.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",
@@ -106,13 +87,77 @@ export enum StringTypeMapKey {
StringATypeMapKey = "A",
StringBTypeMapKey = "B",
}
// github.com/foomo/gotsrpc/v2/example/basic/service.StringTypeMapTyped
export type StringTypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.StringTypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.StringTypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.StringTypeMapValue
export enum StringTypeMapValue {
StringATypeMapValue = "A",
StringBTypeMapValue = "B",
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt32Type
export enum UInt32Type {
UInt32AType = 1,
UInt32BType = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt32TypeMapKey
export enum UInt32TypeMapKey {
UInt32ATypeMapKey = 1,
UInt32BTypeMapKey = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt32TypeMapValue
export enum UInt32TypeMapValue {
UInt32ATypeMapValue = 1,
UInt32BTypeMapValue = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt64Type
export enum UInt64Type {
UInt64AType = 1,
UInt64BType = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt64TypeMapKey
export enum UInt64TypeMapKey {
UInt64ATypeMapKey = 1,
UInt64BTypeMapKey = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt64TypeMapValue
export enum UInt64TypeMapValue {
UInt64ATypeMapValue = 1,
UInt64BTypeMapValue = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UIntType
export enum UIntType {
UIntAType = 1,
UIntBType = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UIntTypeMapKey
export enum UIntTypeMapKey {
UIntATypeMapKey = 1,
UIntBTypeMapKey = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UIntTypeMapValue
export enum UIntTypeMapValue {
UIntATypeMapValue = 1,
UIntBTypeMapValue = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.Float32TypeMapTyped
export type Float32TypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.Float32TypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.Float32TypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.Float64TypeMapTyped
export type Float64TypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.Float64TypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.Float64TypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.Int32TypeMapTyped
export type Int32TypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.Int32TypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.Int32TypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.Int64TypeMapTyped
export type Int64TypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.Int64TypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.Int64TypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.IntTypeMapTyped
export type IntTypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.IntTypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.IntTypeMapValue>
// 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.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.StringTypeMapTyped
export type StringTypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.StringTypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.StringTypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.Struct
export interface Struct {
Int:number;
@@ -135,55 +180,10 @@ export interface Struct {
Float64TypeMapTyped:Record<github_com_foomo_gotsrpc_v2_example_basic_service.Float64TypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.Float64TypeMapValue>|null;
StringTypeMapTyped:Record<github_com_foomo_gotsrpc_v2_example_basic_service.StringTypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.StringTypeMapValue>|null;
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt32Type
export enum UInt32Type {
UInt32AType = 1,
UInt32BType = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt32TypeMapKey
export enum UInt32TypeMapKey {
UInt32ATypeMapKey = 1,
UInt32BTypeMapKey = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt32TypeMapTyped
export type UInt32TypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.UInt32TypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.UInt32TypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt32TypeMapValue
export enum UInt32TypeMapValue {
UInt32ATypeMapValue = 1,
UInt32BTypeMapValue = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt64Type
export enum UInt64Type {
UInt64AType = 1,
UInt64BType = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt64TypeMapKey
export enum UInt64TypeMapKey {
UInt64ATypeMapKey = 1,
UInt64BTypeMapKey = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt64TypeMapTyped
export type UInt64TypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.UInt64TypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.UInt64TypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.UInt64TypeMapValue
export enum UInt64TypeMapValue {
UInt64ATypeMapValue = 1,
UInt64BTypeMapValue = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UIntType
export enum UIntType {
UIntAType = 1,
UIntBType = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UIntTypeMapKey
export enum UIntTypeMapKey {
UIntATypeMapKey = 1,
UIntBTypeMapKey = 2,
}
// github.com/foomo/gotsrpc/v2/example/basic/service.UIntTypeMapTyped
export type UIntTypeMapTyped = Record<github_com_foomo_gotsrpc_v2_example_basic_service.UIntTypeMapKey,github_com_foomo_gotsrpc_v2_example_basic_service.UIntTypeMapValue>
// github.com/foomo/gotsrpc/v2/example/basic/service.UIntTypeMapValue
export enum UIntTypeMapValue {
UIntATypeMapValue = 1,
UIntBTypeMapValue = 2,
}
// end of common js