pub mod card;
pub mod discussion;
pub mod like;
pub mod model;
pub mod provider;
pub mod sync;
pub mod tag;
pub mod types;
pub mod version;

use crate::AppService;
use crate::error::AppError;
use crate::session_user;
use session::Session;
use uuid::Uuid;

impl AppService {
    pub async fn ai_require_login(
        &self,
        ctx: &Session,
    ) -> Result<Uuid, AppError> {
        session_user(ctx)
    }
}
