@holectus/core
v0.1.1
Published
Shared types, HTTP DTOs, and document status helpers for the hosted Holectus API
Downloads
29
Maintainers
Readme
@holectus/core
Shared TypeScript types, HTTP DTOs, and the document status machine for the Holectus hosted API.
Use this package when you want typed responses and status helpers alongside @holectus/react / @holectus/next. Most integrators install it as a dependency of those packages rather than calling it directly.
Install
npm install @holectus/coreWhat you get
DocumentStatus/DOCUMENT_STATUSES— fixed seven-state lifecycletransitionDocumentStatus— pure helper for valid status transitions- Domain models —
DocumentSlot,DocumentRecord,Subject, expiry helpers - HTTP DTOs — checklist status, admin dashboard payloads, access-token request/response shapes
