@centreon/ui-context 24.7.2 → 24.7.4

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,11 +1,11 @@
1
1
  {
2
2
  "name": "@centreon/ui-context",
3
- "version": "24.7.2",
3
+ "version": "24.7.4",
4
4
  "description": "Centreon UI shared context",
5
5
  "main": "src/index.ts",
6
6
  "keywords": [],
7
7
  "author": "centreon@centreon.com",
8
- "license": "MIT",
8
+ "license": "GPL-2.0",
9
9
  "scripts": {
10
10
  "eslint": "eslint ./src --ext .ts --max-warnings 0",
11
11
  "eslint:fix": "pnpm eslint --fix"
package/src/index.ts CHANGED
@@ -11,9 +11,6 @@ export {
11
11
  platformFeaturesAtom,
12
12
  featureFlagsDerivedAtom
13
13
  } from './platformFeauresAtom';
14
-
15
- export { platformVersionsAtom } from './platformVersionsAtom';
16
-
17
14
  export { isOnPublicPageAtom } from './isOnPublicPageAtom';
18
15
  export { additionalResourcesAtom } from './additionalResources';
19
16
  export {
package/src/types.ts CHANGED
@@ -90,7 +90,6 @@ export interface FeatureFlags {
90
90
  notification?: boolean;
91
91
  resourceStatusFilterRevamp?: boolean;
92
92
  resourceStatusTreeView?: boolean;
93
- resouresTableOpenTickets: boolean;
94
93
  vault?: boolean;
95
94
  }
96
95
 
@@ -130,16 +129,3 @@ export interface FederatedModule {
130
129
  remoteEntry: string;
131
130
  remoteUrl?: string;
132
131
  }
133
-
134
- interface Version {
135
- fix: string;
136
- major: string;
137
- minor: string;
138
- version: string;
139
- }
140
-
141
- export interface PlatformVersions {
142
- modules: Record<string, Version>;
143
- web: Version;
144
- widgets: Record<string, Version | null>;
145
- }
@@ -1,5 +0,0 @@
1
- import { atom } from 'jotai';
2
-
3
- import { PlatformVersions } from './types';
4
-
5
- export const platformVersionsAtom = atom<PlatformVersions | null>(null);