1mod autocompletion;
88mod axis;
89mod builder;
90mod codegen;
91mod compact;
92mod compiler_integration;
93mod composition;
94mod computed;
95mod constraint;
96mod database;
97mod dependent;
98mod diff;
99mod domain;
100mod effects;
101mod embeddings;
102mod error;
103mod evolution;
104mod hierarchy;
105pub mod hierarchy_viz;
106mod incremental_query;
107mod incremental_validation;
108mod lazy;
109mod learning;
110mod linear;
111mod locking;
112mod mask;
113mod merge_strategies;
114mod metadata;
115mod parametric;
116mod performance;
117mod predicate;
118mod product;
119mod query_cache;
120mod query_planner;
121mod recommendation;
122mod refinement;
123pub mod rule_deps;
124mod schema_analysis;
125mod schema_lint;
126pub mod schema_migration;
127mod signature_matcher;
128mod symbol_table;
129mod synchronization;
130mod utilities;
131mod validation;
132
133#[cfg(test)]
134mod tests;
135
136pub use autocompletion::{
137 AutoCompleter, AutoCompleterStats, DomainSuggestion, PredicateSuggestion, SuggestionSource,
138 VariableSuggestion,
139};
140pub use axis::AxisMetadata;
141pub use builder::SchemaBuilder;
142pub use codegen::{GraphQLCodegen, PythonCodegen, RustCodegen, TypeScriptCodegen};
143pub use compact::{CompactSchema, CompressionStats};
144pub use compiler_integration::{
145 AdvancedExportBundle, CompilerExport, CompilerExportAdvanced, CompilerExportBundle,
146 CompilerImport, CompleteExportBundle, SymbolTableSync, ValidationResult,
147};
148pub use composition::{CompositePredicate, CompositeRegistry, PredicateBody, PredicateTemplate};
149pub use computed::{ComputedDomain, ComputedDomainRegistry, DomainComputation};
150pub use constraint::{FunctionalDependency, PredicateConstraints, PredicateProperty, ValueRange};
151pub use database::{
152 DatabaseStats, MemoryDatabase, SchemaDatabase, SchemaDatabaseSQL, SchemaId, SchemaMetadata,
153 SchemaVersion,
154};
155
156#[cfg(feature = "sqlite")]
157pub use database::SQLiteDatabase;
158
159#[cfg(feature = "postgres")]
160pub use database::PostgreSQLDatabase;
161pub use diff::{
162 check_compatibility, compute_diff, merge_tables, CompatibilityLevel, DiffSummary,
163 DomainModification, PredicateModification, SchemaDiff, VariableModification,
164};
165pub use domain::DomainInfo;
166pub use embeddings::{
167 Embedding, EmbeddingWeights, SchemaEmbedder, SimilaritySearch, SimilarityStats, EMBEDDING_DIM,
168};
169pub use error::AdapterError;
170pub use hierarchy::DomainHierarchy;
171pub use lazy::{FileSchemaLoader, LazyLoadStats, LazySymbolTable, LoadStrategy, SchemaLoader};
172pub use learning::{
173 ConfidenceScore, DataSample, InferenceConfig, LearningStatistics, SchemaLearner,
174};
175pub use locking::{LockStats, LockWithTimeout, LockedSymbolTable, Transaction};
176pub use mask::DomainMask;
177pub use merge_strategies::{
178 DomainConflict, MergeConflictResolution, MergeReport, MergeResult, MergeStrategy,
179 PredicateConflict, SchemaMerger, VariableConflict,
180};
181pub use metadata::{
182 Documentation, Example, Metadata, Provenance, TagCategory, TagRegistry, VersionEntry,
183};
184pub use parametric::{BoundConstraint, ParametricType, TypeBound, TypeParameter};
185pub use performance::{CacheStats, LookupCache, MemoryStats, StringInterner};
186pub use predicate::PredicateInfo;
187pub use product::{ProductDomain, ProductDomainExt};
188pub use schema_analysis::{SchemaAnalyzer, SchemaIssue, SchemaRecommendations, SchemaStatistics};
189pub use schema_lint::{LintCode, LintIssue, LintResult, LintSeverity, LinterConfig, SchemaLinter};
190pub use signature_matcher::{MatcherStats, SignatureMatcher};
191pub use symbol_table::SymbolTable;
192pub use validation::{SchemaValidator, ValidationReport};
193
194pub use evolution::{
196 BreakingChange, ChangeImpact, ChangeKind, CompatibilityReport, EvolutionAnalyzer,
197 MigrationPlan, MigrationStep, VersionBump,
198};
199pub use incremental_query::{
200 Atom, Edb, EvalStats, Fact, FactArg, Idb, IncrementalEvaluator, QueryError, Relation, Rule,
201 SemiNaiveEvaluator, Term,
202};
203pub use incremental_validation::{
204 AffectedComponents, Change, ChangeStats, ChangeTracker, ChangeType, DependencyGraph,
205 IncrementalValidationReport, IncrementalValidator, ValidationCache,
206};
207pub use query_cache::{
208 CacheConfig, CacheKey, CachedResult, QueryCache, QueryCacheStats, SymbolTableCache,
209};
210pub use query_planner::{
211 IndexStrategy, PredicatePattern, PredicateQuery, QueryPlan, QueryPlanner, QueryStatistics,
212};
213pub use recommendation::{
214 PatternMatcher, RecommendationContext, RecommendationStrategy, RecommenderStats,
215 SchemaRecommender, SchemaScore,
216};
217
218pub use dependent::{
220 patterns as dependent_patterns, DependentType, DependentTypeContext, DependentTypeRegistry,
221 DimConstraint, DimExpr, DimRelation,
222};
223pub use effects::{
224 infer_effects, Effect, EffectContext, EffectHandler, EffectRegistry, EffectRow, EffectSet,
225 EffectSignature,
226};
227pub use linear::{
228 LinearContext, LinearError, LinearKind, LinearStatistics, LinearType, LinearTypeRegistry,
229 Ownership, Resource,
230};
231pub use refinement::{
232 DependentRelation, RefinementContext, RefinementPredicate, RefinementRegistry, RefinementType,
233};
234pub use rule_deps::{
235 DepEdge, DepGraphStats, DepNode, RuleDependencyGraph, StratificationError, StratificationLayer,
236};
237pub use schema_migration::{
238 compute_migration, string_similarity, validate_plan, ChangeSeverity, MigrationConfig,
239 MigrationError, SchemaChange, SchemaMigrationPlan, SchemaMigrationStep, SchemaSnapshot,
240};
241pub use synchronization::{
242 ApplyResult, ConflictResolution, EventListener, InMemorySyncProtocol, NodeId, SyncChangeType,
243 SyncEvent, SyncProtocol, SyncStatistics, SynchronizationManager, VectorClock,
244};
245pub use utilities::{
246 BatchOperations, ConversionUtils, QueryUtils, StatisticsUtils, ValidationUtils,
247};