@centreon/ui-context 24.8.0 → 24.8.1
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 -0
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@centreon/ui-context",
|
|
3
|
-
"version": "24.8.
|
|
3
|
+
"version": "24.8.1",
|
|
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
|
@@ -91,6 +91,7 @@ export interface FeatureFlags {
|
|
|
91
91
|
notification?: boolean;
|
|
92
92
|
resourceStatusFilterRevamp?: boolean;
|
|
93
93
|
resourceStatusTreeView?: boolean;
|
|
94
|
+
resouresTableOpenTickets: boolean;
|
|
94
95
|
vault?: boolean;
|
|
95
96
|
}
|
|
96
97
|
|
|
@@ -130,3 +131,16 @@ export interface FederatedModule {
|
|
|
130
131
|
remoteEntry: string;
|
|
131
132
|
remoteUrl?: string;
|
|
132
133
|
}
|
|
134
|
+
|
|
135
|
+
interface Version {
|
|
136
|
+
fix: string;
|
|
137
|
+
major: string;
|
|
138
|
+
minor: string;
|
|
139
|
+
version: string;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export interface PlatformVersions {
|
|
143
|
+
modules: Record<string, Version>;
|
|
144
|
+
web: Version;
|
|
145
|
+
widgets: Record<string, Version | null>;
|
|
146
|
+
}
|