@omnia/wcm 6.11.18 → 6.11.19
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/EditorLocalization.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +3 -0
- package/package.json +1 -1
|
@@ -428,6 +428,8 @@ export declare module EditorLocalization {
|
|
|
428
428
|
SelectedChannels: string;
|
|
429
429
|
NoSelectedChannels: string;
|
|
430
430
|
PublishDirectly: string;
|
|
431
|
+
MoveToPublishDirectly: string;
|
|
432
|
+
MoveToWaitingForApproval: string;
|
|
431
433
|
WaitingForApproval: string;
|
|
432
434
|
Published: string;
|
|
433
435
|
PublishDirectlyMessage: string;
|
|
@@ -2,6 +2,10 @@ import { Guid, GuidValue, Identity, MediaPickerImage, MultilingualString } from
|
|
|
2
2
|
import { TargetingFilterProperty } from "@omnia/fx-sp/models";
|
|
3
3
|
export declare enum PublishingChannelId {
|
|
4
4
|
}
|
|
5
|
+
export interface PublishPageToChannel {
|
|
6
|
+
channelId: PublishingChannelId;
|
|
7
|
+
pendingApproval?: boolean;
|
|
8
|
+
}
|
|
5
9
|
export interface PublishingChannel {
|
|
6
10
|
id: PublishingChannelId;
|
|
7
11
|
securityResourceId: Guid;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TargetingFilterProperty } from '@omnia/fx-sp/models';
|
|
2
2
|
import { GuidValue, Identity, MediaPickerImage, MultilingualString } from '@omnia/fx/models';
|
|
3
|
-
import { PublishingChannel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, PublishingChannelId, PublishingChannelPage, ChannelRollupQuery, PublisingChannelQueryResult } from '../models';
|
|
3
|
+
import { PublishingChannel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, PublishingChannelId, PublishingChannelPage, ChannelRollupQuery, PublisingChannelQueryResult, PublishPageToChannel } from '../models';
|
|
4
4
|
export declare class ChannelManagementService {
|
|
5
5
|
private httpClient;
|
|
6
6
|
constructor();
|
|
@@ -20,6 +20,6 @@ export declare class ChannelManagementService {
|
|
|
20
20
|
rejectPublishPageToChannel: (channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => Promise<ChannelPage>;
|
|
21
21
|
addPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>, defaultPublishingChannelId: PublishingChannelId) => Promise<Array<ChannelPage>>;
|
|
22
22
|
publishAddedPageToChannel: (pageId: PageId) => Promise<Array<ChannelPage>>;
|
|
23
|
-
publishPageToChannels: (pageId: number, channelToPublishTo: Array<
|
|
23
|
+
publishPageToChannels: (pageId: number, channelToPublishTo: Array<PublishPageToChannel>, defaultPublishingChannelId: PublishingChannelId) => Promise<Array<ChannelPage>>;
|
|
24
24
|
queryChannelRollup: (query: ChannelRollupQuery) => Promise<Array<PublisingChannelQueryResult>>;
|
|
25
25
|
}
|
|
@@ -21,6 +21,9 @@ export declare class ChannelManagementStore extends Store {
|
|
|
21
21
|
publishingChannels: import("@omnia/fx/stores").StoreState<ChannelIdtoChannelMap>;
|
|
22
22
|
waitingforApproveList: import("@omnia/fx/stores").StoreState<ChannelPageGroupMapping>;
|
|
23
23
|
resolvedUser: import("@omnia/fx/stores").StoreState<ResolvedUser>;
|
|
24
|
+
pendingChangeChannelPages: {
|
|
25
|
+
[pageId: string]: boolean;
|
|
26
|
+
};
|
|
24
27
|
private recentlyUsedChannels;
|
|
25
28
|
private publishedChannelsPage;
|
|
26
29
|
private userPublishingChannelSubscripton;
|