steid

@jamesgill /

590 BCode·Blame·Raw
1//! The domain layer: entities, value objects, and the errors they raise.
2//!
3//! Knows nothing about HTTP, SQL, git, or Topcoat. Nothing in here may import from
4//! `application` or `infrastructure`.
5
6pub mod actor;
7pub mod email;
8pub mod error;
9pub mod id;
10pub mod membership;
11pub mod org;
12pub mod password;
13pub mod repository;
14pub mod user;
15
16pub use actor::Actor;
17pub use email::Email;
18pub use error::DomainError;
19pub use id::{MembershipId, OrgId, UserId};
20pub use membership::{Membership, Role};
21pub use org::{OrgName, Organization};
22pub use password::PasswordHash;
23pub use user::User;