Skip to main content

Vote

A non-proposal vote on a content object (entity, relation, etc.). Used for community curation scoring outside the formal governance flow.

type Vote implements Node {
nodeId: ID!
id: Int!
voterId: UUID!
objectId: UUID!
objectType: Int!
spaceId: UUID!
vote: Int!
blockNumber: BigInt!
blockTimestamp: Datetime!
createdAt: Datetime!
}

Fields​

Vote.nodeId ● ID! non-null scalar​

A globally unique identifier. Can be used in various places throughout the system to identify this single value.

Vote.id ● Int! non-null scalar​

Vote.voterId ● UUID! non-null scalar​

Vote.objectId ● UUID! non-null scalar​

Vote.objectType ● Int! non-null scalar​

Vote.spaceId ● UUID! non-null scalar​

Vote.vote ● Int! non-null scalar​

Vote.blockNumber ● BigInt! non-null scalar​

Vote.blockTimestamp ● Datetime! non-null scalar​

Vote.createdAt ● Datetime! non-null scalar​

Interfaces​

Node interface​

An object with a globally unique ID.

Returned By​

vote query ● voteByNodeId query ● votes query

Member Of​

VotesConnection object ● VotesEdge object