feat: support external and step images with structured cooking instructions

This commit is contained in:
Sascha Nesterovic committed 2026-10-24 17:31:47 +02:00
1 parent 361862ad0b
commit 0ec1d45bdb
34 files changed
+898 -92

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ import { ApiError } from './server';
export function serialize(row: typeof recipes.$inferSelect): SavedRecipe {
return {
...row.data,
steps: row.data.steps.map((step) => ({ ...step, images: step.images ?? [] })),
id: row.id,
title: row.title,
published: row.published,