@crowdstrike/logscale-dashboard 1.126.0--build-684--sha-1de8e2885c1117489d131c478ebf5a572b6881cf → 1.133.0--build-1000--sha-eda0b20aa7989fb26e09b9fc1d187b51b1281400
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 -10
- package/index.js +681 -610
- package/index.js.map +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -89,6 +89,7 @@ export declare type CustomLinkInteraction = {
|
|
89
89
|
*/
|
90
90
|
export declare type DashbboardNavigationTarget = {
|
91
91
|
type: "dashboard";
|
92
|
+
openInNewTab: boolean;
|
92
93
|
targetInfo: DashboardNavigationTargetInfo;
|
93
94
|
};
|
94
95
|
|
@@ -222,12 +223,6 @@ export declare type EditState = {
|
|
222
223
|
} | {
|
223
224
|
dashboardId: string;
|
224
225
|
widgetId?: string;
|
225
|
-
} | {
|
226
|
-
alertId: string;
|
227
|
-
} | {
|
228
|
-
filterAlertId: string;
|
229
|
-
} | {
|
230
|
-
scheduledSearchId: string;
|
231
226
|
};
|
232
227
|
|
233
228
|
/**
|
@@ -324,6 +319,12 @@ export declare interface Options extends CommonOptions, DashboardParams {
|
|
324
319
|
* @param navigationTarget
|
325
320
|
*/
|
326
321
|
onNavigationTargetChange?: (navigationTarget: NavigationTarget) => void;
|
322
|
+
/**
|
323
|
+
* List of LogScale repositories and views available for selection
|
324
|
+
* e.g. when selecting target repository of
|
325
|
+
* a LogScale [interaction](https://library.humio.com/data-analysis/dashboards-interactions.html).
|
326
|
+
*/
|
327
|
+
reposAndViews?: RepoOrViewOption[];
|
327
328
|
/**
|
328
329
|
* Optional flag to show title bar on dashboards.
|
329
330
|
* Defaults to `false`.
|
@@ -364,12 +365,12 @@ export declare type ParameterValues = Record<string, string | string[]>;
|
|
364
365
|
export declare type Query = {
|
365
366
|
queryString: string;
|
366
367
|
/** Arguments for parameters in `query`. */
|
367
|
-
|
368
|
+
parameterArgs?: {
|
368
369
|
[key: string]: string;
|
369
370
|
};
|
370
371
|
start: string;
|
371
372
|
end?: string;
|
372
|
-
|
373
|
+
live: boolean;
|
373
374
|
around?: QueryPaginationOptions;
|
374
375
|
};
|
375
376
|
|
@@ -389,6 +390,16 @@ export declare type QueryPaginationOptions = {
|
|
389
390
|
numberOfEventsAfter: number;
|
390
391
|
};
|
391
392
|
|
393
|
+
/**
|
394
|
+
* A repository or view option for the LogScale Search view Repository or View selector.
|
395
|
+
*
|
396
|
+
* @public */
|
397
|
+
declare type RepoOrViewOption = {
|
398
|
+
name: string;
|
399
|
+
label: string;
|
400
|
+
type: "repo" | "view";
|
401
|
+
};
|
402
|
+
|
392
403
|
/**
|
393
404
|
* Search Link interaction type.
|
394
405
|
* If `onNavigationTargetChange` hook is implemented, these interactions will
|
@@ -413,6 +424,7 @@ export declare type SearchLinkInteraction = {
|
|
413
424
|
*/
|
414
425
|
export declare type SearchNavigationTarget = {
|
415
426
|
type: "search";
|
427
|
+
openInNewTab: boolean;
|
416
428
|
targetInfo: SearchNavigationTargetInfo;
|
417
429
|
};
|
418
430
|
|
@@ -436,7 +448,7 @@ export declare type SearchNavigationTargetInfo = SearchViewParams & {
|
|
436
448
|
*/
|
437
449
|
export declare interface SearchViewParams {
|
438
450
|
/** The query string set in the query editor. */
|
439
|
-
|
451
|
+
queryString?: string;
|
440
452
|
/** Start of time window used when querying. */
|
441
453
|
start?: string;
|
442
454
|
/** End of time window used when querying. */
|
@@ -472,7 +484,8 @@ export declare interface SearchViewParams {
|
|
472
484
|
/**
|
473
485
|
* A LogScale widget with configuration.
|
474
486
|
*
|
475
|
-
* @public
|
487
|
+
* @public
|
488
|
+
*/
|
476
489
|
export declare type SearchViewVisualization = {
|
477
490
|
type?: WidgetType;
|
478
491
|
/** The configuration options of a LogScale visualization. */
|