@omnia/wcm 6.7.0-dev → 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 +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 +8 -5
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +5 -23
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +3 -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/helpers/LayoutHelper.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/internal/models/SharepointSyncSettings.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +7 -1
- package/internal-do-not-import-from-here/fx/models/Constants.js +12 -6
- package/internal-do-not-import-from-here/fx/models/Enums.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/Enums.js +1 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +25 -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 +1 -29
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +7 -10
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.js +0 -1
- package/internal-do-not-import-from-here/fx/models/channels/{Channel.d.ts → PublishingChannel.d.ts} +7 -7
- 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 +1 -2
- package/internal-do-not-import-from-here/fx/models/channels/index.js +1 -2
- 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 +1 -0
- package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlock.d.ts +9 -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/{channels/PublishingChannelPageRequest.js → components/FilterSettings.js} +0 -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/LinkPickerStyles.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/components/MegaMenu.d.ts +19 -7
- package/internal-do-not-import-from-here/fx/models/components/MegaMenuStyles.d.ts +7 -4
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +7 -11
- package/internal-do-not-import-from-here/fx/models/components/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/navigation/NavigationNode.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/navigation/NavigationNodeQuery.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/navigation/NavigationNodeQuery.js +6 -0
- package/internal-do-not-import-from-here/fx/models/navigation/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/navigation/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +1 -2
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageCreationInfo.d.ts +4 -1
- 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/routing/WcmRouter.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +17 -14
- package/internal-do-not-import-from-here/fx/services/NavigationService.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/services/YammerService.d.ts +2 -14
- package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +44 -36
- package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +5 -2
- package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +8 -2
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +3 -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 +0 -1
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fxux.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/publishingapp/schedule/PageSchedule.d.ts +0 -1
- 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 -142
- package/package.json +1 -1
- package/internal-do-not-import-from-here/fx/models/channels/Channel.js +0 -3
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannelPageRequest.d.ts +0 -8
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/EnterpriseGlossarySuggestionConfiguration.d.ts +0 -8
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/EnterpriseGlossarySuggestionExtension.d.ts +0 -7
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionComponent.d.ts +0 -16
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionComponent.manifest.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionMenu.d.ts +0 -11
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/index.d.ts +0 -2
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/loc/localize.d.ts +0 -12
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/loc/localize.manifest.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/EnterpriseGlossarySuggestionConfiguration.d.ts +0 -4
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/SussgestionMatch.d.ts +0 -6
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/index.d.ts +0 -2
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/EnterpriseGlossarySuggestionNode.d.ts +0 -14
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/EnterpriseSuggestionIgnore.d.ts +0 -6
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/index.d.ts +0 -2
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/EnterpriseGlossarySuggestion.css.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/EnterpriseGlossarySuggestion.d.ts +0 -4
- 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 {
|
|
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
|
|
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
|
|
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<
|
|
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;
|
|
@@ -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
|
}
|
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;
|
|
@@ -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
|
-
|
|
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 {
|
|
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 = {}));
|
|
@@ -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 {
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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]:
|
|
14
|
+
[pageId: number]: PublishingChannel[];
|
|
14
15
|
}>;
|
|
15
|
-
|
|
16
|
+
deletePublishingChannel: (channelId: PublishingChannelId) => Promise<PublishingChannel>;
|
|
16
17
|
getUserPermissions: (userIdentity: string) => Promise<UserAuthorizedChannelResources>;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
|
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
|
-
|
|
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 {
|
|
5
|
-
import {
|
|
5
|
+
import { PublishingChannel, PageId } from '../models';
|
|
6
|
+
import { PublishingChannelId, ChannelPage } from '../models';
|
|
7
|
+
import { TopicsActivityStore } from './TopicsActivityStore';
|
|
6
8
|
interface ChannelIdtoChannelMap {
|
|
7
|
-
[channelId: number]:
|
|
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
|
-
|
|
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
|
-
|
|
21
|
-
publishedChannelsPage
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
private recentlyUsedChannels;
|
|
25
|
+
private publishedChannelsPage;
|
|
26
|
+
private userPublishingChannelSubscripton;
|
|
27
|
+
private ensuredUserPublishingChannelSubscriptonPromise;
|
|
24
28
|
private publishedChannelsOfPageLoadPromise;
|
|
25
|
-
private
|
|
26
|
-
private
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
updateChannelPages: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, result: Array<
|
|
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<(
|
|
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
|
-
|
|
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
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
getPageApprovalList: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result:
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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>>;
|