Add frontend tests and other stuff

This commit is contained in:
Greg Burri 2022-12-07 00:16:34 +01:00
parent d28e765e39
commit 642dd8a80c
26 changed files with 730 additions and 85 deletions

View file

@ -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,