Recipe edit (WIP)

This commit is contained in:
Greg Burri 2024-12-21 23:13:06 +01:00
parent fce4eade73
commit c6dfff065c
24 changed files with 1157 additions and 971 deletions

View file

@ -13,7 +13,6 @@ use sqlx::{
use thiserror::Error;
use tracing::{event, Level};
use super::model;
use crate::consts;
pub mod recipe;
@ -32,6 +31,9 @@ pub enum DBError {
)]
UnsupportedVersion(u32),
#[error("Unknown language: {0}")]
UnknownLanguage(String),
#[error("Unknown error: {0}")]
Other(String),
}