Workflow-App/Workflow/app
sjcoetzeesj-coder 21db4d0e64 fix: resolve all 7 type errors that broke the production build
next build runs 'Linting and checking validity of types' and fails on
the first type error, so the Coolify image build died at
app/api/cipc/search/route.ts:640. These errors were pre-existing but
only surface on next build (npm run dev does not type check).

- cipc/search/route.ts: coerce spawnSync stdout/stderr with toString();
  result is typed as the un-overloaded return, so they are string|Buffer
- group-report pdf+email: use fetchCollection<YsterbaardGroup> instead of
  an invalid cast; normalise description null -> undefined for ReportData
- CipcExplorer (cipc + cipc-2): split the state ternary into two returns;
  the RowState union correlates state with differs, so 'diff' | 'match'
  matched neither variant
- ComplianceTreeGrid: ar_non_compliance_date is optional; the API omits it
  and this component never reads it

Verified: tsc --noEmit 0 errors, next build exit 0, standalone output ok.
2026-10-18 15:48:50 +02:00
..
(public) feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
(public-register) feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
api fix: resolve all 7 type errors that broke the production build 2026-10-18 15:48:50 +02:00
bizportal feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
bizportal-2 feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
cipc fix: resolve all 7 type errors that broke the production build 2026-10-18 15:48:50 +02:00
cipc-2 fix: resolve all 7 type errors that broke the production build 2026-10-18 15:48:50 +02:00
companies feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
compliance feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
directors feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
groups feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
notes fix(notes): sort by -id instead of -created (PB 400 on fresh collection sort=created) 2026-09-17 13:19:15 +02:00
onboarding feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
registrations feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
resign/[token] feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
resolutions feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
resolve-sign/[token] feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
sars-registrations feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
sars-returns feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
sign/[token] feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
step2/[id] feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
tasks feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
voice-demo feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
error.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
global-error.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
globals.css feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
icon.png feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
layout.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
not-found.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
page.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
providers.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00