Skip to content
Français

RecipeRegistry

import type { RecipeRegistry } from "@elie-laloum/outpost/recipes";
  • componentsRequired
    readonly RecipeComponentDefinition[]
    Immutable list of registered component descriptors.
  • getRequired
    (name: string) => RecipeComponentDefinition
    Find an exact factory name; unknown names fail explicitly.
export interface RecipeRegistry {
  readonly components: readonly RecipeComponentDefinition[];
  get(name: string): RecipeComponentDefinition;
}