First unchecked draft for tags

This commit is contained in:
araemer 2026-02-21 08:28:15 +01:00
parent f936e84168
commit 70b132dc6f
51 changed files with 494 additions and 69 deletions

15
src/api/dtos/RecipeDto.ts Normal file
View file

@ -0,0 +1,15 @@
import { AbstractDto } from "./AbstractDto.js";
import { RecipeIngredientGroupDto } from "./RecipeIngredientGroupDto.js";
import { RecipeInstructionStepDto } from "./RecipeInstructionStepDto.js";
/**
* DTO describing a recipe
*/
export class RecipeDto extends AbstractDto {
title!: string;
amount?: number
amountDescription?: string;
instructions!: RecipeInstructionStepDto[];
ingredientGroups!: RecipeIngredientGroupDto[];
}