add: forums ui
This commit is contained in:
parent
2be87c397d
commit
9ec52abfe4
24 changed files with 770 additions and 64 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue