@omnia/wcm 7.6.33-preview → 7.6.34-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.
@@ -19,4 +19,5 @@ export declare class WcmCoreConstants {
19
19
  static get WCMDocumentsLibraryUrl(): string;
20
20
  static get PageDocumentIndexId(): string;
21
21
  static get OmniaSearchMigrationId(): string;
22
+ static get MigratePageQueryDataPublishedVariationBitwiseId(): string;
22
23
  }
@@ -176,6 +176,7 @@ export declare const OmniaSearchConstants: {
176
176
  readonly variationId: string;
177
177
  readonly variationOfPageId: string;
178
178
  readonly notCreatedVariationIds: string;
179
+ readonly notCreatedPublishedVariationIds: string;
179
180
  readonly isDefaultPageVariation: string;
180
181
  readonly hiddenByPageId: string;
181
182
  readonly deletedAt: string;
@@ -319,6 +319,9 @@ exports.OmniaSearchConstants = {
319
319
  get notCreatedVariationIds() {
320
320
  return "notCreatedVariationIds";
321
321
  },
322
+ get notCreatedPublishedVariationIds() {
323
+ return "notCreatedPublishedVariationIds";
324
+ },
322
325
  get isDefaultPageVariation() {
323
326
  return "isDefaultPageVariation";
324
327
  },
@@ -16,6 +16,7 @@ export interface PageDocument extends IndexedDocument {
16
16
  variationId?: VariationId;
17
17
  variationOfPageId?: number;
18
18
  notCreatedVariationIds?: Array<VariationId>;
19
+ notCreatedPublishedVariationIds?: Array<VariationId>;
19
20
  pUrlSegment?: string;
20
21
  commentCount: number;
21
22
  reactionCount: number;
@@ -1,6 +1,6 @@
1
- import { PageCollectionSelection, ResolveReusablePageResult, PendingApprovalPage, PageId, SimplePageQuery, PageContentsQueryResult, BatchQueryPages, BatchQueryPagesResult, ExportQueryPagesRequest, ExportQueryPagesResult } from "../models";
2
- import { WcmContext } from "../contexts";
3
1
  import { MultilingualStore } from "@omnia/fx/stores";
2
+ import { WcmContext } from "../contexts";
3
+ import { BatchQueryPages, BatchQueryPagesResult, ExportQueryPagesRequest, ExportQueryPagesResult, PageCollectionSelection, PageContentsQueryResult, PageId, PendingApprovalPage, ResolveReusablePageResult, SimplePageQuery } from "../models";
4
4
  export declare class PageQueryService {
5
5
  private httpClient;
6
6
  private omniaHttpClient;
@@ -18,7 +18,7 @@ export declare class PageQueryService {
18
18
  getDefaultPageImageSrc: () => string;
19
19
  exportToExcel: (query: ExportQueryPagesRequest, exportingBlockId: string) => Promise<ExportQueryPagesResult>;
20
20
  getExportedFile: (exportingFileName: string, exportingFileToken: string) => Promise<void>;
21
- checkMigrationOmniaSearchStatus: () => Promise<boolean>;
21
+ checkMigrationOmniaSearchStatus: (migrationId: string) => Promise<boolean>;
22
22
  private processPagesDetailData;
23
23
  private getPageVisited;
24
24
  private findPageInNode;
@@ -1,10 +1,11 @@
1
1
  import { PagedBatchSearchRequest } from "@omnia/fx-models";
2
2
  import { EnterprisePropertyStore } from "@omnia/fx/stores";
3
3
  import { BatchQueryPages } from "../models";
4
- import { PublishingAppInfoStore } from "../stores";
4
+ import { PageRollupStore, PublishingAppInfoStore } from "../stores";
5
5
  export declare class OmniaSearchQueryHelper {
6
6
  enterprisePropertyStore: EnterprisePropertyStore;
7
7
  publishingAppInfoStore: PublishingAppInfoStore;
8
+ pageRollupStore: PageRollupStore;
8
9
  private enterpriseProperties;
9
10
  private querableProperties;
10
11
  private publishingAppInfos;
@@ -1,5 +1,5 @@
1
1
  import { Store } from "@omnia/fx/stores";
2
- import { PageDetailQueryResult, PageDialogData, PageDialogPropertiesMapping, PageNavigationData, PageNavigationNode, PageRollupQuery, ExportQueryPagesRequest, ExportQueryPagesResult, PageTypeTitle } from "@omnia/wcm/models";
2
+ import { ExportQueryPagesRequest, ExportQueryPagesResult, PageDetailQueryResult, PageDialogData, PageDialogPropertiesMapping, PageNavigationData, PageNavigationNode, PageRollupQuery, PageTypeTitle } from "@omnia/wcm/models";
3
3
  export interface PageRollupQueryResult extends PageRollupQuery {
4
4
  selectProperties: Array<string>;
5
5
  disableDistinct: boolean;
@@ -55,6 +55,7 @@ export declare class PageRollupStore extends Store {
55
55
  private metricUniqueKey;
56
56
  private tenantPublishingAppIdKey;
57
57
  private omniaSearchMigrationStatusPromise;
58
+ private omniaSearchNotCreatedPublishedVariationIdsMigrationPromise;
58
59
  /**
59
60
  * Private properties
60
61
  */
@@ -120,6 +121,7 @@ export declare class PageRollupStore extends Store {
120
121
  exportToExcel: import("@omnia/fx/stores").StoreAction<unknown, (query: ExportQueryPagesRequest, exportingBlockId: string) => void, (result: ExportQueryPagesResult, query: ExportQueryPagesRequest, exportingBlockId: string) => void, (failureReason: any, query: ExportQueryPagesRequest, exportingBlockId: string) => void, (query: ExportQueryPagesRequest, exportingBlockId: string) => Promise<ExportQueryPagesResult>>;
121
122
  getExportedFile: import("@omnia/fx/stores").StoreAction<unknown, (exportingFileName: string, exportingFileToken: string) => void, (result: void, exportingFileName: string, exportingFileToken: string) => void, (failureReason: any, exportingFileName: string, exportingFileToken: string) => void, (exportingFileName: string, exportingFileToken: string) => Promise<void>>;
122
123
  ensureOmniaSearchMigrationStatus: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
124
+ ensureOmniaSearchNotCreatedPublishedVariationIdsMigrationStatus: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
123
125
  };
124
126
  /**
125
127
  * Find page and page variation in specific node
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "7.6.33-preview",
4
+ "version": "7.6.34-preview",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"