/*
* This file is part of laurelin_client
* Copyright (C) 2023 Jonni Liljamo <jonni@liljamo.com>
*
* Licensed under GPL-3.0-only.
* See LICENSE for licensing information.
*/
use serde::Deserialize;
mod login;
pub use login::*;
mod register;
pub use register::*;
#[derive(Deserialize, Clone)]
pub struct User {
pub id: String,
pub created_at: String,
pub updated_at: String,
pub username: String,
}
#[derive(Deserialize)]
pub struct UserToken {
pub id: String,
pub created_at: String,
pub updated_at: String,
pub username: String,
pub token: String,
}