mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 15:13:07 +00:00
- pnpm db:seed:projecao now also imports SITUAÇÃO -> politicalTrend, DOBRADINHAS -> stateDeputy + stateDeputies + dobradinhaNotes, LIDERANÇAS -> name-only contact + leadership (statewide slug dedupe), ASSESSOR RESPONSÁVEL -> campaignUser + advisors (Edizio=coordinator, Solla=candidate, placeholder @planilha.invalid emails), ENCAMINHAMENTOS -> nextSteps, OBSERVAÇÃO -> strengths/risks (curated). PRIORITÁRIAS overrides MAPA GERAL when non-empty; Salvador stays skipped; relationships are unions; re-run is idempotent. - parseSituationCell + splitNameCell (noise/collective/action filters, honorific protection, parenthetical extraction) with unit tests. - Contact.phone optional (migration 20260724_175500_contact_phone_optional); phone invariant hooks skip phone-less contacts; invite flows guard. - candidate role now eligible for municipality/action-plan advisors (eligibleCampaignStaffWhere) per product decision. |
||
|---|---|---|
| .. | ||
| ActionPlan.ts | ||
| CampaignDemand.ts | ||
| CampaignInvite.ts | ||
| CampaignUser.ts | ||
| Consent.ts | ||
| Contact.ts | ||
| ElectionCandidate.ts | ||
| ElectionCandidateVote.ts | ||
| ElectionTally.ts | ||
| Leadership.ts | ||
| Media.ts | ||
| Municipality.ts | ||
| MunicipalityUpdate.ts | ||
| Organization.ts | ||
| Petition.ts | ||
| Post.ts | ||
| Signature.ts | ||
| StateDeputy.ts | ||
| Subscription.ts | ||
| Supporter.ts | ||
| SupporterImportBatch.ts | ||
| Tag.ts | ||
| Users.ts | ||
| VotePledge.ts | ||