@budibase/server 2.5.6-alpha.17 → 2.5.6-alpha.19

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.5.6-alpha.17",
4
+ "version": "2.5.6-alpha.19",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -45,12 +45,12 @@
45
45
  "license": "GPL-3.0",
46
46
  "dependencies": {
47
47
  "@apidevtools/swagger-parser": "10.0.3",
48
- "@budibase/backend-core": "2.5.6-alpha.17",
49
- "@budibase/client": "2.5.6-alpha.17",
50
- "@budibase/pro": "2.5.6-alpha.16",
51
- "@budibase/shared-core": "2.5.6-alpha.17",
52
- "@budibase/string-templates": "2.5.6-alpha.17",
53
- "@budibase/types": "2.5.6-alpha.17",
48
+ "@budibase/backend-core": "2.5.6-alpha.19",
49
+ "@budibase/client": "2.5.6-alpha.19",
50
+ "@budibase/pro": "2.5.6-alpha.18",
51
+ "@budibase/shared-core": "2.5.6-alpha.19",
52
+ "@budibase/string-templates": "2.5.6-alpha.19",
53
+ "@budibase/types": "2.5.6-alpha.19",
54
54
  "@bull-board/api": "3.7.0",
55
55
  "@bull-board/koa": "3.9.4",
56
56
  "@elastic/elasticsearch": "7.10.0",
@@ -176,5 +176,5 @@
176
176
  "optionalDependencies": {
177
177
  "oracledb": "5.3.0"
178
178
  },
179
- "gitHead": "4566d17bb8460845fbe42dce2c722556e4ff3e08"
179
+ "gitHead": "34d20c3e6a9ea38b263bc9e009e77739d74ea52d"
180
180
  }
@@ -245,7 +245,7 @@ async function execute(
245
245
  }
246
246
  const runFn = () => Runner.run(inputs)
247
247
 
248
- const { rows, pagination, extra } = await quotas.addQuery(runFn, {
248
+ const { rows, pagination, extra, info } = await quotas.addQuery(runFn, {
249
249
  datasourceId: datasource._id,
250
250
  })
251
251
  // remove the raw from execution incase transformer being used to hide data
@@ -255,7 +255,7 @@ async function execute(
255
255
  if (opts && opts.rowsOnly) {
256
256
  ctx.body = rows
257
257
  } else {
258
- ctx.body = { data: rows, pagination, ...extra }
258
+ ctx.body = { data: rows, pagination, ...extra, ...info }
259
259
  }
260
260
  } catch (err) {
261
261
  ctx.throw(400, err)