@omnia/wcm 6.8.12-preview → 6.8.16-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/EditorLocalization.d.ts +1 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +5 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +4 -4
- package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +2 -0
- package/package.json +1 -1
|
@@ -189,6 +189,7 @@ export interface PageRollupBlockSettings {
|
|
|
189
189
|
navigationDepthLevel: number;
|
|
190
190
|
navigationStartNode?: PageItemNode;
|
|
191
191
|
currentUserSubscription?: boolean;
|
|
192
|
+
nodeType?: PageRollupEnums.NodeType;
|
|
192
193
|
}
|
|
193
194
|
export interface PageTypeSelection extends Page {
|
|
194
195
|
title: string;
|
|
@@ -39,4 +39,9 @@ export var PageRollupEnums;
|
|
|
39
39
|
QueryConfigurationType[QueryConfigurationType["QueryBuilder"] = 0] = "QueryBuilder";
|
|
40
40
|
QueryConfigurationType[QueryConfigurationType["PickPages"] = 1] = "PickPages";
|
|
41
41
|
})(QueryConfigurationType = PageRollupEnums.QueryConfigurationType || (PageRollupEnums.QueryConfigurationType = {}));
|
|
42
|
+
var NodeType;
|
|
43
|
+
(function (NodeType) {
|
|
44
|
+
NodeType[NodeType["CurrentNode"] = 0] = "CurrentNode";
|
|
45
|
+
NodeType[NodeType["Custom"] = 1] = "Custom";
|
|
46
|
+
})(NodeType = PageRollupEnums.NodeType || (PageRollupEnums.NodeType = {}));
|
|
42
47
|
})(PageRollupEnums || (PageRollupEnums = {}));
|
|
@@ -30,7 +30,7 @@ export interface PageCollectionData extends PlainPageData {
|
|
|
30
30
|
enableAutoSubscription?: boolean;
|
|
31
31
|
enablePublishingToChannel: boolean;
|
|
32
32
|
yammerIntegrationRules: Array<YammerIntegrationRule>;
|
|
33
|
-
|
|
33
|
+
overriddenPageTypeSettings?: OverriddenPageTypeSetting[];
|
|
34
34
|
/**
|
|
35
35
|
* This property is used as inital value for creating Page Collection Navigation Node.
|
|
36
36
|
* */
|
|
@@ -83,11 +83,11 @@ export declare enum YammerProperties {
|
|
|
83
83
|
Summary = "Summary",
|
|
84
84
|
Content = "Content"
|
|
85
85
|
}
|
|
86
|
-
export interface
|
|
86
|
+
export interface OverriddenPageTypeSetting {
|
|
87
87
|
pageTypeId: number;
|
|
88
|
-
|
|
88
|
+
overriddenProperties: Array<OverriddenProperty>;
|
|
89
89
|
}
|
|
90
|
-
export interface
|
|
90
|
+
export interface OverriddenProperty {
|
|
91
91
|
propertyId?: GuidValue;
|
|
92
92
|
defaultValue?: any;
|
|
93
93
|
calculatedFromProperty?: string;
|
|
@@ -10,7 +10,7 @@ export declare class ChannelManagementService {
|
|
|
10
10
|
getRecentlyUsedChannels: () => Promise<PublishingChannel[]>;
|
|
11
11
|
getPublishingChannelById: (channelId: number) => Promise<PublishingChannel>;
|
|
12
12
|
getChannelPages: (pageId: PageId) => Promise<ChannelPage[]>;
|
|
13
|
-
|
|
13
|
+
getChannelsForPublishedPages: (pageIds: PageId[]) => Promise<{
|
|
14
14
|
[pageId: number]: PublishingChannel[];
|
|
15
15
|
}>;
|
|
16
16
|
deletePublishingChannel: (channelId: PublishingChannelId) => Promise<PublishingChannel>;
|
|
@@ -54,6 +54,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
54
54
|
ensureLoadedCurrentNavigation(blockInstances: IBlockInstanceExtends<PageRollupBlockSettings>[]): Promise<void>;
|
|
55
55
|
getTargetingData(settings: PageRollupBlockSettings): TargetingPropertyFlatResult[];
|
|
56
56
|
getResourceId(resourceId: string): string;
|
|
57
|
+
getStartNode(settings: PageRollupBlockSettings): PageItemNode;
|
|
57
58
|
generateFilters(settings: PageRollupBlockSettings, filters?: Array<PageRollupPropertyFilter>): Array<QueryFilter>;
|
|
58
59
|
getVariationQuery(settings: PageRollupBlockSettings, serviceContainerContext: ServiceContainerContext): Promise<{
|
|
59
60
|
ids: VariationId[];
|
|
@@ -98,6 +99,7 @@ export declare class PageRollupStoreHelper {
|
|
|
98
99
|
getPickedPages(settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): PageItemNode[];
|
|
99
100
|
getTargetingData(settings: PageRollupBlockSettings): TargetingPropertyFlatResult[];
|
|
100
101
|
getResourceId(resourceId: string): string;
|
|
102
|
+
getStartNode(settings: PageRollupBlockSettings): PageItemNode;
|
|
101
103
|
generateFilters(settings: PageRollupBlockSettings, filters?: Array<PageRollupPropertyFilter>): Array<QueryFilter>;
|
|
102
104
|
getVariationQuery(settings: PageRollupBlockSettings, serviceContainerContext: ServiceContainerContext): Promise<{
|
|
103
105
|
ids: VariationId[];
|