@crowdstrike/logscale-search 1.145.0--build-1507--sha-74f86973051e9df3e774871987e9e60e1cab4bd0 → 1.147.0--build-1596--sha-fe60771eed98b34bfbc5d9ec586d0bc95e933c72
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 +14 -2
- package/index.js +526 -584
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -239,7 +239,7 @@ export declare type EditState = {
|
|
239
239
|
* Column defintions for the Event List widget.
|
240
240
|
*
|
241
241
|
* @public */
|
242
|
-
export declare type EventListColumn = FieldColumn | CustomLinkColumn | FieldListColumn;
|
242
|
+
export declare type EventListColumn = FieldColumn | CustomLinkColumn | FieldListColumn | TimeColumn;
|
243
243
|
|
244
244
|
/**
|
245
245
|
* A column type displaying field values as is.
|
@@ -431,7 +431,7 @@ export declare interface Options extends CommonOptions, SearchViewParams {
|
|
431
431
|
* Defaults to
|
432
432
|
* ```
|
433
433
|
* [
|
434
|
-
* { type: "
|
434
|
+
* { type: "time" },
|
435
435
|
* { type: "field", fieldName: "@rawstring" },
|
436
436
|
* ]
|
437
437
|
* ```
|
@@ -798,6 +798,18 @@ export declare type SharedInteractionProperties = {
|
|
798
798
|
conditions?: Array<InteractionCondition> | null;
|
799
799
|
};
|
800
800
|
|
801
|
+
/**
|
802
|
+
* A column type for displaying the values of the time field used to filter events querying.
|
803
|
+
*
|
804
|
+
* @public
|
805
|
+
*/
|
806
|
+
export declare type TimeColumn = {
|
807
|
+
type: "time";
|
808
|
+
width?: number | "content";
|
809
|
+
/** Set a custom header for the column. Defaults to the time field name. */
|
810
|
+
header?: string;
|
811
|
+
};
|
812
|
+
|
801
813
|
/**
|
802
814
|
* `name` should be a timezone name in the format `<Continent>/<City>` (Ex: `Asia/Tokyo`).
|
803
815
|
* For timezones that are not relative to a continent, the first part is `Etc` (Ex: `Etc/GMT-3`).
|