steid

@jamesgill /

779 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 repo;
14pub mod repository;
15pub mod session;
16pub mod setup_token;
17pub mod user;
18
19pub use actor::Actor;
20pub use email::Email;
21pub use error::DomainError;
22pub use id::{MembershipId, OrgId, RepoId, UserId};
23pub use membership::{Membership, Role};
24pub use org::{OrgName, Organization};
25pub use password::PasswordHash;
26pub use repo::{RepoName, Repository, Visibility};
27pub use session::{Session, SessionTokenHash};
28pub use setup_token::SetupToken;
29pub use user::User;