Magidoc

Recipe
Object

A Recipe is a reusable template: it defines a structure of Slices (RecipeSlice with Boxes and RecipeTodos) that can be instantiated into Projects, which are the active instances of work. A Recipe belongs to a workspace, records the authoring user, and carries roles, colorTags, posts, files, and dataFieldAnswers just like a Project. Projects created from it link back via Project.recipe; createRecipeFromProject builds a Recipe from an existing Project. storeItem is set when the Recipe is published as a template store item, aiPromptData records generation parameters for AI-created Recipes, and deletedAt marks soft deletion. Returned by the recipe and recipes queries; managed by createRecipe (returns RecipeSetupResult), updateRecipe, updateRecipeSetup, deleteRecipe, and the other recipe mutations.

Fields

#

aiPromptData

closed

colorTags

dataFieldAnswers

deletedAt

description

files

id

insertedAt

posts

recipeAssignments

roles

slices

storeItem

tags

title

user

workspace

workspaceId

Usages

#

References

#