//! Owner-related database queries.
//!
//! These queries are used by the owner interface and require the chattyness_owner role.
//!
//! This module is organized into submodules by domain:
//! - `config`: Server configuration queries
//! - `staff`: Staff management queries
//! - `users`: User management queries
//! - `realms`: Realm management queries
//! - `helpers`: Shared helper functions (password hashing, token generation)

mod config;
mod helpers;
mod realms;
mod staff;
mod users;

// Re-export all public functions for backwards compatibility
pub use config::*;
pub use realms::*;
pub use staff::*;
pub use users::*;

// Re-export helpers for use by other modules if needed
pub use helpers::{generate_random_token, hash_password};
