@omnia/wcm 7.11.0-preview.1 → 7.11.0-preview.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.
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +4 -2
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/NavigationService.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/stores/CurrentPageStore.d.ts +2 -2
- package/package.json +1 -1
|
@@ -315,8 +315,10 @@ export declare module EditorLocalization {
|
|
|
315
315
|
Points: string;
|
|
316
316
|
};
|
|
317
317
|
NotificationReset: {
|
|
318
|
-
|
|
319
|
-
|
|
318
|
+
NotificationPanel: string;
|
|
319
|
+
NewNotificationWhenPageModified: string;
|
|
320
|
+
EnableSilentPublish: string;
|
|
321
|
+
NotCombinedWithApproval: string;
|
|
320
322
|
};
|
|
321
323
|
SendAsEmail: {
|
|
322
324
|
Title: string;
|
|
@@ -46,6 +46,7 @@ export interface PageCollectionData extends PlainPageData {
|
|
|
46
46
|
imgPropOpenAIRatioUniqueId?: GuidValue;
|
|
47
47
|
semanticSearchEnabled: boolean;
|
|
48
48
|
enableWCAGPageChecker?: boolean;
|
|
49
|
+
overridePageNotificationEnabled?: boolean;
|
|
49
50
|
/**
|
|
50
51
|
* This property is used as inital value for creating Page Collection Navigation Node.
|
|
51
52
|
* */
|
|
@@ -52,6 +52,7 @@ export declare class NavigationService {
|
|
|
52
52
|
}>;
|
|
53
53
|
getNavigationByNode: (node: NavigationNode<NavigationData>, nodeTypes?: NavigationDataType) => Promise<NavigationResult>;
|
|
54
54
|
getNavigationByPath: (path: string, nodeTypes?: NavigationDataType, appInstanceId?: string) => Promise<NavigationResult>;
|
|
55
|
+
getNavigationByUrl: (url: string, nodeTypes?: NavigationDataType) => Promise<NavigationResult>;
|
|
55
56
|
getNodesByPageIds: (...args: Array<PageId>) => Promise<{
|
|
56
57
|
[pageId: number]: PageNavigationNode<PageNavigationData>[];
|
|
57
58
|
}>;
|
|
@@ -75,7 +75,7 @@ export declare class PageService {
|
|
|
75
75
|
checkOut: (pageId: PageId) => Promise<CheckedOutVersionPageData<PageData>>;
|
|
76
76
|
undoCheckout: <T extends PageData>(checkedOutVersionToUncheckOut: CheckedOutVersionPageData<T>) => Promise<VersionedPageData<T>>;
|
|
77
77
|
getCheckedOutVersion: (pageId: PageId) => Promise<CheckedOutVersionPageData<PageData>>;
|
|
78
|
-
publish: <T extends PageData>(versionToPublish: VersionedPageData<T>, targetPublishingAppId?: string) => Promise<PublishedVersionPageData<T>>;
|
|
78
|
+
publish: <T extends PageData>(versionToPublish: VersionedPageData<T>, targetPublishingAppId?: string, withoutNotification?: boolean) => Promise<PublishedVersionPageData<T>>;
|
|
79
79
|
unPublish: <T extends PageData>(versionToUnPublish: PublishedVersionPageData<T>) => Promise<VersionedPageData<T>>;
|
|
80
80
|
getPublishedVersion: (pageId: PageId, targetPublishingAppId?: string) => Promise<PublishedVersionPageData<PageData>>;
|
|
81
81
|
/**
|
|
@@ -134,9 +134,9 @@ export declare class CurrentPageStore extends Store {
|
|
|
134
134
|
*
|
|
135
135
|
*/
|
|
136
136
|
saveState: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
137
|
-
publish: import("@omnia/fx/stores").StoreAction<unknown, (targetPublishingAppId?: string) => void, (result: {
|
|
137
|
+
publish: import("@omnia/fx/stores").StoreAction<unknown, (targetPublishingAppId?: string, withoutNotification?: boolean) => void, (result: {
|
|
138
138
|
publishedVersionId: VersionId;
|
|
139
|
-
}, targetPublishingAppId?: string) => void, (failureReason: any, targetPublishingAppId?: string) => void, (targetPublishingAppId?: string) => Promise<{
|
|
139
|
+
}, targetPublishingAppId?: string, withoutNotification?: boolean) => void, (failureReason: any, targetPublishingAppId?: string, withoutNotification?: boolean) => void, (targetPublishingAppId?: string, withoutNotification?: boolean) => Promise<{
|
|
140
140
|
publishedVersionId: VersionId;
|
|
141
141
|
}>>;
|
|
142
142
|
publishWithoutNavigating: import("@omnia/fx/stores").StoreAction<unknown, (versionPageData: VersionedPageData<PageData>, targetPublishingAppId?: string) => void, (result: {
|