feat: init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
use crate::models::common::{ColorScheme, Density, FontSize, Theme};
|
||||
use chrono::{DateTime, Utc};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use uuid::Uuid;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)]
|
||||
pub struct UserAppearance {
|
||||
pub user_id: Uuid,
|
||||
pub theme: Theme,
|
||||
pub color_scheme: ColorScheme,
|
||||
pub density: Density,
|
||||
pub font_size: FontSize,
|
||||
pub editor_theme: Option<String>,
|
||||
pub markdown_preview: bool,
|
||||
pub reduced_motion: bool,
|
||||
pub created_at: DateTime<Utc>,
|
||||
pub updated_at: DateTime<Utc>,
|
||||
}
|
||||
Reference in New Issue
Block a user