Members
(constant) filterProdukte
Filter the product list by a category name.
- Source:
Example
const pastaItems = filterProdukte('Pasta');
(constant) produkte :Array.<Produkt>
Product catalog for the menu application.
Type:
- Array.<Produkt>
- Source:
(constant) produkteVorspeise :Array.<Object>
Pre-filtered products for the default category 'Vorspeise'.
Type:
- Array.<Object>
- Source:
(constant) suchtProdukt
Search the product catalog for a given text.
- Source:
Example
const results = suchtProdukt('Pasta');
Type Definitions
Produkt
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
id |
number | |
name |
string | |
kategorie |
string | |
preis |
number | |
beschreibung |
string | |
bild |
any | imported image module (Next.js Image compatible) |
- Source: