@omnia/workplace 7.8.2-preview → 7.8.3-preview
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/internal-do-not-import-from-here/models/analytics/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/analytics/index.js +1 -0
- package/internal-do-not-import-from-here/models/analytics/segmentinfo.d.ts +7 -0
- package/internal-do-not-import-from-here/models/analytics/segmentinfo.js +2 -0
- package/internal-do-not-import-from-here/services/AnalyticsStoreService.d.ts +2 -1
- package/internal-do-not-import-from-here/stores/AnalyticsStore.d.ts +4 -1
- package/package.json +1 -1
|
@@ -7,3 +7,4 @@ tslib_1.__exportStar(require("./widgetmetadata"), exports);
|
|
|
7
7
|
tslib_1.__exportStar(require("./analyticsfiltersettings"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./businessProfileAnalyticsSettings"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./matomosite"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./segmentinfo"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GuidValue, Identity } from "@omnia/fx/models";
|
|
2
|
-
import { AnalyticsDimensionMapping, AnalyticsDimensionScopes, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, AnalyticsToken, WidgetCategoryInfo, MatomoSite, AnalyticsColumn } from "../models/analytics";
|
|
2
|
+
import { AnalyticsDimensionMapping, AnalyticsDimensionScopes, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, AnalyticsToken, WidgetCategoryInfo, MatomoSite, AnalyticsColumn, SegmentInfo } from "../models/analytics";
|
|
3
3
|
export declare class AnalyticsStoreService {
|
|
4
4
|
private httpClient;
|
|
5
5
|
constructor();
|
|
@@ -17,4 +17,5 @@ export declare class AnalyticsStoreService {
|
|
|
17
17
|
setTenantAdmins: (roleId: GuidValue, identities: Identity[]) => Promise<void>;
|
|
18
18
|
setMappings: (mappings: AnalyticsDimensionMapping[]) => Promise<void>;
|
|
19
19
|
ensureSitesWithAtLeastViewAccess: () => Promise<MatomoSite[]>;
|
|
20
|
+
getSegments: (businessProfileId?: GuidValue) => Promise<SegmentInfo>;
|
|
20
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Store } from "@omnia/fx/stores";
|
|
2
2
|
import { OmniaContext } from "@omnia/fx";
|
|
3
3
|
import { GuidValue } from "@omnia/fx-models";
|
|
4
|
-
import { AnalyticsColumn, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, MatomoSite } from "../models/analytics";
|
|
4
|
+
import { AnalyticsColumn, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, MatomoSite, SegmentInfo } from "../models/analytics";
|
|
5
5
|
import { AnalyticsStoreService } from "../services/AnalyticsStoreService";
|
|
6
6
|
import { WidgetCategoryInfo } from "../models";
|
|
7
7
|
export declare class AnalyticsStore extends Store {
|
|
@@ -27,6 +27,8 @@ export declare class AnalyticsStore extends Store {
|
|
|
27
27
|
private ensuredLoadAnalyticColumns;
|
|
28
28
|
private reportStructure;
|
|
29
29
|
private ensuredLoadReportStructure;
|
|
30
|
+
private segmentInfos;
|
|
31
|
+
private ensuredLoadSegmentPromise;
|
|
30
32
|
private isInstalled;
|
|
31
33
|
onActivated(): void;
|
|
32
34
|
onDisposing(): void;
|
|
@@ -44,6 +46,7 @@ export declare class AnalyticsStore extends Store {
|
|
|
44
46
|
isInstalled: () => boolean;
|
|
45
47
|
analyticsColumns: () => AnalyticsColumn[];
|
|
46
48
|
reportStructure: () => Record<string, string[]>;
|
|
49
|
+
segments: (businessProfileId?: GuidValue) => SegmentInfo[];
|
|
47
50
|
};
|
|
48
51
|
actions: any;
|
|
49
52
|
}
|