@explo-tech/fido-api 1.3.0-dan-fix-build.1 → 1.3.0-dan-remove-localstack-dep.1
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.
|
@@ -9,6 +9,6 @@ import type { RequestTelemetry } from './RequestTelemetry';
|
|
|
9
9
|
export type DataSourceError = (QueryExecutionError | QueryTimeoutError | {
|
|
10
10
|
renderedQuery: string | null;
|
|
11
11
|
requestTelemetry: RequestTelemetry | null;
|
|
12
|
-
message: string;
|
|
12
|
+
message: string | null;
|
|
13
13
|
});
|
|
14
14
|
|
|
@@ -7,7 +7,7 @@ import type { RequestTelemetry } from './RequestTelemetry';
|
|
|
7
7
|
export type QueryTimeoutError = {
|
|
8
8
|
renderedQuery: string | null;
|
|
9
9
|
requestTelemetry: RequestTelemetry | null;
|
|
10
|
-
message: string;
|
|
11
|
-
'@type': 'timeout';
|
|
10
|
+
message: string | null;
|
|
11
|
+
'@type': 'timeout-error';
|
|
12
12
|
};
|
|
13
13
|
|
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": "1.3.0-dan-
|
|
5
|
+
"version": "1.3.0-dan-remove-localstack-dep.1",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/trust-kaz/fido"
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import type { QueryExecutionResponse } from '../models/QueryExecutionResponse';
|
|
5
|
+
import type { QueryExportResponse } from '../models/QueryExportResponse';
|
|
5
6
|
import type { QueryPreviewRequest } from '../models/QueryPreviewRequest';
|
|
6
7
|
import type { TablePreviewRequest } from '../models/TablePreviewRequest';
|
|
7
8
|
import type { UUID } from '../models/UUID';
|
|
@@ -67,7 +68,6 @@ export class QueryResourceService {
|
|
|
67
68
|
mediaType: '*/*',
|
|
68
69
|
errors: {
|
|
69
70
|
400: `An error related to the user request`,
|
|
70
|
-
503: `An error related to the user request`,
|
|
71
71
|
},
|
|
72
72
|
});
|
|
73
73
|
}
|
|
@@ -78,7 +78,7 @@ export class QueryResourceService {
|
|
|
78
78
|
* @param namespaceId
|
|
79
79
|
* @param viewId
|
|
80
80
|
* @param requestBody View to export against the provided data source
|
|
81
|
-
* @returns
|
|
81
|
+
* @returns QueryExportResponse A DataPage of the provided query
|
|
82
82
|
* @throws ApiError
|
|
83
83
|
*/
|
|
84
84
|
public static exportView(
|
|
@@ -86,7 +86,7 @@ export class QueryResourceService {
|
|
|
86
86
|
namespaceId: UUID,
|
|
87
87
|
viewId: UUID,
|
|
88
88
|
requestBody: ViewExportRequest,
|
|
89
|
-
): CancelablePromise<
|
|
89
|
+
): CancelablePromise<QueryExportResponse> {
|
|
90
90
|
return __request(OpenAPI, {
|
|
91
91
|
method: 'POST',
|
|
92
92
|
url: '/v1/namespaces/{namespaceId}/data-sources/{dataSourceId}/views/{viewId}/export',
|