@omnia/wcm 7.10.0-preview.7 → 7.10.0-preview.9
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 +10 -3
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageTypeData.d.ts +5 -3
- package/internal-do-not-import-from-here/fx/models/variations/Variation.d.ts +5 -1
- package/internal-do-not-import-from-here/fx/models/variations/VariationCreationRequest.d.ts +3 -3
- package/package.json +1 -1
|
@@ -899,16 +899,23 @@ export declare module EditorLocalization {
|
|
|
899
899
|
Save: string;
|
|
900
900
|
Add: string;
|
|
901
901
|
Cancel: string;
|
|
902
|
-
|
|
902
|
+
TestEmailDialog: {
|
|
903
903
|
Title: string;
|
|
904
|
-
|
|
904
|
+
Instruction: string;
|
|
905
|
+
InfoText: string;
|
|
905
906
|
Buttons: {
|
|
906
907
|
SendEmail: string;
|
|
907
908
|
};
|
|
909
|
+
NoPagesFoundMessage: string;
|
|
908
910
|
};
|
|
909
911
|
EditRuleBtn: string;
|
|
910
912
|
DeleteRuleBtn: string;
|
|
911
|
-
|
|
913
|
+
TestEmailBtn: string;
|
|
914
|
+
Placeholders: {
|
|
915
|
+
Title: string;
|
|
916
|
+
Description: string;
|
|
917
|
+
};
|
|
918
|
+
EmailTemplate: string;
|
|
912
919
|
};
|
|
913
920
|
RemovePageReviewRuleSettings: {
|
|
914
921
|
Title: string;
|
|
@@ -315,6 +315,13 @@ export declare module PublishingAppLocalization {
|
|
|
315
315
|
Message: string;
|
|
316
316
|
};
|
|
317
317
|
EnableEditNotifications: string;
|
|
318
|
+
NotifyForEdit: {
|
|
319
|
+
SectionTitle: string;
|
|
320
|
+
NoteTitle: string;
|
|
321
|
+
NoteContent: string;
|
|
322
|
+
VariationAuthor: string;
|
|
323
|
+
PagePropertyUsers: string;
|
|
324
|
+
};
|
|
318
325
|
};
|
|
319
326
|
StatisticProvider: {
|
|
320
327
|
SiteScript: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { AnalyticsSettings, EnterprisePropertyDefinition, EnterprisePropertyItemSettings, GuidValue, IconPickerModel, Identity, MultilingualString, TimePeriodSettings, DateOperator } from "@omnia/fx-models";
|
|
1
|
+
import { AnalyticsSettings, EnterprisePropertyDefinition, EnterprisePropertyItemSettings, GuidValue, IconPickerModel, Identity, MultilingualString, TimePeriodSettings, DateOperator, UserIdentity } from "@omnia/fx-models";
|
|
2
2
|
import { RichTextEditorExtension } from "@omnia/fx/ux/richtexteditor";
|
|
3
3
|
import { SharepointSyncPageSettings } from "../../../sp";
|
|
4
|
+
import { PageId } from "./Page";
|
|
4
5
|
import { PageData } from "./PageData";
|
|
5
6
|
/**
|
|
6
7
|
* We should update to use nheritance interfaces pattern
|
|
@@ -91,8 +92,9 @@ export interface PageReviewRuleEvaluationResult {
|
|
|
91
92
|
isSuspended: boolean;
|
|
92
93
|
sendEmail: boolean;
|
|
93
94
|
}
|
|
94
|
-
export interface
|
|
95
|
+
export interface PageReviewRuleTestMailTemplateRequest {
|
|
95
96
|
ruleId: number;
|
|
96
97
|
pageTypeId: number;
|
|
97
|
-
|
|
98
|
+
identities: UserIdentity[];
|
|
99
|
+
pageIds: PageId[];
|
|
98
100
|
}
|
|
@@ -22,6 +22,10 @@ export interface Variation {
|
|
|
22
22
|
automaticMachineTranslation?: boolean;
|
|
23
23
|
allowEditMachineTranslation?: boolean;
|
|
24
24
|
activeRightToLeft?: boolean;
|
|
25
|
-
|
|
25
|
+
editNotificationSettings?: VariationEditNotificationSettings;
|
|
26
|
+
}
|
|
27
|
+
export interface VariationEditNotificationSettings {
|
|
28
|
+
notifyVariationAuthorOnEdit?: boolean;
|
|
29
|
+
notifyPagePropertyUsersOnEdit?: boolean;
|
|
26
30
|
editNotificationsUserPropertyId?: GuidValue;
|
|
27
31
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { MultilingualString, IIcon, Identity
|
|
1
|
+
import { MultilingualString, IIcon, Identity } from "@omnia/fx-models";
|
|
2
2
|
import { TargetingFilterProperty } from "@omnia/fx-sp";
|
|
3
|
+
import { VariationEditNotificationSettings } from "./Variation";
|
|
3
4
|
export interface VariationCreationRequest {
|
|
4
5
|
displayNames: MultilingualString;
|
|
5
6
|
targetingFilterData: TargetingFilterProperty;
|
|
@@ -10,6 +11,5 @@ export interface VariationCreationRequest {
|
|
|
10
11
|
* */
|
|
11
12
|
author?: Identity;
|
|
12
13
|
authors?: Array<Identity>;
|
|
13
|
-
|
|
14
|
-
editNotificationsUserPropertyId?: GuidValue;
|
|
14
|
+
editNotificationSettings: VariationEditNotificationSettings;
|
|
15
15
|
}
|