teqo-backup/src/lib/schemas
Francisco Ignácio Fontoura Solla f23c2582ee Break up the god modules into deep domain modules
- campaignAccess.ts (990 lines, ~80 exports) is now a 130-line explicit
  re-export surface over 14 domain modules in src/utilities/access/
  (shared actor predicates + per-collection access); public surface
  AST-verified identical, import sites untouched
- actions/supporter.ts split: single-supporter lifecycle (407) vs the CSV
  import pipeline in supporterImport.ts (357); 'use server' re-export
  constraint honored with thin async delegates
- organization/stateDeputy clone twins deduped by POLICY:
  runStaffEntityMutation (fresh staff assert + unique-conflict translation)
  keeps each caller's concretely-typed Payload mutation
- runCampaignRedirectFormAction removes the copy-pasted try/map/redirect
  ladder from 4 create formActions (planos kept its genuinely custom flow)
- Plaza→Municipality identifier rename finished (context keys, list-label
  and leadership constants, fixture sequence, test constants)
- RefreshRouteOnSave (React component) moved out of utilities/ to components/
2026-07-23 23:44:45 -03:00
..
actionPlan.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
campaign-login.ts Ship /campanha nuclei MVP with RBAC, invites, and vote estimates. 2026-07-18 15:01:56 -03:00
campaignDemand.ts Remodel /campanha around predefined Praças replacing electoral nuclei. 2026-07-21 02:28:00 -03:00
campaignDemandInput.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
campaignPassword.ts Add campaign password reset, profile photo, and RS+ follow-up plan. 2026-07-19 05:26:56 -03:00
comment.ts Including page mandato-no-whatsapp 2026-03-14 18:07:40 -03:00
contact.ts fix zip code input field 2026-05-01 00:22:18 -03:00
invite.ts Ship /campanha nuclei MVP with RBAC, invites, and vote estimates. 2026-07-18 15:01:56 -03:00
leadership.ts Break up the god modules into deep domain modules 2026-07-23 23:44:45 -03:00
municipality.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
municipalityUpdate.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
organization.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
petition-form.ts Including page mandato-no-whatsapp 2026-03-14 18:07:40 -03:00
primitives.ts Ship /campanha nuclei MVP with RBAC, invites, and vote estimates. 2026-07-18 15:01:56 -03:00
stateDeputy.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
supporter.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
votePledge.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
whatsapp-form.ts Including page mandato-no-whatsapp 2026-03-14 18:07:40 -03:00