@omnia/wcm 6.10.7-preview → 6.10.13-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.
@@ -71,8 +71,10 @@ export declare module PageRollupLocalization {
71
71
  Rating: string;
72
72
  Feedback: string;
73
73
  LastCommentedAt: string;
74
+ LastActivity: string;
74
75
  NoLimit: string;
75
76
  ExcludeCurrentPage: string;
77
+ ExcludeVariations: string;
76
78
  Status: {
77
79
  Title: string;
78
80
  AnyStatus: string;
@@ -2,5 +2,5 @@ import { LayoutItem } from '@omnia/fx-models';
2
2
  export declare module LayoutHelper {
3
3
  function registerBlockChangesAffectPagesChecker(elem: string, checker: (oldVal: any, newVal: any) => boolean): void;
4
4
  function checkBlockChangesAffectPages(layoutItem: LayoutItem, getLatestPublishedBlockData: (key: string) => any, getComingPublishedBlockData: (key: string) => any): boolean;
5
- function convertToPlainText(html: any): string;
5
+ function convertToPlainText(html: string): string;
6
6
  }
@@ -5,7 +5,8 @@ export declare const PageRollupConstants: {
5
5
  readonly likeInternalName: string;
6
6
  readonly commentInternalName: string;
7
7
  readonly ratingInternalName: string;
8
- readonly lastCommentedAtInternalName: string;
8
+ readonly lastActivityInternalName: string;
9
+ readonly lastCommentedInternalName: string;
9
10
  readonly feedbackInternalName: string;
10
11
  readonly titleInternalName: string;
11
12
  readonly currentPageCollectionId: string;
@@ -15,9 +15,12 @@ export var PageRollupConstants = {
15
15
  get ratingInternalName() {
16
16
  return "b9580693-6e0e-4e3a-848a-30515b334451";
17
17
  },
18
- get lastCommentedAtInternalName() {
18
+ get lastActivityInternalName() {
19
19
  return "579affaa-4050-49aa-9058-99974726880f";
20
20
  },
21
+ get lastCommentedInternalName() {
22
+ return "69ec8bf6-c32f-443a-9d98-0647308fb070";
23
+ },
21
24
  get feedbackInternalName() {
22
25
  return "8630ed9f-6069-4e17-925d-f92928c2a9ec";
23
26
  },
@@ -154,6 +154,7 @@ export interface PageRollupBlockProperty {
154
154
  export interface PageRollupBlockSettings {
155
155
  scope: PageRollupEnums.RollupScopes;
156
156
  excludeCurrentPage: boolean;
157
+ excludeVariations: boolean;
157
158
  resources: Array<{
158
159
  id: string;
159
160
  typeId?: GuidValue;
@@ -25,6 +25,7 @@ export interface BatchQueryPages extends PageQuery {
25
25
  queryId: string;
26
26
  internalNames?: Array<string>;
27
27
  trimDuplicates?: boolean;
28
+ excludeVariations?: boolean;
28
29
  priority?: number;
29
30
  contentLimit?: number;
30
31
  contentProp?: string;
@@ -3,4 +3,7 @@ export interface VariationPage extends Page {
3
3
  variationId: number;
4
4
  variationOfPageId: number;
5
5
  variationSegment: string;
6
+ variationPages: {
7
+ [variationId: number]: VariationPage;
8
+ };
6
9
  }
@@ -91,9 +91,10 @@ declare class InternalPageRollupStoreHelper {
91
91
  private ensureRunLatestBatchQuery;
92
92
  private executeBatchQuery;
93
93
  private mapToBatchQueryPages;
94
+ private hasPageTypeInSettings;
94
95
  private ensureLoadPageTypesOfInstance;
95
96
  private ensureLoadPageTypes;
96
- private ensureLanuageSettings;
97
+ private ensureLanguageSettings;
97
98
  }
98
99
  export declare class PageRollupStoreHelper {
99
100
  private internal;
@@ -111,7 +112,6 @@ export declare class PageRollupStoreHelper {
111
112
  ids: VariationId[];
112
113
  queries: VariationQuery[];
113
114
  }>;
114
- populateTargetingVariationIds(variationQueries: VariationQuery[], settings: PageRollupBlockSettings, pageCollectionSelections: Array<PageCollectionSelection>): any[];
115
115
  getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
116
116
  }
117
117
  export declare class FilterManager {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "6.10.7-preview",
4
+ "version": "6.10.13-preview",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"