Feature: Adding recipe templates to print recipes.
Feautre: Recipe export to xlsx Chore: Python 11 style type annotations Chore: Moved to sqlalchemy 2.0 Chore: Minimum python is 3.11 Fix: Fix nullability of a lot of fields in the database.
This commit is contained in:
1 parent
d2d26ab1ae
commit
22cac61761
344 files changed
+3247
-2370
No files matched your search
@@ -0,0 +1,16 @@
|
||||
export class RecipeTemplate {
|
||||
id: string;
|
||||
name: string;
|
||||
date: string;
|
||||
text: string;
|
||||
selected: boolean;
|
||||
|
||||
public constructor(init?: Partial<RecipeTemplate>) {
|
||||
this.id = '';
|
||||
this.name = '';
|
||||
this.date = '';
|
||||
this.text = '';
|
||||
this.selected = false;
|
||||
Object.assign(this, init);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user