@crowdstrike/logscale-dashboard 1.149.0--build-1667--sha-9a5133079afe4266311a53cea0315e01e7b08af1 → 1.151.1--build-1732--sha-564fe0b7c314a41b4be19d6eff1dbbc7bbf08098
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 +36 -5
- package/index.js +570 -573
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -213,9 +213,15 @@ export declare interface DashboardParams {
|
|
213
213
|
sharedTime?: boolean;
|
214
214
|
/**
|
215
215
|
* A map of widget ids and their query start and end times.
|
216
|
-
* Note: these will only be used when querying
|
216
|
+
* Note: these will only be used when querying if `sharedTime` is set to `false`.
|
217
217
|
*/
|
218
218
|
widgetTimes?: WidgetTimes;
|
219
|
+
/**
|
220
|
+
* A map of section ids and section states. A section state includes the current time interval and whether it is collapsed.
|
221
|
+
* Note: the time interval will only be used when querying if the time selector is enabled for
|
222
|
+
* the section and `sharedTime`is set to `false`.
|
223
|
+
*/
|
224
|
+
sectionStates?: SectionStates;
|
219
225
|
}
|
220
226
|
|
221
227
|
/**
|
@@ -559,6 +565,24 @@ export declare type SearchViewVisualization = {
|
|
559
565
|
options?: JsonObject;
|
560
566
|
};
|
561
567
|
|
568
|
+
/**
|
569
|
+
* The state of a section, which includes the current time interval and whether the section is collapsed.
|
570
|
+
*
|
571
|
+
* @public
|
572
|
+
*/
|
573
|
+
export declare type SectionState = {
|
574
|
+
timeInterval?: TimeInterval;
|
575
|
+
collapsed?: boolean;
|
576
|
+
};
|
577
|
+
|
578
|
+
/**
|
579
|
+
* Section times is a map with section ids as keys,
|
580
|
+
* and their corresponding time selector arguments.
|
581
|
+
*
|
582
|
+
* @public
|
583
|
+
*/
|
584
|
+
export declare type SectionStates = Record<string, SectionState>;
|
585
|
+
|
562
586
|
/**
|
563
587
|
* Options to use when setting parameter args.
|
564
588
|
*
|
@@ -600,6 +624,16 @@ export declare type SharedInteractionProperties = {
|
|
600
624
|
conditions?: Array<InteractionCondition> | null;
|
601
625
|
};
|
602
626
|
|
627
|
+
/**
|
628
|
+
* A time interval is a start and an optional end time used for querying.
|
629
|
+
*
|
630
|
+
* @public
|
631
|
+
*/
|
632
|
+
export declare type TimeInterval = {
|
633
|
+
start: string;
|
634
|
+
end?: string;
|
635
|
+
};
|
636
|
+
|
603
637
|
/**
|
604
638
|
* `name` should be a timezone name in the format `<Continent>/<City>` (Ex: `Asia/Tokyo`).
|
605
639
|
* For timezones that are not relative to a continent, the first part is `Etc` (Ex: `Etc/GMT-3`).
|
@@ -648,10 +682,7 @@ export declare abstract class WebcomponentBase<Opts extends CommonOptions> exten
|
|
648
682
|
*
|
649
683
|
* @public
|
650
684
|
*/
|
651
|
-
export declare type WidgetTime =
|
652
|
-
start: string;
|
653
|
-
end?: string;
|
654
|
-
};
|
685
|
+
export declare type WidgetTime = TimeInterval;
|
655
686
|
|
656
687
|
/**
|
657
688
|
* Widget times is a map with widget ids as keys,
|