react-semaphor 0.0.55 → 0.0.57

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.
@@ -37,6 +37,7 @@ declare type Actions = {
37
37
  addFilter: (filter: TFilter) => void;
38
38
  removeFilter: (filterId: string) => void;
39
39
  updateFilter: (filter: TFilter) => void;
40
+ setFilterValues: (filterValues: TFilterValue[] | undefined) => void;
40
41
  addOrUpdateFilterValue: (filterValue: TFilterValue) => void;
41
42
  removeFilterValue: (filterId: string) => void;
42
43
  setStyle: (style: TStyle) => void;
@@ -70,6 +71,7 @@ export declare type Bookmark = {
70
71
  name: string;
71
72
  default: boolean;
72
73
  template: TDashboard;
74
+ filterValues?: TFilterValue[];
73
75
  };
74
76
 
75
77
  export declare function cleanCard(card: TCard): TCard;
@@ -236,7 +238,7 @@ export declare type TDashboard = {
236
238
  };
237
239
 
238
240
  export declare type TEvent = {
239
- type: "success" | "error" | "info" | "warning";
241
+ type: 'success' | 'error' | 'info' | 'warning';
240
242
  message: any;
241
243
  };
242
244
 
@@ -519,6 +521,7 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
519
521
  addFilter: (filter: TFilter) => void;
520
522
  removeFilter: (filterId: string) => void;
521
523
  updateFilter: (filter: TFilter) => void;
524
+ setFilterValues: (filterValues: TFilterValue[] | undefined) => void;
522
525
  addOrUpdateFilterValue: (filterValue: TFilterValue) => void;
523
526
  removeFilterValue: (filterId: string) => void;
524
527
  setStyle: (style: TStyle) => void;