@centreon/ui-context 26.12.0 → 26.12.2

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.12.0",
3
+ "version": "26.12.2",
4
4
  "description": "Centreon UI shared context",
5
5
  "main": "src/index.ts",
6
6
  "keywords": [],
@@ -0,0 +1,5 @@
1
+ import { atom } from 'jotai';
2
+
3
+ // The platform's default page size for listings, from the platform
4
+ // parameters. `null` until they are known.
5
+ export const defaultLimitPerPageAtom = atom<number | null>(null);
package/src/index.ts CHANGED
@@ -3,6 +3,7 @@ export { default as aclAtom } from './aclAtom';
3
3
  export { additionalResourcesAtom } from './additionalResources';
4
4
  export { browserLocaleAtom } from './browserLocaleAtom';
5
5
  export { default as cloudServicesAtom } from './cloudServicesAtom';
6
+ export { defaultLimitPerPageAtom } from './defaultLimitPerPageAtom';
6
7
  export { defaultAcl } from './defaults';
7
8
  export { default as downtimeAtom } from './downtimeAtom';
8
9
  export {
package/src/types.ts CHANGED
@@ -146,6 +146,7 @@ export interface UserPermissions {
146
146
  poller_statistics: boolean;
147
147
  configuration_host_group_write: boolean;
148
148
  configuration_host_write: boolean;
149
+ configuration_host_template_write: boolean;
149
150
  see_check_commands: boolean;
150
151
  manage_check_commands: boolean;
151
152
  see_notification_commands: boolean;