-
Notifications
You must be signed in to change notification settings - Fork 563
feat(docs): add starport types doc #1852
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
Conversation
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.
approved with the requested changes, I anticipate that this reference doc will be a big hit, thank you @Pantani
| coin | - | no | sdk.Coin | Cosmos SDK coin type | | ||
| array.coin | coins | no | sdk.Coins | List of Cosmos SDK coin types | | ||
|
||
You cannot use some types as an index, like the map and list indexes and module params. |
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.
You cannot use some types as an index, like the map and list indexes and module params. | |
**Note:** Map, list indexes, and module params cannot be used as an index. |
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.
@Pantani let's be clear on which types can be used as an index (the command descriptions maybe?) or is this good?
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.
I added it to the table. There is a section called Index
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.
now my turn for another suggested change
| coin | - | no | sdk.Coin | Cosmos SDK coin type | | ||
| array.coin | coins | no | sdk.Coins | List of Cosmos SDK coin types | | ||
|
||
You cannot use some types as an index, like the map and list indexes and module params. |
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.
@Pantani let's be clear on which types can be used as an index (the command descriptions maybe?) or is this good?
* add starport types doc * improve docs commands * fix binary name * edits to new awesome types reference doc * change order * types * add info about supported index types Co-authored-by: İlker G. Öztürk <ilkergoktugozturk@gmail.com> Co-authored-by: Barrie Byron <barriebyron@gmail.com>
Description
Create a doc to show all starport supported types.