Initial Commit
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
// Error codes (side-effect registration)
|
||||
import "./error-codes.js";
|
||||
|
||||
// Election
|
||||
export {
|
||||
type ElectionBus,
|
||||
ElectionEngine,
|
||||
type ElectionEngineConfig,
|
||||
type ElectionMode,
|
||||
type ElectionResult,
|
||||
} from "./election/election-engine.js";
|
||||
// Errors
|
||||
export {
|
||||
NETWORK_GOV_CODES,
|
||||
NetworkGovError,
|
||||
type NetworkGovErrorCode,
|
||||
} from "./error-codes.js";
|
||||
// Plugin
|
||||
export {
|
||||
GovernancePlugin,
|
||||
type GovernancePluginConfig,
|
||||
} from "./plugin/governance-plugin.js";
|
||||
// Reputation
|
||||
export {
|
||||
type ReputationEventKind,
|
||||
ReputationTracker,
|
||||
type ReputationTrackerConfig,
|
||||
} from "./reputation/reputation-tracker.js";
|
||||
// Scoring
|
||||
export {
|
||||
type CandidateMetrics,
|
||||
type CandidateScore,
|
||||
CandidateScorer,
|
||||
type ScoringWeights,
|
||||
} from "./scoring/candidate-scorer.js";
|
||||
// Transition
|
||||
export {
|
||||
type TransitionBus,
|
||||
TransitionManager,
|
||||
type TransitionManagerConfig,
|
||||
type TransitionState,
|
||||
} from "./transition/transition-manager.js";
|
||||
// Voting
|
||||
export {
|
||||
type Vote,
|
||||
type VoteTally,
|
||||
VotingManager,
|
||||
type VotingManagerConfig,
|
||||
} from "./voting/voting-manager.js";
|
||||
Reference in New Issue
Block a user