@crowdstrike/logscale-search 1.142.0--devbuild-1364--sha-f7126e878ffdaac2513de6c2a6c0cf21557f584a → 1.143.0--build-1386--sha-7dd77c28f152f02d096cfff2b59838bf1e98cde4
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 +23 -0
- package/index.js +412 -409
- package/index.js.map +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -198,6 +198,11 @@ export declare interface DashboardParams {
|
|
198
198
|
* Set to `true` to make all dashboard queries use `start` and `end` as time window.
|
199
199
|
*/
|
200
200
|
sharedTime?: boolean;
|
201
|
+
/**
|
202
|
+
* A map of widget ids and their query start and end times.
|
203
|
+
* Note: these will only be used when querying is `sharedTime` is set to `false`.
|
204
|
+
*/
|
205
|
+
widgetTimes?: WidgetTimes;
|
201
206
|
}
|
202
207
|
|
203
208
|
/**
|
@@ -764,6 +769,24 @@ export declare abstract class WebcomponentBase<Opts extends CommonOptions> exten
|
|
764
769
|
setTheme(theme: "dark" | "light"): void;
|
765
770
|
}
|
766
771
|
|
772
|
+
/**
|
773
|
+
* A widget time is a start and an optional end time for a widgets query.
|
774
|
+
*
|
775
|
+
* @public
|
776
|
+
*/
|
777
|
+
export declare type WidgetTime = {
|
778
|
+
start: string;
|
779
|
+
end?: string;
|
780
|
+
};
|
781
|
+
|
782
|
+
/**
|
783
|
+
* Widget times is a map with widget ids as keys,
|
784
|
+
* and their corresponding time selector arguments.
|
785
|
+
*
|
786
|
+
* @public
|
787
|
+
*/
|
788
|
+
export declare type WidgetTimes = Record<string, WidgetTime>;
|
789
|
+
|
767
790
|
/**
|
768
791
|
* LogScale widget types
|
769
792
|
*
|