add: forums ui

This commit is contained in:
trisua 2025-08-04 12:12:04 -04:00
parent 2be87c397d
commit 9ec52abfe4
24 changed files with 770 additions and 64 deletions

View file

@ -795,6 +795,8 @@ pub struct AddTopic {
pub title: String,
pub description: String,
pub color: String,
#[serde(default)]
pub position: i32,
}
#[derive(Deserialize)]
@ -821,6 +823,8 @@ pub struct CreatePost {
pub title: String,
#[serde(default)]
pub stack: String,
#[serde(default)]
pub topic: String,
}
#[derive(Deserialize)]