@omnia/fx 7.9.71-preview → 7.9.72-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.
@@ -22,7 +22,19 @@ export declare class BlockCatalogStore extends Store {
22
22
  filterBlockRegistrationOnFeatureDependency(blockRegistration: BlockRegistration): boolean;
23
23
  filterBlockRegistrationByBackendRuntimes(blockRegistration: BlockRegistration): boolean;
24
24
  filterBlockRegistrationByClientRuntimes(blockRegistration: BlockRegistration): boolean;
25
- filterBlockRegistrationOnLayoutDependency(blockRegistration: BlockRegistration, provider: string): boolean;
25
+ /**
26
+ * Validate if block is valid for layout provider.
27
+ * @param blockRegistration
28
+ * @param layoutProvider
29
+ * @returns
30
+ */
31
+ filterBlockRegistrationOnLayoutDependency(blockRegistration: BlockRegistration, layoutProvider: string): boolean;
32
+ /**
33
+ * Validate if block is valid for current environment (backend/client runtime) and feature dependencies.
34
+ * @param block
35
+ * @returns
36
+ */
37
+ isBlockValidForEnvironment(block: BlockRegistration): boolean;
26
38
  filterBlockRegistrationByDisableAuth(blockRegistration: BlockRegistration): boolean;
27
39
  /**
28
40
  * Implementation of mutations
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.9.71-preview",
4
+ "version": "7.9.72-preview",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Omnia Digital Workplace AB",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "7.9.71-preview",
23
+ "@omnia/fx-models": "7.9.72-preview",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",