22 lines
417 B
TypeScript
22 lines
417 B
TypeScript
export type Recipe = {
|
|
type: "recipe";
|
|
id: string;
|
|
name: string;
|
|
description?: string;
|
|
markdown?: string;
|
|
ingredients: (Ingredient | IngredientGroup)[];
|
|
instructions?: string[];
|
|
notes?: string[];
|
|
tags: string[];
|
|
meta?: {
|
|
time?: string;
|
|
link?: string;
|
|
image?: string;
|
|
rating?: number;
|
|
portion?: number;
|
|
author?: string;
|
|
average?: string;
|
|
thumbnail?: string;
|
|
};
|
|
};
|