Skip to content

Commit

Permalink
adding types (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
av-alexistoledo authored Oct 23, 2023
1 parent b0e422b commit 58bd815
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions lib/av_client/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ export interface OptionContent {
selectable?: boolean;
exclusive?: boolean;
voteLimit?: number;
color?: string;
randomizeChildren?: boolean;
}

Expand Down Expand Up @@ -551,3 +552,13 @@ export interface CheckedEventArgs {
reference: string;
amount: number;
}

export interface PartialResult {
reference: string;
results: PartialCount;
}

export interface PartialCount {
count: number;
percentage: number;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aion-dk/js-client",
"version": "3.1.10",
"version": "3.1.11",
"license": "MIT",
"description": "Assembly Voting JS client",
"main": "dist/lib/av_client.js",
Expand Down

0 comments on commit 58bd815

Please sign in to comment.