-
Notifications
You must be signed in to change notification settings - Fork 44
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
Telescope upgrade #44
Merged
Merged
Changes from 30 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
09f51fb
remove ts-proto dependencies and add telescope
pyramation bf6ab10
update npm scripts
pyramation e5e00c0
codegen options
pyramation ba6a085
build option
pyramation 5a896fe
inline/extensions
pyramation 55dc8b0
codegen settings
pyramation 0690ec2
update
pyramation 266e59c
run codegen
pyramation 6010e21
eslintDisable
pyramation dd203fc
eslint-disable
pyramation 2124042
fromJSON
pyramation 0ab79fc
upgrade
pyramation 490438c
upgrade Duration types
pyramation bf952dc
enums
pyramation 4ad117f
enum spacing
pyramation 62cae4c
enum spacing
pyramation 3e0a94d
toJSON Duration
pyramation 03010b4
RPC interface comments
pyramation 52ce6a0
RPC comments
pyramation aa20326
tslint disable
pyramation 4faa92c
optionality
pyramation adbc5e9
field optionality
pyramation e900392
pagination
pyramation e5b52bb
fix Misbehavior
pyramation a95f405
context fix import as
pyramation c217be9
Merge branch 'telescope-upgrade' into telescope-with-ica
pyramation 18ed7c5
telescope with ICA
pyramation fd3b502
Merge pull request #11 from pyramation/telescope-with-ica
pyramation a34ec0e
tslint
pyramation 26d59cf
don't use DeepPartial to avoid TS compiler memory issue
pyramation 2870c30
de-dup protos
pyramation 4f5d7ba
use cosmos-sdk protos first
pyramation 5e18772
scope TS compiler memory issue to Google protos only
pyramation 79ef56c
add tendermint typings
pyramation 6c2acfd
codegen
pyramation 4e39f74
tendermint
pyramation 0e715ba
types check
pyramation a199b97
update to/from JSON for json_name proto option
pyramation 75a15fe
QueryClientImpl -> ServiceClientImpl for relevant services
pyramation 2842408
services
pyramation File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
#!/usr/bin/env node | ||
|
||
const { join } = require('path'); | ||
const telescope = require('@osmonauts/telescope').default; | ||
|
||
telescope({ | ||
protoDirs: [ | ||
'wasmd-0.28/proto', | ||
'wasmd-0.28/third_party/proto', | ||
'cosmos-sdk-0.45/proto', | ||
'cosmos-sdk-0.45/third_party/proto' | ||
], | ||
outPath: join(__dirname, '/../src'), | ||
options: { | ||
useSDKTypes: false, | ||
tsDisable: { | ||
disableAll: true | ||
}, | ||
eslintDisable: { | ||
disableAll: true | ||
}, | ||
bundle: { | ||
enabled: false | ||
}, | ||
prototypes: { | ||
includePackageVar: true, | ||
excluded: { | ||
protos: [ | ||
'cosmos/authz/v1beta1/event.proto', | ||
'cosmos/base/reflection/v2alpha1/reflection.proto', | ||
'cosmos/crypto/secp256r1/keys.proto', | ||
'ibc/core/port/v1/query.proto', | ||
'ibc/lightclients/solomachine/v2/solomachine.proto', | ||
'tendermint/libs/bits/types.proto', | ||
'google/api/httpbody.proto', | ||
'tendermint/blockchain/types.proto', | ||
'tendermint/consensus/types.proto', | ||
'tendermint/consensus/wal.proto', | ||
'tendermint/mempool/types.proto', | ||
'tendermint/p2p/conn.proto', | ||
'tendermint/p2p/pex.proto', | ||
'tendermint/privval/types.proto', | ||
'tendermint/rpc/grpc/types.proto', | ||
'tendermint/state/types.proto', | ||
'tendermint/statesync/types.proto', | ||
'tendermint/store/types.proto', | ||
'tendermint/types/canonical.proto', | ||
'tendermint/types/events.proto', | ||
] | ||
}, | ||
methods: { | ||
fromJSON: true, | ||
toJSON: true | ||
}, | ||
typingsFormat: { | ||
timestamp: 'timestamp', | ||
duration: 'duration' | ||
} | ||
}, | ||
lcdClients: { | ||
enabled: false | ||
}, | ||
rpcClients: { | ||
enabled: true, | ||
inline: true, | ||
extensions: false, | ||
camelCase: false | ||
}, | ||
aminoEncoding: { | ||
enabled: false | ||
} | ||
} | ||
}).then(() => { | ||
console.log('✨ All Done!'); | ||
}, (e) => { | ||
console.error(e); | ||
process.exit(1); | ||
}); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥰