@crowdstrike/logscale-dashboard 1.142.0--devbuild-1364--sha-f7126e878ffdaac2513de6c2a6c0cf21557f584a → 1.142.0--build-1402--sha-5af2cfc64b19ee69d2b8d939f9ccb9350201dfb5

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.
package/index.d.ts CHANGED
@@ -201,6 +201,11 @@ export declare interface DashboardParams {
201
201
  * Set to `true` to make all dashboard queries use `start` and `end` as time window.
202
202
  */
203
203
  sharedTime?: boolean;
204
+ /**
205
+ * A map of widget ids and their query start and end times.
206
+ * Note: these will only be used when querying is `sharedTime` is set to `false`.
207
+ */
208
+ widgetTimes?: WidgetTimes;
204
209
  }
205
210
 
206
211
  /**
@@ -564,6 +569,24 @@ export declare abstract class WebcomponentBase<Opts extends CommonOptions> exten
564
569
  setTheme(theme: "dark" | "light"): void;
565
570
  }
566
571
 
572
+ /**
573
+ * A widget time is a start and an optional end time for a widgets query.
574
+ *
575
+ * @public
576
+ */
577
+ export declare type WidgetTime = {
578
+ start: string;
579
+ end?: string;
580
+ };
581
+
582
+ /**
583
+ * Widget times is a map with widget ids as keys,
584
+ * and their corresponding time selector arguments.
585
+ *
586
+ * @public
587
+ */
588
+ export declare type WidgetTimes = Record<string, WidgetTime>;
589
+
567
590
  /**
568
591
  * LogScale widget types
569
592
  *