@omnia/wcm 6.7.129-preview → 6.7.133-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.
@@ -1,3 +1,4 @@
1
1
  import { AppInstanceOutput } from '@omnia/fx-models';
2
2
  export interface PublishingAppInstanceOutputInfo extends AppInstanceOutput {
3
+ spUrl: string;
3
4
  }
@@ -11,4 +11,6 @@ export interface ChannelPage {
11
11
  status: PublishingStatus;
12
12
  createdBy: string;
13
13
  rejectionComment?: string;
14
+ pageTitle?: string;
15
+ pageUrl?: string;
14
16
  }
@@ -16,8 +16,8 @@ export declare class ChannelManagementService {
16
16
  deletePublishingChannel: (channelId: PublishingChannelId) => Promise<PublishingChannel>;
17
17
  getUserPermissions: (userIdentity: string) => Promise<UserAuthorizedChannelResources>;
18
18
  getChannelPagesByStatus: (status: PublishingStatus) => Promise<Array<ChannelPage>>;
19
- approvePublishPageToChannel: (channel: PublishingChannel, pageId: PageId) => Promise<ChannelPage>;
20
- rejectPublishPageToChannel: (channel: PublishingChannel, pageId: PageId, comment: string) => Promise<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
21
  addPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>) => Promise<Array<ChannelPage>>;
22
22
  publishAddedPageToChannel: (pageId: PageId) => Promise<Array<ChannelPage>>;
23
23
  publishPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>) => Promise<Array<ChannelPage>>;
@@ -74,8 +74,8 @@ export declare class ChannelManagementStore extends Store {
74
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
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
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) => 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, comment: string) => void, (result: ChannelPage, channel: PublishingChannel, pageId: PageId, comment: string) => void, (failureReason: any, channel: PublishingChannel, pageId: PageId, comment: string) => void, (channel: PublishingChannel, pageId: PageId, comment: string) => Promise<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
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
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
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>>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "6.7.129-preview",
4
+ "version": "6.7.133-preview",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"