react-semaphor 0.0.39 → 0.0.40

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.
@@ -10,6 +10,7 @@ declare type Actions = {
10
10
  setAuthToken: (authToken: AuthToken) => void;
11
11
  setThemeStyle: (themeStyle: StyleProps) => void;
12
12
  setIsEditorSaveEvent: (isEditorSaveEvent: boolean) => void;
13
+ setBookmarkKey: (bookmarkKey: string) => void;
13
14
  setDashboard: (dashboard: TDashboard) => void;
14
15
  setDashboardTheme: (theme: 'light' | 'dark' | 'system') => void;
15
16
  setDashboardTitle: (title: string) => void;
@@ -91,6 +92,7 @@ declare type DashboardStore = {
91
92
  authToken?: AuthToken;
92
93
  theme?: 'light' | 'dark' | 'system';
93
94
  themeStyle?: StyleProps;
95
+ bookmarkKey?: string;
94
96
  dashboard: TDashboard;
95
97
  selectedSheetId?: string | null | undefined;
96
98
  selectedCardId?: string | null;
@@ -145,6 +147,8 @@ declare type FilterForString = BaseFilter & {
145
147
  values: [string];
146
148
  };
147
149
 
150
+ export declare function getBookmarkKey(dashboardId: string): string;
151
+
148
152
  export declare function getDashbaordStateWithoutData(dashboardState: TDashboard): {
149
153
  sheets: {
150
154
  cards: TCard[] | undefined;
@@ -297,6 +301,7 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
297
301
  options?: any;
298
302
  } | undefined;
299
303
  } | undefined;
304
+ bookmarkKey?: string | undefined;
300
305
  dashboard: {
301
306
  id: string;
302
307
  title?: string | undefined;
@@ -481,6 +486,7 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
481
486
  setAuthToken: (authToken: AuthToken) => void;
482
487
  setThemeStyle: (themeStyle: StyleProps) => void;
483
488
  setIsEditorSaveEvent: (isEditorSaveEvent: boolean) => void;
489
+ setBookmarkKey: (bookmarkKey: string) => void;
484
490
  setDashboard: (dashboard: TDashboard) => void;
485
491
  setDashboardTheme: (theme: 'light' | 'dark' | 'system') => void;
486
492
  setDashboardTitle: (title: string) => void;