Add frontend tests and other stuff
This commit is contained in:
parent
d28e765e39
commit
642dd8a80c
26 changed files with 730 additions and 85 deletions
|
|
@ -1,5 +1,5 @@
|
|||
pub struct Recipe {
|
||||
pub id: i32,
|
||||
pub id: i64,
|
||||
pub title: String,
|
||||
pub description: Option<String>,
|
||||
pub estimate_time: Option<i32>, // [min].
|
||||
|
|
@ -10,7 +10,7 @@ pub struct Recipe {
|
|||
}
|
||||
|
||||
impl Recipe {
|
||||
pub fn new(id: i32, title: String, description: Option<String>) -> Recipe {
|
||||
pub fn new(id: i64, title: String, description: Option<String>) -> Recipe {
|
||||
Recipe {
|
||||
id,
|
||||
title,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue