Skip to main content

UserVoteCondition

A condition to be used against UserVote object types. All fields are tested for equality and combined with a logical ‘and.’

input UserVoteCondition {
userId: UUID
objectId: UUID
objectType: Int
spaceId: UUID
voteType: Int
votedAt: Datetime
}

Fields

UserVoteCondition.userId ● UUID scalar

Checks for equality with the object’s userId field.

UserVoteCondition.objectId ● UUID scalar

Checks for equality with the object’s objectId field.

UserVoteCondition.objectType ● Int scalar

Checks for equality with the object’s objectType field.

UserVoteCondition.spaceId ● UUID scalar

Checks for equality with the object’s spaceId field.

UserVoteCondition.voteType ● Int scalar

Checks for equality with the object’s voteType field.

UserVoteCondition.votedAt ● Datetime scalar

Checks for equality with the object’s votedAt field.

Member Of

userVotes query ● userVotesConnection query