@firecms/core 3.0.0-alpha.82 → 3.0.0-alpha.83

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.
@@ -12,6 +12,7 @@ export type OnColumnResizeParams = {
12
12
  * @group Collection components
13
13
  */
14
14
  export type EntityCollectionTableProps<M extends Record<string, any>, UserType extends User = User> = {
15
+ debugKey?: string;
15
16
  /**
16
17
  * Display these entities as selected
17
18
  */
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { EntityCollection, SelectionController } from "../../types";
2
+ import { Entity, EntityCollection, SelectionController } from "../../types";
3
3
  /**
4
4
  * @group Components
5
5
  */
@@ -34,4 +34,4 @@ export type EntityCollectionViewProps<M extends Record<string, any>> = {
34
34
  * @group Components
35
35
  */
36
36
  export declare const EntityCollectionView: React.FunctionComponent<EntityCollectionViewProps<any>>;
37
- export declare function useSelectionController<M extends Record<string, any> = any>(): SelectionController<M>;
37
+ export declare function useSelectionController<M extends Record<string, any> = any>(onSelectionChange?: (entity: Entity<M>, selected: boolean) => void): SelectionController<M>;