teqo-backup/src/lib/electionYears.ts
Francisco Ignácio Fontoura Solla 4806c417c8 Engineering Pass 3: consolidate patterns and lock them with guards.
Fold duplicated campanha access, loaders, list/filter/form shells, and scripts into shared modules; reorganize utilities by domain; stabilize e2e; and document prevention-first audit workflow so the same smells cannot creep back in.
2026-07-29 06:11:29 -03:00

10 lines
492 B
TypeScript

/**
* The TSE election years, as a zero-dependency leaf (P3-K): the suggestion
* catalog mirrored these three numbers rather than importing
* `lib/electionResults` (whose first import drags the territory table into
* the client chunk — the B14 lesson). The leaf has no imports, so the mirror
* AND the documented excuse for it both die.
*/
export const ELECTION_YEAR_2014 = 2014 as const
export const ELECTION_YEAR_2018 = 2018 as const
export const ELECTION_YEAR_2022 = 2022 as const