@crowdstrike/logscale-search 1.137.0--build-1167--sha-fb0896f3864b600116726e91465c99f8d9ec6e8c → 1.139.0--build-1268--sha-93eb6bd9aa018eabe805af3b4b5922fe55722b28
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 -3
- package/index.js +528 -1481
- package/index.js.map +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -494,9 +494,29 @@ export declare type QueryResult = {
|
|
494
494
|
done: boolean;
|
495
495
|
cancelled: boolean;
|
496
496
|
events: QueryResultRow[];
|
497
|
-
metaData:
|
498
|
-
|
499
|
-
|
497
|
+
metaData: QueryResultMetaData;
|
498
|
+
};
|
499
|
+
|
500
|
+
/**
|
501
|
+
* Meta data for a LogScale QueryResult.
|
502
|
+
*
|
503
|
+
* @public
|
504
|
+
*/
|
505
|
+
export declare type QueryResultMetaData = {
|
506
|
+
queryStart: number;
|
507
|
+
queryEnd: number;
|
508
|
+
fieldOrder?: string[];
|
509
|
+
isAggregate: boolean;
|
510
|
+
eventCount: number;
|
511
|
+
/** Optional meta data fields that depend on the type of query result. */
|
512
|
+
extraData: {
|
513
|
+
sortOrder?: Array<{
|
514
|
+
field: string;
|
515
|
+
order: "desc" | "asc";
|
516
|
+
type: string;
|
517
|
+
}>;
|
518
|
+
} & {
|
519
|
+
[k: string]: string;
|
500
520
|
};
|
501
521
|
};
|
502
522
|
|