Files
template-app/modules/documents/contract/index.ts
T
2026-11-14 09:56:45 +00:00

50 lines
1.1 KiB
TypeScript

// The public API of the documents module: what a page, another module and the OpenAPI document
// may import. Nothing here reaches core/, adapters/ or a driver.
export { DOCUMENT_COLLECTION, DOCUMENTS_COLLECTIONS } from "./collections.js"
export {
DEFAULT_EXCLUDED_PAGE_CLASSES,
DOCUMENT_STATUSES,
DOCUMENTS_FLAG_DEFAULTS,
type DocumentStatus,
FAILURE_CODES,
type FailureCode,
LINE_NOTES,
LINE_STATUSES,
LINE_VERIFICATIONS,
type LineNote,
type LineStatus,
type LineVerification,
PAGE_CLASSES,
type PageClass,
PLATFORM_ITEMS_FLAG,
pageClassesOf,
} from "./constants.js"
export { DOCUMENTS_ENTITIES, documents, lines } from "./entities.js"
export {
EXPORT_CREATED,
LINE_EDITED,
LINE_TARGET_KEY,
type LineChange,
type LineView,
lineChangeSchema,
lineViewSchema,
MAX_MODEL_LINES,
type ModelLines,
modelLineSchema,
modelLinesSchema,
OCR_JOB,
PROCESSOR_KEY,
READABLE_CONTENT_TYPES,
} from "./lines.js"
export {
type DocumentView,
documentGet,
documentGetMany,
documentList,
documentViewSchema,
exportCreate,
lineEdit,
} from "./procedures.js"
export { REVIEW_PROCEDURES } from "./review.js"