@centreon/ui-context 24.8.0 → 24.9.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 +5 -4
- package/src/defaults.ts +1 -1
- package/src/index.ts +3 -0
- package/src/platformVersionsAtom.ts +5 -0
- package/src/types.ts +14 -4
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@centreon/ui-context",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.9.0",
|
|
4
4
|
"description": "Centreon UI shared context",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"keywords": [],
|
|
7
7
|
"author": "centreon@centreon.com",
|
|
8
|
-
"license": "
|
|
8
|
+
"license": "MIT",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"lint": "biome check ./src/ --error-on-warnings",
|
|
11
|
+
"lint:fix": "pnpm lint --fix",
|
|
12
|
+
"lint:ci": "biome ci ./src/ --error-on-warnings"
|
|
12
13
|
}
|
|
13
14
|
}
|
package/src/defaults.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -11,6 +11,9 @@ export {
|
|
|
11
11
|
platformFeaturesAtom,
|
|
12
12
|
featureFlagsDerivedAtom
|
|
13
13
|
} from './platformFeauresAtom';
|
|
14
|
+
|
|
15
|
+
export { platformVersionsAtom } from './platformVersionsAtom';
|
|
16
|
+
|
|
14
17
|
export { isOnPublicPageAtom } from './isOnPublicPageAtom';
|
|
15
18
|
export { additionalResourcesAtom } from './additionalResources';
|
|
16
19
|
export {
|
package/src/types.ts
CHANGED
|
@@ -86,11 +86,8 @@ export interface Downtime {
|
|
|
86
86
|
|
|
87
87
|
export interface FeatureFlags {
|
|
88
88
|
adExclusionPeriods?: boolean;
|
|
89
|
-
dashboard?: boolean;
|
|
90
|
-
dashboardPlayList?: boolean;
|
|
91
89
|
notification?: boolean;
|
|
92
|
-
|
|
93
|
-
resourceStatusTreeView?: boolean;
|
|
90
|
+
resouresTableOpenTickets: boolean;
|
|
94
91
|
vault?: boolean;
|
|
95
92
|
}
|
|
96
93
|
|
|
@@ -130,3 +127,16 @@ export interface FederatedModule {
|
|
|
130
127
|
remoteEntry: string;
|
|
131
128
|
remoteUrl?: string;
|
|
132
129
|
}
|
|
130
|
+
|
|
131
|
+
interface Version {
|
|
132
|
+
fix: string;
|
|
133
|
+
major: string;
|
|
134
|
+
minor: string;
|
|
135
|
+
version: string;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export interface PlatformVersions {
|
|
139
|
+
modules: Record<string, Version>;
|
|
140
|
+
web: Version;
|
|
141
|
+
widgets: Record<string, Version | null>;
|
|
142
|
+
}
|