steid

@jamesgill /

570 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 user;
14
15pub use actor::Actor;
16pub use email::Email;
17pub use error::DomainError;
18pub use id::{MembershipId, OrgId, UserId};
19pub use membership::{Membership, Role};
20pub use org::{OrgName, Organization};
21pub use password::PasswordHash;
22pub use user::User;