@stackone/olap 1.43.0 → 1.44.0
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/dist/index.cjs +66 -8
- package/dist/index.d.cts +23 -1
- package/dist/index.d.mts +23 -1
- package/dist/index.mjs +66 -8
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -370,6 +370,8 @@ type Query = {
|
|
|
370
370
|
endTime?: Date;
|
|
371
371
|
pageNumber?: number;
|
|
372
372
|
pageSize?: number;
|
|
373
|
+
orderBy?: OrderBy;
|
|
374
|
+
orderDirection?: OrderDirection;
|
|
373
375
|
};
|
|
374
376
|
type QueryResult = {
|
|
375
377
|
logs: Array<ActionLog | UnifiedLog | StepLog | ProviderLog>;
|
|
@@ -392,6 +394,8 @@ type ActionsQuery = {
|
|
|
392
394
|
endTime?: Date;
|
|
393
395
|
pageNumber?: number;
|
|
394
396
|
pageSize?: number;
|
|
397
|
+
orderBy?: OrderBy;
|
|
398
|
+
orderDirection?: OrderDirection;
|
|
395
399
|
};
|
|
396
400
|
type ActionsQueryResult = {
|
|
397
401
|
actionLogs: ActionLog[];
|
|
@@ -411,6 +415,8 @@ type StepsQuery = {
|
|
|
411
415
|
endTime?: Date;
|
|
412
416
|
pageNumber?: number;
|
|
413
417
|
pageSize?: number;
|
|
418
|
+
orderBy?: OrderBy;
|
|
419
|
+
orderDirection?: OrderDirection;
|
|
414
420
|
};
|
|
415
421
|
type StepsQueryResult = {
|
|
416
422
|
stepLogs: StepLog[];
|
|
@@ -434,6 +440,8 @@ type UnifiedQuery = {
|
|
|
434
440
|
endTime?: Date;
|
|
435
441
|
pageNumber?: number;
|
|
436
442
|
pageSize?: number;
|
|
443
|
+
orderBy?: OrderBy;
|
|
444
|
+
orderDirection?: OrderDirection;
|
|
437
445
|
};
|
|
438
446
|
type UnifiedQueryResult = {
|
|
439
447
|
unifiedLogs: UnifiedLog[];
|
|
@@ -452,6 +460,8 @@ type ProviderQuery = {
|
|
|
452
460
|
endTime?: Date;
|
|
453
461
|
pageNumber?: number;
|
|
454
462
|
pageSize?: number;
|
|
463
|
+
orderBy?: OrderBy;
|
|
464
|
+
orderDirection?: OrderDirection;
|
|
455
465
|
};
|
|
456
466
|
type ProviderQueryResult = {
|
|
457
467
|
providerLogs: ProviderLog[];
|
|
@@ -459,6 +469,18 @@ type ProviderQueryResult = {
|
|
|
459
469
|
pageNumber: number;
|
|
460
470
|
pageSize: number;
|
|
461
471
|
};
|
|
472
|
+
declare const OrderBy: {
|
|
473
|
+
readonly StartTime: "startTime";
|
|
474
|
+
readonly EndTime: "endTime";
|
|
475
|
+
readonly EventTime: "eventTime";
|
|
476
|
+
readonly DurationMs: "durationMs";
|
|
477
|
+
};
|
|
478
|
+
type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
|
|
479
|
+
declare const OrderDirection: {
|
|
480
|
+
readonly Asc: "asc";
|
|
481
|
+
readonly Desc: "desc";
|
|
482
|
+
};
|
|
483
|
+
type OrderDirection = (typeof OrderDirection)[keyof typeof OrderDirection];
|
|
462
484
|
type IntervalType = 'minute' | 'hour' | 'day' | 'week' | 'month';
|
|
463
485
|
declare const Dimension: {
|
|
464
486
|
readonly ConnectorKey: "connector_key";
|
|
@@ -779,4 +801,4 @@ declare class OlapClientManager {
|
|
|
779
801
|
static resetInstance(): void;
|
|
780
802
|
}
|
|
781
803
|
//#endregion
|
|
782
|
-
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AggregateQuery, type AggregateResult, type DatasetsOptions, type DefenderContext, type DefenderLog, type DefenderOptions, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type ILog, type IOlapClient, type IntervalType, LogType, type LogType as LogTypeValues, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SourceQuery, type SourceResult, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, type TinybirdConfig, type TinybirdQueryOptions, type TinybirdResponse, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult };
|
|
804
|
+
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AggregateQuery, type AggregateResult, type DatasetsOptions, type DefenderContext, type DefenderLog, type DefenderOptions, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type ILog, type IOlapClient, type IntervalType, LogType, type LogType as LogTypeValues, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SourceQuery, type SourceResult, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, type TinybirdConfig, type TinybirdQueryOptions, type TinybirdResponse, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult };
|
package/dist/index.d.mts
CHANGED
|
@@ -370,6 +370,8 @@ type Query = {
|
|
|
370
370
|
endTime?: Date;
|
|
371
371
|
pageNumber?: number;
|
|
372
372
|
pageSize?: number;
|
|
373
|
+
orderBy?: OrderBy;
|
|
374
|
+
orderDirection?: OrderDirection;
|
|
373
375
|
};
|
|
374
376
|
type QueryResult = {
|
|
375
377
|
logs: Array<ActionLog | UnifiedLog | StepLog | ProviderLog>;
|
|
@@ -392,6 +394,8 @@ type ActionsQuery = {
|
|
|
392
394
|
endTime?: Date;
|
|
393
395
|
pageNumber?: number;
|
|
394
396
|
pageSize?: number;
|
|
397
|
+
orderBy?: OrderBy;
|
|
398
|
+
orderDirection?: OrderDirection;
|
|
395
399
|
};
|
|
396
400
|
type ActionsQueryResult = {
|
|
397
401
|
actionLogs: ActionLog[];
|
|
@@ -411,6 +415,8 @@ type StepsQuery = {
|
|
|
411
415
|
endTime?: Date;
|
|
412
416
|
pageNumber?: number;
|
|
413
417
|
pageSize?: number;
|
|
418
|
+
orderBy?: OrderBy;
|
|
419
|
+
orderDirection?: OrderDirection;
|
|
414
420
|
};
|
|
415
421
|
type StepsQueryResult = {
|
|
416
422
|
stepLogs: StepLog[];
|
|
@@ -434,6 +440,8 @@ type UnifiedQuery = {
|
|
|
434
440
|
endTime?: Date;
|
|
435
441
|
pageNumber?: number;
|
|
436
442
|
pageSize?: number;
|
|
443
|
+
orderBy?: OrderBy;
|
|
444
|
+
orderDirection?: OrderDirection;
|
|
437
445
|
};
|
|
438
446
|
type UnifiedQueryResult = {
|
|
439
447
|
unifiedLogs: UnifiedLog[];
|
|
@@ -452,6 +460,8 @@ type ProviderQuery = {
|
|
|
452
460
|
endTime?: Date;
|
|
453
461
|
pageNumber?: number;
|
|
454
462
|
pageSize?: number;
|
|
463
|
+
orderBy?: OrderBy;
|
|
464
|
+
orderDirection?: OrderDirection;
|
|
455
465
|
};
|
|
456
466
|
type ProviderQueryResult = {
|
|
457
467
|
providerLogs: ProviderLog[];
|
|
@@ -459,6 +469,18 @@ type ProviderQueryResult = {
|
|
|
459
469
|
pageNumber: number;
|
|
460
470
|
pageSize: number;
|
|
461
471
|
};
|
|
472
|
+
declare const OrderBy: {
|
|
473
|
+
readonly StartTime: "startTime";
|
|
474
|
+
readonly EndTime: "endTime";
|
|
475
|
+
readonly EventTime: "eventTime";
|
|
476
|
+
readonly DurationMs: "durationMs";
|
|
477
|
+
};
|
|
478
|
+
type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
|
|
479
|
+
declare const OrderDirection: {
|
|
480
|
+
readonly Asc: "asc";
|
|
481
|
+
readonly Desc: "desc";
|
|
482
|
+
};
|
|
483
|
+
type OrderDirection = (typeof OrderDirection)[keyof typeof OrderDirection];
|
|
462
484
|
type IntervalType = 'minute' | 'hour' | 'day' | 'week' | 'month';
|
|
463
485
|
declare const Dimension: {
|
|
464
486
|
readonly ConnectorKey: "connector_key";
|
|
@@ -779,4 +801,4 @@ declare class OlapClientManager {
|
|
|
779
801
|
static resetInstance(): void;
|
|
780
802
|
}
|
|
781
803
|
//#endregion
|
|
782
|
-
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AggregateQuery, type AggregateResult, type DatasetsOptions, type DefenderContext, type DefenderLog, type DefenderOptions, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type ILog, type IOlapClient, type IntervalType, LogType, type LogType as LogTypeValues, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SourceQuery, type SourceResult, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, type TinybirdConfig, type TinybirdQueryOptions, type TinybirdResponse, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult };
|
|
804
|
+
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AggregateQuery, type AggregateResult, type DatasetsOptions, type DefenderContext, type DefenderLog, type DefenderOptions, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type ILog, type IOlapClient, type IntervalType, LogType, type LogType as LogTypeValues, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SourceQuery, type SourceResult, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, type TinybirdConfig, type TinybirdQueryOptions, type TinybirdResponse, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult };
|