@omnia/wcm 7.9.15 → 7.9.16

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.
@@ -22,6 +22,9 @@ export declare class WcmCoreConstants {
22
22
  static get OmniaSearchMigrationId(): string;
23
23
  static get Newsletter(): {
24
24
  SuffixDoneElement: string;
25
+ SuffixStartRenderingElement: string;
26
+ SuffixDoneRenderingElement: string;
27
+ PageRollupNewsletterView: string;
25
28
  };
26
29
  static get SemanticSearchReferenceType(): {
27
30
  providerId: Guid;
@@ -160,7 +160,6 @@ export declare class CurrentPageStore extends Store {
160
160
  private isCurrentVersion;
161
161
  private createVersionRefForVersion;
162
162
  private getPageFromStore;
163
- private checkPermission;
164
163
  private getPageVersionByRules;
165
164
  private ensureCalculatedProperties;
166
165
  private resetState;
@@ -1,12 +1,16 @@
1
1
  import { Store } from "@omnia/fx/stores";
2
2
  import { NavigationNode, WCMPageTypes, Page, VersionedPageData, PageData, VersionReference, PageId, NavigationPosition, PageNavigationNode, PageNavigationData, MergedPageVersionLayout, NavigationData, VersionId, VariationPage, Variation, PageCollectionSelection, CheckedOutVersionPageData, MovePagesResult, ArchivePageResult, PageWithNavigationCreationRequest, ReadNews, ApprovalMetaData } from "../models";
3
3
  import { GuidValue, Guid, IMessageBusSubscriptionHandler, IOmniaContext } from "@omnia/fx-models";
4
+ import { VariationStore } from "./VariationStore";
5
+ import { PermissionService } from "@omnia/fx/services";
4
6
  export declare class PagesStore extends Store {
5
7
  private pageService;
6
8
  private navigationStore;
7
9
  private wcmContext;
8
10
  private versionedLayoutStore;
9
11
  protected omniaContext: IOmniaContext;
12
+ protected variationStore: VariationStore;
13
+ protected permissionService: PermissionService;
10
14
  private pages;
11
15
  private versionData;
12
16
  private versionLoadPromise;
@@ -65,6 +69,7 @@ export declare class PagesStore extends Store {
65
69
  visitedpage: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: ReadNews, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<ReadNews>>;
66
70
  getSitePagesFolderFullUrl: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: string, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<string>>;
67
71
  getPageVersionMetaData: import("@omnia/fx/stores").StoreAction<unknown, (versionId: VersionId) => void, (result: ApprovalMetaData, versionId: VersionId) => void, (failureReason: any, versionId: VersionId) => void, (versionId: VersionId) => Promise<ApprovalMetaData>>;
72
+ checkPermission: import("@omnia/fx/stores").StoreAction<unknown, (page: Page) => void, (result: boolean, page: Page) => void, (failureReason: any, page: Page) => void, (page: Page) => Promise<boolean>>;
68
73
  };
69
74
  private updatePageCollectionSelectionsPromise;
70
75
  private handleNewPageAndNode;
@@ -74,4 +79,5 @@ export declare class PagesStore extends Store {
74
79
  private updatePageHiddenAndSoftDeleted;
75
80
  private updateMovePageTrackingIdForPages;
76
81
  private onMergeLayoutCompleted;
82
+ private getPermissionContextParams;
77
83
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "7.9.15",
4
+ "version": "7.9.16",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"