@omnia/fx-models 7.9.29-preview → 7.9.31-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.
@@ -8,4 +8,6 @@ export declare class BusinessProfileAnalyticsSettings extends BusinessProfilePro
8
8
  shared: boolean;
9
9
  connectedBusinessProfileId?: GuidValue;
10
10
  constructor();
11
+ static checkIfAnalyticsSwitchToDisabled: (currenttSetting: BusinessProfileAnalyticsSettings, targetSetting: BusinessProfileAnalyticsSettings) => boolean;
12
+ static checkIfAnalyticsSwitchToEnabled: (currenttSetting: BusinessProfileAnalyticsSettings, targetSetting: BusinessProfileAnalyticsSettings) => boolean;
11
13
  }
@@ -13,3 +13,5 @@ class BusinessProfileAnalyticsSettings extends BusinessProfile_1.BusinessProfile
13
13
  }
14
14
  }
15
15
  exports.BusinessProfileAnalyticsSettings = BusinessProfileAnalyticsSettings;
16
+ BusinessProfileAnalyticsSettings.checkIfAnalyticsSwitchToDisabled = (currenttSetting, targetSetting) => targetSetting?.idSite !== currenttSetting?.idSite && !targetSetting?.enabled;
17
+ BusinessProfileAnalyticsSettings.checkIfAnalyticsSwitchToEnabled = (currenttSetting, targetSetting) => targetSetting?.idSite !== currenttSetting?.idSite && targetSetting?.enabled;
@@ -1,3 +1,4 @@
1
+ import { LayoutClipboard } from "../Clipboard";
1
2
  import { IconPickerModel } from "../Icon";
2
3
  import { MultilingualString } from "../MultilingualString";
3
4
  export interface BlockTemplate {
@@ -5,7 +6,7 @@ export interface BlockTemplate {
5
6
  title?: MultilingualString;
6
7
  icon?: IconPickerModel;
7
8
  description?: MultilingualString;
8
- definition: string;
9
+ definition: LayoutClipboard;
9
10
  }
10
11
  export interface BlockTemplateView {
11
12
  id?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "7.9.29-preview",
4
+ "version": "7.9.31-preview",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"