@budibase/frontend-core 1.3.15-alpha.3 → 1.3.15-alpha.4

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/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@budibase/frontend-core",
3
- "version": "1.3.15-alpha.3",
3
+ "version": "1.3.15-alpha.4",
4
4
  "description": "Budibase frontend core libraries used in builder and client",
5
5
  "author": "Budibase",
6
6
  "license": "MPL-2.0",
7
7
  "svelte": "src/index.js",
8
8
  "dependencies": {
9
- "@budibase/bbui": "1.3.15-alpha.3",
9
+ "@budibase/bbui": "1.3.15-alpha.4",
10
10
  "lodash": "^4.17.21",
11
11
  "svelte": "^3.46.2"
12
12
  },
13
- "gitHead": "a1eafcef980f6ed36933a6d2953e35b0de82be51"
13
+ "gitHead": "668928caccc433d754fa67ae33afbd0c268a17eb"
14
14
  }
@@ -11,10 +11,14 @@ export const buildDatasourceEndpoints = API => ({
11
11
  /**
12
12
  * Prompts the server to build the schema for a datasource.
13
13
  * @param datasourceId the datasource ID to build the schema for
14
+ * @param tablesFilter list of specific table names to be build the schema
14
15
  */
15
- buildDatasourceSchema: async datasourceId => {
16
+ buildDatasourceSchema: async ({ datasourceId, tablesFilter }) => {
16
17
  return await API.post({
17
18
  url: `/api/datasources/${datasourceId}/schema`,
19
+ body: {
20
+ tablesFilter,
21
+ },
18
22
  })
19
23
  },
20
24