import { readFile } from "node:fs/promises"; import Election from "../election.js"; import VoteType from "../VoteType.js"; const Presidential_1789 = { title: "1789 United States Presidential Election Simulator", shortname: "1789", description: "The CalubViem Press has rewritten history and called the 1789 United States Presidential Election for $WINNER!", voteType: VoteType.Electoral, svg: await readFile("assets/ElectoralCollege1789.svg", "utf-8"), candidates: [ { name: "George Washington", party: "Independent", color: "#bfab22", } ], states: { "CT": { electoralVotes: 7, odds: { "Independent": 1, } }, "DE": { electoralVotes: 3, odds: { "Independent": 1, } }, "GA": { electoralVotes: 5, odds: { "Independent": 1, } }, "MD": { electoralVotes: 6, odds: { "Independent": 1, } }, "MA": { electoralVotes: 10, odds: { "Independent": 1, } }, "NH": { electoralVotes: 5, odds: { "Independent": 1, } }, "NJ": { electoralVotes: 6, odds: { "Independent": 1, } }, "PA": { electoralVotes: 10, odds: { "Independent": 1, } }, "SC": { electoralVotes: 7, odds: { "Independent": 1, } }, "VA": { electoralVotes: 10, odds: { "Independent": 1, } } } } export default Presidential_1789 as Election;