vanikam/src/identity/domain/mod.rs

31 lines
905 B
Rust

// SPDX-FileCopyrightText: 2024 Aravinth Manivannan <realaravinth@batsense.net>
//
// SPDX-License-Identifier: AGPL-3.0-or-later
pub mod aggregate;
pub mod employee_aggregate;
//pub mod employee_commands;
// pub mod store_aggregate;
// pub mod invite;
// events
pub mod employee_logged_in_event;
pub mod employee_registered_event;
pub mod invite_accepted_event;
pub mod login_otp_sent_event;
pub mod organization_exited_event;
pub mod phone_number_changed_event;
pub mod phone_number_verified_event;
pub mod resend_login_otp_event;
pub mod verification_otp_resent_event;
pub mod verification_otp_sent_event;
// commands
pub mod accept_invite_command;
pub mod change_phone_number_command;
pub mod employee_login_command;
pub mod employee_register_command;
pub mod exit_organization_command;
pub mod resend_login_otp_command;
pub mod resend_verification_otp_command;
pub mod verify_phone_number_command;