@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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "fayz": {
4
4
  "status": "beta"
5
5
  },
6
- "version": "0.8.1",
6
+ "version": "0.8.3",
7
7
  "description": "Fayz SDK — plugin-inventory plugin",
8
8
  "type": "module",
9
9
  "main": "./dist/index.cjs",
@@ -29,9 +29,9 @@
29
29
  "lucide-react": "^0.400.0",
30
30
  "zustand": "^4.5.0",
31
31
  "@tanstack/react-table": "^8.20.0",
32
- "@fayz-ai/saas": "^0.8.2",
33
- "@fayz-ai/ui": "^0.8.1",
34
- "@fayz-ai/core": "^0.8.2"
32
+ "@fayz-ai/core": "^0.8.3",
33
+ "@fayz-ai/ui": "^0.8.3",
34
+ "@fayz-ai/saas": "^0.8.3"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/react": "^18.3.0",
package/src/index.ts CHANGED
@@ -184,6 +184,10 @@ export function createInventoryPlugin(options?: InventoryPluginOptions): PluginM
184
184
  path: '/inventory',
185
185
  component: PageComponent,
186
186
  permission: { feature: 'inventory', action: 'read' as const },
187
+ // Products live on this hand-built page, not a CRUD route, so nothing
188
+ // would register them and a product the assistant just created would
189
+ // resolve to no page at all.
190
+ entityRoutes: ['product:sale', 'product'],
187
191
  },
188
192
  ],
189
193
  widgets: [],