Skip to main content

Module domain

Module domain 

Source
Expand description

Domain layer — Core business entities (puro, sin frameworks)

Following Clean Architecture: no dependencies on infrastructure. This layer contains the business logic that doesn’t depend on external frameworks.

Re-exports§

pub use crawler_entities::matches_pattern;
pub use crawler_entities::ContentType;
pub use crawler_entities::CrawlError;
pub use crawler_entities::CrawlResult;
pub use crawler_entities::CrawlerConfig;
pub use crawler_entities::CrawlerConfigBuilder;
pub use crawler_entities::DiscoveredUrl;
pub use entities::DocumentChunk;
pub use entities::DownloadedAsset;
pub use entities::ExportFormat;
pub use entities::ExportState;
pub use entities::ScrapedContent;
pub use exporter::ExportResult;
pub use exporter::Exporter;
pub use exporter::ExporterConfig;
pub use exporter::ExporterError;
pub use value_objects::ValidUrl;

Modules§

crawler_entities
Crawler domain entities
entities
Domain entities — Core business types
exporter
Exporter trait and configuration for RAG pipeline
value_objects
Value objects — Type-safe primitives