/** * PIP-002 UI copy registries — plain-language copy for the portal. * * `GET /api/v1/people/ui/copy` (be-docs §6.6) serves the three registries the * portal renders INSTEAD OF development-phase codes and raw enum values: * * - `findings` — validate/publish catalogue finding IDs (CS/AC/VA/SP/ * RC/PC + TYPE_KEY_INVALID) → `{id, title, fix}` * - `vocabularies` — closed authoring vocabularies (data_type, state_kind, * invocation_scope, assignment_mode, spawn_timing, * slot_policy, predicate_op) → `{value, label, hint}` * - `error_code_notes`— "what now" guidance for PEOPLE_* codes * * Registry source (single): `eaera-people/pack/processors/ui_copy.py`; a * completeness test there pins the copy against translator.py literals. The * payload is static per pack release and served with a 5-min cache header. */ /** One catalogue finding → plain copy (title = what is wrong, fix = next action). */ export interface PeopleUiFindingCopy { id: string; title: string; fix: string; } /** One vocabulary entry: `value` is the wire value, `label`/`hint` are human. */ export interface PeopleUiVocabularyEntry { value: string; label: string; hint: string; } /** The `GET /people/ui/copy` payload shape (version-stamped). */ export interface PeopleUiCopy { version: number; findings: Record; vocabularies: Record; error_code_notes: Record; } //# sourceMappingURL=uicopy.type.d.ts.map