hayson_engine/catalog/
mod.rs1pub(crate) mod build;
2pub(crate) mod declare_index;
3pub(crate) mod indexes;
4pub(crate) mod integrity;
5pub(crate) mod migrate;
6pub(crate) mod parse;
7pub(crate) mod serialize;
8pub(crate) mod types;
9pub(crate) mod write;
10
11pub use build::{create_table, declare_trigger, drop_field, empty_catalog};
12pub use declare_index::declare_index;
13pub use indexes::{expand_indexes, sugar_index_name, ExpandedIndex};
14pub use integrity::{check_integrity, IntegrityReport, OrphanRecord};
15pub use migrate::{migrate_format_1_to_2, schema_files_of as format_1_schema_files};
16pub use parse::parse_catalog;
17pub use serialize::catalog_document;
18pub use types::{
19 Catalog, CatalogCompaction, CatalogFieldSpec, CatalogIndexKind, CatalogLayout, CatalogPredicate, CatalogSyncMode,
20 CatalogValidation, CheckEntry, HistoryEntry, IndexEntry, LinkParsing, Relation, RelationAction,
21 RelationCardinality, RelationEnd, TableEntry, TableOptions, TriggerEffect, TriggerEntry, TriggerEvent,
22 TriggerFieldMapping, TriggerValueSource, ViewEntry,
23};
24pub use write::{assert_catalog_readable, write_catalog};
25
26pub(crate) use indexes::index_identity;
27pub(crate) use integrity::relations_touching;