Structs§
- Database
- Database connection pool with migration support.
- Paper
State - Sqlite
Annotation Repository - Sqlite
Assessment Repository - Sqlite
Citation Repository - Sqlite
Paper Alias Repository - Sqlite
Paper Repository - Sqlite
Paper State Repository - Sqlite
Paper TagRepository - Sqlite
Question Repository - Sqlite
Search Repository - Sqlite
Shortlist Repository - Sqlite
Transaction - Re-export of
rusqlite::Transactionso downstream crates (e.g.scitadel-mcp’s bib-import orchestrator in #157) can drive multi- repo transactions without taking a direct rusqlite dependency. Represents a transaction on a database connection. - Sqlite
TuiState Repository - TuiState
Constants§
- SOURCE_
BIBTEX_ IMPORT - Free-form source tag recorded alongside an alias.
- SOURCE_
REKEY - Source tag for aliases preserved by
scitadel bib rekey— the pre-rekey citation key gets recorded so manuscripts that still cite the paper by its old key continue to resolve via lookup. - TAG_
SOURCE_ BIBTEX_ IMPORT - Free-form source tag recorded alongside a paper-tag row. Matches
the alias counterpart so audit queries can grep by source across
both tables. Re-declared here for symmetry with
paper_aliases.
Functions§
- resolve_
anchor - Resolve an anchor against current paper text, updating
statusand (if the quote shifted)char_rangein place. Four-step W3C-style pipeline (#96): - run_
migrations - Run all pending migrations, skipping already-applied ones.