Files
ArchiTools/src/modules/registratura/index.ts
T
AI Assistant db6662be39 feat(registratura): structured ClosureInfo who/when/why/attachment for every close
- Added ClosureInfo type with reason, closedBy, closedAt, linkedEntry, hadActiveDeadlines, attachment
- Rewrote close-guard-dialog into universal close dialog (always shown on close)
  - Reason field (always required)
  - Optional continuation entry search+link
  - Optional closing document attachment (file upload)
  - Active deadlines shown as warning banner when present
- Created ClosureBanner component (read-only, shown at top of closed entry edit)
  - Shows who, when, why, linked entry (clickable), attached doc (downloadable)
- All closes now go through the dialog  no more silent closeEntry
- Linked-entries sub-dialog preserved as second step
2026-02-27 17:06:03 +02:00

16 lines
426 B
TypeScript

export { registraturaConfig } from "./config";
export { RegistraturaModule } from "./components/registratura-module";
export type {
RegistryEntry,
RegistryDirection,
RegistryStatus,
ClosureInfo,
DocumentType,
DeadlineDayType,
DeadlineResolution,
DeadlineCategory,
DeadlineTypeDef,
TrackedDeadline,
} from "./types";
export { DEFAULT_DOCUMENT_TYPES, DEFAULT_DOC_TYPE_LABELS } from "./types";