@centreon/ui-context 26.11.1 → 26.11.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centreon/ui-context",
3
- "version": "26.11.1",
3
+ "version": "26.11.3",
4
4
  "description": "Centreon UI shared context",
5
5
  "main": "src/index.ts",
6
6
  "keywords": [],
package/src/index.ts CHANGED
@@ -9,6 +9,7 @@ export {
9
9
  federatedModulesAtom,
10
10
  federatedWidgetsAtom
11
11
  } from './federatedModulesAndWidgetsAtoms';
12
+ export { isAdditiveInheritanceEnabledAtom } from './isAdditiveInheritanceEnabledAtom';
12
13
  export { isOnPublicPageAtom } from './isOnPublicPageAtom';
13
14
  export { isResourceStatusFullSearchEnabledAtom } from './isResourceStatusFullSearchEnabledAtom';
14
15
  export {
@@ -0,0 +1,3 @@
1
+ import { atom } from 'jotai';
2
+
3
+ export const isAdditiveInheritanceEnabledAtom = atom(false);
package/src/types.ts CHANGED
@@ -154,4 +154,5 @@ export interface UserPermissions {
154
154
  manage_discovery_commands: boolean;
155
155
  see_miscellaneous_commands: boolean;
156
156
  manage_miscellaneous_commands: boolean;
157
+ create_edit_poller_cfg: boolean;
157
158
  }