Dankoss Docs - v0.1.0
    Preparing search index...

    The common interface that all catalog data sources must implement. Ensures the facade and UI components can interact with any data type interchangeably.

    interface CatalogStrategy {
        categories: CatalogCategory[];
        getData: () => (DealCard & { _cat: string; _uniqueId: string })[];
        id: "products" | "recipes";
    }
    Index

    Properties

    Properties

    categories: CatalogCategory[]

    The list of valid filter categories for this domain.

    getData: () => (DealCard & { _cat: string; _uniqueId: string })[]

    A method that returns the fully formatted, flattened array of items.

    id: "products" | "recipes"

    Identifies the strategy domain.