@tenorlab/react-dashboard 1.5.25 → 1.5.41

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.
@@ -323,6 +323,14 @@ export declare function SvgBaseWrapper({ children, className, }: {
323
323
 
324
324
  export declare function TabletSmartphoneIcon({ className }: TIconProps): JSX_2.Element;
325
325
 
326
+ /**
327
+ * @name TAddWidgetResponse
328
+ * @description Type for the response of the addWidget mutation
329
+ * @property {boolean} success - Indicates if the widget was added successfully
330
+ * @property {string} [message] - Optional message providing additional information
331
+ * @property {IDashboardConfig} updatedDashboardConfig - The updated dashboard configuration after adding the widget
332
+ * @property {IDashboardConfig[]} allUpdatedDashboardConfigs - All updated dashboard configurations
333
+ */
326
334
  declare type TAddWidgetResponse = {
327
335
  success: boolean;
328
336
  message?: string;
@@ -526,6 +534,14 @@ export declare type TWidgetCategory = 'Widget' | 'Chart' | 'Container';
526
534
  */
527
535
  export declare type TWidgetDirection = 'row' | 'column';
528
536
 
537
+ export declare type TWidgetErrorExtraProps = {
538
+ versionMismatch: boolean;
539
+ requiredVer: string;
540
+ hostVer: string;
541
+ errorMessage: string;
542
+ externalDependencies: string[];
543
+ };
544
+
529
545
  /**
530
546
  * @name TWidgetFactory
531
547
  * @description A type representing a widget factory function specific to React framework.