style: move structs to objects and split into several files for readability

This commit is contained in:
Radical 2025-06-02 00:28:48 +02:00
parent 08cb70ce18
commit 7021c80f02
32 changed files with 1591 additions and 1474 deletions

View file

@ -4,7 +4,7 @@ use actix_web::{HttpResponse, get, post, web};
use chrono::{Duration, Utc};
use serde::Deserialize;
use crate::{Data, error::Error, structs::PasswordResetToken};
use crate::{Data, error::Error, objects::PasswordResetToken};
#[derive(Deserialize)]
struct Query {

View file

@ -8,7 +8,7 @@ use crate::{
Data,
api::v1::auth::check_access_token,
error::Error,
structs::{EmailToken, Me},
objects::{EmailToken, Me},
utils::get_auth_header,
};