@omnia/wcm 7.10.0-preview.16 → 7.10.0-preview.17
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.
|
@@ -4,7 +4,6 @@ import { ApiResponse, GuidValue } from "@omnia/fx-models";
|
|
|
4
4
|
import { VersionReference } from "../models";
|
|
5
5
|
import { NavigationPosition } from "../models/navigation/NavigationPosition";
|
|
6
6
|
import { CreatedPageWithNavigationInfo, CreatedPageInfo } from "../models";
|
|
7
|
-
import { PagePermissionInfo } from "../models";
|
|
8
7
|
import { EnterprisePropertyStore } from "@omnia/fx/stores";
|
|
9
8
|
import { InvitationOfAuthor } from "../../models";
|
|
10
9
|
export declare class PageService {
|
|
@@ -16,7 +15,7 @@ export declare class PageService {
|
|
|
16
15
|
private readonly baseUrl;
|
|
17
16
|
private readonly reusablePageBaseUrl;
|
|
18
17
|
createVariationPage: <T extends PageData>(pageData: T, originalPageId: PageId, variationId: VariationId) => Promise<CreatedPageInfo<T>>;
|
|
19
|
-
updatePagePermissions: (pageId: PageId,
|
|
18
|
+
updatePagePermissions: (pageId: PageId, variationId?: VariationId) => Promise<void>;
|
|
20
19
|
createWithNavigation: <T extends PageData>(creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => Promise<CreatedPageWithNavigationInfo<T>>;
|
|
21
20
|
move: <T extends NavigationNode<NavigationData>>(nodeToMove: T, newPosition: NavigationPosition) => Promise<MovePagesResult>;
|
|
22
21
|
movePageTypeToTenant: (page: Page) => Promise<PageNavigationNode<PageNavigationData>>;
|
|
@@ -160,6 +160,7 @@ export declare class CurrentPageStore extends Store {
|
|
|
160
160
|
private isCurrentVersion;
|
|
161
161
|
private createVersionRefForVersion;
|
|
162
162
|
private getPageFromStore;
|
|
163
|
+
private checkPermission;
|
|
163
164
|
private getPageVersionByRules;
|
|
164
165
|
private ensureCalculatedProperties;
|
|
165
166
|
private resetState;
|