Files
teleport/buf-ts.gen.yaml
T
Grzegorz Zdunek bf6a52ee59 Generate bigint for int64 proto type in Connect (#41250)
* Use bigint representation for int64 types

It's a protobuf-ts default, using number is not recommended.
JavaScript numbers do not cover the range of all possible int64 values.

* Use bigint where needed

* Replace deprecated tshd types

* Add custom serialization for bigint

* Change `LoginPasswordlessCredentialResponse` index field to int32

* Use int32 in tshd check too

* Revert "Change `LoginPasswordlessCredentialResponse` index field to int32"

This reverts commit 788e770681.

Revert "Use int32 in tshd check too"

This reverts commit 6a9e6a0c87.
2024-05-07 13:16:24 +00:00

14 lines
270 B
YAML

version: v1
plugins:
- name: typescript
out: gen/proto/ts
opt: eslint_disable,add_pb_suffix,server_grpc1,ts_nocheck
path:
- npm
- exec
- --yes
- --package=@protobuf-ts/[email protected]
- --
- protoc-gen-ts
strategy: all