Skip to content

Commit 07e4345

Browse files
Merge pull request #314 from aion-dk/add-id-to-types
Add ID to option and contest types
2 parents 290fab7 + 2510676 commit 07e4345

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/av_client/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ export type availableCustomRulesets = 'belgian_ballot_rules';
390390
export interface ContestContent {
391391
reference: string
392392
title: LocalString
393+
id?: number
393394
subtitle?: LocalString
394395
question?: LocalString
395396
description?: LocalString
@@ -420,6 +421,7 @@ export interface ResultType {
420421
export interface OptionContent {
421422
reference: string
422423
code: number
424+
id?: number
423425
title: LocalString
424426
subtitle?: LocalString
425427
description?: LocalString

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "4.4.0",
2+
"version": "4.4.1",
33
"name": "@aion-dk/js-client",
44
"license": "MIT",
55
"description": "Assembly Voting JS client",

0 commit comments

Comments
 (0)