Skip to main content

VotesCount

A cached tally of votes on one content object in one space (sum of upvotes/downvotes/etc).

type VotesCount implements Node {
nodeId: ID!
id: Int!
objectId: UUID!
objectType: Int!
spaceId: UUID!
upvotes: BigInt!
downvotes: BigInt!
}

Fields

VotesCount.nodeId ● ID! non-null scalar

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

VotesCount.id ● Int! non-null scalar

VotesCount.objectId ● UUID! non-null scalar

VotesCount.objectType ● Int! non-null scalar

VotesCount.spaceId ● UUID! non-null scalar

VotesCount.upvotes ● BigInt! non-null scalar

VotesCount.downvotes ● BigInt! non-null scalar

Interfaces

Node interface

An object with a globally unique ID.

Returned By

votesCount query ● votesCountByNodeId query ● votesCountByObjectIdAndObjectTypeAndSpaceId query ● votesCounts query

Member Of

VotesCountsConnection object ● VotesCountsEdge object