PartyBallotUpdatesResponse

The payload to notify updates on a party ballot.

type PartyBallotUpdatesResponse {
action: String!
isSubmitted: Boolean!
newValue: String
partyBallotId: ID!
proposalId: ID
remainingBudget: Decimal!
remainingBudgetAsMoney: Money!
totalBudgetSpentAsMoney: Money!
}

Fields#

action (String!)#

Indicates the action type performed by the user. Possiblevalues could be: funding, removeFunding, react, submit.

isSubmitted (Boolean!)#

Determined if party has submitted his ballot or not. If party has submitted his ballot this field will be true, otherwise the field will be false.

newValue (String)#

The new value after the user action. Possible values are: null | LIKE | NEUTRAL | DISLIKE | true | false depending on action.

partyBallotId (ID!)#

Party ballot identifier. Is the same ID used to subscribe.

proposalId (ID)#

The party ballot proposal identifier. Notice that a party ballot is conformed by several proposals able to be voted. This field indicates which specific party ballot proposals was updated.

remainingBudget (Decimal!)#

DEPRECATED Deprecated in favor of [remainingBudgetAsMoney]

The total remaining budget in the party ballot. Every time the party funds or remove funding a proposal the party proposal budget is updated.

remainingBudgetAsMoney (Money!)#

totalBudgetSpentAsMoney (Money!)#