Skip to content

Latest commit

 

History

History
58 lines (30 loc) · 1.15 KB

incompletePublicElectionProjection.md

File metadata and controls

58 lines (30 loc) · 1.15 KB

elections-cpl.api.hscc.bdpa.orgDocs


elections-cpl.api.hscc.bdpa.org / src/backend/db / incompletePublicElectionProjection

Variable: incompletePublicElectionProjection

const incompletePublicElectionProjection: object

A MongoDB cursor projection that transforms an internal election into a public election.

Type declaration

_id

readonly _id: false = false

closesAt

readonly closesAt: true = true

createdAt

readonly createdAt: true = true

deleted

readonly deleted: true = true

description

readonly description: true = true

election_id

readonly election_id: object

election_id.$toString

readonly $toString: "$_id" = '$_id'

opensAt

readonly opensAt: true = true

options

readonly options: true = true

title

readonly title: true = true

Source

src/backend/db.ts:197