@omnia/wcm 6.6.120-preview → 6.7.0
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/loc/CoreLocalization.d.ts +35 -0
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +76 -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 +33 -1
- package/internal-do-not-import-from-here/core/ux/FilterTargetingPropertyValueInput.d.ts +36 -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/helpers/LayoutHelper.d.ts +1 -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/models/SharepointSyncSettings.d.ts +4 -0
- 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 +8 -1
- package/internal-do-not-import-from-here/fx/models/Constants.js +14 -7
- package/internal-do-not-import-from-here/fx/models/Enums.d.ts +7 -2
- package/internal-do-not-import-from-here/fx/models/Enums.js +5 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +15 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +71 -0
- package/internal-do-not-import-from-here/fx/models/apps/PublishingAppInstanceOutputInfo.d.ts +1 -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 +16 -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 +37 -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 +12 -0
- package/internal-do-not-import-from-here/fx/models/components/FilterSettings.js +1 -0
- package/internal-do-not-import-from-here/fx/models/components/HtmlScriptBlock.d.ts +1 -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 +13 -9
- 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/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/PageRollupEnums.d.ts +4 -2
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +2 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +3 -2
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +19 -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/PageCreationInfo.d.ts +4 -1
- 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 +1 -1
- 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/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/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/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;
|
|
@@ -9,7 +9,8 @@ export declare module PageRollupEnums {
|
|
|
9
9
|
enum FilterTypes {
|
|
10
10
|
FixedValue = 1,
|
|
11
11
|
CurrentPage = 2,
|
|
12
|
-
User = 3
|
|
12
|
+
User = 3,
|
|
13
|
+
CurrentTerm = 4
|
|
13
14
|
}
|
|
14
15
|
enum DateTimeModes {
|
|
15
16
|
Normal = 1,
|
|
@@ -24,7 +25,8 @@ export declare module PageRollupEnums {
|
|
|
24
25
|
PublishingApps = 2,
|
|
25
26
|
PageCollections = 3,
|
|
26
27
|
Subscriptions = 4,
|
|
27
|
-
NavigationPath = 5
|
|
28
|
+
NavigationPath = 5,
|
|
29
|
+
Channels = 6
|
|
28
30
|
}
|
|
29
31
|
enum QueryConfigurationType {
|
|
30
32
|
QueryBuilder = 0,
|
|
@@ -13,6 +13,7 @@ export var PageRollupEnums;
|
|
|
13
13
|
FilterTypes[FilterTypes["FixedValue"] = 1] = "FixedValue";
|
|
14
14
|
FilterTypes[FilterTypes["CurrentPage"] = 2] = "CurrentPage";
|
|
15
15
|
FilterTypes[FilterTypes["User"] = 3] = "User";
|
|
16
|
+
FilterTypes[FilterTypes["CurrentTerm"] = 4] = "CurrentTerm";
|
|
16
17
|
})(FilterTypes = PageRollupEnums.FilterTypes || (PageRollupEnums.FilterTypes = {}));
|
|
17
18
|
var DateTimeModes;
|
|
18
19
|
(function (DateTimeModes) {
|
|
@@ -31,6 +32,7 @@ export var PageRollupEnums;
|
|
|
31
32
|
RollupScopes[RollupScopes["PageCollections"] = 3] = "PageCollections";
|
|
32
33
|
RollupScopes[RollupScopes["Subscriptions"] = 4] = "Subscriptions";
|
|
33
34
|
RollupScopes[RollupScopes["NavigationPath"] = 5] = "NavigationPath";
|
|
35
|
+
RollupScopes[RollupScopes["Channels"] = 6] = "Channels";
|
|
34
36
|
})(RollupScopes = PageRollupEnums.RollupScopes || (PageRollupEnums.RollupScopes = {}));
|
|
35
37
|
var QueryConfigurationType;
|
|
36
38
|
(function (QueryConfigurationType) {
|
package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PropertyIndexedType, GuidValue } from '@omnia/fx/models';
|
|
2
|
-
import { PageRollupEnums } from '
|
|
3
|
-
import { PageRollupViewSettings } from '..';
|
|
2
|
+
import { PageRollupEnums, PageRollupViewSettings } from '..';
|
|
4
3
|
export interface ListViewColumn {
|
|
5
4
|
internalName: string;
|
|
6
5
|
type: PropertyIndexedType;
|
|
@@ -18,4 +17,6 @@ export interface ListViewMediaColumn extends ListViewColumn {
|
|
|
18
17
|
}
|
|
19
18
|
export interface PageRollupListViewSettings extends PageRollupViewSettings {
|
|
20
19
|
columns: Array<ListViewColumn>;
|
|
20
|
+
navigationStartNodeId?: number;
|
|
21
|
+
hideStartNode?: boolean;
|
|
21
22
|
}
|
|
@@ -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,12 @@ export interface PageCollectionData extends PlainPageData {
|
|
|
28
28
|
breakPermissionInheritance: boolean;
|
|
29
29
|
allowInvitationOfCoAuthors: boolean;
|
|
30
30
|
enableAutoSubscription?: boolean;
|
|
31
|
+
enablePublishingToChannel: boolean;
|
|
32
|
+
yammerIntegrationRules: Array<YammerIntegrationRule>;
|
|
33
|
+
/**
|
|
34
|
+
* This property is used as inital value for creating Page Collection Navigation Node.
|
|
35
|
+
* */
|
|
36
|
+
childStructureType?: ChildStructureType;
|
|
31
37
|
}
|
|
32
38
|
export interface AutomaticPageCreationRule {
|
|
33
39
|
id: GuidValue;
|
|
@@ -65,3 +71,14 @@ export interface CreatePageCollectionLayoutRefData extends PageCollectionLayoutR
|
|
|
65
71
|
urlSegment: string;
|
|
66
72
|
childStructureType: ChildStructureType;
|
|
67
73
|
}
|
|
74
|
+
export interface YammerIntegrationRule {
|
|
75
|
+
id: GuidValue;
|
|
76
|
+
yammerGroupId: number;
|
|
77
|
+
matchCriterias: Array<QueryFilter>;
|
|
78
|
+
propertiesMapping: Record<YammerProperties, EnterprisePropertyDefinition>;
|
|
79
|
+
}
|
|
80
|
+
export declare enum YammerProperties {
|
|
81
|
+
Title = "Title",
|
|
82
|
+
Summary = "Summary",
|
|
83
|
+
Content = "Content"
|
|
84
|
+
}
|
|
@@ -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 = {}));
|
|
@@ -17,7 +17,10 @@ export interface PageCreationRequest {
|
|
|
17
17
|
export interface PageWithNavigationCreationRequest extends PageCreationRequest {
|
|
18
18
|
urlSegment: string;
|
|
19
19
|
position: NavigationPosition;
|
|
20
|
-
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated The childStructureType will be removed in 7.0. Please use the ChildStructureType in PageCollectionData instead
|
|
22
|
+
*/
|
|
23
|
+
childStructureType?: ChildStructureType;
|
|
21
24
|
}
|
|
22
25
|
export interface VariationPageCreationRequest extends PageCreationRequest {
|
|
23
26
|
originalPageId: PageId;
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ItemQuery, PageRollupEnums, PagingTypes, VariationId, VariationQuery } from '..';
|
|
2
2
|
export interface PageQuery extends ItemQuery {
|
|
3
3
|
likePeriod: PageRollupEnums.DatePeriods;
|
|
4
4
|
commentPeriod: PageRollupEnums.DatePeriods;
|
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
|
+
getRecentlyUsedChannels: () => 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, pageTitle: string, pageUrl: string) => Promise<ChannelPage>;
|
|
20
|
+
rejectPublishPageToChannel: (channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => 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
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PageId } from '@omnia/wcm/models';
|
|
2
|
+
import { YammerGroup } from '../models/yammer/YammerGroup';
|
|
3
|
+
import { YammerTracking } from '../models/yammer/YammerTracking';
|
|
4
|
+
export declare class YammerService {
|
|
5
|
+
private httpClient;
|
|
6
|
+
private omniaContext;
|
|
7
|
+
readonly baseUrl = "api/yammer";
|
|
8
|
+
getGroups: () => Promise<Array<YammerGroup>>;
|
|
9
|
+
isYammerTokenSetupAsync: () => Promise<boolean>;
|
|
10
|
+
ensureYammerPostCreation: (sourcePageId: number) => Promise<YammerTracking[]>;
|
|
11
|
+
getYammerTrackingOnPage: (pageId: PageId) => Promise<YammerTracking>;
|
|
12
|
+
disconnectYammerOnPage: (pageId: PageId) => Promise<void>;
|
|
13
|
+
connectPageToYammerPost: (pageId: PageId, yammerThreadId: number) => Promise<YammerTracking>;
|
|
14
|
+
ensureYammerLikesOfPage: (topicId: string, yammerThreadId: number) => Promise<void>;
|
|
15
|
+
}
|