@omnia/wcm 6.7.0-dev → 6.7.2

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.
Files changed (96) hide show
  1. package/internal-do-not-import-from-here/core/Constants.d.ts +1 -0
  2. package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +35 -0
  3. package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +8 -5
  4. package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +5 -23
  5. package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +3 -1
  6. package/internal-do-not-import-from-here/core/ux/FilterTargetingPropertyValueInput.d.ts +36 -0
  7. package/internal-do-not-import-from-here/core/ux/index.d.ts +1 -0
  8. package/internal-do-not-import-from-here/fx/helpers/LayoutHelper.d.ts +1 -0
  9. package/internal-do-not-import-from-here/fx/internal/models/SharepointSyncSettings.d.ts +4 -0
  10. package/internal-do-not-import-from-here/fx/models/Constants.d.ts +7 -1
  11. package/internal-do-not-import-from-here/fx/models/Constants.js +12 -6
  12. package/internal-do-not-import-from-here/fx/models/Enums.d.ts +2 -1
  13. package/internal-do-not-import-from-here/fx/models/Enums.js +1 -0
  14. package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +5 -0
  15. package/internal-do-not-import-from-here/fx/models/ManifestIds.js +25 -0
  16. package/internal-do-not-import-from-here/fx/models/apps/PublishingAppInstanceOutputInfo.d.ts +1 -0
  17. package/internal-do-not-import-from-here/fx/models/channels/ChannelHttpModels.d.ts +1 -29
  18. package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +7 -10
  19. package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.js +0 -1
  20. package/internal-do-not-import-from-here/fx/models/channels/{Channel.d.ts → PublishingChannel.d.ts} +7 -7
  21. package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.js +3 -0
  22. package/internal-do-not-import-from-here/fx/models/channels/index.d.ts +1 -2
  23. package/internal-do-not-import-from-here/fx/models/channels/index.js +1 -2
  24. package/internal-do-not-import-from-here/fx/models/components/AccordionBlock.d.ts +2 -0
  25. package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +1 -0
  26. package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlock.d.ts +9 -0
  27. package/internal-do-not-import-from-here/fx/models/components/FilterSettings.d.ts +12 -0
  28. package/internal-do-not-import-from-here/fx/models/{channels/PublishingChannelPageRequest.js → components/FilterSettings.js} +0 -0
  29. package/internal-do-not-import-from-here/fx/models/components/HtmlScriptBlock.d.ts +1 -0
  30. package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +6 -1
  31. package/internal-do-not-import-from-here/fx/models/components/LinkPickerStyles.d.ts +1 -1
  32. package/internal-do-not-import-from-here/fx/models/components/MegaMenu.d.ts +19 -7
  33. package/internal-do-not-import-from-here/fx/models/components/MegaMenuStyles.d.ts +7 -4
  34. package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +7 -11
  35. package/internal-do-not-import-from-here/fx/models/components/index.d.ts +1 -0
  36. package/internal-do-not-import-from-here/fx/models/components/index.js +1 -0
  37. package/internal-do-not-import-from-here/fx/models/navigation/NavigationNode.d.ts +5 -0
  38. package/internal-do-not-import-from-here/fx/models/navigation/NavigationNodeQuery.d.ts +6 -0
  39. package/internal-do-not-import-from-here/fx/models/navigation/NavigationNodeQuery.js +6 -0
  40. package/internal-do-not-import-from-here/fx/models/navigation/index.d.ts +1 -0
  41. package/internal-do-not-import-from-here/fx/models/navigation/index.js +1 -0
  42. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +1 -2
  43. package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +8 -0
  44. package/internal-do-not-import-from-here/fx/models/pages/PageCreationInfo.d.ts +4 -1
  45. package/internal-do-not-import-from-here/fx/models/query/PageQuery.d.ts +1 -1
  46. package/internal-do-not-import-from-here/fx/models/social/Activities/BadgeAwardedActivity.d.ts +2 -2
  47. package/internal-do-not-import-from-here/fx/models/social/Activities/NewPageActivity.d.ts +2 -2
  48. package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentActivity.d.ts +2 -2
  49. package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentMentionActivity.d.ts +2 -2
  50. package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentReplyActivity.d.ts +2 -2
  51. package/internal-do-not-import-from-here/fx/models/social/Topics/PublishingChannelTopic.d.ts +7 -0
  52. package/internal-do-not-import-from-here/fx/models/social/Topics/PublishingChannelTopic.js +12 -0
  53. package/internal-do-not-import-from-here/fx/models/social/Topics/Topic.d.ts +2 -1
  54. package/internal-do-not-import-from-here/fx/models/social/Topics/Topic.js +1 -0
  55. package/internal-do-not-import-from-here/fx/models/social/Topics/index.d.ts +1 -0
  56. package/internal-do-not-import-from-here/fx/models/social/Topics/index.js +1 -0
  57. package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +1 -0
  58. package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +17 -14
  59. package/internal-do-not-import-from-here/fx/services/NavigationService.d.ts +2 -1
  60. package/internal-do-not-import-from-here/fx/services/YammerService.d.ts +2 -14
  61. package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +44 -36
  62. package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +1 -1
  63. package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +3 -3
  64. package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +5 -2
  65. package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +9 -2
  66. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +3 -2
  67. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerToolbar.d.ts +1 -0
  68. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/index.d.ts +0 -1
  69. package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
  70. package/internal-do-not-import-from-here/manifests/omnia.wcm.fxux.manifest.json +1 -1
  71. package/internal-do-not-import-from-here/models/publishingapp/schedule/PageSchedule.d.ts +0 -1
  72. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.d.ts +3 -3
  73. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.js +3 -3
  74. package/internal-do-not-import-from-here/models/social/Subscription.d.ts +2 -1
  75. package/internal-do-not-import-from-here/models/social/Subscription.js +1 -1
  76. package/internal-do-not-import-from-here/wcdefinitions.json +1 -142
  77. package/package.json +1 -1
  78. package/internal-do-not-import-from-here/fx/models/channels/Channel.js +0 -3
  79. package/internal-do-not-import-from-here/fx/models/channels/PublishingChannelPageRequest.d.ts +0 -8
  80. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/EnterpriseGlossarySuggestionConfiguration.d.ts +0 -8
  81. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/EnterpriseGlossarySuggestionExtension.d.ts +0 -7
  82. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionComponent.d.ts +0 -16
  83. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionComponent.manifest.d.ts +0 -1
  84. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionMenu.d.ts +0 -11
  85. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/index.d.ts +0 -2
  86. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/loc/localize.d.ts +0 -12
  87. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/loc/localize.manifest.d.ts +0 -1
  88. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/EnterpriseGlossarySuggestionConfiguration.d.ts +0 -4
  89. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/SussgestionMatch.d.ts +0 -6
  90. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/index.d.ts +0 -2
  91. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/EnterpriseGlossarySuggestionNode.d.ts +0 -14
  92. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/EnterpriseSuggestionIgnore.d.ts +0 -6
  93. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/index.d.ts +0 -2
  94. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/EnterpriseGlossarySuggestion.css.d.ts +0 -1
  95. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/EnterpriseGlossarySuggestion.d.ts +0 -4
  96. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/index.d.ts +0 -1
@@ -1,5 +1,6 @@
1
- import { MegaMenuSettings } from '.';
1
+ import { MegaMenuLevelStyle, MegaMenuSettings } from '.';
2
2
  import { types } from 'typestyle';
3
+ import { SpacingSettings } from '@omnia/fx/models';
3
4
  export declare const MegaMenuStyles: {
4
5
  layoutWrapperOmniaApp: (settings: MegaMenuSettings) => types.NestedCSSProperties;
5
6
  layoutWrapperSP: (settings: MegaMenuSettings) => types.NestedCSSProperties;
@@ -12,11 +13,13 @@ export declare const MegaMenuStyles: {
12
13
  menuDropDown: (settings: MegaMenuSettings) => types.NestedCSSProperties;
13
14
  menuDropDownLink: (settings: MegaMenuSettings) => types.NestedCSSProperties;
14
15
  menuDropDownLinkActived: (settings: MegaMenuSettings) => types.NestedCSSProperties;
15
- menuDropDownLinkIndentation: (level: number) => types.NestedCSSProperties;
16
+ menuDropDownLinkIndentation: (level: number, spacing: SpacingSettings) => types.NestedCSSProperties;
16
17
  menuDropDownHeader: types.NestedCSSProperties;
17
- menuFlatDropDownHeader: types.NestedCSSProperties;
18
- menuDropDownColumn: (containerMaxWidth: number, containerMinLeft: number, maxWidth: number, btnLeft: number) => types.NestedCSSProperties;
19
18
  menuDropDownColumnUL: types.NestedCSSProperties;
20
19
  menuDropDownColumnSubTitle: types.NestedCSSProperties;
21
20
  dynamicMenuScrollable: (containerMaxHeight: number, maxHeight: number, btnBottom: number) => types.NestedCSSProperties;
21
+ levelStyles: (levelStyle: MegaMenuLevelStyle, isStartNode?: boolean, isActive?: boolean) => types.NestedCSSProperties;
22
+ flatWrapper: (maxWidth: number, settings: MegaMenuSettings) => types.NestedCSSProperties;
23
+ flexChild: (minWidth: number) => types.NestedCSSProperties;
24
+ flexWrapper: types.NestedCSSProperties;
22
25
  };
@@ -1,6 +1,6 @@
1
1
  import { GuidValue, Identity, MultilingualString, PropertyIndexedType, RollupOtherTypes, SpacingSettings, Tag } from '@omnia/fx-models';
2
- import { Page, PageDialogPropertiesMapping, PageItemNode, PageRollupEnums, PagingTypes } from '..';
3
- import { ChannelId } from '../channels';
2
+ import { Page, PageDialogPropertiesMapping, PageItemNode, PageRollupEnums, PagingTypes, TaxonomyQueryFilter, TaxonomyUIFilter } from '..';
3
+ import { PublishingChannelId } from '../channels';
4
4
  import { PageId } from '../pages';
5
5
  import { VariationId } from '../variations';
6
6
  export interface PageRollupViewSettings {
@@ -54,11 +54,7 @@ export interface PageRollupTagPropertyFilterValue extends PageRollupPropertyFilt
54
54
  value: Array<Tag>;
55
55
  filterType: PageRollupEnums.FilterTypes;
56
56
  }
57
- export interface PageRollupTaxonomyPropertyFilterValue extends PageRollupPropertyFilterValue {
58
- fixedTermIds?: Array<string>;
59
- filterType: PageRollupEnums.FilterTypes;
60
- includeChildTerms: boolean;
61
- includeEmpty: boolean;
57
+ export interface PageRollupTaxonomyPropertyFilterValue extends TaxonomyQueryFilter {
62
58
  }
63
59
  export interface PageRollupLanguagePropertyFilterValue extends PageRollupPropertyFilterValue {
64
60
  value: string[];
@@ -95,9 +91,7 @@ export interface PageRollupUiNumberPropFilterValue extends PageRollupUiFilterVal
95
91
  export interface PageRollupUiPersonPropFilterValue extends PageRollupUiFilterValue {
96
92
  value: Array<Identity>;
97
93
  }
98
- export interface PageRollupUiTaxonomyPropFilterValue extends PageRollupUiFilterValue {
99
- termIds: Array<GuidValue>;
100
- fixedTermIds: Array<GuidValue>;
94
+ export interface PageRollupUiTaxonomyPropFilterValue extends TaxonomyUIFilter {
101
95
  }
102
96
  export interface PageRollupUiSearchboxFilterValue extends PageRollupUiTextPropFilterValue {
103
97
  properties: Array<string>;
@@ -114,7 +108,7 @@ export interface PageRollupPageTypePropertyFilterValue extends PageRollupPropert
114
108
  value: Array<PageId>;
115
109
  }
116
110
  export interface PageRollupChannelFilterValue extends PageRollupPropertyFilterValue {
117
- value: Array<ChannelId>;
111
+ value: Array<PublishingChannelId>;
118
112
  }
119
113
  export interface PageRollupBlockBreakPointSettings {
120
114
  selectedViewId: string;
@@ -133,6 +127,7 @@ export interface PageRollupBlockBreakPointSettings {
133
127
  noResultText: string | MultilingualString;
134
128
  pagingType: PagingTypes;
135
129
  itemLimit: number;
130
+ currentUserSubscription?: boolean;
136
131
  }
137
132
  export interface PageRollupBlockProperty {
138
133
  pickedPages?: Array<PageItemNode>;
@@ -193,6 +188,7 @@ export interface PageRollupBlockSettings {
193
188
  useRouter: boolean;
194
189
  navigationDepthLevel: number;
195
190
  navigationStartNode?: PageItemNode;
191
+ currentUserSubscription?: boolean;
196
192
  }
197
193
  export interface PageTypeSelection extends Page {
198
194
  title: string;
@@ -52,3 +52,4 @@ export * from "./TaxonomyNavigationStyles";
52
52
  export * from "./EnterprisePropertyDocumentProvider";
53
53
  export * from "./SignOffRequestBlockStyles";
54
54
  export * from "./ChannelCardViewStyles";
55
+ export * from "./FilterSettings";
@@ -52,3 +52,4 @@ export * from "./TaxonomyNavigationStyles";
52
52
  export * from "./EnterprisePropertyDocumentProvider";
53
53
  export * from "./SignOffRequestBlockStyles";
54
54
  export * from "./ChannelCardViewStyles";
55
+ export * from "./FilterSettings";
@@ -30,4 +30,9 @@ export interface NavigationNode<T extends NavigationData> extends AuditingInform
30
30
  * */
31
31
  publishedChildCount: number;
32
32
  path?: string;
33
+ /**
34
+ * The order value which is used to sort nodes when there are subset of nodes available in client side
35
+ * */
36
+ orderValue?: number;
37
+ anchorName?: string;
33
38
  }
@@ -0,0 +1,6 @@
1
+ import { NavigationData } from "./NavigationData";
2
+ import { NavigationNode } from "./NavigationNode";
3
+ export declare class NavigationNodeQuery<T extends NavigationNode<NavigationData>> {
4
+ node: T;
5
+ depth: number;
6
+ }
@@ -0,0 +1,6 @@
1
+ var NavigationNodeQuery = /** @class */ (function () {
2
+ function NavigationNodeQuery() {
3
+ }
4
+ return NavigationNodeQuery;
5
+ }());
6
+ export { NavigationNodeQuery };
@@ -16,3 +16,4 @@ export * from "./LinkNavigationData";
16
16
  export * from "./INavigationOptions";
17
17
  export * from "./CurrentNavigationStatus";
18
18
  export * from "./AbsoluteNavigationNode";
19
+ export * from "./NavigationNodeQuery";
@@ -17,3 +17,4 @@ export * from "./LinkNavigationData";
17
17
  export * from "./INavigationOptions";
18
18
  export * from "./CurrentNavigationStatus";
19
19
  export * from "./AbsoluteNavigationNode";
20
+ export * from "./NavigationNodeQuery";
@@ -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;
@@ -2,6 +2,7 @@ import { EnterprisePropertyDefinition, GuidValue, IVersionedDataIdentifier } fro
2
2
  import { PageId } from '.';
3
3
  import { ChildStructureType } from '..';
4
4
  import { QueryFilter } from '../query';
5
+ import { PagePermissionInfo } from './PagePermissionInfo';
5
6
  import { PlainPageData } from './PlainPageData';
6
7
  export interface PageCreationSettings {
7
8
  creationDialogTitle: string;
@@ -29,6 +30,10 @@ export interface PageCollectionData extends PlainPageData {
29
30
  enableAutoSubscription?: boolean;
30
31
  enablePublishingToChannel: boolean;
31
32
  yammerIntegrationRules: Array<YammerIntegrationRule>;
33
+ /**
34
+ * This property is used as inital value for creating Page Collection Navigation Node.
35
+ * */
36
+ childStructureType?: ChildStructureType;
32
37
  }
33
38
  export interface AutomaticPageCreationRule {
34
39
  id: GuidValue;
@@ -59,6 +64,9 @@ export interface SchedulingSettings {
59
64
  export interface PageCollectionLayoutRefData extends PageCollectionData {
60
65
  layoutVersionedDataIdentifier: IVersionedDataIdentifier;
61
66
  }
67
+ export interface PageCollectionPermissionData extends PageCollectionData {
68
+ permissions?: PagePermissionInfo;
69
+ }
62
70
  export interface CreatePageCollectionLayoutRefData extends PageCollectionLayoutRefData {
63
71
  urlSegment: string;
64
72
  childStructureType: ChildStructureType;
@@ -17,7 +17,10 @@ export interface PageCreationRequest {
17
17
  export interface PageWithNavigationCreationRequest extends PageCreationRequest {
18
18
  urlSegment: string;
19
19
  position: NavigationPosition;
20
- childStructureType: ChildStructureType;
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;
@@ -1,4 +1,4 @@
1
- import { PageRollupEnums, ItemQuery, PagingTypes, VariationId, VariationQuery } from '..';
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;
@@ -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
  * */
@@ -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 };
@@ -4,7 +4,8 @@ export declare enum TopicType {
4
4
  PageCollection = 2,
5
5
  PublishingApp = 3,
6
6
  Tag = 4,
7
- Taxonomy = 5
7
+ Taxonomy = 5,
8
+ PublishingChannel = 6
8
9
  }
9
10
  export interface Topic {
10
11
  readonly topicType: TopicType;
@@ -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 = {}));
@@ -11,3 +11,4 @@ export * from './PageCollectionTopicInformation';
11
11
  export * from './UserTopic';
12
12
  export * from './TagTopic';
13
13
  export * from './TaxonomyTopic';
14
+ export * from './PublishingChannelTopic';
@@ -11,3 +11,4 @@ export * from './PageCollectionTopicInformation';
11
11
  export * from './UserTopic';
12
12
  export * from './TagTopic';
13
13
  export * from './TaxonomyTopic';
14
+ export * from './PublishingChannelTopic';
@@ -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
  /**
@@ -1,21 +1,24 @@
1
- import { Channel, ChannelCreateRequest, ChannelEditRequest, ChannelIdentityResolved, PageId, PagesChannelGroupResult, UserAuthorizedChannelResources, ChannelPages, PublishingChannelPageRequest, ChannelPagesIdentityResolved } from '../models';
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';
2
4
  export declare class ChannelManagementService {
3
5
  private httpClient;
4
6
  constructor();
5
- createChannel: (createData: ChannelCreateRequest) => Promise<ChannelIdentityResolved>;
6
- updateChannel: (updateData: ChannelEditRequest) => Promise<ChannelIdentityResolved>;
7
- publishtoChannels: (pageId: number, request: Array<PublishingChannelPageRequest>) => Promise<Array<ChannelPages>>;
8
- getChannels: () => Promise<Array<Channel>>;
9
- getSuggestedChannels: () => Promise<Channel[]>;
10
- getChannelById: (channelId: number) => Promise<ChannelIdentityResolved>;
11
- getChannelPages: (pageId: PageId) => Promise<ChannelPagesIdentityResolved[]>;
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[]>;
12
13
  getPublishedChannelsByPageIds: (pageIds: PageId[]) => Promise<{
13
- [pageId: number]: Channel[];
14
+ [pageId: number]: PublishingChannel[];
14
15
  }>;
15
- deleteChannel: (channelId: number) => Promise<Channel>;
16
+ deletePublishingChannel: (channelId: PublishingChannelId) => Promise<PublishingChannel>;
16
17
  getUserPermissions: (userIdentity: string) => Promise<UserAuthorizedChannelResources>;
17
- getChannelsApprovalList: () => Promise<PagesChannelGroupResult>;
18
- approveChannel: (channel: Channel, pageId: PageId) => Promise<ChannelPages>;
19
- rejectChannel: (channel: Channel, pageId: PageId) => Promise<ChannelPages>;
20
- syncPublishedPageStatus: (pageId: PageId, author: string) => Promise<Array<ChannelPages>>;
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>>;
21
24
  }
@@ -1,4 +1,4 @@
1
- import { NavigationData, NavigationNode, NavigationResult, NodeId, NavigationPosition, MoveNavigationNodeResult, PageId, PageNavigationData, PageNavigationNode, NavigationDataType } from "../models";
1
+ import { NavigationData, NavigationNode, NavigationResult, NodeId, NavigationPosition, MoveNavigationNodeResult, PageId, PageNavigationData, PageNavigationNode, NavigationDataType, NavigationNodeQuery } from "../models";
2
2
  import { HttpClient } from '@omnia/fx';
3
3
  import { GuidValue } from '@omnia/fx-models';
4
4
  export declare class NavigationService {
@@ -43,6 +43,7 @@ export declare class NavigationService {
43
43
  getParentNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType) => Promise<Array<NavigationNode<NavigationData>>>;
44
44
  getChildNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType, depth?: number, forceFromPublishingAppId?: string) => Promise<Array<NavigationNode<NavigationData>>>;
45
45
  getMegamenuChildNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType, depth?: number, forceFromPublishingAppId?: string) => Promise<Array<NavigationNode<NavigationData>>>;
46
+ getMegamenusChildNodes: <T extends NavigationNode<NavigationData>>(nodesToGetParentsFor: NavigationNodeQuery<T>[], nodeTypes?: NavigationDataType) => Promise<Array<NavigationNode<NavigationData>>>;
46
47
  getUnavailableDirectChildNodes: <T extends NavigationNode<NavigationData>>(nodeToGet: T) => Promise<Array<NavigationNode<NavigationData>>>;
47
48
  getNodesByIds: (nodeIds: Array<NodeId>) => Promise<{
48
49
  [nodeId: number]: NavigationNode<NavigationData>;
@@ -1,27 +1,15 @@
1
- import { GuidValue, Comment } from '@omnia/fx-models';
2
- import { ICommentLikeService } from '@omnia/fx/stores';
3
1
  import { PageId } from '@omnia/wcm/models';
4
2
  import { YammerGroup } from '../models/yammer/YammerGroup';
5
- import { YammerMessage, YammerMessagePost } from '../models/yammer/YammerMessage';
6
3
  import { YammerTracking } from '../models/yammer/YammerTracking';
7
- export declare class YammerService implements ICommentLikeService {
4
+ export declare class YammerService {
8
5
  private httpClient;
9
6
  private omniaContext;
10
7
  readonly baseUrl = "api/yammer";
11
8
  getGroups: () => Promise<Array<YammerGroup>>;
12
- unlikeMessage: (businessProfileId: GuidValue, messageId: number) => Promise<unknown>;
13
- removeMessage: (businessProfileId: GuidValue, messageId: number, like: boolean) => Promise<unknown>;
14
- addMessage: (businessProfileId: GuidValue, messageBody: YammerMessagePost) => Promise<YammerMessage>;
15
- toggleLike: (topicId: string, commentId: string, isLike: boolean) => Promise<void>;
16
- addComment: (comment: Comment) => Promise<Comment>;
17
- getCommentLike: (topicId: string) => Promise<any>;
18
- updateComment: (comment: Comment) => Promise<Comment>;
19
- markBestReply: (topicId: string, commentId: string) => Promise<void>;
20
- deleteComment: (comment: Comment) => Promise<void>;
9
+ isYammerTokenSetupAsync: () => Promise<boolean>;
21
10
  ensureYammerPostCreation: (sourcePageId: number) => Promise<YammerTracking[]>;
22
11
  getYammerTrackingOnPage: (pageId: PageId) => Promise<YammerTracking>;
23
12
  disconnectYammerOnPage: (pageId: PageId) => Promise<void>;
24
13
  connectPageToYammerPost: (pageId: PageId, yammerThreadId: number) => Promise<YammerTracking>;
25
14
  ensureYammerLikesOfPage: (topicId: string, yammerThreadId: number) => Promise<void>;
26
- updateYammerSyncStatus: (sourcePageId: number, enableSettings: boolean) => Promise<void>;
27
15
  }
@@ -1,10 +1,12 @@
1
- import { IOmniaContext, ResolvedUser } from '@omnia/fx-models';
1
+ import { Identity, IOmniaContext, MediaPickerImage, MultilingualString, ResolvedUser } from '@omnia/fx-models';
2
+ import { TargetingFilterProperty } from '@omnia/fx-sp/models';
2
3
  import { MediaPickerService } from '@omnia/fx/services';
3
4
  import { MultilingualStore, Store } from '@omnia/fx/stores';
4
- import { ChannelIdentityResolved, ChannelCreateRequest, ChannelEditRequest, Channel, PageId, ChannelPagesIdentityResolved } from '../models';
5
- import { ChannelId, PagesChannelGroup, ChannelPages, PublishingStatus } from '../models';
5
+ import { PublishingChannel, PageId } from '../models';
6
+ import { PublishingChannelId, ChannelPage } from '../models';
7
+ import { TopicsActivityStore } from './TopicsActivityStore';
6
8
  interface ChannelIdtoChannelMap {
7
- [channelId: number]: Channel | ChannelIdentityResolved;
9
+ [channelId: number]: PublishingChannel;
8
10
  }
9
11
  interface ChannelPageGroupMapping {
10
12
  [channelId: number]: Array<number>;
@@ -14,67 +16,73 @@ export declare class ChannelManagementStore extends Store {
14
16
  protected omniaContext: IOmniaContext;
15
17
  mediaPickerService: MediaPickerService;
16
18
  multilingualStore: MultilingualStore;
17
- channels: import("@omnia/fx/stores").StoreState<ChannelIdtoChannelMap>;
19
+ private userTargetingStore;
20
+ topicsActivityStore: TopicsActivityStore;
21
+ publishingChannels: import("@omnia/fx/stores").StoreState<ChannelIdtoChannelMap>;
18
22
  waitingforApproveList: import("@omnia/fx/stores").StoreState<ChannelPageGroupMapping>;
19
23
  resolvedUser: import("@omnia/fx/stores").StoreState<ResolvedUser>;
20
- suggestedChannels: import("@omnia/fx/stores").StoreState<Channel[]>;
21
- publishedChannelsPage: import("@omnia/fx/stores").StoreState<{
22
- [key: string]: Channel[];
23
- }>;
24
+ private recentlyUsedChannels;
25
+ private publishedChannelsPage;
26
+ private userPublishingChannelSubscripton;
27
+ private ensuredUserPublishingChannelSubscriptonPromise;
24
28
  private publishedChannelsOfPageLoadPromise;
25
- private channelPagePublishings;
26
- private channelPagePublishingsLoadPromise;
29
+ private channelPages;
30
+ private channelPagesLoadPromise;
27
31
  private isPublishingPageToChannels;
28
32
  private ensuredLoadDataPromise;
33
+ private ensuredGetPublishingChannelsPromise;
29
34
  private userAuthorizedChannelResources;
30
35
  constructor();
31
36
  onActivated(): void;
32
37
  onDisposing(): void;
33
38
  getters: {
34
- getChannels: () => Channel[];
35
- getChannelbyId: (channelId: ChannelId) => Channel | ChannelIdentityResolved;
36
- hasPublisherPermission: (channel: Channel, userIdentity: string) => boolean;
37
- getChannelPages: (pageId: PageId) => ChannelPagesIdentityResolved[];
39
+ getRecentlyUsedChannels: () => PublishingChannel[];
40
+ getPublishedChannelsPage: () => {
41
+ [key: string]: PublishingChannel[];
42
+ };
43
+ getPublishingChannels: () => PublishingChannel[];
44
+ getPublisingChannelbyId: (channelId: PublishingChannelId) => PublishingChannel;
45
+ hasPublisherPermission: (channel: PublishingChannel, userIdentity: string) => boolean;
46
+ getChannelPages: (pageId: PageId) => ChannelPage[];
38
47
  isPublishingPageToChannels: (pageId: PageId) => boolean;
39
- isPublishingPageToChannelsMutated: (pageId: PageId) => (fn: (obj: import("@omnia/fx-models").StateMutation<{
40
- [key: string]: boolean;
41
- }>) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
42
- getWaitingforApprovalPages: (channelId: ChannelId) => number[];
43
- getAllChannels: () => Channel[];
48
+ getWaitingforApprovalPages: (channelId: PublishingChannelId) => number[];
49
+ getAllPublishingChannels: () => PublishingChannel[];
50
+ getUserPublishingChannelSubscripton: () => Array<PublishingChannel>;
44
51
  };
45
52
  /**
46
53
  * Implementation of mutations
47
54
  */
48
55
  mutations: {
49
- addOrUpdateChannel: import("@omnia/fx/stores").StoreMutation<(createdChannels: Array<Channel>) => void, (createdChannels: Channel[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
50
- deleteChannel: import("@omnia/fx/stores").StoreMutation<(deleteChannel: Channel) => void, (deleteChannel: Channel) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
51
- updateChannelPages: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, result: Array<ChannelPagesIdentityResolved>) => void, (pageId: PageId, result: ChannelPagesIdentityResolved[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
56
+ addOrUpdatePublishingChannel: import("@omnia/fx/stores").StoreMutation<(createdChannels: Array<PublishingChannel>) => void, (createdChannels: PublishingChannel[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
57
+ deletePublishingChannel: import("@omnia/fx/stores").StoreMutation<(deleteChannel: PublishingChannel) => void, (deleteChannel: PublishingChannel) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
58
+ updateChannelPages: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, result: Array<ChannelPage>) => void, (pageId: PageId, result: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
52
59
  updateIsPublishingPageToChannels: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, isPublishing: boolean) => void, (pageId: PageId, isPublishing: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
53
- updateWaitingforApprovalPages: import("@omnia/fx/stores").StoreMutation<(groups: Array<PagesChannelGroup>) => void, (groups: PagesChannelGroup[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
60
+ updateWaitingforApprovalPages: import("@omnia/fx/stores").StoreMutation<(channelPages: Array<ChannelPage>) => void, (channelPages: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
54
61
  };
55
62
  /**
56
63
  * Implementation of actions
57
64
  */
58
65
  actions: {
59
66
  ensureUserPermission: import("@omnia/fx/stores").StoreAction<unknown, (userIdentity: string) => void, (result: boolean, userIdentity: string) => void, (failureReason: any, userIdentity: string) => void, (userIdentity: string) => Promise<boolean>>;
60
- ensureChannels: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: Channel[]) => void, (failureReason: any) => void, () => Promise<Array<Channel>>>;
67
+ ensurePublishingChannels: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: PublishingChannel[]) => void, (failureReason: any) => void, () => Promise<Array<PublishingChannel>>>;
61
68
  ensureLoadData: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
62
69
  ensureChannelPages: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: boolean, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<boolean>>;
63
70
  ensurePublishedChannelsByPageId: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: boolean, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<boolean>>;
64
71
  ensurePublishedChannelsByPageIds: import("@omnia/fx/stores").StoreAction<unknown, (pageIds: PageId[]) => void, (result: boolean, pageIds: PageId[]) => void, (failureReason: any, pageIds: PageId[]) => void, (pageIds: PageId[]) => Promise<boolean>>;
65
- ensureChannelwithPermission: import("@omnia/fx/stores").StoreAction<unknown, (channelId: number) => void, (result: ChannelIdentityResolved, channelId: number) => void, (failureReason: any, channelId: number) => void, (channelId: number) => Promise<ChannelIdentityResolved>>;
66
- createChannel: import("@omnia/fx/stores").StoreAction<unknown, (creationRequest: ChannelCreateRequest) => void, (result: ChannelIdentityResolved, creationRequest: ChannelCreateRequest) => void, (failureReason: any, creationRequest: ChannelCreateRequest) => void, (creationRequest: ChannelCreateRequest) => Promise<ChannelIdentityResolved>>;
67
- editChannel: import("@omnia/fx/stores").StoreAction<unknown, (editRequest: ChannelEditRequest) => void, (result: ChannelIdentityResolved, editRequest: ChannelEditRequest) => void, (failureReason: any, editRequest: ChannelEditRequest) => void, (editRequest: ChannelEditRequest) => Promise<ChannelIdentityResolved>>;
68
- deleteChannel: import("@omnia/fx/stores").StoreAction<unknown, (channelId: number) => void, (result: Channel, channelId: number) => void, (failureReason: any, channelId: number) => void, (channelId: number) => Promise<Channel>>;
69
- getPageApprovalList: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: PagesChannelGroup[]) => void, (failureReason: any) => void, () => Promise<Array<PagesChannelGroup>>>;
70
- approveRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: Channel, pageId: PageId) => void, (result: ChannelPages, channel: Channel, pageId: PageId) => void, (failureReason: any, channel: Channel, pageId: PageId) => void, (channel: Channel, pageId: PageId) => Promise<ChannelPages>>;
71
- rejectRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: Channel, pageId: PageId) => void, (result: ChannelPages, channel: Channel, pageId: PageId) => void, (failureReason: any, channel: Channel, pageId: PageId) => void, (channel: Channel, pageId: PageId) => Promise<ChannelPages>>;
72
- publishPagetoChannel: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number, status: PublishingStatus) => void, (result: ChannelPages[], pageId: number, status: PublishingStatus) => void, (failureReason: any, pageId: number, status: PublishingStatus) => void, (pageId: number, status: PublishingStatus) => Promise<Array<ChannelPages>>>;
73
- syncPublishPagetoChannel: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number, author: string) => void, (result: ChannelPages[], pageId: number, author: string) => void, (failureReason: any, pageId: number, author: string) => void, (pageId: number, author: string) => Promise<Array<ChannelPages>>>;
72
+ ensurePublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (channelId: number) => void, (result: PublishingChannel, channelId: number) => void, (failureReason: any, channelId: number) => void, (channelId: number) => Promise<PublishingChannel>>;
73
+ createPublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[], targetingFilter: TargetingFilterProperty) => void, (result: PublishingChannel, title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[], targetingFilter: TargetingFilterProperty) => void, (failureReason: any, title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[], targetingFilter: TargetingFilterProperty) => void, (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>, targetingFilter: TargetingFilterProperty) => Promise<PublishingChannel>>;
74
+ updatePublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (editRequest: PublishingChannel) => void, (result: PublishingChannel, editRequest: PublishingChannel) => void, (failureReason: any, editRequest: PublishingChannel) => void, (editRequest: PublishingChannel) => Promise<PublishingChannel>>;
75
+ deletePublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (channelId: PublishingChannelId) => void, (result: PublishingChannel, channelId: PublishingChannelId) => void, (failureReason: any, channelId: PublishingChannelId) => void, (channelId: PublishingChannelId) => Promise<PublishingChannel>>;
76
+ getPageApprovalList: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: ChannelPage[]) => void, (failureReason: any) => void, () => Promise<Array<ChannelPage>>>;
77
+ approvePublishPageToChannelRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => void, (result: ChannelPage, channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => void, (failureReason: any, channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => void, (channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => Promise<ChannelPage>>;
78
+ rejectPublishPageToChannelRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => void, (result: ChannelPage, channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => void, (failureReason: any, channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => void, (channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => Promise<ChannelPage>>;
79
+ addPageToChannels: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
80
+ publishPageToChannels: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
81
+ publishAddedPageToChannel: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
82
+ ensureUserPublishingChannelSubscripton: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
74
83
  };
75
84
  private updateChannelPagesStatus;
76
- private mappingChannels;
77
- private getPublishPageToChannelsRequest;
85
+ private mappingPublishingChannels;
78
86
  private addOrUpdateUserPermissions;
79
87
  }
80
88
  export {};
@@ -28,7 +28,7 @@ export declare class NavigationStore extends Store {
28
28
  isLoadingChildren: (node: NavigationNode<NavigationData>) => boolean;
29
29
  getParents: <T_1 extends NavigationNode<NavigationData>>(node: NavigationNode<NavigationData>, nodeTypes?: NavigationDataType) => T_1[];
30
30
  absoluteUrl: (node: NavigationNode<NavigationData>, variationId?: VariationId) => string;
31
- sortSiblingNodes: (nodes: Array<NavigationNode<NavigationData>>, isRecursive?: boolean) => NavigationNode<NavigationData>[];
31
+ sortSiblingNodes: (nodes: Array<NavigationNode<NavigationData>>) => NavigationNode<NavigationData>[];
32
32
  };
33
33
  /**
34
34
  * Implementation of mutations
@@ -46,7 +46,7 @@ export declare class PageRollupStore extends Store {
46
46
  private indexedDbPageRollup;
47
47
  private pageTypes;
48
48
  private pageTypesLoadPromise;
49
- private channelSettings;
49
+ private publishingChannelSettings;
50
50
  /**
51
51
  * Private properties
52
52
  */
@@ -66,7 +66,7 @@ export declare class PageRollupStore extends Store {
66
66
  pageContentDataWithLimit: (contentProp: string, contentLimit: number, pageId: number) => string;
67
67
  pageTypesTitle: (page: PageDetailsQueryResult) => string;
68
68
  pageTypes: (uniqueKey: string) => PageTypeSelection[];
69
- channelSettings: (uniqueKey: string) => string[];
69
+ publishingChannelSettings: (uniqueKey: string) => string[];
70
70
  };
71
71
  private generatePageSocialCountingColumn;
72
72
  private getPageRollupDataFromIndexedDB;
@@ -78,7 +78,7 @@ export declare class PageRollupStore extends Store {
78
78
  addOrUpdateBatchedPages: import("@omnia/fx/stores").StoreMutation<(data: BatchPageRollupQueryResult, clientCaching: boolean) => void, (data: BatchPageRollupQueryResult, clientCaching: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
79
79
  addOrUpdateIndexedDBPages: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pages: Array<PageDetailsQueryResult>) => void, (uniqueKey: string, pages: PageDetailsQueryResult[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
80
80
  updatePageTypes: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pageTypes: Array<PageTypeSelection>) => void, (uniqueKey: string, pageTypes: PageTypeSelection[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
81
- updateChannelSettings: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, channelsId: Array<string>) => void, (uniqueKey: string, channelsId: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
81
+ updatePublishingChannelSettings: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, channelsId: Array<string>) => void, (uniqueKey: string, channelsId: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
82
82
  };
83
83
  actions: {
84
84
  navigate: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => void, (result: void, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => Promise<void>>;