@omnia/wcm 7.10.0-preview.4 → 7.10.0-preview.6

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.
@@ -878,7 +878,7 @@ export declare module EditorLocalization {
878
878
  Cancel: string;
879
879
  Approval: string;
880
880
  };
881
- PageReviewWorkflow: {
881
+ PageReviewRule: {
882
882
  Title: string;
883
883
  RuleName: string;
884
884
  DateProperty: string;
@@ -906,7 +906,7 @@ export declare module EditorLocalization {
906
906
  };
907
907
  };
908
908
  };
909
- RemovePageReviewWorkflowRuleSettings: {
909
+ RemovePageReviewRuleSettings: {
910
910
  Title: string;
911
911
  ConfirmationMessage: string;
912
912
  };
@@ -40,7 +40,7 @@ export interface PageTypeData extends PageData {
40
40
  sharepointSyncPageSettings?: SharepointSyncPageSettings;
41
41
  automaticArchiveSettings: AutomaticArchiveSettings;
42
42
  analyticsSettings?: AnalyticsSettings;
43
- pageReviewWorkflowRules?: number[];
43
+ pageReviewRules?: number[];
44
44
  }
45
45
  export interface PageTypeProperty extends EnterprisePropertyDefinition {
46
46
  info: PageTypePropertyInfo;
@@ -52,7 +52,6 @@ export interface AutomaticArchiveSettings {
52
52
  property: string;
53
53
  }
54
54
  export interface MessageBarSettings {
55
- enabled: boolean;
56
55
  title: MultilingualString;
57
56
  body: MultilingualString;
58
57
  icon: IconPickerModel;
@@ -60,7 +59,6 @@ export interface MessageBarSettings {
60
59
  textColor: string;
61
60
  }
62
61
  export interface SendEmailSettings {
63
- enabled: boolean;
64
62
  subject: MultilingualString;
65
63
  body: MultilingualString;
66
64
  recipientProperties: string[];
@@ -70,22 +68,24 @@ export interface ChangePageTypeSettings {
70
68
  pageTypeId: number;
71
69
  }
72
70
  export interface SuspendedSettings {
73
- enabled: boolean;
74
71
  changePageType: ChangePageTypeSettings;
75
72
  removeFromSearchEnabled: boolean;
76
73
  }
77
- export interface PageReviewWorkflowRule {
74
+ export interface PageReviewRule {
78
75
  id: number;
79
76
  pageId: number;
80
77
  originalPageVersionId: number;
81
78
  title: MultilingualString;
82
79
  dateProperty: string;
80
+ messageBarEnabled: boolean;
83
81
  messageBarSettings: MessageBarSettings;
82
+ emailEnabled: boolean;
84
83
  emailSettings: SendEmailSettings;
84
+ suspendEnabled: boolean;
85
85
  suspendedSettings: SuspendedSettings;
86
86
  }
87
87
  export interface PageReviewRuleEvaluationResult {
88
- pageReviewRule: PageReviewWorkflowRule;
88
+ pageReviewRule: PageReviewRule;
89
89
  reviewDate: Date;
90
90
  showMessageBar: boolean;
91
91
  isSuspended: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "7.10.0-preview.4",
4
+ "version": "7.10.0-preview.6",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"