Interface: SectionState
Defined in: src/server/actions/contractorSections.ts:21
Per-tab saves for the contractor detail page. Each tab owns a DISJOINT set of columns and writes only those, so fields are grouped by meaning in the UI without one tab clobbering another's data:
- the 201 row is upserted with only that tab's columns (onConflict updates just those, leaving the rest untouched);
- the few contractors-table fields a tab owns (address, emergency name/phone, local bank) are updated in place. Admin-only + company-scoped. Holds PII (addresses, emergency contacts, bank) — never logged.
Properties
error?
optionalerror?:string
Defined in: src/server/actions/contractorSections.ts:23
ok
ok:
boolean
Defined in: src/server/actions/contractorSections.ts:22