@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.
@@ -499,6 +499,7 @@ export declare module EditorLocalization {
499
499
  Inherit: string;
500
500
  Save: string;
501
501
  Cancel: string;
502
+ NoPropertyAbleToOverride: string;
502
503
  };
503
504
  AddContent: {
504
505
  Title: string;
@@ -245,6 +245,8 @@ export declare module PageRollupLocalization {
245
245
  };
246
246
  NavigationNodePicker: {
247
247
  SelectStartNode: string;
248
+ CurrentNode: string;
249
+ Custom: string;
248
250
  };
249
251
  }
250
252
  }
@@ -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;
@@ -32,4 +32,8 @@ export declare module PageRollupEnums {
32
32
  QueryBuilder = 0,
33
33
  PickPages = 1
34
34
  }
35
+ enum NodeType {
36
+ CurrentNode = 0,
37
+ Custom = 1
38
+ }
35
39
  }
@@ -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
- collectionPageTypes?: Array<CollectionPageType>;
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 CollectionPageType {
86
+ export interface OverriddenPageTypeSetting {
87
87
  pageTypeId: number;
88
- breakInheritanceProperties: Array<BreakInheritanceProperty>;
88
+ overriddenProperties: Array<OverriddenProperty>;
89
89
  }
90
- export interface BreakInheritanceProperty {
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
- getPublishedChannelsByPageIds: (pageIds: PageId[]) => Promise<{
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[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "6.8.12-preview",
4
+ "version": "6.8.16-preview",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"