@crowdstrike/logscale-dashboard 1.133.0--build-1000--sha-eda0b20aa7989fb26e09b9fc1d187b51b1281400 → 1.135.0--build-1077--sha-96faf780527e4e787b35aa7b6885ca30cce9d302

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.
Files changed (4) hide show
  1. package/index.d.ts +25 -17
  2. package/index.js +559 -587
  3. package/index.js.map +2 -2
  4. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -99,6 +99,14 @@ export declare type DashbboardNavigationTarget = {
99
99
  * @public
100
100
  */
101
101
  export declare class Dashboard extends WebcomponentBase<Options> {
102
+ /**
103
+ * Set the state of a dashboard.
104
+ *
105
+ * @param dashboardParams - the new dashboard state
106
+ *
107
+ * @public
108
+ */
109
+ setState(dashboardParams: DashboardParams): void;
102
110
  /**
103
111
  * Set parameter values on dashboard.
104
112
  *
@@ -247,6 +255,22 @@ export declare type InteractionCondition = {
247
255
  "argument": string;
248
256
  };
249
257
 
258
+ /**
259
+ * A typed representation a JSON object.
260
+ *
261
+ * @public
262
+ */
263
+ export declare type JsonObject = {
264
+ [key: string]: JsonValue;
265
+ };
266
+
267
+ /**
268
+ * A typed representation of JSON value.
269
+ *
270
+ * @public
271
+ */
272
+ export declare type JsonValue = string | number | boolean | Array<JsonValue> | JsonObject;
273
+
250
274
  /**
251
275
  * The NavigationTarget type specifies the target of a LogScale navigation event.
252
276
  * These are handled by the `onNavigationTargetChange` hook. Sources of Navigation targets are:
@@ -333,22 +357,6 @@ export declare interface Options extends CommonOptions, DashboardParams {
333
357
  showTitleBar?: boolean;
334
358
  }
335
359
 
336
- /**
337
- * A value for a visualization configuration option.
338
- *
339
- * @public
340
- */
341
- export declare type OptionValue = string | number | boolean | Array<OptionValue> | OptionValues;
342
-
343
- /**
344
- * Options for visualization configuration.
345
- *
346
- * @public
347
- */
348
- export declare type OptionValues = {
349
- [key: string]: OptionValue;
350
- };
351
-
352
360
  /**
353
361
  * LogScale parameter values is a map with parameter ids as keys,
354
362
  * and either a string or a string array as single / multi value parameter args, respectively.
@@ -489,7 +497,7 @@ export declare interface SearchViewParams {
489
497
  export declare type SearchViewVisualization = {
490
498
  type?: WidgetType;
491
499
  /** The configuration options of a LogScale visualization. */
492
- options?: OptionValues;
500
+ options?: JsonObject;
493
501
  };
494
502
 
495
503
  /**