@omnia/wcm 7.8.88-preview → 7.8.89-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/core/loc/EditorLocalization.d.ts +1 -0
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/services/PageStatisticsService.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/stores/CurrentPageStore.d.ts +6 -1
- package/internal-do-not-import-from-here/fx/stores/PageStatisticsStore.d.ts +3 -0
- package/package.json +1 -1
|
@@ -391,6 +391,7 @@ export declare module PublishingAppLocalization {
|
|
|
391
391
|
InvalidSiteUrlErrorMessage: string;
|
|
392
392
|
ExistedSiteUrlErrorMessage: string;
|
|
393
393
|
NoMatchingSPSiteTemplate: string;
|
|
394
|
+
MissingPermissionErrorMessage: string;
|
|
394
395
|
};
|
|
395
396
|
Actions: {
|
|
396
397
|
CreateNew: string;
|
|
@@ -22,6 +22,8 @@ export declare class WcmRouter {
|
|
|
22
22
|
private loadTreeForPath;
|
|
23
23
|
navigate<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any, forceToNewNavigationState?: boolean): Promise<T>;
|
|
24
24
|
navigateWithVariationTargeting<T extends NavigationNode<NavigationData>>(to: T): Promise<T>;
|
|
25
|
+
navigateFromExternalApp<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any): void;
|
|
26
|
+
private buildRelativePath;
|
|
25
27
|
private getTargetingVariation;
|
|
26
28
|
onDisposing(): void;
|
|
27
29
|
private executeScrollingIfNeeded;
|
|
@@ -18,4 +18,5 @@ export declare class PageStatisticsService {
|
|
|
18
18
|
exportScheduledReport(reportOptions: PageReportOption): Promise<PageStatisticExport>;
|
|
19
19
|
getDailyStatisticsPerPage(pageId: number, includeSubPages: boolean): Promise<Array<DailyStatisticsPerPage>>;
|
|
20
20
|
getPageUniqueUsersByUserProperty(pageId: number, propertyName: string, datePeriods: PageRollupEnums.DatePeriods): Promise<Array<UniqueUsersByUserProperty>>;
|
|
21
|
+
isMaximumCapacity(): Promise<boolean>;
|
|
21
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from "@omnia/fx/stores";
|
|
2
|
-
import { Page, VersionReference, PageId, VersionId, IPageVersion } from "../models";
|
|
2
|
+
import { Page, VersionedPageData, PageData, VersionReference, PageId, VersionId, IPageVersion } from "../models";
|
|
3
3
|
import { Layout } from "@omnia/fx-models";
|
|
4
4
|
export interface ICurrentPageState {
|
|
5
5
|
/**
|
|
@@ -138,6 +138,11 @@ export declare class CurrentPageStore extends Store {
|
|
|
138
138
|
}, targetPublishingAppId?: string) => void, (failureReason: any, targetPublishingAppId?: string) => void, (targetPublishingAppId?: string) => Promise<{
|
|
139
139
|
publishedVersionId: VersionId;
|
|
140
140
|
}>>;
|
|
141
|
+
publishWithoutNavigating: import("@omnia/fx/stores").StoreAction<unknown, (versionPageData: VersionedPageData<PageData>, targetPublishingAppId?: string) => void, (result: {
|
|
142
|
+
publishedVersionId: VersionId;
|
|
143
|
+
}, versionPageData: VersionedPageData<PageData>, targetPublishingAppId?: string) => void, (failureReason: any, versionPageData: VersionedPageData<PageData>, targetPublishingAppId?: string) => void, (versionPageData: VersionedPageData<PageData>, targetPublishingAppId?: string) => Promise<{
|
|
144
|
+
publishedVersionId: VersionId;
|
|
145
|
+
}>>;
|
|
141
146
|
reloadPublishedVersion: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: {
|
|
142
147
|
publishedVersionId: VersionId;
|
|
143
148
|
}) => void, (failureReason: any) => void, () => Promise<{
|
|
@@ -7,8 +7,10 @@ export declare class PageStatisticsStore extends Store {
|
|
|
7
7
|
private omniaContext;
|
|
8
8
|
private static _visitedPages;
|
|
9
9
|
private pagePropertyMappingSettingsState;
|
|
10
|
+
private isMaximumCapacity;
|
|
10
11
|
getters: {
|
|
11
12
|
pagePropertyMappingSettings: () => PagePropertyMappingSetting;
|
|
13
|
+
isMaximumCapacity: () => boolean;
|
|
12
14
|
};
|
|
13
15
|
setters: {
|
|
14
16
|
/**
|
|
@@ -30,6 +32,7 @@ export declare class PageStatisticsStore extends Store {
|
|
|
30
32
|
exportScheduledReport: import("@omnia/fx/stores").StoreAction<unknown, (reportOptions: PageReportOption) => void, (result: PageStatisticExportStatus, reportOptions: PageReportOption) => void, (failureReason: any, reportOptions: PageReportOption) => void, (reportOptions: PageReportOption) => Promise<PageStatisticExportStatus>>;
|
|
31
33
|
downloadReportFile: import("@omnia/fx/stores").StoreAction<unknown, (pageStatistic: PageStatisticExportStatus) => void, (result: void, pageStatistic: PageStatisticExportStatus) => void, (failureReason: any, pageStatistic: PageStatisticExportStatus) => void, (pageStatistic: PageStatisticExportStatus) => Promise<void>>;
|
|
32
34
|
getDailyStatisticsPerPage: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number, includeSubPages: boolean) => void, (result: DailyStatisticsPerPage[], pageId: number, includeSubPages: boolean) => void, (failureReason: any, pageId: number, includeSubPages: boolean) => void, (pageId: number, includeSubPages: boolean) => Promise<DailyStatisticsPerPage[]>>;
|
|
35
|
+
ensureIsMaximumCapacity: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
|
|
33
36
|
};
|
|
34
37
|
private submitPageViewed;
|
|
35
38
|
private downloadReportResult;
|