@omnia/wcm 6.10.13-preview → 6.10.14-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,5 +1,6 @@
|
|
|
1
1
|
import { Store } from '@omnia/fx/stores';
|
|
2
2
|
import { Page, VersionReference, PageId, VersionId, IPageVersion } from '../models';
|
|
3
|
+
import { Layout } from '@omnia/fx-models';
|
|
3
4
|
export interface ICurrentPageState {
|
|
4
5
|
/**
|
|
5
6
|
* Reference to the current page
|
|
@@ -21,6 +22,7 @@ export interface ICurrentPageState {
|
|
|
21
22
|
* if the current version does not have a parentLayoutPageId this version data will be null
|
|
22
23
|
* */
|
|
23
24
|
readonly parentLayout?: IPageVersion;
|
|
25
|
+
readonly externalParentLayout?: Layout;
|
|
24
26
|
}
|
|
25
27
|
export declare class CurrentPageStore extends Store {
|
|
26
28
|
private pageService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from '@omnia/fx/stores';
|
|
2
|
-
import { NavigationNode, WCMPageTypes, Page, VersionedPageData, PageData, VersionReference, PageId, NavigationPosition, PageNavigationNode, PageNavigationData, NavigationData, VariationPage, Variation, PageCollectionSelection, CheckedOutVersionPageData, ArchivePageResult, PageWithNavigationCreationRequest, ReadNews } from '../models';
|
|
2
|
+
import { NavigationNode, WCMPageTypes, Page, VersionedPageData, PageData, VersionReference, PageId, NavigationPosition, PageNavigationNode, PageNavigationData, MergedPageVersionLayout, NavigationData, VariationPage, Variation, PageCollectionSelection, CheckedOutVersionPageData, ArchivePageResult, PageWithNavigationCreationRequest, ReadNews } from '../models';
|
|
3
3
|
import { GuidValue, Guid, IMessageBusSubscriptionHandler, IOmniaContext } from '@omnia/fx-models';
|
|
4
4
|
export declare class PagesStore extends Store {
|
|
5
5
|
private pageService;
|
|
@@ -45,7 +45,7 @@ export declare class PagesStore extends Store {
|
|
|
45
45
|
* */
|
|
46
46
|
ensurePages: import("@omnia/fx/stores").StoreAction<unknown, (pageIds: PageId[], useCachedData?: boolean) => void, (result: void, pageIds: PageId[], useCachedData?: boolean) => void, (failureReason: any, pageIds: PageId[], useCachedData?: boolean) => void, (pageIds: Array<PageId>, useCachedData?: boolean) => Promise<void>>;
|
|
47
47
|
ensurePagesByType: import("@omnia/fx/stores").StoreAction<unknown, (typesToGet?: number, isTenantPageTypeIncluded?: boolean) => void, (result: void, typesToGet?: number, isTenantPageTypeIncluded?: boolean) => void, (failureReason: any, typesToGet?: number, isTenantPageTypeIncluded?: boolean) => void, (typesToGet?: number, isTenantPageTypeIncluded?: boolean) => Promise<void>>;
|
|
48
|
-
ensureVersionData: import("@omnia/fx/stores").StoreAction<unknown, (versionRefs: VersionReference[], force?: boolean) => void, (result:
|
|
48
|
+
ensureVersionData: import("@omnia/fx/stores").StoreAction<unknown, (versionRefs: VersionReference[], force?: boolean) => void, (result: MergedPageVersionLayout[], versionRefs: VersionReference[], force?: boolean) => void, (failureReason: any, versionRefs: VersionReference[], force?: boolean) => void, (versionRefs: Array<VersionReference>, force?: boolean) => Promise<MergedPageVersionLayout[]>>;
|
|
49
49
|
createPage: import("@omnia/fx/stores").StoreAction<unknown, (creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => void, (result: PageNavigationNode<PageNavigationData>, creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => void, (failureReason: any, creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => void, <T extends PageData>(creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
50
50
|
movePage: import("@omnia/fx/stores").StoreAction<unknown, (navigationNode: NavigationNode<NavigationData>, newPosition: NavigationPosition) => void, (result: void, navigationNode: NavigationNode<NavigationData>, newPosition: NavigationPosition) => void, (failureReason: any, navigationNode: NavigationNode<NavigationData>, newPosition: NavigationPosition) => void, (navigationNode: NavigationNode<NavigationData>, newPosition: NavigationPosition) => Promise<void>>;
|
|
51
51
|
/**
|