@omnia/wcm 8.0.1-vnext → 8.0.3-vnext
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 +2 -0
- package/internal-do-not-import-from-here/core/Utils.d.ts +1 -4
- package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +14 -16
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +108 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +13 -2
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +59 -1
- package/internal-do-not-import-from-here/core/loc/eventmanagement/localize.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/constants.d.ts +5 -2
- package/internal-do-not-import-from-here/fx/helpers/ItemQueryHelper.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/internal/models/OmniaSearch.d.ts +31 -0
- package/internal-do-not-import-from-here/fx/internal/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/internal/stores/OmniaSearchPageStore.d.ts +27 -0
- package/internal-do-not-import-from-here/fx/internal/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/messaging/InternalWcmTopics.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +45 -2
- package/internal-do-not-import-from-here/fx/models/Constants.js +109 -4
- package/internal-do-not-import-from-here/fx/models/Enums.d.ts +4 -2
- package/internal-do-not-import-from-here/fx/models/Enums.js +3 -1
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +13 -2
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +15 -2
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisPropertyRequest.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisPropertyResult.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisPropertyResult.js +2 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReport.d.ts +37 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReport.js +19 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReportAddRequest.d.ts +11 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReportAddRequest.js +2 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReportQuery.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReportQuery.js +2 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReportSummary.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReportSummary.js +2 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/index.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/index.js +7 -0
- package/internal-do-not-import-from-here/fx/models/apps/AppTemplateProperties.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/apps/WCMAppInstanceContext.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/apps/WCMAppInstanceContext.js +2 -0
- package/internal-do-not-import-from-here/fx/models/components/ContentBlock.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/components/MediaBlock.d.ts +15 -0
- package/internal-do-not-import-from-here/fx/models/components/MediaBlockStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonTemplate.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonTemplate.js +2 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignagePageQuerySettings.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/eventmanagement/Participant.d.ts +4 -4
- package/internal-do-not-import-from-here/fx/models/index.d.ts +4 -1
- package/internal-do-not-import-from-here/fx/models/index.js +4 -1
- package/internal-do-not-import-from-here/fx/models/pagenavigation/AnchorNavigationLink.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/pagenavigation/AnchorNavigationLink.js +2 -0
- package/internal-do-not-import-from-here/fx/models/pagenavigation/PageNavigationSettings.d.ts +17 -0
- package/internal-do-not-import-from-here/fx/models/pagenavigation/PageNavigationSettings.js +9 -0
- package/internal-do-not-import-from-here/fx/models/pagenavigation/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/pagenavigation/index.js +5 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +0 -2
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupQuery.d.ts +19 -7
- package/internal-do-not-import-from-here/fx/models/pages/ApprovalRequestInfo.d.ts +7 -2
- package/internal-do-not-import-from-here/fx/models/pages/OpenAIPropertyMappingValue.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/pages/OpenAIPropertyMappingValue.js +2 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageTypeData.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/pages/approval/AnyoneApprovalData.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/AnyoneApprovalData.js +11 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalData.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalData.js +6 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalMetaData.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalMetaData.js +10 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalStep.d.ts +64 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalStep.js +54 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/ApprovalType.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/pages/{ApprovalData.js → approval/ApprovalType.js} +3 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/LimitedUserApprovalData.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/LimitedUserApprovalData.js +10 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/MultiApprovalData.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/MultiApprovalData.js +11 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/PersonPropertyApprovalData.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/PersonPropertyApprovalData.js +10 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/TermDrivenApprovalData.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/TermDrivenApprovalData.js +10 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/VersionMetaData.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/pages/approval/VersionMetaData.js +6 -0
- package/internal-do-not-import-from-here/fx/models/pages/index.d.ts +11 -1
- package/internal-do-not-import-from-here/fx/models/pages/index.js +11 -1
- package/internal-do-not-import-from-here/fx/models/properties/definitions/PageCollectionPropertyDefinition.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/PageCollectionPropertyDefinition.js +16 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/PageTypePropertyDefinition.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/PageTypePropertyDefinition.js +16 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/PublishingAppPropertyDefinition.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/PublishingAppPropertyDefinition.js +16 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/index.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/properties/definitions/index.js +6 -0
- package/internal-do-not-import-from-here/fx/models/properties/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/properties/index.js +5 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PageCollectionPropertyValue.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PageCollectionPropertyValue.js +11 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PageTypePropertyValue.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PageTypePropertyValue.js +11 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PublishAppPropertyValue.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PublishAppPropertyValue.js +11 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/index.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/index.js +6 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/ApprovePageInfo.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/ApprovePageInfo.js +2 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/PublishingRule.d.ts +10 -2
- package/internal-do-not-import-from-here/fx/models/publishingrule/PublishingRule.js +1 -1
- package/internal-do-not-import-from-here/fx/models/publishingrule/RejectPageInfo.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/SendBackPageInfo.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/SendBackPageInfo.js +2 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/index.js +2 -0
- package/internal-do-not-import-from-here/fx/models/search/PageDocument.d.ts +32 -0
- package/internal-do-not-import-from-here/fx/models/search/PageDocument.js +2 -0
- package/internal-do-not-import-from-here/fx/models/search/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/{urlstate → search}/index.js +1 -1
- package/internal-do-not-import-from-here/fx/models/social/Topics/UserTopic.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/social/Topics/UserTopic.js +2 -1
- package/internal-do-not-import-from-here/fx/services/AiContentPageReportService.d.ts +17 -0
- package/internal-do-not-import-from-here/fx/services/OmniaSearchPageService.d.ts +18 -0
- package/internal-do-not-import-from-here/fx/services/OpenAIPageCreationService.d.ts +18 -0
- package/internal-do-not-import-from-here/fx/services/PageQueryService.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/services/PublishingRuleService.d.ts +7 -6
- package/internal-do-not-import-from-here/fx/services/index.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/shared/OmniaSearchQueryHelper.d.ts +32 -0
- package/internal-do-not-import-from-here/fx/{stores → shared}/PageRollupStoreHelper.d.ts +9 -5
- package/internal-do-not-import-from-here/fx/shared/PageSearchHelper.d.ts +23 -0
- package/internal-do-not-import-from-here/fx/shared/index.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/stores/CurrentNavigationStore.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +17 -5
- package/internal-do-not-import-from-here/fx/stores/PagesStore.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/stores/PublishingRuleStore.d.ts +23 -17
- package/internal-do-not-import-from-here/fx/stores/index.d.ts +0 -1
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/pagearchive/PageArchiveInformationQueryRequest.d.ts +2 -2
- package/internal-do-not-import-from-here/models/pagearchive/statuses/MigrationPageArchiveInformationStatus.d.ts +6 -0
- package/internal-do-not-import-from-here/models/pagearchive/statuses/MigrationPageArchiveInformationStatus.js +2 -0
- package/internal-do-not-import-from-here/models/pagearchive/statuses/PageArchiveInformationStatus.d.ts +2 -1
- package/internal-do-not-import-from-here/models/pagearchive/statuses/PageArchiveInformationStatus.js +1 -0
- package/internal-do-not-import-from-here/models/publishingapp/approval/PageApproval.d.ts +25 -3
- package/internal-do-not-import-from-here/models/publishingapp/approval/PageApproval.js +2 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/IPageEditorItem.d.ts +1 -0
- package/internal-do-not-import-from-here/models/security/Security.d.ts +8 -1
- package/internal-do-not-import-from-here/models/security/Security.js +26 -1
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestActionSettings.d.ts +7 -0
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestActionSettings.js +2 -0
- package/internal-do-not-import-from-here/models/signoffrequest/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/signoffrequest/index.js +1 -0
- package/internal-do-not-import-from-here/tooling.output.json +1 -0
- package/package.json +1 -1
- package/task.js +3 -3
- package/task.ts +4 -4
- package/internal-do-not-import-from-here/fx/models/pages/ApprovalData.d.ts +0 -13
- package/internal-do-not-import-from-here/fx/models/urlstate/UrlState.d.ts +0 -25
- package/internal-do-not-import-from-here/fx/models/urlstate/index.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/services/UrlStateService.d.ts +0 -9
- package/internal-do-not-import-from-here/fx/stores/UrlHistoryStore.d.ts +0 -23
- /package/internal-do-not-import-from-here/fx/models/{urlstate/UrlState.js → aipagecontentreport/PageAiAnalysisPropertyRequest.js} +0 -0
package/internal-do-not-import-from-here/fx/models/properties/values/PageCollectionPropertyValue.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageCollectionPropertyValue = void 0;
|
|
4
|
+
const fx_models_1 = require("@omnia/fx-models");
|
|
5
|
+
class PageCollectionPropertyValue extends fx_models_1.PropertyValue {
|
|
6
|
+
constructor(id) {
|
|
7
|
+
super();
|
|
8
|
+
this.id = id;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.PageCollectionPropertyValue = PageCollectionPropertyValue;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageTypePropertyValue = void 0;
|
|
4
|
+
const fx_models_1 = require("@omnia/fx-models");
|
|
5
|
+
class PageTypePropertyValue extends fx_models_1.PropertyValue {
|
|
6
|
+
constructor(id) {
|
|
7
|
+
super();
|
|
8
|
+
this.id = id;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.PageTypePropertyValue = PageTypePropertyValue;
|
package/internal-do-not-import-from-here/fx/models/properties/values/PublishAppPropertyValue.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PublishingAppPropertyValue = void 0;
|
|
4
|
+
const fx_models_1 = require("@omnia/fx-models");
|
|
5
|
+
class PublishingAppPropertyValue extends fx_models_1.PropertyValue {
|
|
6
|
+
constructor(id) {
|
|
7
|
+
super();
|
|
8
|
+
this.id = id;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.PublishingAppPropertyValue = PublishingAppPropertyValue;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./PageCollectionPropertyValue"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./PageTypePropertyValue"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./PublishAppPropertyValue"), exports);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PageId, VersionId } from "../pages";
|
|
1
|
+
import { ApprovalData, PageId, SchedulingSettings, VersionId } from "../pages";
|
|
2
2
|
export declare enum RuleStatus {
|
|
3
3
|
Unassigned = 0,
|
|
4
4
|
Success = 1,
|
|
@@ -6,11 +6,14 @@ export declare enum RuleStatus {
|
|
|
6
6
|
}
|
|
7
7
|
export declare enum RuleTypes {
|
|
8
8
|
Schedule = 1,
|
|
9
|
-
Approval = 2
|
|
9
|
+
Approval = 2,
|
|
10
|
+
MultipleApproval = 3
|
|
10
11
|
}
|
|
11
12
|
export interface PublishingRuleData {
|
|
12
13
|
type: RuleTypes;
|
|
13
14
|
status: RuleStatus;
|
|
15
|
+
pageVersionId: VersionId;
|
|
16
|
+
approvalSettings: ApprovalSettings;
|
|
14
17
|
}
|
|
15
18
|
export interface PublishingRule<T extends PublishingRuleData = PublishingRuleData> {
|
|
16
19
|
id: number;
|
|
@@ -18,3 +21,8 @@ export interface PublishingRule<T extends PublishingRuleData = PublishingRuleDat
|
|
|
18
21
|
pageVersionId: VersionId;
|
|
19
22
|
ruleData: T;
|
|
20
23
|
}
|
|
24
|
+
export interface ApprovalSettings {
|
|
25
|
+
approvalData: ApprovalData;
|
|
26
|
+
enableSendPageEmail: boolean;
|
|
27
|
+
schedulingSettings: SchedulingSettings;
|
|
28
|
+
}
|
|
@@ -11,5 +11,5 @@ var RuleTypes;
|
|
|
11
11
|
(function (RuleTypes) {
|
|
12
12
|
RuleTypes[RuleTypes["Schedule"] = 1] = "Schedule";
|
|
13
13
|
RuleTypes[RuleTypes["Approval"] = 2] = "Approval";
|
|
14
|
-
|
|
14
|
+
RuleTypes[RuleTypes["MultipleApproval"] = 3] = "MultipleApproval";
|
|
15
15
|
})(RuleTypes = exports.RuleTypes || (exports.RuleTypes = {}));
|
|
@@ -3,3 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./PublishingRule"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./PageVersionPublishingRules"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./SendBackPageInfo"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ApprovePageInfo"), exports);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { GuidValue, IndexedDocument } from "@omnia/fx-models";
|
|
2
|
+
import { PublishingChannelId } from "../channels";
|
|
3
|
+
import { VariationId } from "../variations";
|
|
4
|
+
export interface PageDocument extends IndexedDocument {
|
|
5
|
+
pageId: number;
|
|
6
|
+
createdBy: string;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
modifiedBy: string;
|
|
9
|
+
modifiedAt: Date;
|
|
10
|
+
pageCollectionId: number;
|
|
11
|
+
publishingAppId?: GuidValue;
|
|
12
|
+
layoutDataParentPageId?: number;
|
|
13
|
+
commentsAndLikesSettings: string;
|
|
14
|
+
defaultChannel?: PublishingChannelId;
|
|
15
|
+
channels?: Array<PublishingChannelId>;
|
|
16
|
+
variationId?: VariationId;
|
|
17
|
+
variationOfPageId?: number;
|
|
18
|
+
notCreatedVariationIds?: Array<VariationId>;
|
|
19
|
+
pUrlSegment?: string;
|
|
20
|
+
commentCount: number;
|
|
21
|
+
reactionCount: number;
|
|
22
|
+
pageHitsTotal: number;
|
|
23
|
+
pageHitsLastWeek: number;
|
|
24
|
+
pageHitsLastMonth: number;
|
|
25
|
+
uniqueVisitorsTotal: number;
|
|
26
|
+
uniqueVisitorsLastWeek: number;
|
|
27
|
+
uniqueVisitorsLastMonth: number;
|
|
28
|
+
commentCountLastWeek: number;
|
|
29
|
+
commentCountLastMonth: number;
|
|
30
|
+
reactionCountLastWeek: number;
|
|
31
|
+
reactionCountLastMonth: number;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./PageDocument";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { UserIdentity } from "@omnia/fx-models";
|
|
1
2
|
import { Topic, TopicType } from "./Topic";
|
|
2
3
|
export declare class UserTopic implements Topic {
|
|
3
4
|
readonly topicType: TopicType;
|
|
4
|
-
readonly
|
|
5
|
+
readonly user: UserIdentity;
|
|
5
6
|
constructor(userLogin: string);
|
|
6
7
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UserTopic = void 0;
|
|
4
|
+
const fx_models_1 = require("@omnia/fx-models");
|
|
4
5
|
const Topic_1 = require("./Topic");
|
|
5
6
|
class UserTopic {
|
|
6
7
|
constructor(userLogin) {
|
|
7
8
|
if (!userLogin) {
|
|
8
9
|
new Error("Can't create user topic for user null/undefined");
|
|
9
10
|
}
|
|
10
|
-
this.
|
|
11
|
+
this.user = fx_models_1.UserIdentity.createFromString(userLogin);
|
|
11
12
|
this.topicType = Topic_1.TopicType.User;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PageAiAnalysisReport, PageAiAnalysisReportAddRequest, PageAiAnalysisReportQuery, PageAiAnalysisReportSummary, PageId, PageAiAnalysisReportDetails, AiAnalysisReportPageSnapshot } from "../models";
|
|
2
|
+
import { PageAiAnalysisPropertyRequest } from "../models/aipagecontentreport/PageAiAnalysisPropertyRequest";
|
|
3
|
+
export declare class AiContentPageReportService {
|
|
4
|
+
private httpClient;
|
|
5
|
+
private readonly baseUrl;
|
|
6
|
+
createNewReport: (request: PageAiAnalysisReportAddRequest) => Promise<PageAiAnalysisReport>;
|
|
7
|
+
getReport: (reportId: number) => Promise<PageAiAnalysisReport>;
|
|
8
|
+
getReportSummary: (reportId: any) => Promise<PageAiAnalysisReportSummary>;
|
|
9
|
+
getReportSummaries: (payload: PageAiAnalysisReportQuery) => Promise<Array<PageAiAnalysisReportSummary>>;
|
|
10
|
+
getReportDetails: (reportId: number) => Promise<PageAiAnalysisReportDetails>;
|
|
11
|
+
fixPage: (reportId: number, pageId: PageId) => Promise<void>;
|
|
12
|
+
getPageStatus: (reportId: number, pageId: PageId) => Promise<AiAnalysisReportPageSnapshot>;
|
|
13
|
+
getAnalyzeResult: (payload: PageAiAnalysisPropertyRequest) => Promise<{
|
|
14
|
+
[internalName: string]: any;
|
|
15
|
+
}>;
|
|
16
|
+
deleteReport: (reportId: number) => Promise<void>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PagedBatchSearchRequest, IPagedSearchResult } from "@omnia/fx-models";
|
|
2
|
+
import { ExtendedInformationPageQueryData, PageDocument, PageId } from "../models";
|
|
3
|
+
import { ReindexContentOmniaSearch } from "../internal";
|
|
4
|
+
import { OmniaSearchService } from "@omnia/fx/services";
|
|
5
|
+
export declare class OmniaSearchPageService {
|
|
6
|
+
private httpClient;
|
|
7
|
+
omniaSearchService: OmniaSearchService;
|
|
8
|
+
constructor();
|
|
9
|
+
queryBatchPages: (searchQueryRequest: PagedBatchSearchRequest, cancelRequest?: (cancelToken: any) => void) => Promise<IPagedSearchResult<PageDocument>[]>;
|
|
10
|
+
getExtendedInformationPageQueryData: (pageIds: Array<PageId>) => Promise<ExtendedInformationPageQueryData>;
|
|
11
|
+
triggerReindexContentOmniaSearchPublishingApp: () => Promise<string>;
|
|
12
|
+
triggerReindexContentOmniaSearchTenant: () => Promise<string>;
|
|
13
|
+
getReindexContentOmniaSearchStatus: (resourceId: string) => Promise<ReindexContentOmniaSearch>;
|
|
14
|
+
getReindexContentLogs: (resourceId: string, pageNr?: number, pageSize?: number, sortColumn?: string, sortDesc?: boolean) => Promise<{
|
|
15
|
+
total: number;
|
|
16
|
+
value: ReindexContentOmniaSearch[];
|
|
17
|
+
}>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MediaPickerService } from "@omnia/fx/services";
|
|
2
|
+
import { OpenAIPropertiesMapping, OpenAIPropertyMappingValue } from "../models";
|
|
3
|
+
export declare class OpenAIPageCreationService {
|
|
4
|
+
private settingsService;
|
|
5
|
+
private openAIService;
|
|
6
|
+
mediaPickerService: MediaPickerService;
|
|
7
|
+
private enterprisePropertyStore;
|
|
8
|
+
constructor();
|
|
9
|
+
private contentPrompt;
|
|
10
|
+
private limitOutputLengthFromOpenAI;
|
|
11
|
+
private prefixSummaryPrompt;
|
|
12
|
+
createPageWithOpenAI(openAiPrompt: string, propertiesMapping: OpenAIPropertiesMapping, imagePrompt: string): Promise<OpenAIPropertyMappingValue>;
|
|
13
|
+
private handleResolution;
|
|
14
|
+
private getLimitSizeScalling;
|
|
15
|
+
private pollImage;
|
|
16
|
+
private validatePrompt;
|
|
17
|
+
private checkQueryableProperty;
|
|
18
|
+
}
|
|
@@ -3,6 +3,7 @@ import { WcmContext } from "../contexts";
|
|
|
3
3
|
import { MultilingualStore } from "@omnia/fx/stores";
|
|
4
4
|
export declare class PageQueryService {
|
|
5
5
|
private httpClient;
|
|
6
|
+
private omniaHttpClient;
|
|
6
7
|
private omniaContext;
|
|
7
8
|
wcmContext: WcmContext;
|
|
8
9
|
multilingualStore: MultilingualStore;
|
|
@@ -17,6 +18,7 @@ export declare class PageQueryService {
|
|
|
17
18
|
getDefaultPageImageSrc: () => string;
|
|
18
19
|
exportToExcel: (query: ExportQueryPagesRequest, exportingBlockId: string) => Promise<ExportQueryPagesResult>;
|
|
19
20
|
getExportedFile: (exportingFileName: string, exportingFileToken: string) => Promise<void>;
|
|
21
|
+
checkMigrationOmniaSearchStatus: () => Promise<boolean>;
|
|
20
22
|
private processPagesDetailData;
|
|
21
23
|
private getPageVisited;
|
|
22
24
|
private findPageInNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Page, PageData, CheckedOutVersionPageData, VersionedPageData, PublishedVersionPageData, PageIdToPageMap, PageId, VariationPage, PageCollectionSelection, NavigationData, NavigationNode, MovePagesResult, VersionInformation, ArchivePageResult, RestorePageMessage, RestorePageResult, VariationId, PageWithNavigationCreationRequest, PageNavigationNode, PageNavigationData, ReadNews, PagePermissionResponse, ValidationArchivePageResult, PageTypeTitle } from "../models";
|
|
1
|
+
import { Page, PageData, CheckedOutVersionPageData, VersionedPageData, PublishedVersionPageData, PageIdToPageMap, PageId, VariationPage, PageCollectionSelection, NavigationData, NavigationNode, MovePagesResult, VersionInformation, ArchivePageResult, RestorePageMessage, RestorePageResult, VariationId, PageWithNavigationCreationRequest, PageNavigationNode, PageNavigationData, ReadNews, PagePermissionResponse, ValidationArchivePageResult, PageTypeTitle, VersionId, ApprovalMetaData } from "../models";
|
|
2
2
|
import { MergedPageVersionLayout } from "../models/layout/MergedPageVersionLayout";
|
|
3
3
|
import { ApiResponse, GuidValue } from "@omnia/fx-models";
|
|
4
4
|
import { VersionReference } from "../models";
|
|
@@ -91,4 +91,5 @@ export declare class PageService {
|
|
|
91
91
|
visitedpage: (pageId: PageId) => Promise<ReadNews>;
|
|
92
92
|
inviteCoAuthors: (invitationAuthors: InvitationOfAuthor) => Promise<PagePermissionResponse>;
|
|
93
93
|
getSitePagesFolderFullUrl: (pageNavigationNode: PageNavigationNode<PageNavigationData>) => Promise<string>;
|
|
94
|
+
getPageVersionMetaData: (versionId: VersionId) => Promise<ApprovalMetaData>;
|
|
94
95
|
}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { PageId, PublishingRule,
|
|
1
|
+
import { PageId, PublishingRule, PublishingRuleData, PageData, ApprovalRequestInfo, SendBackPageInfo, ApprovePageInfo } from "../models";
|
|
2
2
|
import { RejectPageInfo } from "../models/publishingrule/RejectPageInfo";
|
|
3
3
|
import { ApprovalRuleData } from "../../models";
|
|
4
4
|
export declare class PublishingRuleService {
|
|
5
5
|
private httpClient;
|
|
6
6
|
private readonly baseUrl;
|
|
7
|
-
addRule: (rule: PublishingRuleData,
|
|
7
|
+
addRule: (rule: PublishingRuleData, pageId: PageId) => Promise<PublishingRule>;
|
|
8
8
|
getPageRules: (pageId: PageId) => Promise<{
|
|
9
|
-
[
|
|
9
|
+
[pageId: number]: PublishingRule<PublishingRuleData>[];
|
|
10
10
|
}>;
|
|
11
11
|
updateRule: (rule: PublishingRule) => Promise<PublishingRule>;
|
|
12
12
|
cancelApproval: (rule: PublishingRule<ApprovalRuleData>) => Promise<Array<PublishingRule>>;
|
|
13
|
-
approveApproval: (
|
|
13
|
+
approveApproval: (approvePageInfo: ApprovePageInfo) => Promise<PublishingRule<ApprovalRuleData>>;
|
|
14
14
|
rejectApproval: (rejectPageInfo: RejectPageInfo) => Promise<Array<PublishingRule>>;
|
|
15
|
+
sendBackApproval: (sendBackPageInfo: SendBackPageInfo) => Promise<PublishingRule>;
|
|
15
16
|
deleteRule: (id: number) => Promise<PublishingRule>;
|
|
16
|
-
|
|
17
|
-
sendApprovalRequest: <T extends PageData>(approvalRequestInfo: ApprovalRequestInfo<T>) => Promise<PublishingRule<ApprovalRuleData
|
|
17
|
+
getPageUnassignedRules: (pageId: PageId) => Promise<Array<PublishingRule>>;
|
|
18
|
+
sendApprovalRequest: <T extends PageData>(approvalRequestInfo: ApprovalRequestInfo<T>) => Promise<PublishingRule<ApprovalRuleData>[]>;
|
|
18
19
|
}
|
|
@@ -17,4 +17,6 @@ export * from "./ChannelManagementService";
|
|
|
17
17
|
export * from "./YammerService";
|
|
18
18
|
export * from "./PageStatisticsService";
|
|
19
19
|
export * from "./PublishingChannelCategoriesService";
|
|
20
|
-
export * from "./
|
|
20
|
+
export * from "./AiContentPageReportService";
|
|
21
|
+
export * from "./OpenAIPageCreationService";
|
|
22
|
+
export * from "./OmniaSearchPageService";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PagedBatchSearchRequest } from "@omnia/fx-models";
|
|
2
|
+
import { EnterprisePropertyStore } from "@omnia/fx/stores";
|
|
3
|
+
import { BatchQueryPages } from "../models";
|
|
4
|
+
import { PublishingAppInfoStore } from "../stores";
|
|
5
|
+
export declare class OmniaSearchQueryHelper {
|
|
6
|
+
enterprisePropertyStore: EnterprisePropertyStore;
|
|
7
|
+
publishingAppInfoStore: PublishingAppInfoStore;
|
|
8
|
+
private enterpriseProperties;
|
|
9
|
+
private querableProperties;
|
|
10
|
+
private publishingAppInfos;
|
|
11
|
+
generatePagedBatchSearchRequest(queries: BatchQueryPages[]): Promise<{
|
|
12
|
+
searchQueryRequest: PagedBatchSearchRequest;
|
|
13
|
+
batchQueryPagesError: BatchQueryPages[];
|
|
14
|
+
}>;
|
|
15
|
+
static camelize(str: string): string;
|
|
16
|
+
private hasBusinessProfileScopeQuery;
|
|
17
|
+
private getSearchBoxKeywords;
|
|
18
|
+
private getFilterExpressionString;
|
|
19
|
+
private getSingleValueOperatorString;
|
|
20
|
+
private getContainsOperatorString;
|
|
21
|
+
private getFiltersExpressionString;
|
|
22
|
+
private getFieldValuesString;
|
|
23
|
+
private getOperatorString;
|
|
24
|
+
private getPropertyName;
|
|
25
|
+
private getPropertyValue;
|
|
26
|
+
private getLogicalOperatorString;
|
|
27
|
+
private removeConditionExpressionFilter;
|
|
28
|
+
private getRetrieveProperties;
|
|
29
|
+
private isDateTimeStampProperty;
|
|
30
|
+
private getSortList;
|
|
31
|
+
private parseBatchQueryPagesToOmniaSearch;
|
|
32
|
+
}
|
|
@@ -3,7 +3,7 @@ import { EnterprisePropertyDefinition, FilterEngineSearchBoxSettings, GuidValue,
|
|
|
3
3
|
import { TermStore } from "@omnia/fx-sp";
|
|
4
4
|
import { EnterpriseGlossaryStore, MultilingualStore } from "@omnia/fx/stores";
|
|
5
5
|
import { FilterEngineHandler, IBlockInstanceExtends } from "@omnia/fx/ux";
|
|
6
|
-
import { BatchQueryPages, BatchQueryPagesResult, NormalPageRollupPagingQuery, PageCollectionSelection, PageDialogData, PageDialogPropertiesMapping, PageItemNode, PageQuery, PageRollupBlockProperty, PageRollupBlockSettings, PageRollupEnums, PageRollupPropertyFilter, PageRollupUiFilter, QueryFilter, QueryOrder, ReactivePageBlockProperty, VariationId, VariationQuery } from "../../fx/models";
|
|
6
|
+
import { BatchQueryPages, BatchQueryPagesResult, NormalPageRollupPagingQuery, PageCollectionSelection, PageDialogData, PageDialogPropertiesMapping, PageItemNode, PageQuery, PageRollupBlockProperty, PageRollupBlockSettings, PageRollupEnums, PageRollupPropertyFilter, PageRollupUiFilter, QueryFilter, QueryOrder, ReactivePageBlockProperty, VariationId, VariationQuery, UIQueryFilter } from "../../fx/models";
|
|
7
7
|
interface BlockPageRollupInstanceExtends extends IBlockInstanceExtends<PageRollupBlockSettings> {
|
|
8
8
|
uiQueryFilters?: QueryFilter[];
|
|
9
9
|
orderBy?: Array<QueryOrder>;
|
|
@@ -19,6 +19,7 @@ interface BatchQueryPagesExtends extends BatchQueryPages {
|
|
|
19
19
|
}
|
|
20
20
|
declare class InternalPageRollupStoreHelper {
|
|
21
21
|
private pageQueryService;
|
|
22
|
+
private pageSearchHelper;
|
|
22
23
|
private pageRollupStore;
|
|
23
24
|
private propertyStore;
|
|
24
25
|
private targetingPropertyStore;
|
|
@@ -46,7 +47,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
46
47
|
private initialDataResolvable;
|
|
47
48
|
private _pageBlockPropertyStore;
|
|
48
49
|
private currentIdentity;
|
|
49
|
-
private
|
|
50
|
+
private cancelBatchQueryTokens;
|
|
50
51
|
private executingBatchQuery;
|
|
51
52
|
private hasNewBatchQueryNeedToExecute;
|
|
52
53
|
private pagerollupOutsideWCMLayout;
|
|
@@ -59,9 +60,10 @@ declare class InternalPageRollupStoreHelper {
|
|
|
59
60
|
getPagingData(pagingQuery: NormalPageRollupPagingQuery, blockInstance: BlockPageRollupInstanceExtends, newSettings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<number>;
|
|
60
61
|
updatePagingQuery(pagingQuery: NormalPageRollupPagingQuery, blockInstance: BlockPageRollupInstanceExtends): Promise<void>;
|
|
61
62
|
setPagingNumber(pageNumber: number, blockInstance: BlockPageRollupInstanceExtends): Promise<void>;
|
|
62
|
-
updateQuery(blockInstance: BlockPageRollupInstanceExtends, newSettings: PageRollupBlockSettings,
|
|
63
|
+
updateQuery(blockInstance: BlockPageRollupInstanceExtends, newSettings: PageRollupBlockSettings, uiQueryFilter: UIQueryFilter, orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>, forceExecuteQuery?: boolean, clientCaching?: boolean, showMetric?: boolean): Promise<void>;
|
|
63
64
|
getRollupId(blockInstance: IBlockInstance<PageRollupBlockSettings>): string;
|
|
64
65
|
setLoadedPageRollups(pageRollupQueryId: string, isDestroyed: boolean): void;
|
|
66
|
+
private getPagingQuery;
|
|
65
67
|
private setExecutingQueriesParrallel;
|
|
66
68
|
private setExecutedQueriesParrallel;
|
|
67
69
|
private ensureLatestExecutedQuery;
|
|
@@ -99,6 +101,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
99
101
|
private getInstancesToBatchQuery;
|
|
100
102
|
private ensureInitialData;
|
|
101
103
|
private get pageBlockPropertyStore();
|
|
104
|
+
renewPageBlockPropertyStore(): void;
|
|
102
105
|
private updateVariationQueries;
|
|
103
106
|
private hasVariationQueryFilter;
|
|
104
107
|
private hasVariationValueQueryFilter;
|
|
@@ -137,6 +140,7 @@ export declare class PageRollupStoreHelper {
|
|
|
137
140
|
getRollupId(blockInstance: IBlockInstance<PageRollupBlockSettings>): string;
|
|
138
141
|
hasQueryResourceConfiguration(settings: PageRollupBlockSettings): boolean | PageRollupEnums.RollupScopes;
|
|
139
142
|
getPickedPages(settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): PageItemNode[];
|
|
143
|
+
renewPageBlockPropertyStore(): void;
|
|
140
144
|
getTargetingData(settings: PageRollupBlockSettings): TargetingPropertyFlatResult[];
|
|
141
145
|
getResourceId(resourceId: string): string;
|
|
142
146
|
getStartNode(settings: PageRollupBlockSettings): PageItemNode;
|
|
@@ -190,7 +194,7 @@ export declare class BatchQueryRegistration {
|
|
|
190
194
|
updateQuery(settings: PageRollupBlockSettings, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>, orderBy?: Array<QueryOrder>, forceExecuteQuery?: boolean, clientCaching?: boolean): void;
|
|
191
195
|
updatePagingQuery(payload: NormalPageRollupPagingQuery): Promise<void>;
|
|
192
196
|
resetPaging(): Promise<void>;
|
|
193
|
-
execute(): void
|
|
197
|
+
execute(): Promise<void>;
|
|
194
198
|
getPagingData(pageNumber: number): Promise<number>;
|
|
195
199
|
getNextPagingData(): Promise<number>;
|
|
196
200
|
private loadCurrentPageData;
|
|
@@ -205,7 +209,7 @@ export declare class BatchQueryRegistration {
|
|
|
205
209
|
*
|
|
206
210
|
*
|
|
207
211
|
* */
|
|
208
|
-
private
|
|
212
|
+
private generateUIQueryFilter;
|
|
209
213
|
private generateQueryablePropertyName;
|
|
210
214
|
}
|
|
211
215
|
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ChannelManagementStore, PageRollupStore } from "..";
|
|
2
|
+
import { BatchQueryPages, BatchQueryPagesResult } from "../models";
|
|
3
|
+
import { OmniaSearchQueryHelper } from "./OmniaSearchQueryHelper";
|
|
4
|
+
import { EnterprisePropertyStore, FeatureStore, MultilingualStore } from "@omnia/fx/stores";
|
|
5
|
+
export declare class PageSearchHelper {
|
|
6
|
+
private pageQueryService;
|
|
7
|
+
private omniaSearchPageService;
|
|
8
|
+
channelManagementStore: ChannelManagementStore;
|
|
9
|
+
multilingualStore: MultilingualStore;
|
|
10
|
+
enterprisePropertyStore: EnterprisePropertyStore;
|
|
11
|
+
omniaSearchQueryHelper: OmniaSearchQueryHelper;
|
|
12
|
+
featureStore: FeatureStore;
|
|
13
|
+
pageRollupStore: PageRollupStore;
|
|
14
|
+
private static outOfScopeOmniaSearchProperties;
|
|
15
|
+
queryBatchPages(queries: BatchQueryPages[], cancelRequest?: (cancelToken: any) => void): Promise<BatchQueryPagesResult>;
|
|
16
|
+
private getOutOfScopeOmniaSearchQueries;
|
|
17
|
+
private hasOutOfScopeOmniaSearchPropertiesInFilter;
|
|
18
|
+
private ensureQueryPageRollupInOmniaSearch;
|
|
19
|
+
private trimDuplicateBatchResults;
|
|
20
|
+
private processPagesDetailData;
|
|
21
|
+
private getUniquePageDetails;
|
|
22
|
+
private mapProperties;
|
|
23
|
+
}
|
|
@@ -28,8 +28,10 @@ export declare class CurrentNavigationStore extends Store {
|
|
|
28
28
|
isSelected: (node: NavigationNode<NavigationData>) => boolean;
|
|
29
29
|
activeNodes: () => Array<NavigationNode<NavigationData>>;
|
|
30
30
|
isLoadingChildren: (node: NavigationNode<NavigationData>) => boolean;
|
|
31
|
+
hasChildrenLoadTriggered: (node: NavigationNode<NavigationData>) => boolean;
|
|
31
32
|
onActiveNodesMutated: () => (fn: (obj: import("@omnia/fx-models").StateMutation<NavigationNode<NavigationData>[]>) => void) => IMessageBusSubscriptionHandler;
|
|
32
33
|
status: () => CurrentNavigationStatus;
|
|
34
|
+
readyPromise: () => Future<void>;
|
|
33
35
|
};
|
|
34
36
|
setter: {};
|
|
35
37
|
/**
|
|
@@ -25,6 +25,7 @@ export declare class NavigationStore extends Store {
|
|
|
25
25
|
getByPageId: (pageId: PageId) => NavigationNode<NavigationData>;
|
|
26
26
|
getChildren: (node: NavigationNode<NavigationData>, forceFromPublishingAppId?: string) => Array<NavigationNode<NavigationData>>;
|
|
27
27
|
isLoadingChildren: (node: NavigationNode<NavigationData>) => boolean;
|
|
28
|
+
hasChildrenLoadTriggered: (node: NavigationNode<NavigationData>) => boolean;
|
|
28
29
|
getParents: <T_1 extends NavigationNode<NavigationData>>(node: NavigationNode<NavigationData>, nodeTypes?: NavigationDataType) => T_1[];
|
|
29
30
|
absoluteUrl: (node: NavigationNode<NavigationData>, variationId?: VariationId, excludeVariationUrl?: boolean) => string;
|
|
30
31
|
sortSiblingNodes: (nodes: Array<NavigationNode<NavigationData>>) => NavigationNode<NavigationData>[];
|
|
@@ -16,6 +16,8 @@ type BatchPageRollupQueryResult = {
|
|
|
16
16
|
export declare class PageRollupStore extends Store {
|
|
17
17
|
private pageQueryService;
|
|
18
18
|
private navigationStore;
|
|
19
|
+
private appInfoStore;
|
|
20
|
+
private multilingualStore;
|
|
19
21
|
private omniaCtx;
|
|
20
22
|
private wcmRouter;
|
|
21
23
|
private pagesStore;
|
|
@@ -52,9 +54,10 @@ export declare class PageRollupStore extends Store {
|
|
|
52
54
|
private loadIndexedDBPromise;
|
|
53
55
|
private metricUniqueKey;
|
|
54
56
|
private tenantPublishingAppIdKey;
|
|
57
|
+
private omniaSearchMigrationStatusPromise;
|
|
55
58
|
/**
|
|
56
|
-
|
|
57
|
-
|
|
59
|
+
* Private properties
|
|
60
|
+
*/
|
|
58
61
|
private itemQueryResult;
|
|
59
62
|
onActivated(): void;
|
|
60
63
|
onDisposing(): void;
|
|
@@ -100,13 +103,22 @@ export declare class PageRollupStore extends Store {
|
|
|
100
103
|
showUniqueUsersDetailsView: import("@omnia/fx/stores").StoreMutation<(pageDetails: PageDetailQueryResult, showView: boolean, blockInstanceId: string) => void, (pageDetails: PageDetailQueryResult, showView: boolean, blockInstanceId: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
101
104
|
};
|
|
102
105
|
actions: {
|
|
103
|
-
navigate: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (result: void, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => Promise<void>>;
|
|
104
|
-
navigateWithVariationTargeting: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (result: PageNavigationNode<PageNavigationData>, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
106
|
+
navigate: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => void, (result: void, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => Promise<void>>;
|
|
107
|
+
navigateWithVariationTargeting: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => void, (result: PageNavigationNode<PageNavigationData>, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown, event?: MouseEvent) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
105
108
|
loadPageContentData: import("@omnia/fx/stores").StoreAction<unknown, (pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: unknown) => void, (result: void, pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: unknown) => void, (failureReason: any, pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: unknown) => void, (pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: unknown) => Promise<void>>;
|
|
106
|
-
ensureLoadPageTypesInApps: import("@omnia/fx/stores").StoreAction<unknown, (publishingAppIds: string[],
|
|
109
|
+
ensureLoadPageTypesInApps: import("@omnia/fx/stores").StoreAction<unknown, (publishingAppIds: string[], includeTenantScope?: boolean) => void, (result: void, publishingAppIds: string[], includeTenantScope?: boolean) => void, (failureReason: any, publishingAppIds: string[], includeTenantScope?: boolean) => void, (publishingAppIds: string[], includeTenantScope?: boolean) => Promise<void>>;
|
|
107
110
|
ensureLoadPageTypesTitle: import("@omnia/fx/stores").StoreAction<unknown, (pageTypeIds: number[]) => void, (result: void, pageTypeIds: number[]) => void, (failureReason: any, pageTypeIds: number[]) => void, (pageTypeIds: number[]) => Promise<void>>;
|
|
111
|
+
ensureGetPageTypesTitle: import("@omnia/fx/stores").StoreAction<unknown, (pageTypeIds: number[], uniqueKey: string) => void, (result: PageTypeTitle[], pageTypeIds: number[], uniqueKey: string) => void, (failureReason: any, pageTypeIds: number[], uniqueKey: string) => void, (pageTypeIds: number[], uniqueKey: string) => Promise<Array<PageTypeTitle>>>;
|
|
112
|
+
ensureGetRelevantAppInfo: import("@omnia/fx/stores").StoreAction<unknown, (appIds: string[], uniqueKey: string) => void, (result: {
|
|
113
|
+
id: string;
|
|
114
|
+
title: string;
|
|
115
|
+
}[], appIds: string[], uniqueKey: string) => void, (failureReason: any, appIds: string[], uniqueKey: string) => void, (appIds: string[], uniqueKey: string) => Promise<Array<{
|
|
116
|
+
id: string;
|
|
117
|
+
title: string;
|
|
118
|
+
}>>>;
|
|
108
119
|
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>>;
|
|
109
120
|
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>>;
|
|
121
|
+
ensureOmniaSearchMigrationStatus: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
|
|
110
122
|
};
|
|
111
123
|
/**
|
|
112
124
|
* Find page and page variation in specific node
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from "@omnia/fx/stores";
|
|
2
|
-
import { NavigationNode, WCMPageTypes, Page, VersionedPageData, PageData, VersionReference, PageId, NavigationPosition, PageNavigationNode, PageNavigationData, MergedPageVersionLayout, NavigationData, VariationPage, Variation, PageCollectionSelection, CheckedOutVersionPageData, ArchivePageResult, PageWithNavigationCreationRequest, ReadNews } from "../models";
|
|
2
|
+
import { NavigationNode, WCMPageTypes, Page, VersionedPageData, PageData, VersionReference, PageId, NavigationPosition, PageNavigationNode, PageNavigationData, MergedPageVersionLayout, NavigationData, VersionId, VariationPage, Variation, PageCollectionSelection, CheckedOutVersionPageData, ArchivePageResult, PageWithNavigationCreationRequest, ReadNews, ApprovalMetaData } from "../models";
|
|
3
3
|
import { GuidValue, Guid, IMessageBusSubscriptionHandler, IOmniaContext } from "@omnia/fx-models";
|
|
4
4
|
export declare class PagesStore extends Store {
|
|
5
5
|
private pageService;
|
|
@@ -62,6 +62,7 @@ export declare class PagesStore extends Store {
|
|
|
62
62
|
attachVariationPage: import("@omnia/fx/stores").StoreAction<unknown, (originalPageId: PageId, variationPageId: PageId) => void, (result: PageNavigationNode<PageNavigationData>, originalPageId: PageId, variationPageId: PageId) => void, (failureReason: any, originalPageId: PageId, variationPageId: PageId) => void, (originalPageId: PageId, variationPageId: PageId) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
63
63
|
visitedpage: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: ReadNews, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<ReadNews>>;
|
|
64
64
|
getSitePagesFolderFullUrl: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: string, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<string>>;
|
|
65
|
+
getPageVersionMetaData: import("@omnia/fx/stores").StoreAction<unknown, (versionId: VersionId) => void, (result: ApprovalMetaData, versionId: VersionId) => void, (failureReason: any, versionId: VersionId) => void, (versionId: VersionId) => Promise<ApprovalMetaData>>;
|
|
65
66
|
};
|
|
66
67
|
private updatePageCollectionSelectionsPromise;
|
|
67
68
|
private handleNewPageAndNode;
|