Beginning of frontend + recipe editing

(it's a mess)
This commit is contained in:
Greg Burri 2022-12-13 21:01:18 +01:00
parent 642dd8a80c
commit cbe276fc06
16 changed files with 203 additions and 63 deletions

14
common/src/ron_api.rs Normal file
View file

@ -0,0 +1,14 @@
use ron::de::from_reader;
use serde::Deserialize;
#[derive(Deserialize, Clone)]
pub struct SetRecipeTitle {
pub recipe_id: i64,
pub title: String,
}
#[derive(Deserialize, Clone)]
pub struct SetRecipeDescription {
pub recipe_id: i64,
pub description: String,
}