@budibase/types 3.23.19 → 3.23.20
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Datasource, Query, QueryPreview, QuerySchema } from "../../../documents";
|
|
1
|
+
import { Datasource, Query, QueryPreview, QuerySchema, QueryVerb } from "../../../documents";
|
|
2
2
|
export type FetchQueriesResponse = Query[];
|
|
3
3
|
export interface SaveQueryRequest extends Query {
|
|
4
4
|
}
|
|
@@ -6,8 +6,28 @@ export interface SaveQueryResponse extends Query {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ImportRestQueryRequest {
|
|
8
8
|
datasourceId?: string;
|
|
9
|
-
data
|
|
9
|
+
data?: string;
|
|
10
|
+
url?: string;
|
|
10
11
|
datasource: Datasource;
|
|
12
|
+
selectedEndpointId?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface QueryImportEndpoint {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
method?: string;
|
|
18
|
+
path?: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
queryVerb?: QueryVerb;
|
|
21
|
+
}
|
|
22
|
+
export interface ImportRestQueryInfoRequest {
|
|
23
|
+
data?: string;
|
|
24
|
+
url?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ImportRestQueryInfoResponse {
|
|
27
|
+
name: string;
|
|
28
|
+
url?: string;
|
|
29
|
+
docsUrl?: string;
|
|
30
|
+
endpoints: QueryImportEndpoint[];
|
|
11
31
|
}
|
|
12
32
|
export interface ImportRestQueryResponse {
|
|
13
33
|
errorQueries: Query[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/types",
|
|
3
|
-
"version": "3.23.
|
|
3
|
+
"version": "3.23.20",
|
|
4
4
|
"description": "Budibase types",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"scim-patch": "^0.8.1"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "bf485239c1daf7f46e18273b308cacc49a07f63e"
|
|
30
30
|
}
|