Skip to content
Rigel docs
Open Rigel

Inventory

What's in the house and where it's kept, the products and categories behind it, and what to use soon.

Commands

Queries

  • GetThe product categories in useinventory.category.listEvery product category in list order, with how many products are in each.
  • GetWhat to use sooninventory.item.expiringItems to use by within the next few days, including ones already past, soonest first.
  • GetWhat changed an iteminventory.item.historyWhat changed an item and who or what changed it, newest first, from the household's audit trail: added, moved, amount changed, seen, picture or date changed, removed.
  • GetWhat we have, and whereinventory.item.listItems we have, by product name, each with its product, place, amount, dates, when it was last seen and a picture.
  • GetThe places things are kept, as a treeinventory.location.listEvery location in page order, each after its parent, with its environment, how many items are in it (and in the locations inside it), and when it was last checked as a whole.
  • GetDo we have these products?inventory.product.haveFor each product: the items recorded with amounts, places and when each was last seen, and whether it's a staple and whether the household tracks it.
  • GetFind a product by name, to reuse itinventory.product.searchProducts whose name contains the text, ignoring case and a plural "s": exact matches first, then names starting with it, then the rest, each with its category, staple flag and how many items we have.