@omnia/wcm 6.11.35 → 6.11.36

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.
@@ -1,7 +1,7 @@
1
1
  import { ServiceContainerContext } from '@omnia/fx';
2
2
  import { EnterprisePropertyDefinition, IBlockInstance, TargetingPropertyFlatResult, RollupFilter } from '@omnia/fx-models';
3
3
  import { IBlockInstanceExtends } from '@omnia/fx/ux';
4
- import { PageRollupBlockSettings, PageRollupEnums, PageQuery, PageItemNode, QueryFilter, PageRollupPropertyFilter, ReactivePageBlockProperty, PageRollupBlockProperty, PageCollectionSelection, VariationQuery, VariationId, BatchQueryPages, PageRollupUiSearchboxFilterValue, QueryOrder, NormalPageRollupPagingQuery, PageDialogPropertiesMapping, PageDialogData, PageRollupUiFilter } from '../../fx/models';
4
+ import { PageRollupBlockSettings, PageRollupEnums, PageQuery, PageItemNode, QueryFilter, PageRollupPropertyFilter, ReactivePageBlockProperty, PageRollupBlockProperty, PageCollectionSelection, VariationQuery, VariationId, BatchQueryPages, PageRollupUiSearchboxFilterValue, QueryOrder, NormalPageRollupPagingQuery, BatchQueryPagesResult, PageDialogPropertiesMapping, PageDialogData, PageRollupUiFilter } from '../../fx/models';
5
5
  import { MultilingualStore, EnterpriseGlossaryStore } from '@omnia/fx/stores';
6
6
  import { TermStore } from '@omnia/fx-sp';
7
7
  interface BlockPageRollupInstanceExtends extends IBlockInstanceExtends<PageRollupBlockSettings> {
@@ -12,6 +12,10 @@ interface BlockPageRollupInstanceExtends extends IBlockInstanceExtends<PageRollu
12
12
  pagingQuery?: NormalPageRollupPagingQuery;
13
13
  originalSettings?: PageRollupBlockSettings;
14
14
  }
15
+ interface BatchQueryPagesExtends extends BatchQueryPages {
16
+ concatResult?: boolean;
17
+ queryParrallelIndex?: number;
18
+ }
15
19
  declare class InternalPageRollupStoreHelper {
16
20
  private pageQueryService;
17
21
  private pageRollupStore;
@@ -106,7 +110,7 @@ declare class InternalPageRollupStoreHelper {
106
110
  private extractPageRollupInstancesInNP;
107
111
  private pushBatchQueryTimewatch;
108
112
  private ensureRunLatestBatchQuery;
109
- private executeBatchQuery;
113
+ executeBatchQuery(queries: BatchQueryPagesExtends[], allowCancelToken?: boolean, clientCaching?: boolean): Promise<BatchQueryPagesResult>;
110
114
  private mapToBatchQueryPages;
111
115
  private hasPageTypeInSettings;
112
116
  private hasAppInSettings;
@@ -132,6 +136,7 @@ export declare class PageRollupStoreHelper {
132
136
  }>;
133
137
  getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
134
138
  setDestroyedPageRollups(pageRollupQueryId: string): void;
139
+ getBatchQueriesData(batchQueries: Array<BatchQueryPages>): Promise<BatchQueryPagesResult>;
135
140
  }
136
141
  export declare class FilterManager {
137
142
  private static targetingPropertyStore;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "6.11.35",
4
+ "version": "6.11.36",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"