@budibase/server 2.6.8-alpha.7 → 2.6.9

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.
@@ -8,8 +8,8 @@
8
8
  <link rel="preconnect" href="https://fonts.gstatic.com" />
9
9
  <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
10
10
  rel="stylesheet" />
11
- <script type="module" crossorigin src="/builder/assets/index.21c00cb1.js"></script>
12
- <link rel="stylesheet" href="/builder/assets/index.3df09d49.css">
11
+ <script type="module" crossorigin src="/builder/assets/index.bd9d6197.js"></script>
12
+ <link rel="stylesheet" href="/builder/assets/index.a8e7f825.css">
13
13
  </head>
14
14
 
15
15
  <body id="app">
@@ -2,6 +2,7 @@
2
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
+ var _a, _b;
5
6
  Object.defineProperty(exports, "__esModule", { value: true });
6
7
  exports.shutdown = void 0;
7
8
  const applications_1 = __importDefault(require("./applications"));
@@ -45,11 +46,15 @@ if (!environment_1.default.isTest()) {
45
46
  host: REDIS_OPTS.host,
46
47
  port: REDIS_OPTS.port,
47
48
  },
48
- password: REDIS_OPTS.opts.password || REDIS_OPTS.opts.redisOptions.password,
49
49
  };
50
+ if (((_a = REDIS_OPTS.opts) === null || _a === void 0 ? void 0 : _a.password) || ((_b = REDIS_OPTS.opts.redisOptions) === null || _b === void 0 ? void 0 : _b.password)) {
51
+ // @ts-ignore
52
+ options.password =
53
+ REDIS_OPTS.opts.password || REDIS_OPTS.opts.redisOptions.password;
54
+ }
50
55
  if (!environment_1.default.REDIS_CLUSTERED) {
51
- // Can't set direct redis db in clustered env
52
56
  // @ts-ignore
57
+ // Can't set direct redis db in clustered env
53
58
  options.database = 1;
54
59
  }
55
60
  }
@@ -382,20 +382,7 @@ class GoogleSheetsIntegration {
382
382
  try {
383
383
  yield this.connect();
384
384
  const sheet = this.client.sheetsByTitle[query.sheet];
385
- let rows = [];
386
- if (query.paginate) {
387
- const limit = query.paginate.limit || 100;
388
- let page = typeof query.paginate.page === "number"
389
- ? query.paginate.page
390
- : parseInt(query.paginate.page || "1");
391
- rows = yield sheet.getRows({
392
- limit,
393
- offset: (page - 1) * limit,
394
- });
395
- }
396
- else {
397
- rows = yield sheet.getRows();
398
- }
385
+ const rows = yield sheet.getRows();
399
386
  const filtered = shared_core_1.dataFilters.runLuceneQuery(rows, query.filters);
400
387
  const headerValues = sheet.headerValues;
401
388
  let response = [];