@assemblyvoting/types 1.1.0-beta.0 → 1.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SupportedLocale, ThemeTextColor, SupportedCurveName, ElectionTheme, ElectionCodeVisibility, BasicEventStatus,
|
|
1
|
+
import { SupportedLocale, ThemeTextColor, SupportedCurveName, ElectionTheme, ElectionCodeVisibility, BasicEventStatus, BackendAPIVotingRound, LocalString, ElectionCode, ElectionUserModules, ElectionSchedule, ElectionRedirection, ElectionRedirectMethod, ElectionSignInMethod } from "../..";
|
|
2
2
|
export type ConferenceElectionMode = "demo" | "production" | "disabled";
|
|
3
3
|
export type ConferenceElectionTrustMode = "trusted" | "verifiable";
|
|
4
4
|
export type ElectionVoterCountsProgressBar = "hidden" | "vote_count_of_total_eligibles" | "vote_count_of_active_eligibles" | "vote_weight_of_total_eligibles" | "vote_weight_of_active_eligibles";
|
|
@@ -144,7 +144,7 @@ export interface ExtendedBackendAPIElection extends Omit<BackendAPIElection, "wi
|
|
|
144
144
|
with_voting_rounds: true;
|
|
145
145
|
voters_count?: number;
|
|
146
146
|
voting_round_count?: number;
|
|
147
|
-
voting_rounds?: Array<
|
|
147
|
+
voting_rounds?: Array<BackendAPIVotingRound>;
|
|
148
148
|
}
|
|
149
149
|
export type APIElection = PrefetchedBackendAPIElection | BackendAPIElection | ExtendedBackendAPIElection;
|
|
150
150
|
export interface ConferenceElection extends BasicConferenceElection {
|