Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aptos-indexer-protos package for TS #112

Merged
merged 2 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions buf.ts.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,18 @@ version: v1
managed:
enabled: true
plugins:
- name: ts
out: typescript/
- plugin: buf.build/community/stephenh-ts-proto
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have documentation on how to regenerate the protobuf types somewhere?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah in the top level README. I clean that up a bit further in the PR after this.

out: typescript/aptos-indexer-protos/src
opt:
# See an explanation of these options here:
# https://github.com/stephenh/ts-proto
- outputServices=grpc-js
- outputIndex=true
- esModuleInterop=true
- forceLong=bigint
- useOptionals=all
- addGrpcMetadata=true
- useAsyncIterable=true
- useMapType=true
# https://github.com/stephenh/ts-proto/issues/449
- useExactTypes=false
21 changes: 0 additions & 21 deletions package.json

This file was deleted.

Loading