@omnia/wcm 6.6.1 → 6.6.5

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.
@@ -236,6 +236,7 @@ export declare module PublishingAppLocalization {
236
236
  PageId: string;
237
237
  PageUrl: string;
238
238
  ErrorMessage: string;
239
+ MaxNumOfVersionsToSync: string;
239
240
  };
240
241
  AlreadySendPageAsEmailMessage: string;
241
242
  SuffixTenantPageTypeName: string;
@@ -5,3 +5,6 @@ export interface SharepointSyncPageSettings {
5
5
  pageContentMappingPropertyInternalName: string;
6
6
  relatedLinkstMappingPropertyInternalName: string;
7
7
  }
8
+ export interface SharepointSyncTenantSettings extends SharepointSyncPageSettings {
9
+ maxNumOfVersionsToSync?: number;
10
+ }
@@ -157,6 +157,7 @@ export declare class WcmWebComponentManifests {
157
157
  static get WcmAdminCreatePageTypesBlade(): Guid;
158
158
  static get WcmAdminPageTypeEditorBlade(): Guid;
159
159
  static get SharepointSyncSettings(): Guid;
160
+ static get SharepointSyncTenantSettings(): Guid;
160
161
  static get SharepointSyncWarning(): Guid;
161
162
  static get SharepointSyncError(): Guid;
162
163
  static get QueryableProperties(): Guid;
@@ -774,6 +774,11 @@ var WcmWebComponentManifests = /** @class */ (function () {
774
774
  enumerable: false,
775
775
  configurable: true
776
776
  });
777
+ Object.defineProperty(WcmWebComponentManifests, "SharepointSyncTenantSettings", {
778
+ get: function () { return new Guid("1d81f13f-a1a7-4789-b775-36bf50a7776f"); },
779
+ enumerable: false,
780
+ configurable: true
781
+ });
777
782
  Object.defineProperty(WcmWebComponentManifests, "SharepointSyncWarning", {
778
783
  get: function () { return new Guid("b041e552-192d-436e-be18-e15ab6ab0da4"); },
779
784
  enumerable: false,
@@ -18,7 +18,7 @@ export declare const MegaMenuStyles: {
18
18
  menuDropDownColumnUL: types.NestedCSSProperties;
19
19
  menuDropDownColumnSubTitle: types.NestedCSSProperties;
20
20
  dynamicMenuScrollable: (containerMaxHeight: number, maxHeight: number, btnBottom: number) => types.NestedCSSProperties;
21
- levelStyles: (levelStyle: MegaMenuLevelStyle, isStartNode?: boolean) => types.NestedCSSProperties;
21
+ levelStyles: (levelStyle: MegaMenuLevelStyle, isStartNode?: boolean, isActive?: boolean) => types.NestedCSSProperties;
22
22
  flatWrapper: (maxWidth: number, settings: MegaMenuSettings) => types.NestedCSSProperties;
23
23
  flexChild: (minWidth: number) => types.NestedCSSProperties;
24
24
  flexWrapper: types.NestedCSSProperties;
@@ -1,7 +1,7 @@
1
1
  import { Activity } from './Activity';
2
2
  import { Achievement } from '../Achievement';
3
- import { GuidValue } from '@omnia/fx-models';
3
+ import { Identity } from '@omnia/fx-models';
4
4
  export interface BadgeAwardedActivity extends Activity {
5
5
  readonly awardedAchievement: Achievement;
6
- readonly awardedToUser: GuidValue;
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: GuidValue;
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
  * */
@@ -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: GuidValue;
13
+ readonly createdBy: Identity;
14
14
  readonly pageId: PageId;
15
15
  readonly versionId: VersionId;
16
16
  readonly commentId: GuidValue;
@@ -1,5 +1,5 @@
1
1
  import { PageCommentActivity } from './PageCommentActivity';
2
- import { GuidValue } from '@omnia/fx-models';
2
+ import { Identity } from '@omnia/fx-models';
3
3
  export interface PageCommentMentionActivity extends PageCommentActivity {
4
- readonly mentionedUserId: GuidValue;
4
+ readonly mentionedUserId: Identity;
5
5
  }
@@ -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: GuidValue;
11
+ readonly repliedCommentCreatedBy: Identity;
12
12
  /**
13
13
  * The content of the replied comment (i.e. source comment)
14
14
  * */
@@ -81,6 +81,7 @@ declare class InternalPageRollupStoreHelper {
81
81
  private pushBatchQueryTimewatch;
82
82
  private ensureRunLatestBatchQuery;
83
83
  private executeBatchQuery;
84
+ private ensureLoadPageTypes;
84
85
  private mapToBatchQueryPages;
85
86
  private sleep;
86
87
  private ensureLoadingPageTypes;
@@ -89,6 +89,10 @@
89
89
  "settings",
90
90
  "onChange"
91
91
  ],
92
+ "wcm-sp-sync-tenant-settings": [
93
+ "settings",
94
+ "onChange"
95
+ ],
92
96
  "wcm-sp-sync-error": [
93
97
  "onClosed",
94
98
  "content"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "6.6.1",
4
+ "version": "6.6.5",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"