chore: update frontend buf generator

This commit is contained in:
Steven
2024-03-06 00:22:31 +08:00
parent 29043f63b6
commit 7c16b1e00f
5 changed files with 8 additions and 4 deletions

View File

@ -24,20 +24,24 @@ plugins:
# reference: https://github.com/deeplay-io/nice-grpc/blob/master/packages/nice-grpc-web/README.md#using-ts-proto
opt:
- env=browser
- useOptionals=messages
- outputServices=generic-definitions
- outputJsonMethods=false
- useExactTypes=false
- esModuleInterop=true
- stringEnums=true
# Generate types for the extension client.
- plugin: buf.build/community/stephenh-ts-proto:v1.152.1
out: ../frontend/extension/src/types/proto
# reference: https://github.com/deeplay-io/nice-grpc/blob/master/packages/nice-grpc-web/README.md#using-ts-proto
opt:
- env=browser
- useOptionals=messages
- outputServices=generic-definitions
- outputJsonMethods=false
- useExactTypes=false
- esModuleInterop=true
- stringEnums=true
- plugin: buf.build/community/pseudomuto-doc:v1.5.1
out: gen
opt: