use serde::Deserialize;

pub mod admin;
pub mod posts;
pub mod projects;
pub mod books;
pub mod root;
pub mod templates;

#[derive(Deserialize)]
pub struct Login {
    pub username: String,
    pub password: String,
}

#[derive(Deserialize)]
pub struct Signup {
    pub username: String,
    pub password: String,
    pub confirm_password: String,
}

#[derive(Deserialize)]
pub struct NewLink {
    pub url: String,
    pub description: String,
    pub title: String,
    pub author: String,
    pub link_type: String,
}
