Aller au contenu
English

RecipeRegistry

import type { RecipeRegistry } from "@elie-laloum/outpost/recipes";
  • componentsRequis
    readonly RecipeComponentDefinition[]
    Liste immuable des descripteurs de composants enregistrés.
  • getRequis
    (name: string) => RecipeComponentDefinition
    Recherche un nom exact de factory ; les noms inconnus échouent explicitement.
export interface RecipeRegistry {
  readonly components: readonly RecipeComponentDefinition[];
  get(name: string): RecipeComponentDefinition;
}