@omnia/wcm 6.6.120-preview → 6.7.1-dev
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/core/loc/CoreLocalization.d.ts +35 -0
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +74 -5
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +9 -23
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +31 -1
- package/internal-do-not-import-from-here/core/ux/FilterTargetingPropertyValueInput.d.ts +35 -0
- package/internal-do-not-import-from-here/core/ux/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/constants.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/factory/PageFactory.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/internal/models/PagesDashboard.d.ts +11 -1
- package/internal-do-not-import-from-here/fx/internal/stores/YammerIntegrationStore.d.ts +24 -0
- package/internal-do-not-import-from-here/fx/internal/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/Constants.js +5 -2
- package/internal-do-not-import-from-here/fx/models/Enums.d.ts +6 -2
- package/internal-do-not-import-from-here/fx/models/Enums.js +4 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +46 -0
- package/internal-do-not-import-from-here/fx/models/channels/ChannelHttpModels.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/channels/ChannelHttpModels.js +1 -0
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.js +6 -0
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.d.ts +20 -0
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.js +3 -0
- package/internal-do-not-import-from-here/fx/models/channels/index.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/channels/index.js +3 -0
- package/internal-do-not-import-from-here/fx/models/components/AccordionBlock.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +21 -0
- package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.js +14 -0
- package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlock.d.ts +28 -0
- package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlock.js +5 -0
- package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlockStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/ChannelCardViewStyles.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/components/ChannelCardViewStyles.js +1 -0
- package/internal-do-not-import-from-here/fx/models/components/FilterSettings.d.ts +34 -0
- package/internal-do-not-import-from-here/fx/models/components/FilterSettings.js +28 -0
- package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +6 -1
- package/internal-do-not-import-from-here/fx/models/components/MegaMenuStyles.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/components/PageCommentLikeBlock.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/PageFeedbackBlock.d.ts +7 -1
- package/internal-do-not-import-from-here/fx/models/components/PageFeedbackBlock.js +6 -1
- package/internal-do-not-import-from-here/fx/models/components/PageFeedbacksStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/PagePropertiesBlockStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +22 -18
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/components/index.js +2 -0
- package/internal-do-not-import-from-here/fx/models/eventmanagement/EventDetail.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/governancedashboard/UserPropertyMetricsSettings.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/governancedashboard/UserPropertyMetricsSettings.js +1 -0
- package/internal-do-not-import-from-here/fx/models/governancedashboard/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/governancedashboard/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/infoscreen/AdminInfoScreenBlock.d.ts +5 -4
- package/internal-do-not-import-from-here/fx/models/loc/localize.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/mediapicker/MediaPickerProviderContext.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/mediapicker/MediaPickerProviderContext.js +26 -0
- package/internal-do-not-import-from-here/fx/models/mediapicker/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/mediapicker/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/navigation/NavigationNode.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/IPageRollupViewInterface.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/NavigationViewSettings.d.ts +1 -2
- package/internal-do-not-import-from-here/fx/models/pagequery/PageDetailsQuery.d.ts +4 -4
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +6 -21
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +5 -24
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +4 -2
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +15 -2
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.js +6 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageTypeData.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/PublishingAppArchiveSettingsRouteProperty.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/PublishingAppArchiveSettingsRouteProperty.js +11 -0
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/query/PageQuery.d.ts +4 -3
- package/internal-do-not-import-from-here/fx/models/social/Activities/BadgeAwardedActivity.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/social/Activities/NewPageActivity.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentActivity.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentMentionActivity.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentReplyActivity.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/social/Topics/PublishingChannelTopic.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/social/Topics/PublishingChannelTopic.js +12 -0
- package/internal-do-not-import-from-here/fx/models/social/Topics/Topic.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/social/Topics/Topic.js +1 -0
- package/internal-do-not-import-from-here/fx/models/social/Topics/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/social/Topics/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/yammer/YammerGroup.d.ts +39 -0
- package/internal-do-not-import-from-here/fx/models/yammer/YammerGroup.js +1 -0
- package/internal-do-not-import-from-here/fx/models/yammer/YammerMessage.d.ts +42 -0
- package/internal-do-not-import-from-here/fx/models/yammer/YammerMessage.js +1 -0
- package/internal-do-not-import-from-here/fx/models/yammer/YammerTracking.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/yammer/YammerTracking.js +1 -0
- package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/CalendarService.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +24 -0
- package/internal-do-not-import-from-here/fx/services/PublishingRuleService.d.ts +4 -4
- package/internal-do-not-import-from-here/fx/services/YammerService.d.ts +15 -0
- package/internal-do-not-import-from-here/fx/services/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +88 -0
- package/internal-do-not-import-from-here/fx/stores/CurrentPageStore.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +4 -1
- package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +6 -2
- package/internal-do-not-import-from-here/fx/stores/PublishingRuleStore.d.ts +5 -5
- package/internal-do-not-import-from-here/fx/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +8 -2
- package/internal-do-not-import-from-here/fx/ux/loc/localize.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/EnterpriseGlossarySuggestionConfiguration.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/EnterpriseGlossarySuggestionExtension.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionComponent.d.ts +16 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionComponent.manifest.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/loc/localize.d.ts +12 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/loc/localize.manifest.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/EnterpriseGlossarySuggestionConfiguration.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/SussgestionMatch.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/EnterpriseGlossarySuggestionNode.d.ts +14 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/EnterpriseSuggestionIgnore.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/EnterpriseGlossarySuggestion.css.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/EnterpriseGlossarySuggestion.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +4 -2
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerToolbar.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/index.d.ts +1 -0
- 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/manifests/omnia.wcm.fxux.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/pagestatistics/Reports.d.ts +29 -43
- package/internal-do-not-import-from-here/models/publishingapp/approval/PageApproval.d.ts +3 -2
- package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.d.ts +1 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.js +2 -1
- package/internal-do-not-import-from-here/models/publishingapp/schedule/PageSchedule.d.ts +14 -6
- package/internal-do-not-import-from-here/models/publishingapp/schedule/PageSchedule.js +5 -5
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.d.ts +3 -3
- package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.js +3 -3
- package/internal-do-not-import-from-here/models/social/Subscription.d.ts +2 -1
- package/internal-do-not-import-from-here/models/social/Subscription.js +1 -1
- package/internal-do-not-import-from-here/wcdefinitions.json +1 -137
- package/package.json +1 -1
|
@@ -29,6 +29,8 @@ export declare module WCMFxLocalization {
|
|
|
29
29
|
UpdateSharepointPageErrorMessage: string;
|
|
30
30
|
PageHaveSchedule: string;
|
|
31
31
|
PageOverScheduleTime: string;
|
|
32
|
+
PageHaveScheduleArchiving: string;
|
|
33
|
+
PageOverScheduleArchivingTime: string;
|
|
32
34
|
};
|
|
33
35
|
DisplayBreakPointSettings: {
|
|
34
36
|
Enable: string;
|
package/internal-do-not-import-from-here/fx/models/mediapicker/MediaPickerProviderContext.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GuidValue, MediaPickerStorageProviderContext } from "@omnia/fx-models";
|
|
2
|
+
declare abstract class MediaPickerProviderStorageWCMContext extends MediaPickerStorageProviderContext {
|
|
3
|
+
readonly omniaServiceId: GuidValue;
|
|
4
|
+
}
|
|
5
|
+
export declare class MediaPickerStorageProviderWCMChannelAdminContext extends MediaPickerProviderStorageWCMContext {
|
|
6
|
+
readonly storageProviderContextId: GuidValue;
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @param businessProfileId Null for tenant level
|
|
10
|
+
*/
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { Guid, MediaPickerStorageProviderContext } from "@omnia/fx-models";
|
|
3
|
+
import { WcmService } from "../ManifestIds";
|
|
4
|
+
var MediaPickerProviderStorageWCMContext = /** @class */ (function (_super) {
|
|
5
|
+
__extends(MediaPickerProviderStorageWCMContext, _super);
|
|
6
|
+
function MediaPickerProviderStorageWCMContext() {
|
|
7
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
8
|
+
_this.omniaServiceId = WcmService.Id;
|
|
9
|
+
return _this;
|
|
10
|
+
}
|
|
11
|
+
return MediaPickerProviderStorageWCMContext;
|
|
12
|
+
}(MediaPickerStorageProviderContext));
|
|
13
|
+
var MediaPickerStorageProviderWCMChannelAdminContext = /** @class */ (function (_super) {
|
|
14
|
+
__extends(MediaPickerStorageProviderWCMChannelAdminContext, _super);
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @param businessProfileId Null for tenant level
|
|
18
|
+
*/
|
|
19
|
+
function MediaPickerStorageProviderWCMChannelAdminContext() {
|
|
20
|
+
var _this = _super.call(this) || this;
|
|
21
|
+
_this.storageProviderContextId = new Guid("1de38673-a37d-4a0f-8e31-ae7934163a31");
|
|
22
|
+
return _this;
|
|
23
|
+
}
|
|
24
|
+
return MediaPickerStorageProviderWCMChannelAdminContext;
|
|
25
|
+
}(MediaPickerProviderStorageWCMContext));
|
|
26
|
+
export { MediaPickerStorageProviderWCMChannelAdminContext };
|
|
@@ -2,6 +2,7 @@ import { EnterprisePropertyDefinition, SpacingSettings } from '@omnia/fx-models'
|
|
|
2
2
|
import { PageRollupViewSettings, PageDetailsQueryResult } from '..';
|
|
3
3
|
export interface IPageRollupViewInterface<T extends PageRollupViewSettings> {
|
|
4
4
|
pages: Array<PageDetailsQueryResult>;
|
|
5
|
+
highlightNonRead?: boolean;
|
|
5
6
|
viewSettings: T;
|
|
6
7
|
spacingSetting?: SpacingSettings;
|
|
7
8
|
noResultText?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FilterSettingsEnums } from '..';
|
|
2
2
|
import { PageNavigationNode, PageNavigationData } from '../navigation';
|
|
3
3
|
import { VariationId } from '../variations';
|
|
4
4
|
export interface PageDetailsQueryResult {
|
|
@@ -27,7 +27,7 @@ export interface SimplePageQuery {
|
|
|
27
27
|
contentProp: string;
|
|
28
28
|
}
|
|
29
29
|
export interface PageSocialCounting {
|
|
30
|
-
datePeriod:
|
|
30
|
+
datePeriod: FilterSettingsEnums.DatePeriods;
|
|
31
31
|
counting: number;
|
|
32
32
|
rating: number;
|
|
33
33
|
internalName: string;
|
|
@@ -35,8 +35,8 @@ export interface PageSocialCounting {
|
|
|
35
35
|
export interface PageDetailsQuery {
|
|
36
36
|
ids: Array<number>;
|
|
37
37
|
internalNames: Array<string>;
|
|
38
|
-
likePeriod:
|
|
39
|
-
commentPeriod:
|
|
38
|
+
likePeriod: FilterSettingsEnums.DatePeriods;
|
|
39
|
+
commentPeriod: FilterSettingsEnums.DatePeriods;
|
|
40
40
|
contentLimit?: number;
|
|
41
41
|
contentProp?: string;
|
|
42
42
|
}
|
|
@@ -1,30 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PageRollup specific enums
|
|
3
|
+
* Most of the old enums were moved to the more generic FilterSettingsEnums
|
|
4
|
+
* */
|
|
1
5
|
export declare module PageRollupEnums {
|
|
2
|
-
enum DatePeriods {
|
|
3
|
-
OneWeekFromToday = 1,
|
|
4
|
-
TwoWeeksFromToday = 2,
|
|
5
|
-
OneMonthFromToday = 3,
|
|
6
|
-
LaterThanNow = 4,
|
|
7
|
-
EarlierThanNow = 5
|
|
8
|
-
}
|
|
9
|
-
enum FilterTypes {
|
|
10
|
-
FixedValue = 1,
|
|
11
|
-
CurrentPage = 2,
|
|
12
|
-
User = 3
|
|
13
|
-
}
|
|
14
|
-
enum DateTimeModes {
|
|
15
|
-
Normal = 1,
|
|
16
|
-
Social = 2
|
|
17
|
-
}
|
|
18
|
-
enum BooleanFilterOptions {
|
|
19
|
-
Yes = 1,
|
|
20
|
-
No = 2
|
|
21
|
-
}
|
|
22
6
|
enum RollupScopes {
|
|
23
7
|
Tenant = 1,
|
|
24
8
|
PublishingApps = 2,
|
|
25
9
|
PageCollections = 3,
|
|
26
10
|
Subscriptions = 4,
|
|
27
|
-
NavigationPath = 5
|
|
11
|
+
NavigationPath = 5,
|
|
12
|
+
Channels = 6
|
|
28
13
|
}
|
|
29
14
|
enum QueryConfigurationType {
|
|
30
15
|
QueryBuilder = 0,
|
|
@@ -1,29 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PageRollup specific enums
|
|
3
|
+
* Most of the old enums were moved to the more generic FilterSettingsEnums
|
|
4
|
+
* */
|
|
1
5
|
export var PageRollupEnums;
|
|
2
6
|
(function (PageRollupEnums) {
|
|
3
|
-
var DatePeriods;
|
|
4
|
-
(function (DatePeriods) {
|
|
5
|
-
DatePeriods[DatePeriods["OneWeekFromToday"] = 1] = "OneWeekFromToday";
|
|
6
|
-
DatePeriods[DatePeriods["TwoWeeksFromToday"] = 2] = "TwoWeeksFromToday";
|
|
7
|
-
DatePeriods[DatePeriods["OneMonthFromToday"] = 3] = "OneMonthFromToday";
|
|
8
|
-
DatePeriods[DatePeriods["LaterThanNow"] = 4] = "LaterThanNow";
|
|
9
|
-
DatePeriods[DatePeriods["EarlierThanNow"] = 5] = "EarlierThanNow";
|
|
10
|
-
})(DatePeriods = PageRollupEnums.DatePeriods || (PageRollupEnums.DatePeriods = {}));
|
|
11
|
-
var FilterTypes;
|
|
12
|
-
(function (FilterTypes) {
|
|
13
|
-
FilterTypes[FilterTypes["FixedValue"] = 1] = "FixedValue";
|
|
14
|
-
FilterTypes[FilterTypes["CurrentPage"] = 2] = "CurrentPage";
|
|
15
|
-
FilterTypes[FilterTypes["User"] = 3] = "User";
|
|
16
|
-
})(FilterTypes = PageRollupEnums.FilterTypes || (PageRollupEnums.FilterTypes = {}));
|
|
17
|
-
var DateTimeModes;
|
|
18
|
-
(function (DateTimeModes) {
|
|
19
|
-
DateTimeModes[DateTimeModes["Normal"] = 1] = "Normal";
|
|
20
|
-
DateTimeModes[DateTimeModes["Social"] = 2] = "Social";
|
|
21
|
-
})(DateTimeModes = PageRollupEnums.DateTimeModes || (PageRollupEnums.DateTimeModes = {}));
|
|
22
|
-
var BooleanFilterOptions;
|
|
23
|
-
(function (BooleanFilterOptions) {
|
|
24
|
-
BooleanFilterOptions[BooleanFilterOptions["Yes"] = 1] = "Yes";
|
|
25
|
-
BooleanFilterOptions[BooleanFilterOptions["No"] = 2] = "No";
|
|
26
|
-
})(BooleanFilterOptions = PageRollupEnums.BooleanFilterOptions || (PageRollupEnums.BooleanFilterOptions = {}));
|
|
27
7
|
var RollupScopes;
|
|
28
8
|
(function (RollupScopes) {
|
|
29
9
|
RollupScopes[RollupScopes["Tenant"] = 1] = "Tenant";
|
|
@@ -31,6 +11,7 @@ export var PageRollupEnums;
|
|
|
31
11
|
RollupScopes[RollupScopes["PageCollections"] = 3] = "PageCollections";
|
|
32
12
|
RollupScopes[RollupScopes["Subscriptions"] = 4] = "Subscriptions";
|
|
33
13
|
RollupScopes[RollupScopes["NavigationPath"] = 5] = "NavigationPath";
|
|
14
|
+
RollupScopes[RollupScopes["Channels"] = 6] = "Channels";
|
|
34
15
|
})(RollupScopes = PageRollupEnums.RollupScopes || (PageRollupEnums.RollupScopes = {}));
|
|
35
16
|
var QueryConfigurationType;
|
|
36
17
|
(function (QueryConfigurationType) {
|
package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropertyIndexedType, GuidValue } from '@omnia/fx/models';
|
|
2
|
-
import { PageRollupEnums } from '.';
|
|
3
2
|
import { PageRollupViewSettings } from '..';
|
|
3
|
+
import { FilterSettingsEnums } from '..';
|
|
4
4
|
export interface ListViewColumn {
|
|
5
5
|
internalName: string;
|
|
6
6
|
type: PropertyIndexedType;
|
|
@@ -9,7 +9,7 @@ export interface ListViewColumn {
|
|
|
9
9
|
}
|
|
10
10
|
export interface ListViewDateTimeColumn extends ListViewColumn {
|
|
11
11
|
type: PropertyIndexedType.DateTime;
|
|
12
|
-
mode:
|
|
12
|
+
mode: FilterSettingsEnums.DateTimeModes;
|
|
13
13
|
format: string;
|
|
14
14
|
}
|
|
15
15
|
export interface ListViewMediaColumn extends ListViewColumn {
|
|
@@ -18,4 +18,6 @@ export interface ListViewMediaColumn extends ListViewColumn {
|
|
|
18
18
|
}
|
|
19
19
|
export interface PageRollupListViewSettings extends PageRollupViewSettings {
|
|
20
20
|
columns: Array<ListViewColumn>;
|
|
21
|
+
navigationStartNodeId?: number;
|
|
22
|
+
hideStartNode?: boolean;
|
|
21
23
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EnterprisePropertyDefinition, GuidValue, IVersionedDataIdentifier } from '@omnia/fx-models';
|
|
2
2
|
import { PageId } from '.';
|
|
3
3
|
import { ChildStructureType } from '..';
|
|
4
|
-
import { GuidValue, IVersionedDataIdentifier } from '@omnia/fx-models';
|
|
5
4
|
import { QueryFilter } from '../query';
|
|
6
5
|
import { PagePermissionInfo } from './PagePermissionInfo';
|
|
6
|
+
import { PlainPageData } from './PlainPageData';
|
|
7
7
|
export interface PageCreationSettings {
|
|
8
8
|
creationDialogTitle: string;
|
|
9
9
|
showUrl: boolean;
|
|
@@ -28,6 +28,8 @@ export interface PageCollectionData extends PlainPageData {
|
|
|
28
28
|
breakPermissionInheritance: boolean;
|
|
29
29
|
allowInvitationOfCoAuthors: boolean;
|
|
30
30
|
enableAutoSubscription?: boolean;
|
|
31
|
+
enablePublishingToChannel: boolean;
|
|
32
|
+
yammerIntegrationRules: Array<YammerIntegrationRule>;
|
|
31
33
|
}
|
|
32
34
|
export interface AutomaticPageCreationRule {
|
|
33
35
|
id: GuidValue;
|
|
@@ -65,3 +67,14 @@ export interface CreatePageCollectionLayoutRefData extends PageCollectionLayoutR
|
|
|
65
67
|
urlSegment: string;
|
|
66
68
|
childStructureType: ChildStructureType;
|
|
67
69
|
}
|
|
70
|
+
export interface YammerIntegrationRule {
|
|
71
|
+
id: GuidValue;
|
|
72
|
+
yammerGroupId: number;
|
|
73
|
+
matchCriterias: Array<QueryFilter>;
|
|
74
|
+
propertiesMapping: Record<YammerProperties, EnterprisePropertyDefinition>;
|
|
75
|
+
}
|
|
76
|
+
export declare enum YammerProperties {
|
|
77
|
+
Title = "Title",
|
|
78
|
+
Summary = "Summary",
|
|
79
|
+
Content = "Content"
|
|
80
|
+
}
|
|
@@ -3,3 +3,9 @@ export var ReuseContentMode;
|
|
|
3
3
|
ReuseContentMode[ReuseContentMode["enableReuseContent"] = 0] = "enableReuseContent";
|
|
4
4
|
ReuseContentMode[ReuseContentMode["copyOnCreation"] = 1] = "copyOnCreation";
|
|
5
5
|
})(ReuseContentMode || (ReuseContentMode = {}));
|
|
6
|
+
export var YammerProperties;
|
|
7
|
+
(function (YammerProperties) {
|
|
8
|
+
YammerProperties["Title"] = "Title";
|
|
9
|
+
YammerProperties["Summary"] = "Summary";
|
|
10
|
+
YammerProperties["Content"] = "Content";
|
|
11
|
+
})(YammerProperties || (YammerProperties = {}));
|
|
@@ -15,7 +15,9 @@ export interface PageTypePropertyInfo extends EnterprisePropertyItemSettings {
|
|
|
15
15
|
showInNewPage: boolean;
|
|
16
16
|
showInEditProperties: boolean;
|
|
17
17
|
defaultValue?: any;
|
|
18
|
+
calculatedFromProperty: string;
|
|
18
19
|
timePeriodSettingsForDefaultValue?: TimePeriodSettings;
|
|
20
|
+
readonly?: boolean;
|
|
19
21
|
category: string;
|
|
20
22
|
receiveEmail?: boolean;
|
|
21
23
|
allowMultipleValues?: boolean;
|
|
@@ -34,6 +36,7 @@ export interface PageTypeData extends PageData {
|
|
|
34
36
|
};
|
|
35
37
|
propertiesSortOrder: string[];
|
|
36
38
|
sharepointSyncPageSettings?: SharepointSyncPageSettings;
|
|
39
|
+
automaticArchiveSettings: AutomaticArchiveSettings;
|
|
37
40
|
}
|
|
38
41
|
export interface PageTypeProperty extends EnterprisePropertyDefinition {
|
|
39
42
|
info: PageTypePropertyInfo;
|
|
@@ -41,3 +44,6 @@ export interface PageTypeProperty extends EnterprisePropertyDefinition {
|
|
|
41
44
|
export interface ContentPropertyWithInfo extends EnterprisePropertyDefinition {
|
|
42
45
|
info?: PageTypePropertyInfo;
|
|
43
46
|
}
|
|
47
|
+
export interface AutomaticArchiveSettings {
|
|
48
|
+
property: string;
|
|
49
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { AppRoutePropertyBagModel } from '@omnia/fx-models';
|
|
3
|
+
import { WcmService } from '../../ManifestIds';
|
|
4
|
+
var PublishingAppArchiveSettingsRouteProperty = /** @class */ (function (_super) {
|
|
5
|
+
__extends(PublishingAppArchiveSettingsRouteProperty, _super);
|
|
6
|
+
function PublishingAppArchiveSettingsRouteProperty() {
|
|
7
|
+
return _super.call(this, WcmService.Id, "owcmpublishingapparchivesettings") || this;
|
|
8
|
+
}
|
|
9
|
+
return PublishingAppArchiveSettingsRouteProperty;
|
|
10
|
+
}(AppRoutePropertyBagModel));
|
|
11
|
+
export { PublishingAppArchiveSettingsRouteProperty };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ItemQuery, PagingTypes, VariationId, VariationQuery } from '..';
|
|
2
|
+
import { FilterSettingsEnums } from '..';
|
|
2
3
|
export interface PageQuery extends ItemQuery {
|
|
3
|
-
likePeriod:
|
|
4
|
-
commentPeriod:
|
|
4
|
+
likePeriod: FilterSettingsEnums.DatePeriods;
|
|
5
|
+
commentPeriod: FilterSettingsEnums.DatePeriods;
|
|
5
6
|
showMyDrafts?: boolean;
|
|
6
7
|
variationIds: Array<VariationId>;
|
|
7
8
|
variationQueries: Array<VariationQuery>;
|
package/internal-do-not-import-from-here/fx/models/social/Activities/BadgeAwardedActivity.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Activity } from './Activity';
|
|
2
2
|
import { Achievement } from '../Achievement';
|
|
3
|
-
import {
|
|
3
|
+
import { Identity } from '@omnia/fx-models';
|
|
4
4
|
export interface BadgeAwardedActivity extends Activity {
|
|
5
5
|
readonly awardedAchievement: Achievement;
|
|
6
|
-
readonly awardedToUser:
|
|
6
|
+
readonly awardedToUser: Identity;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Activity } from './Activity';
|
|
2
2
|
import { PageId } from '../../pages/Page';
|
|
3
3
|
import { VersionId } from '../../pages/VersionedPageData';
|
|
4
|
-
import { GuidValue, Tag } from '@omnia/fx-models';
|
|
4
|
+
import { Identity, GuidValue, Tag } from '@omnia/fx-models';
|
|
5
5
|
export interface NewPageActivity extends Activity {
|
|
6
6
|
/**
|
|
7
7
|
* The id of the page
|
|
@@ -18,7 +18,7 @@ export interface NewPageActivity extends Activity {
|
|
|
18
18
|
/**
|
|
19
19
|
* The id of the user who created this version
|
|
20
20
|
* */
|
|
21
|
-
readonly createdBy:
|
|
21
|
+
readonly createdBy: Identity;
|
|
22
22
|
/**
|
|
23
23
|
* The title of the publishing app in which this page resided when the version was created
|
|
24
24
|
* */
|
package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentActivity.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PageId } from '../../pages/Page';
|
|
2
2
|
import { VersionId } from '../../pages/VersionedPageData';
|
|
3
3
|
import { Activity } from './Activity';
|
|
4
|
-
import { GuidValue } from '@omnia/fx-models';
|
|
4
|
+
import { Identity, GuidValue } from '@omnia/fx-models';
|
|
5
5
|
export interface CommentContent {
|
|
6
6
|
readonly content: string;
|
|
7
7
|
readonly truncated: boolean;
|
|
@@ -10,7 +10,7 @@ export interface PageCommentActivity extends Activity {
|
|
|
10
10
|
/**
|
|
11
11
|
* The user id of the one who created the comment
|
|
12
12
|
* */
|
|
13
|
-
readonly createdBy:
|
|
13
|
+
readonly createdBy: Identity;
|
|
14
14
|
readonly pageId: PageId;
|
|
15
15
|
readonly versionId: VersionId;
|
|
16
16
|
readonly commentId: GuidValue;
|
package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentMentionActivity.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PageCommentActivity } from './PageCommentActivity';
|
|
2
|
-
import {
|
|
2
|
+
import { Identity } from '@omnia/fx-models';
|
|
3
3
|
export interface PageCommentMentionActivity extends PageCommentActivity {
|
|
4
|
-
readonly mentionedUserId:
|
|
4
|
+
readonly mentionedUserId: Identity;
|
|
5
5
|
}
|
package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentReplyActivity.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PageCommentActivity, CommentContent } from './PageCommentActivity';
|
|
2
|
-
import { GuidValue } from '@omnia/fx-models';
|
|
2
|
+
import { Identity, GuidValue } from '@omnia/fx-models';
|
|
3
3
|
export interface PageCommentReplyActivity extends PageCommentActivity {
|
|
4
4
|
/**
|
|
5
5
|
* The id of the comment to which the commentId is a reply
|
|
@@ -8,7 +8,7 @@ export interface PageCommentReplyActivity extends PageCommentActivity {
|
|
|
8
8
|
/**
|
|
9
9
|
* The user id of the owner of the comment which got the reply (i.e. source comment)
|
|
10
10
|
* */
|
|
11
|
-
readonly repliedCommentCreatedBy:
|
|
11
|
+
readonly repliedCommentCreatedBy: Identity;
|
|
12
12
|
/**
|
|
13
13
|
* The content of the replied comment (i.e. source comment)
|
|
14
14
|
* */
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PublishingChannelId } from '../../channels';
|
|
2
|
+
import { Topic, TopicType } from './Topic';
|
|
3
|
+
export declare class PublishingChannelTopic implements Topic {
|
|
4
|
+
readonly topicType: TopicType;
|
|
5
|
+
readonly publishingChannelId: PublishingChannelId;
|
|
6
|
+
constructor(publishingChannelId: PublishingChannelId);
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TopicType } from './Topic';
|
|
2
|
+
var PublishingChannelTopic = /** @class */ (function () {
|
|
3
|
+
function PublishingChannelTopic(publishingChannelId) {
|
|
4
|
+
if (!publishingChannelId) {
|
|
5
|
+
new Error("Can't create publishing channel topic for publishingChannelId null/undefined");
|
|
6
|
+
}
|
|
7
|
+
this.publishingChannelId = publishingChannelId;
|
|
8
|
+
this.topicType = TopicType.PublishingChannel;
|
|
9
|
+
}
|
|
10
|
+
return PublishingChannelTopic;
|
|
11
|
+
}());
|
|
12
|
+
export { PublishingChannelTopic };
|
|
@@ -6,4 +6,5 @@ export var TopicType;
|
|
|
6
6
|
TopicType[TopicType["PublishingApp"] = 3] = "PublishingApp";
|
|
7
7
|
TopicType[TopicType["Tag"] = 4] = "Tag";
|
|
8
8
|
TopicType[TopicType["Taxonomy"] = 5] = "Taxonomy";
|
|
9
|
+
TopicType[TopicType["PublishingChannel"] = 6] = "PublishingChannel";
|
|
9
10
|
})(TopicType || (TopicType = {}));
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface YammerGroup {
|
|
2
|
+
type: string;
|
|
3
|
+
id: number;
|
|
4
|
+
email: string;
|
|
5
|
+
full_name: string;
|
|
6
|
+
network_id: 11795691;
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
privacy: string;
|
|
10
|
+
url: string;
|
|
11
|
+
web_url: string;
|
|
12
|
+
mugshot_url: string;
|
|
13
|
+
mugshot_redirect_url: string;
|
|
14
|
+
mugshot_url_template: string;
|
|
15
|
+
mugshot_redirect_url_template: string;
|
|
16
|
+
mugshot_id: number;
|
|
17
|
+
show_in_directory: boolean;
|
|
18
|
+
created_at: string;
|
|
19
|
+
aad_guests: number;
|
|
20
|
+
color: string;
|
|
21
|
+
external: boolean;
|
|
22
|
+
moderated: boolean;
|
|
23
|
+
header_image_url: string;
|
|
24
|
+
category: string;
|
|
25
|
+
default_thread_starter_type: string;
|
|
26
|
+
restricted_posting: boolean;
|
|
27
|
+
company_group: boolean;
|
|
28
|
+
creator_type: string;
|
|
29
|
+
creator_id: number;
|
|
30
|
+
state: string;
|
|
31
|
+
stats: Stats;
|
|
32
|
+
}
|
|
33
|
+
export interface Stats {
|
|
34
|
+
members: number;
|
|
35
|
+
aad_guests: number;
|
|
36
|
+
updates: number;
|
|
37
|
+
last_message_id: number;
|
|
38
|
+
last_message_at: string;
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export interface YammerMessage {
|
|
2
|
+
id: number;
|
|
3
|
+
sender_id: number;
|
|
4
|
+
delegate_id: number;
|
|
5
|
+
replied_to_id: number;
|
|
6
|
+
created_at: string;
|
|
7
|
+
network_id: number;
|
|
8
|
+
message_type: string;
|
|
9
|
+
sender_type: string;
|
|
10
|
+
url: string;
|
|
11
|
+
web_url: string;
|
|
12
|
+
group_id: number;
|
|
13
|
+
body: Body;
|
|
14
|
+
thread_id: number;
|
|
15
|
+
client_type: string;
|
|
16
|
+
client_url: string;
|
|
17
|
+
system_message: boolean;
|
|
18
|
+
direct_message: boolean;
|
|
19
|
+
language: string;
|
|
20
|
+
notified_user_ids: Array<number>;
|
|
21
|
+
privacy: string;
|
|
22
|
+
attachments: any[];
|
|
23
|
+
liked_by: LikeBy;
|
|
24
|
+
content_excerpt: string;
|
|
25
|
+
group_created_id: number;
|
|
26
|
+
}
|
|
27
|
+
export interface Body {
|
|
28
|
+
parsed: string;
|
|
29
|
+
plain: string;
|
|
30
|
+
rich: string;
|
|
31
|
+
}
|
|
32
|
+
export interface LikeBy {
|
|
33
|
+
count: number;
|
|
34
|
+
names: Array<number>;
|
|
35
|
+
}
|
|
36
|
+
export interface YammerMessagePost {
|
|
37
|
+
body: string;
|
|
38
|
+
replied_to_id?: number;
|
|
39
|
+
direct_to_user_ids?: Array<number>;
|
|
40
|
+
group_id?: number;
|
|
41
|
+
network_id?: number;
|
|
42
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -19,6 +19,7 @@ export declare class WcmRouter {
|
|
|
19
19
|
private loadTreeForPath;
|
|
20
20
|
navigate<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any): Promise<T>;
|
|
21
21
|
onDisposing(): void;
|
|
22
|
+
private executeScrollingIfNeeded;
|
|
22
23
|
private executeNewNavigationState;
|
|
23
24
|
private isSameNavigationState;
|
|
24
25
|
/**
|
|
@@ -10,6 +10,7 @@ export declare class CalendarService {
|
|
|
10
10
|
queryNextEvents: (calendars: Array<Calendar>) => Promise<EventQueryResponse[]>;
|
|
11
11
|
searchOfficeGroupCalendar: (filter: OfficeGroupCalendarRollupFilter) => Promise<Calendar[]>;
|
|
12
12
|
copyToMyCalendar: (eventId: string) => Promise<Event>;
|
|
13
|
+
getEventById: (groupId: string, eventId: string) => Promise<Event>;
|
|
13
14
|
getCalendarByPageCollectionId: (pageCollectionId: number) => Promise<EventCalendar>;
|
|
14
15
|
addOrUpdateCalendar: (item: EventCalendar) => Promise<EventCalendar>;
|
|
15
16
|
getOutlookCalendars: (item: OutlookCalendarQuery) => Promise<Array<OutlookCalendar>>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TargetingFilterProperty } from '@omnia/fx-sp/models';
|
|
2
|
+
import { Identity, MediaPickerImage, MultilingualString } from '@omnia/fx/models';
|
|
3
|
+
import { PublishingChannel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, PublishingChannelId } from '../models';
|
|
4
|
+
export declare class ChannelManagementService {
|
|
5
|
+
private httpClient;
|
|
6
|
+
constructor();
|
|
7
|
+
createPublishingChannel: (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>, targetingFilter: TargetingFilterProperty) => Promise<PublishingChannel>;
|
|
8
|
+
updatePublishingChannel: (updateData: PublishingChannel) => Promise<PublishingChannel>;
|
|
9
|
+
getPublishingChannels: () => Promise<Array<PublishingChannel>>;
|
|
10
|
+
getSuggestedChannels: () => Promise<PublishingChannel[]>;
|
|
11
|
+
getPublishingChannelById: (channelId: number) => Promise<PublishingChannel>;
|
|
12
|
+
getChannelPages: (pageId: PageId) => Promise<ChannelPage[]>;
|
|
13
|
+
getPublishedChannelsByPageIds: (pageIds: PageId[]) => Promise<{
|
|
14
|
+
[pageId: number]: PublishingChannel[];
|
|
15
|
+
}>;
|
|
16
|
+
deletePublishingChannel: (channelId: PublishingChannelId) => Promise<PublishingChannel>;
|
|
17
|
+
getUserPermissions: (userIdentity: string) => Promise<UserAuthorizedChannelResources>;
|
|
18
|
+
getChannelPagesByStatus: (status: PublishingStatus) => Promise<Array<ChannelPage>>;
|
|
19
|
+
approvePublishPageToChannel: (channel: PublishingChannel, pageId: PageId) => Promise<ChannelPage>;
|
|
20
|
+
rejectPublishPageToChannel: (channel: PublishingChannel, pageId: PageId) => Promise<ChannelPage>;
|
|
21
|
+
addPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>) => Promise<Array<ChannelPage>>;
|
|
22
|
+
publishAddedPageToChannel: (pageId: PageId) => Promise<Array<ChannelPage>>;
|
|
23
|
+
publishPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>) => Promise<Array<ChannelPage>>;
|
|
24
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageId, PublishingRule, VersionId, PublishingRuleData, PageData, ApprovalRequestInfo } from '../models';
|
|
2
2
|
import { RejectPageInfo } from '../models/publishingrule/RejectPageInfo';
|
|
3
|
-
import {
|
|
3
|
+
import { ApprovalRuleData } from '../../models';
|
|
4
4
|
export declare class PublishingRuleService {
|
|
5
5
|
private httpClient;
|
|
6
6
|
private readonly baseUrl;
|
|
@@ -9,10 +9,10 @@ export declare class PublishingRuleService {
|
|
|
9
9
|
[versionId: number]: PublishingRule<PublishingRuleData>[];
|
|
10
10
|
}>;
|
|
11
11
|
updateRule: (rule: PublishingRule) => Promise<PublishingRule>;
|
|
12
|
-
cancelApproval: (rule: PublishingRule<
|
|
13
|
-
approveApproval: (rule: PublishingRule<
|
|
12
|
+
cancelApproval: (rule: PublishingRule<ApprovalRuleData>) => Promise<Array<PublishingRule>>;
|
|
13
|
+
approveApproval: (rule: PublishingRule<ApprovalRuleData>) => Promise<PublishingRule<ApprovalRuleData>>;
|
|
14
14
|
rejectApproval: (rejectPageInfo: RejectPageInfo) => Promise<Array<PublishingRule>>;
|
|
15
15
|
deleteRule: (id: number) => Promise<PublishingRule>;
|
|
16
16
|
getPageVersionRules: (versionId: VersionId) => Promise<Array<PublishingRule>>;
|
|
17
|
-
sendApprovalRequest: <T extends PageData>(approvalRequestInfo: ApprovalRequestInfo<T>) => Promise<PublishingRule<
|
|
17
|
+
sendApprovalRequest: <T extends PageData>(approvalRequestInfo: ApprovalRequestInfo<T>) => Promise<PublishingRule<ApprovalRuleData>>;
|
|
18
18
|
}
|