@budibase/types 3.21.0 → 3.21.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.
|
@@ -24,6 +24,13 @@ export interface FetchDatasourceInfoRequest {
|
|
|
24
24
|
export interface FetchDatasourceInfoResponse {
|
|
25
25
|
tableNames: string[];
|
|
26
26
|
}
|
|
27
|
+
export interface FetchDatasourceViewInfoRequest {
|
|
28
|
+
datasource: Datasource;
|
|
29
|
+
}
|
|
30
|
+
export interface FetchDatasourceViewInfoResponse {
|
|
31
|
+
views: string[];
|
|
32
|
+
error?: string;
|
|
33
|
+
}
|
|
27
34
|
export interface UpdateDatasourceRequest extends Datasource {
|
|
28
35
|
}
|
|
29
36
|
export interface BuildSchemaFromSourceRequest {
|
|
@@ -177,5 +177,6 @@ export interface DatasourcePlus extends IntegrationBase {
|
|
|
177
177
|
query(json: EnrichedQueryJson): Promise<DatasourcePlusQueryResponse>;
|
|
178
178
|
buildSchema(datasourceId: string, entities: Record<string, Table>, filter?: string[]): Promise<Schema>;
|
|
179
179
|
getTableNames(): Promise<string[]>;
|
|
180
|
+
getViewNames?(): Promise<string[]>;
|
|
180
181
|
}
|
|
181
182
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/types",
|
|
3
|
-
"version": "3.21.
|
|
3
|
+
"version": "3.21.1",
|
|
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": "f418556d9428cc85c6d0ca8176d92904d57d3266"
|
|
30
30
|
}
|