@explo-tech/fido-api 2.0.0 → 2.1.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/index.ts CHANGED
@@ -13,6 +13,7 @@ export type { And } from './models/And';
13
13
  export type { BigQuery } from './models/BigQuery';
14
14
  export type { BigQueryAuthentication } from './models/BigQueryAuthentication';
15
15
  export type { BooleanPropertyValue } from './models/BooleanPropertyValue';
16
+ export type { CacheTelemetry } from './models/CacheTelemetry';
16
17
  export { CalendarInterval } from './models/CalendarInterval';
17
18
  export type { CalendarIntervalGrouping } from './models/CalendarIntervalGrouping';
18
19
  export type { ClientError } from './models/ClientError';
@@ -36,6 +37,7 @@ export type { DecimalIntervalGrouping } from './models/DecimalIntervalGrouping';
36
37
  export type { DecimalPropertyValue } from './models/DecimalPropertyValue';
37
38
  export type { DoublePropertyValue } from './models/DoublePropertyValue';
38
39
  export type { Equal } from './models/Equal';
40
+ export type { EvictionPolicy } from './models/EvictionPolicy';
39
41
  export { ExportFormat } from './models/ExportFormat';
40
42
  export type { ExportTargetConfiguration } from './models/ExportTargetConfiguration';
41
43
  export type { Filter } from './models/Filter';
@@ -82,7 +84,9 @@ export type { QueryExportResponse } from './models/QueryExportResponse';
82
84
  export type { QueryPreviewRequest } from './models/QueryPreviewRequest';
83
85
  export type { QueryTimeoutError } from './models/QueryTimeoutError';
84
86
  export type { Redshift } from './models/Redshift';
87
+ export type { RequestExecutionParameters } from './models/RequestExecutionParameters';
85
88
  export type { RequestTelemetry } from './models/RequestTelemetry';
89
+ export type { ScheduledEviction } from './models/ScheduledEviction';
86
90
  export type { Sort } from './models/Sort';
87
91
  export { SortDirection } from './models/SortDirection';
88
92
  export type { SourceProperty } from './models/SourceProperty';
@@ -100,6 +104,7 @@ export type { TenantResponse } from './models/TenantResponse';
100
104
  export type { TenantS3Configuration } from './models/TenantS3Configuration';
101
105
  export type { TestConnectionRequest } from './models/TestConnectionRequest';
102
106
  export type { TestConnectionResponse } from './models/TestConnectionResponse';
107
+ export type { TtlEviction } from './models/TtlEviction';
103
108
  export type { Tunnel } from './models/Tunnel';
104
109
  export type { UUID } from './models/UUID';
105
110
  export type { ValueGrouping } from './models/ValueGrouping';
@@ -0,0 +1,9 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ export type CacheTelemetry = {
6
+ cacheHit: boolean;
7
+ ttl: string | null;
8
+ };
9
+
@@ -2,6 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
 
5
+ import type { EvictionPolicy } from './EvictionPolicy';
5
6
  import type { PropertySchema } from './PropertySchema';
6
7
 
7
8
  export type ComputedView = {
@@ -12,5 +13,7 @@ export type ComputedView = {
12
13
  readonly namespaceId?: string | null;
13
14
  '@type': 'computed-view';
14
15
  query: string;
16
+ cacheable?: boolean;
17
+ cacheEvictionPolicy: EvictionPolicy | null;
15
18
  };
16
19
 
@@ -0,0 +1,9 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import type { ScheduledEviction } from './ScheduledEviction';
6
+ import type { TtlEviction } from './TtlEviction';
7
+
8
+ export type EvictionPolicy = (ScheduledEviction | TtlEviction);
9
+
@@ -0,0 +1,8 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ export type RequestExecutionParameters = {
6
+ forceRefresh?: boolean;
7
+ };
8
+
@@ -2,9 +2,12 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
 
5
+ import type { CacheTelemetry } from './CacheTelemetry';
6
+
5
7
  export type RequestTelemetry = {
6
8
  requestTime: string | null;
7
9
  queryTime: string | null;
8
10
  processingTime: string | null;
11
+ cacheTelemetry?: CacheTelemetry | null;
9
12
  };
10
13
 
@@ -0,0 +1,9 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ export type ScheduledEviction = {
6
+ '@type': 'schedule';
7
+ evictionSchedule: string;
8
+ };
9
+
@@ -0,0 +1,9 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ export type TtlEviction = {
6
+ '@type': 'ttl';
7
+ ttl: string;
8
+ };
9
+
@@ -4,9 +4,11 @@
4
4
 
5
5
  import type { Computation } from './Computation';
6
6
  import type { DataRequestParameters } from './DataRequestParameters';
7
+ import type { RequestExecutionParameters } from './RequestExecutionParameters';
7
8
 
8
9
  export type ViewRunRequest = {
9
10
  dataRequestParameters: DataRequestParameters;
11
+ requestExecutionParameters: RequestExecutionParameters | null;
10
12
  queryContext: Record<string, any>;
11
13
  computation: Computation | null;
12
14
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@explo-tech/fido-api",
3
3
  "description": "Fido api",
4
4
  "homepage": "https://github.com/trust-kaz/fido",
5
- "version": "2.0.0",
5
+ "version": "2.1.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/trust-kaz/fido"