@centreon/ui-context 24.11.6 → 25.1.0

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": "24.11.6",
3
+ "version": "25.1.0",
4
4
  "description": "Centreon UI shared context",
5
5
  "main": "src/index.ts",
6
6
  "keywords": [],
package/src/index.ts CHANGED
@@ -2,6 +2,7 @@ export { default as userAtom } from './userAtom';
2
2
  export { default as aclAtom } from './aclAtom';
3
3
  export { default as downtimeAtom } from './downtimeAtom';
4
4
  export { default as refreshIntervalAtom } from './refreshIntervalAtom';
5
+ export { default as statisticsRefreshIntervalAtom } from './statisticsRefreshIntervalAtom';
5
6
  export { default as cloudServicesAtom } from './cloudServicesAtom';
6
7
  export { default as acknowledgementAtom } from './acknowledgementAtom';
7
8
  export { default as resourceStorageOptimizationModeAtom } from './resourceStorageOptimizationMode';
@@ -0,0 +1,6 @@
1
+ import { atom } from 'jotai';
2
+ import { defaultRefreshInterval } from './defaults';
3
+
4
+ const statisticsRefreshIntervalAtom = atom(defaultRefreshInterval);
5
+
6
+ export default statisticsRefreshIntervalAtom;