@openimis/fe-product
v1.7.0
Published
openIMIS Frontend Product reference module
Downloads
78
Keywords
Readme
openIMIS Frontend Product reference module
This repository holds the files of the openIMIS Frontend Product reference module. It is dedicated to be deployed as a module of openimis-fe_js.
Menu Contributions
/admin/products
: List of all products/admin/products/new
: Form to create a new product/admin/products/:product_id
: Display the product in details
Other Contributions
None (Administration module providing menu entries to proxied pages for products)
Available Contribution Points
product.hooks.useProductsQuery.productFragment
: Change the fields fetched by theuseProductsQuery
hookproduct.hooks.useProductQuery.productFragment
: Change the fields fetched by theuseProductQuery
hook
Published Components
product.ProductPicker
: Picker that returns products matching the string entered by the user.product.hooks.useProductsQuery
: Hook to get a filtered connection on productsproduct.hooks.useProductQuery
: Hook to get a product with all its fields