2022-03-01 15:24:17 +01:00
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
|
|
|
|
#[derive(Serialize, Deserialize)]
|
|
|
|
pub struct Status {
|
2022-07-16 14:16:54 +02:00
|
|
|
// General
|
2022-03-12 14:07:33 +01:00
|
|
|
pub version: String,
|
2022-07-16 14:16:54 +02:00
|
|
|
// 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,
|
2024-03-19 13:06:46 +01:00
|
|
|
pub theme_new_note_notice: bool,
|
2022-07-16 14:16:54 +02:00
|
|
|
// Theme
|
|
|
|
pub theme_image: String,
|
|
|
|
pub theme_text: String,
|
2022-10-27 17:26:56 +02:00
|
|
|
pub theme_page_title: String,
|
|
|
|
pub theme_favicon: String,
|
2022-03-01 15:24:17 +01:00
|
|
|
}
|