@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.
- package/internal-do-not-import-from-here/core/Constants.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/Constants.js +3 -0
- package/internal-do-not-import-from-here/fx/models/search/PageDocument.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/PageQueryService.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/shared/OmniaSearchQueryHelper.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +3 -1
- package/package.json +1 -1
|
@@ -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,
|
|
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
|