cryptgeon/packages/backend/src/status/model.rs

20 lines
453 B
Rust
Raw Normal View History

use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize)]
pub struct Status {
// General
2022-03-12 14:07:33 +01:00
pub version: String,
// Config
2022-03-12 14:07:33 +01:00
pub max_size: u32,
pub max_views: u32,
pub max_expiration: u32,
pub allow_advanced: bool,
2024-03-15 15:14:17 +01:00
pub allow_files: bool,
pub theme_new_note_notice: bool,
// Theme
pub theme_image: String,
pub theme_text: String,
pub theme_page_title: String,
pub theme_favicon: String,
}