We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de160b3 commit 13b61e9Copy full SHA for 13b61e9
react-app/codegen.yml
@@ -6,6 +6,7 @@ generates:
6
config:
7
enumValues:
8
ProposalStatus: ../models/cosmos/gov#ProposalStatus
9
+ ProposalVoteOption: ../models/cosmos/gov#VoteOption
10
plugins:
11
- "typescript"
12
- "typescript-operations"
react-app/src/models/cosmos/gov.ts
@@ -23,6 +23,13 @@ export enum ProposalStatus {
23
Invalid = "PROPOSAL_STATUS_INVALID",
24
}
25
26
+export enum VoteOption {
27
+ Abstain = "VOTE_OPTION_ABSTAIN",
28
+ No = "VOTE_OPTION_NO",
29
+ NoWithVeto = "VOTE_OPTION_NO_WITH_VETO",
30
+ Yes = "VOTE_OPTION_YES",
31
+}
32
+
33
export enum ProposalType {
34
Signaling = "Signaling",
35
ParameterChange = "ParameterChange",
0 commit comments