@fayz-ai/plugin-inventory 0.8.1 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +4 -0
package/dist/index.cjs
CHANGED
|
@@ -2845,7 +2845,11 @@ function createInventoryPlugin(options) {
|
|
|
2845
2845
|
{
|
|
2846
2846
|
path: "/inventory",
|
|
2847
2847
|
component: PageComponent,
|
|
2848
|
-
permission: { feature: "inventory", action: "read" }
|
|
2848
|
+
permission: { feature: "inventory", action: "read" },
|
|
2849
|
+
// Products live on this hand-built page, not a CRUD route, so nothing
|
|
2850
|
+
// would register them and a product the assistant just created would
|
|
2851
|
+
// resolve to no page at all.
|
|
2852
|
+
entityRoutes: ["product:sale", "product"]
|
|
2849
2853
|
}
|
|
2850
2854
|
],
|
|
2851
2855
|
widgets: [],
|