Skip to content

Latest commit

 

History

History
124 lines (72 loc) · 3.43 KB

competitionvote.md

File metadata and controls

124 lines (72 loc) · 3.43 KB

@daostack/clientGlobalsCompetitionVote

Class: CompetitionVote

Hierarchy

  • CompetitionVote

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

+ new CompetitionVote(idOrOpts: string | ICompetitionVoteState, context: Arc): CompetitionVote

Defined in schemes/competition.ts:757

Parameters:

Name Type
idOrOpts string | ICompetitionVoteState
context Arc

Returns: CompetitionVote

Properties

context

context: Arc

Defined in schemes/competition.ts:759


Optional id

id? : undefined | string

Defined in schemes/competition.ts:756


Optional staticState

staticState? : ICompetitionVoteState

Defined in schemes/competition.ts:757

Methods

setStaticState

setStaticState(opts: ICompetitionVoteState): void

Defined in schemes/competition.ts:769

Parameters:

Name Type
opts ICompetitionVoteState

Returns: void


Static search

search(context: Arc, options: ICompetitionVoteQueryOptions, apolloQueryOptions: IApolloQueryOptions): Observable‹CompetitionVote[]›

Defined in schemes/competition.ts:727

Parameters:

Name Type Default
context Arc -
options ICompetitionVoteQueryOptions {}
apolloQueryOptions IApolloQueryOptions {}

Returns: Observable‹CompetitionVote[]›

Object literals

Static fragments

fragments: object

Defined in schemes/competition.ts:716

CompetitionVoteFields

CompetitionVoteFields: any = gqlfragment CompetitionVoteFields on CompetitionVote { id createdAt reputation voter proposal { id } suggestion { id } }

Defined in schemes/competition.ts:717