steid

@jamesgill /

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