@tmlmt/cooklang-parser / PantryItem
Interface: PantryItem
Represents a parsed pantry item.
Properties
bought?
optionalbought:Date
The date when the item was purchased.
expire?
optionalexpire:Date
The expiration date of the item.
location
location:
string
The storage location (TOML section name, e.g. "freezer", "fridge").
low?
optionallow:FixedValue|Range
The low stock threshold value.
lowUnit?
optionallowUnit:string
The unit of the low stock threshold.
name
name:
string
The name of the item.
quantity?
optionalquantity:FixedValue|Range
The quantity value of the item.
unit?
optionalunit:string
The unit of the item's quantity.