@headless-adminapp/app 0.0.17-alpha.8 → 0.0.17-alpha.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.
@@ -31,7 +31,7 @@ function useLoadFormGridPage(logicalName, formId) {
31
31
  if (!commands) {
32
32
  commands = formCommands;
33
33
  }
34
- return [];
34
+ return commands !== null && commands !== void 0 ? commands : [];
35
35
  }),
36
36
  initialData: [],
37
37
  });
@@ -1,4 +1,4 @@
1
1
  /** @todo move in different dir */
2
2
  export declare function useExperienceViewCommands(logicalName: string): {
3
- commands: never[];
3
+ commands: import("@headless-adminapp/core/experience/view").EntityMainGridCommandItemExperience[][];
4
4
  };
@@ -24,7 +24,7 @@ function useExperienceViewCommands(logicalName) {
24
24
  if (!commands) {
25
25
  commands = viewCommands;
26
26
  }
27
- return [];
27
+ return commands !== null && commands !== void 0 ? commands : [];
28
28
  }),
29
29
  initialData: [],
30
30
  });
@@ -1,4 +1,4 @@
1
1
  /** @todo move in different dir */
2
2
  export declare function useExperienceViewSubgridCommands(logicalName: string): {
3
- commands: never[];
3
+ commands: import("@headless-adminapp/core/experience/view").SubGridCommandItemExperience[][];
4
4
  };
@@ -24,7 +24,7 @@ function useExperienceViewSubgridCommands(logicalName) {
24
24
  if (!commands) {
25
25
  commands = subgridCommands;
26
26
  }
27
- return [];
27
+ return commands !== null && commands !== void 0 ? commands : [];
28
28
  }),
29
29
  initialData: [],
30
30
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@headless-adminapp/app",
3
- "version": "0.0.17-alpha.8",
3
+ "version": "0.0.17-alpha.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -38,5 +38,5 @@
38
38
  "react-hook-form": "7.52.2",
39
39
  "yup": "^1.4.0"
40
40
  },
41
- "gitHead": "0c369830a0ba4aa5744cc307f8947ae9660980c4"
41
+ "gitHead": "a96d92008e4fb93d18a93747dbc7883ce206b400"
42
42
  }