@trackunit/react-core-contexts-api 0.2.9 → 0.2.11
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
@@ -3,7 +3,6 @@ export interface IDeveloperSettingsContext {
|
|
3
3
|
localFeatureFlagsEnabled: boolean;
|
4
4
|
enableLocalFeatureFlags?: React.Dispatch<React.SetStateAction<boolean>>;
|
5
5
|
localFeatureFlags?: FeatureFlags;
|
6
|
-
launchdarklyFlags?: FeatureFlags;
|
7
6
|
setFlags?: React.Dispatch<React.SetStateAction<FeatureFlags | undefined>>;
|
8
7
|
}
|
9
8
|
export type FeatureFlags = {
|
@@ -3,10 +3,10 @@ export interface IGlobalSelectionContext {
|
|
3
3
|
* Details about the globally selected entity and its type
|
4
4
|
* returns `null` if no selection currently.
|
5
5
|
*/
|
6
|
-
selection: Readonly<
|
6
|
+
selection: Readonly<SiteSelection | GroupSelection> | null;
|
7
7
|
}
|
8
|
-
export interface
|
9
|
-
|
8
|
+
export interface SiteSelection extends TypedSelection<"site"> {
|
9
|
+
siteId: string;
|
10
10
|
}
|
11
11
|
export interface GroupSelection extends TypedSelection<"group"> {
|
12
12
|
groupId: string;
|