Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / RecipePart

Type Alias: RecipePart โ€‹

RecipePart = { kind: "json"; value: unknown; } | { ing: Ingredient; kind: "ingredient"; } | { kind: "ingredients"; list: Ingredient[]; } | { key: Record<string, Ingredient>; kind: "key"; } | { count: number; ing: Ingredient; kind: "result"; }

Defined in: core/values/recipe.ts:16

One recipe JSON field; ingredient fields are rendered per version by the IR.

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.