@eintrek/erp-shell 0.1.50 → 0.1.51

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.
@@ -19,7 +19,13 @@ export declare const PLAN_FEATURES: {
19
19
  readonly MODULE_INVENTORY: "module.inventory";
20
20
  readonly MODULE_PROJECT: "module.project";
21
21
  readonly MODULE_SECRETARIAT: "module.secretariat";
22
+ /** AI pack (paid or trial): AI calls on AntNiti's key while credits remain. */
23
+ readonly AI: "ai";
22
24
  };
23
25
  export type PlanFeatureKey = (typeof PLAN_FEATURES)[keyof typeof PLAN_FEATURES];
24
- /** True when plan features include key (with legacy basic_accounting_hr alias). */
26
+ /**
27
+ * True when plan features include key. Aliases, mirroring the backend:
28
+ * legacy basic_accounting_hr → module.hr + module.accounting (+ its sub-keys);
29
+ * module.accounting → module.sales, module.purchasing, module.secretariat.
30
+ */
25
31
  export declare function hasPlanFeature(features: string[] | null | undefined, feature: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eintrek/erp-shell",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Shared frontend platform for ERP apps — HTTP client, providers, navigation, hooks.",