mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 15:13:07 +00:00
- committed artifact src/lib/electionAggregates/bahia-federal-baseline.json (Solla nominal + federal T1 valid votes per catalog municipality × TSE year, Salvador split by zone) generated by pnpm build:election-aggregates from the locally seeded TSE data; typed loader src/lib/bahiaElectionAggregates.ts; snapshot spec pins artifact ↔ catalog ↔ baseline ticket - map bundle: historical years now read the artifact (was 6 statewide city×zone scans per dashboard visit); compare mode keeps only the OTHER candidate on the DB path (Solla side from the artifact) - loadMunicipalityScope (React cache()): one municipality find + pledge aggregate per request shared by dashboard KPIs, map bundle, and the municípios list overview (was 2-3 duplicate loads) - unstable_cache + election-tse tag on the immutable elections-tab loaders (baseline, candidate comparison, candidate options); tag added to the /api/revalidate allowlist — runbook: re-seed then bust the tag - municipalityMapContract.ts: client-safe map vocabulary/bundle types so the client panel no longer imports the server data module (build had pulled @payload-config into the client graph); municipalityMapData is server-only and re-exports the contract; PLAZA_MAP_* renamed to MUNICIPALITY_MAP_* - petition generateStaticParams enumerates bare ids (getPetitionIds) |
||
|---|---|---|
| .. | ||
| bahiaElectionAggregates.unit.spec.ts | ||
| bahiaMapStyle.unit.spec.ts | ||
| campaignActionContext.unit.spec.ts | ||
| campaignAuthMemoization.unit.spec.ts | ||
| campaignComponents.unit.spec.ts | ||
| campaignCompositionCleanup.unit.spec.ts | ||
| campaignConsent.unit.spec.ts | ||
| campaignInviteArchitecture.unit.spec.ts | ||
| campaignInviteInteractions.unit.spec.ts | ||
| campaignInviteOrigin.unit.spec.ts | ||
| campaignLoginAction.unit.spec.ts | ||
| campaignMigrationSafety.unit.spec.ts | ||
| campaignPasswordSchemas.unit.spec.ts | ||
| campaignPwa.unit.spec.ts | ||
| campaignSearchInput.unit.spec.ts | ||
| campaignUserProfile.unit.spec.ts | ||
| choroplethPercentScale.unit.spec.ts | ||
| contactCityMigration.unit.spec.ts | ||
| electionInsights.unit.spec.ts | ||
| electionPartySpectrum.unit.spec.ts | ||
| electionResults.unit.spec.ts | ||
| facebookPixel.unit.spec.ts | ||
| formatRelativeAge.unit.spec.ts | ||
| municipalityMapNavigation.unit.spec.ts | ||
| municipalityStaffVoteTotal.unit.spec.ts | ||
| municipalityUi.unit.spec.ts | ||
| onda0ConsentTexts.unit.spec.ts | ||
| recentVisits.unit.spec.ts | ||
| revalidateRequest.unit.spec.ts | ||
| signatureExport.unit.spec.ts | ||
| supporterSchema.unit.spec.ts | ||
| voteEstimate.unit.spec.ts | ||
| voteGoals.unit.spec.ts | ||