@omnia/wcm 6.7.103-preview → 6.7.104-preview
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/loc/PageRollupLocalization.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/Constants.js +1 -0
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/channels/{Channel.d.ts → PublishingChannel.d.ts} +5 -3
- 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 -1
- package/internal-do-not-import-from-here/fx/models/channels/index.js +1 -1
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +4 -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/services/ChannelManagementService.d.ts +13 -12
- package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +32 -23
- 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 +4 -2
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- 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/package.json +1 -1
- package/internal-do-not-import-from-here/fx/models/channels/Channel.js +0 -3
|
@@ -22,6 +22,7 @@ export declare const PageRollupConstants: {
|
|
|
22
22
|
readonly PageSizeMax: number;
|
|
23
23
|
readonly DefaultPageSize: number;
|
|
24
24
|
readonly channelIdInternalName: string;
|
|
25
|
+
readonly FilterByCurrentUserSubscription: string;
|
|
25
26
|
};
|
|
26
27
|
export declare const Constants: {
|
|
27
28
|
social: {
|
|
@@ -26,6 +26,7 @@ export var PageRollupConstants = {
|
|
|
26
26
|
get PageSizeMax() { return 200; },
|
|
27
27
|
get DefaultPageSize() { return 30; },
|
|
28
28
|
get channelIdInternalName() { return "PChannelId"; },
|
|
29
|
+
get FilterByCurrentUserSubscription() { return "CurrentUserSubscription"; },
|
|
29
30
|
};
|
|
30
31
|
export var Constants = {
|
|
31
32
|
social: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { PublishingChannelId } from "./PublishingChannel";
|
|
1
2
|
import { PageId } from "../pages";
|
|
2
|
-
import { ChannelId } from "./Channel";
|
|
3
3
|
export declare enum PublishingStatus {
|
|
4
4
|
PendingPublishing = 0,
|
|
5
5
|
PendingApproval = 1,
|
|
@@ -7,7 +7,7 @@ export declare enum PublishingStatus {
|
|
|
7
7
|
}
|
|
8
8
|
export interface ChannelPage {
|
|
9
9
|
pageId: PageId;
|
|
10
|
-
channelId:
|
|
10
|
+
channelId: PublishingChannelId;
|
|
11
11
|
status: PublishingStatus;
|
|
12
12
|
createdBy: string;
|
|
13
13
|
}
|
package/internal-do-not-import-from-here/fx/models/channels/{Channel.d.ts → PublishingChannel.d.ts}
RENAMED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Guid, Identity, MediaPickerImage, MultilingualString } from "@omnia/fx-models";
|
|
2
|
-
|
|
2
|
+
import { TargetingFilterProperty } from "@omnia/fx-sp/models";
|
|
3
|
+
export declare enum PublishingChannelId {
|
|
3
4
|
}
|
|
4
|
-
export interface
|
|
5
|
-
id:
|
|
5
|
+
export interface PublishingChannel {
|
|
6
|
+
id: PublishingChannelId;
|
|
6
7
|
securityResourceId: Guid;
|
|
7
8
|
title: MultilingualString;
|
|
8
9
|
description: MultilingualString;
|
|
@@ -11,6 +12,7 @@ export interface Channel {
|
|
|
11
12
|
image: MediaPickerImage;
|
|
12
13
|
administrator: Array<Identity>;
|
|
13
14
|
publisher: Array<Identity>;
|
|
15
|
+
targetingFilter?: TargetingFilterProperty;
|
|
14
16
|
imageUrl?: string;
|
|
15
17
|
multilingualTitle?: string;
|
|
16
18
|
multilingualDescription?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GuidValue, Identity, MultilingualString, PropertyIndexedType, RollupOtherTypes, SpacingSettings, Tag } from '@omnia/fx-models';
|
|
2
2
|
import { FilterSettingsEnums, Page, PageDialogPropertiesMapping, PageItemNode, PageRollupEnums, PagingTypes, TaxonomyQueryFilter, TaxonomyUIFilter } from '..';
|
|
3
|
-
import {
|
|
3
|
+
import { PublishingChannelId } from '../channels';
|
|
4
4
|
import { PageId } from '../pages';
|
|
5
5
|
import { VariationId } from '../variations';
|
|
6
6
|
export interface PageRollupViewSettings {
|
|
@@ -108,7 +108,7 @@ export interface PageRollupPageTypePropertyFilterValue extends PageRollupPropert
|
|
|
108
108
|
value: Array<PageId>;
|
|
109
109
|
}
|
|
110
110
|
export interface PageRollupChannelFilterValue extends PageRollupPropertyFilterValue {
|
|
111
|
-
value: Array<
|
|
111
|
+
value: Array<PublishingChannelId>;
|
|
112
112
|
}
|
|
113
113
|
export interface PageRollupBlockBreakPointSettings {
|
|
114
114
|
selectedViewId: string;
|
|
@@ -127,6 +127,7 @@ export interface PageRollupBlockBreakPointSettings {
|
|
|
127
127
|
noResultText: string | MultilingualString;
|
|
128
128
|
pagingType: PagingTypes;
|
|
129
129
|
itemLimit: number;
|
|
130
|
+
currentUserSubscription?: boolean;
|
|
130
131
|
}
|
|
131
132
|
export interface PageRollupBlockProperty {
|
|
132
133
|
pickedPages?: Array<PageItemNode>;
|
|
@@ -187,6 +188,7 @@ export interface PageRollupBlockSettings {
|
|
|
187
188
|
useRouter: boolean;
|
|
188
189
|
navigationDepthLevel: number;
|
|
189
190
|
navigationStartNode?: PageItemNode;
|
|
191
|
+
currentUserSubscription?: boolean;
|
|
190
192
|
}
|
|
191
193
|
export interface PageTypeSelection extends Page {
|
|
192
194
|
title: string;
|
|
@@ -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 = {}));
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
+
import { TargetingFilterProperty } from '@omnia/fx-sp/models';
|
|
1
2
|
import { Identity, MediaPickerImage, MultilingualString } from '@omnia/fx/models';
|
|
2
|
-
import {
|
|
3
|
+
import { PublishingChannel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, PublishingChannelId } from '../models';
|
|
3
4
|
export declare class ChannelManagementService {
|
|
4
5
|
private httpClient;
|
|
5
6
|
constructor();
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
getSuggestedChannels: () => Promise<
|
|
10
|
-
|
|
7
|
+
createPublishingChannel: (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>, targetingFilter: TargetingFilterProperty) => Promise<PublishingChannel>;
|
|
8
|
+
updatePublishingChannel: (updateData: PublishingChannel) => Promise<PublishingChannel>;
|
|
9
|
+
getPublishingChannels: () => Promise<Array<PublishingChannel>>;
|
|
10
|
+
getSuggestedChannels: () => Promise<PublishingChannel[]>;
|
|
11
|
+
getPublishingChannelById: (channelId: number) => Promise<PublishingChannel>;
|
|
11
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
|
getChannelPagesByStatus: (status: PublishingStatus) => Promise<Array<ChannelPage>>;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
addPageToChannels: (pageId: number, channelToPublishTo: Array<
|
|
19
|
+
approvePublishPageToChannel: (channel: PublishingChannel, pageId: PageId) => Promise<ChannelPage>;
|
|
20
|
+
rejectPublishPageToChannel: (channel: PublishingChannel, pageId: PageId) => Promise<ChannelPage>;
|
|
21
|
+
addPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>) => Promise<Array<ChannelPage>>;
|
|
21
22
|
publishAddedPageToChannel: (pageId: PageId) => Promise<Array<ChannelPage>>;
|
|
22
|
-
publishPageToChannels: (pageId: number, channelToPublishTo: Array<
|
|
23
|
+
publishPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>) => Promise<Array<ChannelPage>>;
|
|
23
24
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
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,39 +16,45 @@ 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
24
|
private suggestedChannels;
|
|
21
25
|
private publishedChannelsPage;
|
|
26
|
+
private userPublishingChannelSubscripton;
|
|
27
|
+
private ensuredUserPublishingChannelSubscriptonPromise;
|
|
22
28
|
private publishedChannelsOfPageLoadPromise;
|
|
23
|
-
private
|
|
24
|
-
private
|
|
29
|
+
private channelPages;
|
|
30
|
+
private channelPagesLoadPromise;
|
|
25
31
|
private isPublishingPageToChannels;
|
|
26
32
|
private ensuredLoadDataPromise;
|
|
33
|
+
private ensuredGetPublishingChannelsPromise;
|
|
27
34
|
private userAuthorizedChannelResources;
|
|
28
35
|
constructor();
|
|
29
36
|
onActivated(): void;
|
|
30
37
|
onDisposing(): void;
|
|
31
38
|
getters: {
|
|
32
|
-
getSuggestedChannels: () =>
|
|
39
|
+
getSuggestedChannels: () => PublishingChannel[];
|
|
33
40
|
getPublishedChannelsPage: () => {
|
|
34
|
-
[key: string]:
|
|
41
|
+
[key: string]: PublishingChannel[];
|
|
35
42
|
};
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
hasPublisherPermission: (channel:
|
|
43
|
+
getPublishingChannels: () => PublishingChannel[];
|
|
44
|
+
getPublisingChannelbyId: (channelId: PublishingChannelId) => PublishingChannel;
|
|
45
|
+
hasPublisherPermission: (channel: PublishingChannel, userIdentity: string) => boolean;
|
|
39
46
|
getChannelPages: (pageId: PageId) => ChannelPage[];
|
|
40
47
|
isPublishingPageToChannels: (pageId: PageId) => boolean;
|
|
41
|
-
getWaitingforApprovalPages: (channelId:
|
|
42
|
-
|
|
48
|
+
getWaitingforApprovalPages: (channelId: PublishingChannelId) => number[];
|
|
49
|
+
getAllPublishingChannels: () => PublishingChannel[];
|
|
50
|
+
getUserPublishingChannelSubscripton: () => Array<PublishingChannel>;
|
|
43
51
|
};
|
|
44
52
|
/**
|
|
45
53
|
* Implementation of mutations
|
|
46
54
|
*/
|
|
47
55
|
mutations: {
|
|
48
|
-
|
|
49
|
-
|
|
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>;
|
|
50
58
|
updateChannelPages: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, result: Array<ChannelPage>) => void, (pageId: PageId, result: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
51
59
|
updateIsPublishingPageToChannels: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, isPublishing: boolean) => void, (pageId: PageId, isPublishing: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
52
60
|
updateWaitingforApprovalPages: import("@omnia/fx/stores").StoreMutation<(channelPages: Array<ChannelPage>) => void, (channelPages: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
@@ -56,24 +64,25 @@ export declare class ChannelManagementStore extends Store {
|
|
|
56
64
|
*/
|
|
57
65
|
actions: {
|
|
58
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>>;
|
|
59
|
-
|
|
67
|
+
ensurePublishingChannels: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: PublishingChannel[]) => void, (failureReason: any) => void, () => Promise<Array<PublishingChannel>>>;
|
|
60
68
|
ensureLoadData: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
|
|
61
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>>;
|
|
62
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>>;
|
|
63
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>>;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
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>>;
|
|
68
76
|
getPageApprovalList: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: ChannelPage[]) => void, (failureReason: any) => void, () => Promise<Array<ChannelPage>>>;
|
|
69
|
-
|
|
70
|
-
|
|
77
|
+
approvePublishPageToChannelRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: PublishingChannel, pageId: PageId) => void, (result: ChannelPage, channel: PublishingChannel, pageId: PageId) => void, (failureReason: any, channel: PublishingChannel, pageId: PageId) => void, (channel: PublishingChannel, pageId: PageId) => Promise<ChannelPage>>;
|
|
78
|
+
rejectPublishPageToChannelRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: PublishingChannel, pageId: PageId) => void, (result: ChannelPage, channel: PublishingChannel, pageId: PageId) => void, (failureReason: any, channel: PublishingChannel, pageId: PageId) => void, (channel: PublishingChannel, pageId: PageId) => Promise<ChannelPage>>;
|
|
71
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>>>;
|
|
72
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>>>;
|
|
73
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
|
|
85
|
+
private mappingPublishingChannels;
|
|
77
86
|
private addOrUpdateUserPermissions;
|
|
78
87
|
}
|
|
79
88
|
export {};
|
|
@@ -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>>;
|
|
@@ -26,6 +26,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
26
26
|
private omniaContext;
|
|
27
27
|
private breakpointStore;
|
|
28
28
|
private termNavigationStore;
|
|
29
|
+
private channelManagementStore;
|
|
29
30
|
private resolvablePageRollupInNP;
|
|
30
31
|
private pageRollupInstancesInNP;
|
|
31
32
|
private pageRollupInstances;
|
|
@@ -74,6 +75,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
74
75
|
private runIsolatedBatchQueryForInstances;
|
|
75
76
|
private buildQueries;
|
|
76
77
|
private ensurePublishingAppsAndPageCollectionsReady;
|
|
78
|
+
private ensureUpdatePublishingChannelsFilterItems;
|
|
77
79
|
private hookupPageRollupsInWcmLayout;
|
|
78
80
|
private ensureMigrateData;
|
|
79
81
|
private mergeDefaultSettings;
|
|
@@ -83,8 +85,8 @@ declare class InternalPageRollupStoreHelper {
|
|
|
83
85
|
private ensureRunLatestBatchQuery;
|
|
84
86
|
private executeBatchQuery;
|
|
85
87
|
private mapToBatchQueryPages;
|
|
86
|
-
private
|
|
87
|
-
private
|
|
88
|
+
private ensureLoadPageTypesOfInstance;
|
|
89
|
+
private ensureLoadPageTypes;
|
|
88
90
|
}
|
|
89
91
|
export declare class PageRollupStoreHelper {
|
|
90
92
|
private internal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","
|
|
1
|
+
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DeletedPageDialogStyles","Directions","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","FilterSettingsEnums","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OutlookCalendarType","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageTopic","PageTypeConstants","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppLayoutDefinition","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingChannelId","PublishingChannelTopic","PublishingStatus","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","RelatedLinkElementName","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","TagTopic","TaxonomyNavigationStyles","TaxonomyTopic","TopicInformationType","TopicType","UserTopic","VariationId","VariationInputStyles","VariationsRouteProperty","VersionId","VersionType","VersionUpdationMode","VideoType","WCMFxLocalization","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WCMRecipientsEnterpriseProperties","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WeekOfMonthEnums","WorkplaceService","YammerProperties","layoutItemAction"]}}}
|
|
@@ -3,5 +3,5 @@ export var SubscriptionTypes;
|
|
|
3
3
|
SubscriptionTypes[SubscriptionTypes["publishingApp"] = 0] = "publishingApp";
|
|
4
4
|
SubscriptionTypes[SubscriptionTypes["pageCollection"] = 1] = "pageCollection";
|
|
5
5
|
SubscriptionTypes[SubscriptionTypes["page"] = 2] = "page";
|
|
6
|
-
|
|
6
|
+
SubscriptionTypes[SubscriptionTypes["publishingChannel"] = 3] = "publishingChannel";
|
|
7
7
|
})(SubscriptionTypes || (SubscriptionTypes = {}));
|
package/package.json
CHANGED