Beginning of frontend + recipe editing
(it's a mess)
This commit is contained in:
parent
642dd8a80c
commit
cbe276fc06
16 changed files with 203 additions and 63 deletions
|
|
@ -1 +1,2 @@
|
|||
pub mod utils;
|
||||
pub mod utils;
|
||||
pub mod ron_api;
|
||||
14
common/src/ron_api.rs
Normal file
14
common/src/ron_api.rs
Normal 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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue