@budibase/server 1.0.91-alpha.13 → 1.0.91-alpha.16

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.
Files changed (184) hide show
  1. package/builder/assets/{index.3873deb4.js → index.f9284ed8.js} +1 -1
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +109 -109
  4. package/coverage/coverage-final.json +10 -10
  5. package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
  6. package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
  7. package/coverage/lcov-report/api/controllers/application.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  10. package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  15. package/coverage/lcov-report/api/controllers/index.html +1 -1
  16. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  22. package/coverage/lcov-report/api/controllers/query/index.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/index.js.html +20 -20
  29. package/coverage/lcov-report/api/controllers/row/internal.js.html +30 -30
  30. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/row/utils.js.html +6 -6
  33. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  35. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  38. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
  40. package/coverage/lcov-report/api/controllers/table/utils.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  43. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  44. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  45. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  46. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  47. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  48. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  49. package/coverage/lcov-report/api/index.html +1 -1
  50. package/coverage/lcov-report/api/index.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/application.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/index.html +1 -1
  63. package/coverage/lcov-report/api/routes/index.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/row.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  74. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  75. package/coverage/lcov-report/api/routes/static.js.html +1 -1
  76. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  77. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  78. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  79. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  80. package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
  81. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  82. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  83. package/coverage/lcov-report/automations/actions.js.html +1 -1
  84. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  85. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  86. package/coverage/lcov-report/automations/index.html +1 -1
  87. package/coverage/lcov-report/automations/index.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  96. package/coverage/lcov-report/automations/steps/index.html +1 -1
  97. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  98. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  99. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  100. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  101. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  102. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  103. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  104. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  105. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  106. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  107. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  108. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  109. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  110. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  111. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  112. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  113. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  114. package/coverage/lcov-report/automations/triggers.js.html +3 -3
  115. package/coverage/lcov-report/automations/utils.js.html +1 -1
  116. package/coverage/lcov-report/constants/index.html +1 -1
  117. package/coverage/lcov-report/constants/index.js.html +1 -1
  118. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  119. package/coverage/lcov-report/constants/screens.js.html +1 -1
  120. package/coverage/lcov-report/db/client.js.html +1 -1
  121. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  122. package/coverage/lcov-report/db/index.html +1 -1
  123. package/coverage/lcov-report/db/index.js.html +1 -1
  124. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  125. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  126. package/coverage/lcov-report/db/linkedRows/index.js.html +11 -11
  127. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +7 -7
  128. package/coverage/lcov-report/db/newid.js.html +2 -2
  129. package/coverage/lcov-report/db/utils.js.html +3 -3
  130. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  131. package/coverage/lcov-report/events/index.html +1 -1
  132. package/coverage/lcov-report/events/index.js.html +1 -1
  133. package/coverage/lcov-report/events/utils.js.html +1 -1
  134. package/coverage/lcov-report/index.html +1 -1
  135. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  136. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  137. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  138. package/coverage/lcov-report/middleware/authorized.js.html +1 -1
  139. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  140. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  141. package/coverage/lcov-report/middleware/index.html +1 -1
  142. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  143. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  144. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  145. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  146. package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
  147. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  148. package/coverage/lcov-report/threads/automation.js.html +1 -1
  149. package/coverage/lcov-report/threads/index.html +1 -1
  150. package/coverage/lcov-report/threads/index.js.html +1 -1
  151. package/coverage/lcov-report/threads/query.js.html +1 -1
  152. package/coverage/lcov-report/threads/utils.js.html +1 -1
  153. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  154. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  155. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  156. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  157. package/coverage/lcov-report/utilities/global.js.html +1 -1
  158. package/coverage/lcov-report/utilities/index.html +1 -1
  159. package/coverage/lcov-report/utilities/index.js.html +1 -1
  160. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  161. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  162. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  163. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  164. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  165. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +24 -24
  166. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +8 -8
  167. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  168. package/coverage/lcov-report/utilities/security.js.html +1 -1
  169. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  170. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  171. package/coverage/lcov-report/utilities/usageQuota/index.js.html +1 -1
  172. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  173. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  174. package/coverage/lcov-report/utilities/users.js.html +1 -1
  175. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  176. package/coverage/lcov.info +173 -173
  177. package/dist/api/controllers/public/rows.js +2 -2
  178. package/dist/integrations/rest.js +2 -1
  179. package/dist/package.json +5 -4
  180. package/dist/tsconfig.tsbuildinfo +1 -1
  181. package/package.json +6 -5
  182. package/src/api/controllers/public/rows.ts +2 -4
  183. package/src/definitions/openapi.ts +472 -472
  184. package/src/integrations/rest.ts +2 -1
@@ -2422,8 +2422,8 @@ FN:141,(anonymous_11)
2422
2422
  FNF:12
2423
2423
  FNH:11
2424
2424
  FNDA:119,pickApi
2425
- FNDA:121,getTableId
2426
- FNDA:6,(anonymous_2)
2425
+ FNDA:122,getTableId
2426
+ FNDA:7,(anonymous_2)
2427
2427
  FNDA:74,(anonymous_3)
2428
2428
  FNDA:7,(anonymous_4)
2429
2429
  FNDA:4,(anonymous_5)
@@ -2439,37 +2439,37 @@ DA:3,40
2439
2439
  DA:6,119
2440
2440
  DA:7,0
2441
2441
  DA:9,118
2442
- DA:13,121
2443
- DA:14,77
2444
- DA:16,44
2445
- DA:17,36
2442
+ DA:13,122
2443
+ DA:14,80
2444
+ DA:16,42
2445
+ DA:17,34
2446
2446
  DA:19,8
2447
2447
  DA:20,7
2448
2448
  DA:24,40
2449
- DA:25,6
2450
- DA:26,6
2451
- DA:27,6
2452
- DA:29,6
2449
+ DA:25,7
2450
+ DA:26,7
2451
+ DA:27,7
2452
+ DA:29,7
2453
2453
  DA:30,0
2454
- DA:32,6
2455
- DA:33,6
2456
- DA:34,4
2457
- DA:35,4
2458
- DA:37,4
2459
- DA:38,4
2454
+ DA:32,7
2455
+ DA:33,7
2456
+ DA:34,5
2457
+ DA:35,5
2458
+ DA:37,5
2459
+ DA:38,5
2460
2460
  DA:40,2
2461
2461
  DA:44,40
2462
2462
  DA:45,74
2463
2463
  DA:46,74
2464
2464
  DA:47,74
2465
2465
  DA:49,74
2466
- DA:50,2
2467
- DA:52,72
2468
- DA:53,72
2469
- DA:54,71
2470
- DA:55,71
2471
- DA:56,71
2472
- DA:57,71
2466
+ DA:50,3
2467
+ DA:52,71
2468
+ DA:53,71
2469
+ DA:54,70
2470
+ DA:55,70
2471
+ DA:56,70
2472
+ DA:57,70
2473
2473
  DA:59,1
2474
2474
  DA:63,40
2475
2475
  DA:64,7
@@ -2527,30 +2527,30 @@ LF:90
2527
2527
  LH:80
2528
2528
  BRDA:6,0,0,0
2529
2529
  BRDA:6,0,1,118
2530
- BRDA:13,1,0,77
2531
- BRDA:13,1,1,44
2532
- BRDA:13,2,0,121
2533
- BRDA:13,2,1,108
2534
- BRDA:16,3,0,36
2530
+ BRDA:13,1,0,80
2531
+ BRDA:13,1,1,42
2532
+ BRDA:13,2,0,122
2533
+ BRDA:13,2,1,109
2534
+ BRDA:16,3,0,34
2535
2535
  BRDA:16,3,1,8
2536
- BRDA:16,4,0,44
2537
- BRDA:16,4,1,44
2536
+ BRDA:16,4,0,42
2537
+ BRDA:16,4,1,42
2538
2538
  BRDA:19,5,0,7
2539
2539
  BRDA:19,5,1,1
2540
2540
  BRDA:19,6,0,8
2541
2541
  BRDA:19,6,1,8
2542
2542
  BRDA:29,7,0,0
2543
- BRDA:29,7,1,6
2544
- BRDA:29,8,0,6
2545
- BRDA:29,8,1,6
2546
- BRDA:35,9,0,4
2547
- BRDA:35,9,1,3
2548
- BRDA:49,10,0,2
2549
- BRDA:49,10,1,72
2543
+ BRDA:29,7,1,7
2544
+ BRDA:29,8,0,7
2545
+ BRDA:29,8,1,7
2546
+ BRDA:35,9,0,5
2547
+ BRDA:35,9,1,4
2548
+ BRDA:49,10,0,3
2549
+ BRDA:49,10,1,71
2550
2550
  BRDA:49,11,0,74
2551
2551
  BRDA:49,11,1,74
2552
- BRDA:55,12,0,71
2553
- BRDA:55,12,1,11
2552
+ BRDA:55,12,0,70
2553
+ BRDA:55,12,1,10
2554
2554
  BRDA:95,13,0,2
2555
2555
  BRDA:95,13,1,4
2556
2556
  BRDA:99,14,0,3
@@ -2595,8 +2595,8 @@ FNH:22
2595
2595
  FNDA:6,getView
2596
2596
  FNDA:5,getRawTableData
2597
2597
  FNDA:10,(anonymous_2)
2598
- FNDA:5,(anonymous_3)
2599
- FNDA:72,(anonymous_4)
2598
+ FNDA:6,(anonymous_3)
2599
+ FNDA:71,(anonymous_4)
2600
2600
  FNDA:7,(anonymous_5)
2601
2601
  FNDA:3,(anonymous_6)
2602
2602
  FNDA:3,(anonymous_7)
@@ -2657,45 +2657,45 @@ DA:71,5
2657
2657
  DA:76,10
2658
2658
  DA:78,5
2659
2659
  DA:81,40
2660
- DA:82,5
2661
- DA:83,5
2662
- DA:84,5
2663
- DA:85,5
2664
- DA:87,5
2665
- DA:88,5
2666
- DA:89,5
2660
+ DA:82,6
2661
+ DA:83,6
2662
+ DA:84,6
2663
+ DA:85,6
2664
+ DA:87,6
2665
+ DA:88,6
2666
+ DA:89,6
2667
2667
  DA:94,0
2668
2668
  DA:97,0
2669
2669
  DA:101,0
2670
- DA:104,5
2671
- DA:106,5
2672
- DA:107,5
2673
- DA:108,21
2674
- DA:109,6
2675
- DA:113,5
2676
- DA:114,5
2677
- DA:119,5
2670
+ DA:104,6
2671
+ DA:106,6
2672
+ DA:107,6
2673
+ DA:108,26
2674
+ DA:109,7
2675
+ DA:113,6
2676
+ DA:114,6
2677
+ DA:119,6
2678
2678
  DA:120,1
2679
- DA:124,4
2680
- DA:131,4
2681
- DA:133,4
2679
+ DA:124,5
2680
+ DA:131,5
2681
+ DA:133,5
2682
2682
  DA:135,0
2683
2683
  DA:136,0
2684
2684
  DA:137,0
2685
- DA:140,4
2685
+ DA:140,5
2686
2686
  DA:146,40
2687
- DA:147,72
2688
- DA:148,72
2689
- DA:149,72
2690
- DA:151,72
2691
- DA:152,72
2692
- DA:156,72
2693
- DA:157,72
2694
- DA:158,72
2695
- DA:163,72
2687
+ DA:147,71
2688
+ DA:148,71
2689
+ DA:149,71
2690
+ DA:151,71
2691
+ DA:152,71
2692
+ DA:156,71
2693
+ DA:157,71
2694
+ DA:158,71
2695
+ DA:163,71
2696
2696
  DA:164,0
2697
- DA:168,72
2698
- DA:175,71
2697
+ DA:168,71
2698
+ DA:175,70
2699
2699
  DA:181,40
2700
2700
  DA:182,7
2701
2701
  DA:185,7
@@ -2847,18 +2847,18 @@ BRDA:67,6,0,0
2847
2847
  BRDA:67,6,1,5
2848
2848
  BRDA:94,7,0,0
2849
2849
  BRDA:94,7,1,0
2850
- BRDA:108,8,0,15
2851
- BRDA:108,8,1,6
2850
+ BRDA:108,8,0,19
2851
+ BRDA:108,8,1,7
2852
2852
  BRDA:119,9,0,1
2853
- BRDA:119,9,1,4
2853
+ BRDA:119,9,1,5
2854
2854
  BRDA:133,10,0,0
2855
- BRDA:133,10,1,4
2856
- BRDA:151,11,0,72
2855
+ BRDA:133,10,1,5
2856
+ BRDA:151,11,0,71
2857
2857
  BRDA:151,11,1,0
2858
- BRDA:151,12,0,72
2859
- BRDA:151,12,1,72
2858
+ BRDA:151,12,0,71
2859
+ BRDA:151,12,1,71
2860
2860
  BRDA:163,13,0,0
2861
- BRDA:163,13,1,72
2861
+ BRDA:163,13,1,71
2862
2862
  BRDA:185,14,0,1
2863
2863
  BRDA:185,14,1,6
2864
2864
  BRDA:194,15,0,5
@@ -3346,7 +3346,7 @@ FNH:4
3346
3346
  FNDA:2,(anonymous_0)
3347
3347
  FNDA:0,(anonymous_1)
3348
3348
  FNDA:1,(anonymous_2)
3349
- FNDA:25,(anonymous_3)
3349
+ FNDA:26,(anonymous_3)
3350
3350
  FNDA:79,(anonymous_4)
3351
3351
  FNDA:0,(anonymous_5)
3352
3352
  DA:1,40
@@ -3365,15 +3365,15 @@ DA:21,1
3365
3365
  DA:22,1
3366
3366
  DA:23,1
3367
3367
  DA:26,40
3368
- DA:27,25
3369
- DA:30,25
3368
+ DA:27,26
3369
+ DA:30,26
3370
3370
  DA:31,0
3371
3371
  DA:34,0
3372
3372
  DA:35,0
3373
- DA:37,25
3374
- DA:39,22
3373
+ DA:37,26
3374
+ DA:39,23
3375
3375
  DA:40,0
3376
- DA:42,22
3376
+ DA:42,23
3377
3377
  DA:45,40
3378
3378
  DA:46,79
3379
3379
  DA:47,2
@@ -3403,9 +3403,9 @@ DA:88,79
3403
3403
  LF:51
3404
3404
  LH:35
3405
3405
  BRDA:30,0,0,0
3406
- BRDA:30,0,1,25
3406
+ BRDA:30,0,1,26
3407
3407
  BRDA:39,1,0,0
3408
- BRDA:39,1,1,22
3408
+ BRDA:39,1,1,23
3409
3409
  BRDA:46,2,0,2
3410
3410
  BRDA:46,2,1,77
3411
3411
  BRDA:55,3,0,0
@@ -5608,8 +5608,8 @@ FNDA:19,queueRelevantRowAutomations
5608
5608
  FNDA:19,(anonymous_1)
5609
5609
  FNDA:4,(anonymous_2)
5610
5610
  FNDA:4,(anonymous_3)
5611
- FNDA:10,(anonymous_4)
5612
- FNDA:3,(anonymous_5)
5611
+ FNDA:9,(anonymous_4)
5612
+ FNDA:4,(anonymous_5)
5613
5613
  FNDA:6,(anonymous_6)
5614
5614
  FNDA:6,(anonymous_7)
5615
5615
  DA:1,39
@@ -5641,9 +5641,9 @@ DA:49,0
5641
5641
  DA:51,4
5642
5642
  DA:55,4
5643
5643
  DA:61,39
5644
- DA:66,10
5644
+ DA:66,9
5645
5645
  DA:69,39
5646
- DA:74,3
5646
+ DA:74,4
5647
5647
  DA:77,39
5648
5648
  DA:82,6
5649
5649
  DA:85,39
@@ -6584,10 +6584,10 @@ SF:src/db/newid.js
6584
6584
  FN:3,(anonymous_0)
6585
6585
  FNF:1
6586
6586
  FNH:1
6587
- FNDA:996,(anonymous_0)
6587
+ FNDA:995,(anonymous_0)
6588
6588
  DA:1,55
6589
6589
  DA:3,55
6590
- DA:4,996
6590
+ DA:4,995
6591
6591
  LF:3
6592
6592
  LH:3
6593
6593
  BRF:0
@@ -6635,7 +6635,7 @@ FNDA:222,(anonymous_2)
6635
6635
  FNDA:106,(anonymous_3)
6636
6636
  FNDA:16,(anonymous_4)
6637
6637
  FNDA:0,(anonymous_5)
6638
- FNDA:266,(anonymous_6)
6638
+ FNDA:265,(anonymous_6)
6639
6639
  FNDA:3,(anonymous_7)
6640
6640
  FNDA:193,(anonymous_8)
6641
6641
  FNDA:2,(anonymous_9)
@@ -6706,8 +6706,8 @@ DA:154,55
6706
6706
  DA:155,0
6707
6707
  DA:158,0
6708
6708
  DA:167,55
6709
- DA:168,266
6710
- DA:169,266
6709
+ DA:168,265
6710
+ DA:169,265
6711
6711
  DA:175,55
6712
6712
  DA:176,3
6713
6713
  DA:184,55
@@ -6789,9 +6789,9 @@ BRDA:140,8,0,4
6789
6789
  BRDA:140,8,1,12
6790
6790
  BRDA:144,9,0,12
6791
6791
  BRDA:144,9,1,0
6792
- BRDA:167,10,0,73
6793
- BRDA:168,11,0,266
6794
- BRDA:168,11,1,73
6792
+ BRDA:167,10,0,72
6793
+ BRDA:168,11,0,265
6794
+ BRDA:168,11,1,72
6795
6795
  BRDA:175,12,0,0
6796
6796
  BRDA:175,13,0,0
6797
6797
  BRDA:193,14,0,1
@@ -7149,12 +7149,12 @@ FNDA:18,(anonymous_10)
7149
7149
  FNDA:18,(anonymous_11)
7150
7150
  FNDA:18,(anonymous_12)
7151
7151
  FNDA:191,(anonymous_13)
7152
- FNDA:112,(anonymous_14)
7152
+ FNDA:113,(anonymous_14)
7153
7153
  FNDA:25,(anonymous_15)
7154
7154
  FNDA:25,(anonymous_16)
7155
7155
  FNDA:18,(anonymous_17)
7156
7156
  FNDA:18,(anonymous_18)
7157
- FNDA:32,(anonymous_19)
7157
+ FNDA:33,(anonymous_19)
7158
7158
  DA:1,40
7159
7159
  DA:10,40
7160
7160
  DA:11,40
@@ -7210,9 +7210,9 @@ DA:133,1
7210
7210
  DA:135,1
7211
7211
  DA:137,0
7212
7212
  DA:148,40
7213
- DA:149,112
7214
- DA:150,112
7215
- DA:151,82
7213
+ DA:149,113
7214
+ DA:150,113
7215
+ DA:151,83
7216
7216
  DA:154,30
7217
7217
  DA:155,25
7218
7218
  DA:158,30
@@ -7230,12 +7230,12 @@ DA:172,18
7230
7230
  DA:173,18
7231
7231
  DA:178,30
7232
7232
  DA:187,40
7233
- DA:189,32
7234
- DA:190,32
7235
- DA:192,38
7236
- DA:193,38
7237
- DA:194,115
7238
- DA:195,106
7233
+ DA:189,33
7234
+ DA:190,33
7235
+ DA:192,39
7236
+ DA:193,39
7237
+ DA:194,117
7238
+ DA:195,108
7239
7239
  DA:197,9
7240
7240
  DA:198,9
7241
7241
  DA:199,9
@@ -7245,7 +7245,7 @@ DA:202,9
7245
7245
  DA:203,8
7246
7246
  DA:205,9
7247
7247
  DA:207,9
7248
- DA:210,32
7248
+ DA:210,33
7249
7249
  LF:91
7250
7250
  LH:88
7251
7251
  BRDA:41,0,0,53
@@ -7270,7 +7270,7 @@ BRDA:124,7,3,18
7270
7270
  BRDA:124,7,4,1
7271
7271
  BRDA:124,7,5,1
7272
7272
  BRDA:124,7,6,0
7273
- BRDA:150,8,0,82
7273
+ BRDA:150,8,0,83
7274
7274
  BRDA:150,8,1,30
7275
7275
  BRDA:164,9,0,18
7276
7276
  BRDA:164,9,1,0
@@ -7280,9 +7280,9 @@ BRDA:170,11,0,18
7280
7280
  BRDA:170,11,1,0
7281
7281
  BRDA:172,12,0,18
7282
7282
  BRDA:172,12,1,0
7283
- BRDA:194,13,0,106
7283
+ BRDA:194,13,0,108
7284
7284
  BRDA:194,13,1,9
7285
- BRDA:194,14,0,115
7285
+ BRDA:194,14,0,117
7286
7286
  BRDA:194,14,1,17
7287
7287
  BRDA:199,15,0,9
7288
7288
  BRDA:199,15,1,0
@@ -7315,11 +7315,11 @@ FNDA:27,(anonymous_3)
7315
7315
  FNDA:30,(anonymous_4)
7316
7316
  FNDA:25,(anonymous_5)
7317
7317
  FNDA:33,(anonymous_6)
7318
- FNDA:112,(anonymous_7)
7319
- FNDA:320,(anonymous_8)
7318
+ FNDA:113,(anonymous_7)
7319
+ FNDA:322,(anonymous_8)
7320
7320
  FNDA:53,(anonymous_9)
7321
- FNDA:67,(anonymous_10)
7322
- FNDA:48,(anonymous_11)
7321
+ FNDA:68,(anonymous_10)
7322
+ FNDA:49,(anonymous_11)
7323
7323
  FNDA:2,(anonymous_12)
7324
7324
  DA:1,40
7325
7325
  DA:2,40
@@ -7355,14 +7355,14 @@ DA:79,40
7355
7355
  DA:80,30
7356
7356
  DA:81,33
7357
7357
  DA:85,40
7358
- DA:86,112
7359
- DA:87,320
7358
+ DA:86,113
7359
+ DA:87,322
7360
7360
  DA:88,53
7361
7361
  DA:91,40
7362
- DA:92,67
7363
- DA:93,67
7364
- DA:94,67
7365
- DA:95,40
7362
+ DA:92,68
7363
+ DA:93,68
7364
+ DA:94,68
7365
+ DA:95,41
7366
7366
  DA:97,27
7367
7367
  DA:98,27
7368
7368
  DA:99,27
@@ -7393,7 +7393,7 @@ BRDA:69,5,0,0
7393
7393
  BRDA:69,5,1,0
7394
7394
  BRDA:69,6,0,0
7395
7395
  BRDA:69,6,1,0
7396
- BRDA:94,7,0,40
7396
+ BRDA:94,7,0,41
7397
7397
  BRDA:94,7,1,27
7398
7398
  BRDA:98,8,0,27
7399
7399
  BRDA:98,8,1,0
@@ -9473,9 +9473,9 @@ FNDA:0,(anonymous_9)
9473
9473
  FNDA:78,processAutoColumn
9474
9474
  FNDA:182,(anonymous_11)
9475
9475
  FNDA:78,(anonymous_12)
9476
- FNDA:112,(anonymous_13)
9476
+ FNDA:113,(anonymous_13)
9477
9477
  FNDA:2,(anonymous_14)
9478
- FNDA:13,(anonymous_15)
9478
+ FNDA:14,(anonymous_15)
9479
9479
  FNDA:0,addFiles
9480
9480
  FNDA:0,(anonymous_17)
9481
9481
  FNDA:0,(anonymous_18)
@@ -9551,42 +9551,42 @@ DA:221,78
9551
9551
  DA:223,78
9552
9552
  DA:224,78
9553
9553
  DA:225,78
9554
- DA:226,352
9555
- DA:228,352
9556
- DA:229,171
9554
+ DA:226,353
9555
+ DA:228,353
9556
+ DA:229,172
9557
9557
  DA:230,3
9558
- DA:232,171
9558
+ DA:232,172
9559
9559
  DA:235,181
9560
9560
  DA:236,0
9561
9561
  DA:240,181
9562
9562
  DA:244,78
9563
- DA:245,73
9564
- DA:246,73
9563
+ DA:245,72
9564
+ DA:246,72
9565
9565
  DA:250,78
9566
9566
  DA:262,40
9567
- DA:263,112
9568
- DA:264,112
9569
- DA:265,98
9570
- DA:266,98
9571
- DA:269,112
9572
- DA:272,112
9573
- DA:275,112
9574
- DA:276,320
9567
+ DA:263,113
9568
+ DA:264,113
9569
+ DA:265,99
9570
+ DA:266,99
9571
+ DA:269,113
9572
+ DA:272,113
9573
+ DA:275,113
9574
+ DA:276,322
9575
9575
  DA:277,8
9576
9576
  DA:278,8
9577
9577
  DA:279,6
9578
9578
  DA:281,2
9579
9579
  DA:282,2
9580
- DA:287,112
9581
- DA:288,32
9582
- DA:290,112
9580
+ DA:287,113
9581
+ DA:288,33
9582
+ DA:290,113
9583
9583
  DA:303,40
9584
- DA:304,13
9585
- DA:305,13
9586
- DA:306,13
9587
- DA:308,13
9588
- DA:309,13
9589
- DA:310,13
9584
+ DA:304,14
9585
+ DA:305,14
9586
+ DA:306,14
9587
+ DA:308,14
9588
+ DA:309,14
9589
+ DA:310,14
9590
9590
  DA:313,0
9591
9591
  DA:315,0
9592
9592
  DA:316,0
@@ -9659,32 +9659,32 @@ BRDA:199,22,0,22
9659
9659
  BRDA:199,22,1,144
9660
9660
  BRDA:216,23,0,0
9661
9661
  BRDA:219,24,0,77
9662
- BRDA:228,25,0,171
9662
+ BRDA:228,25,0,172
9663
9663
  BRDA:228,25,1,181
9664
9664
  BRDA:229,26,0,3
9665
- BRDA:229,26,1,168
9665
+ BRDA:229,26,1,169
9666
9666
  BRDA:235,27,0,0
9667
9667
  BRDA:235,27,1,181
9668
- BRDA:244,28,0,73
9669
- BRDA:244,28,1,5
9668
+ BRDA:244,28,0,72
9669
+ BRDA:244,28,1,6
9670
9670
  BRDA:244,29,0,78
9671
9671
  BRDA:244,29,1,78
9672
- BRDA:262,30,0,32
9673
- BRDA:264,31,0,98
9672
+ BRDA:262,30,0,33
9673
+ BRDA:264,31,0,99
9674
9674
  BRDA:264,31,1,14
9675
9675
  BRDA:276,32,0,8
9676
- BRDA:276,32,1,312
9676
+ BRDA:276,32,1,314
9677
9677
  BRDA:278,33,0,6
9678
9678
  BRDA:278,33,1,2
9679
9679
  BRDA:278,34,0,8
9680
9680
  BRDA:278,34,1,6
9681
- BRDA:287,35,0,32
9681
+ BRDA:287,35,0,33
9682
9682
  BRDA:287,35,1,80
9683
9683
  BRDA:290,36,0,14
9684
- BRDA:290,36,1,98
9685
- BRDA:305,37,0,13
9684
+ BRDA:290,36,1,99
9685
+ BRDA:305,37,0,14
9686
9686
  BRDA:305,37,1,0
9687
- BRDA:309,38,0,13
9687
+ BRDA:309,38,0,14
9688
9688
  BRDA:309,38,1,0
9689
9689
  BRDA:315,39,0,0
9690
9690
  BRDA:315,39,1,0
@@ -9714,34 +9714,34 @@ SF:src/utilities/rowProcessor/utils.js
9714
9714
  FN:7,(anonymous_0)
9715
9715
  FNF:1
9716
9716
  FNH:1
9717
- FNDA:280,(anonymous_0)
9717
+ FNDA:281,(anonymous_0)
9718
9718
  DA:1,40
9719
9719
  DA:2,40
9720
9720
  DA:7,40
9721
- DA:12,280
9722
- DA:13,280
9721
+ DA:12,281
9722
+ DA:13,281
9723
9723
  DA:14,168
9724
9724
  DA:15,168
9725
- DA:17,280
9726
- DA:18,802
9727
- DA:19,802
9728
- DA:24,802
9725
+ DA:17,281
9726
+ DA:18,804
9727
+ DA:19,804
9728
+ DA:24,804
9729
9729
  DA:27,0
9730
9730
  DA:28,0
9731
9731
  DA:29,0
9732
9732
  DA:30,0
9733
9733
  DA:31,0
9734
- DA:38,280
9734
+ DA:38,281
9735
9735
  LF:17
9736
9736
  LH:12
9737
9737
  BRDA:10,0,0,18
9738
9738
  BRDA:13,1,0,168
9739
- BRDA:13,1,1,112
9739
+ BRDA:13,1,1,113
9740
9740
  BRDA:15,2,0,75
9741
9741
  BRDA:15,2,1,93
9742
- BRDA:19,3,0,802
9742
+ BRDA:19,3,0,804
9743
9743
  BRDA:19,3,1,0
9744
- BRDA:20,4,0,802
9744
+ BRDA:20,4,0,804
9745
9745
  BRDA:20,4,1,0
9746
9746
  BRDA:20,4,2,0
9747
9747
  BRDA:20,4,3,0
@@ -9751,7 +9751,7 @@ BRDA:28,5,1,0
9751
9751
  BRDA:30,6,0,0
9752
9752
  BRDA:30,6,1,0
9753
9753
  BRDA:38,7,0,168
9754
- BRDA:38,7,1,112
9754
+ BRDA:38,7,1,113
9755
9755
  BRF:18
9756
9756
  BRH:9
9757
9757
  end_of_record
@@ -71,7 +71,7 @@ function read(ctx, next) {
71
71
  exports.read = read;
72
72
  function update(ctx, next) {
73
73
  return __awaiter(this, void 0, void 0, function* () {
74
- ctx.request.body = yield utils_1.addRev(fixRow(ctx.request.body, ctx.params.tableId));
74
+ ctx.request.body = yield utils_1.addRev(fixRow(ctx.request.body, ctx.params));
75
75
  yield row_1.default.save(ctx);
76
76
  yield next();
77
77
  });
@@ -80,7 +80,7 @@ exports.update = update;
80
80
  function destroy(ctx, next) {
81
81
  return __awaiter(this, void 0, void 0, function* () {
82
82
  // set the body as expected, with the _id and _rev fields
83
- ctx.request.body = yield utils_1.addRev(fixRow({ _id: ctx.params.rowId }, ctx.params.tableId));
83
+ ctx.request.body = yield utils_1.addRev(fixRow({ _id: ctx.params.rowId }, ctx.params));
84
84
  yield row_1.default.destroy(ctx);
85
85
  // destroy controller doesn't currently return the row as the body, need to adjust this
86
86
  // in the public API to be correct
@@ -10,6 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  const datasource_1 = require("../definitions/datasource");
13
+ const lodash_1 = require("lodash");
13
14
  const BodyTypes = {
14
15
  NONE: "none",
15
16
  FORM_DATA: "form",
@@ -148,7 +149,7 @@ var RestModule;
148
149
  // Check if a pagination cursor exists in the response
149
150
  let nextCursor = null;
150
151
  if (pagination === null || pagination === void 0 ? void 0 : pagination.responseParam) {
151
- nextCursor = data === null || data === void 0 ? void 0 : data[pagination.responseParam];
152
+ nextCursor = lodash_1.get(data, pagination.responseParam);
152
153
  }
153
154
  return {
154
155
  data,
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "1.0.91-alpha.12",
4
+ "version": "1.0.91-alpha.15",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -71,9 +71,9 @@
71
71
  "license": "GPL-3.0",
72
72
  "dependencies": {
73
73
  "@apidevtools/swagger-parser": "^10.0.3",
74
- "@budibase/backend-core": "^1.0.91-alpha.12",
75
- "@budibase/client": "^1.0.91-alpha.12",
76
- "@budibase/string-templates": "^1.0.91-alpha.12",
74
+ "@budibase/backend-core": "^1.0.91-alpha.15",
75
+ "@budibase/client": "^1.0.91-alpha.15",
76
+ "@budibase/string-templates": "^1.0.91-alpha.15",
77
77
  "@bull-board/api": "^3.7.0",
78
78
  "@bull-board/koa": "^3.7.0",
79
79
  "@elastic/elasticsearch": "7.10.0",
@@ -149,6 +149,7 @@
149
149
  "@types/jest": "^26.0.23",
150
150
  "@types/koa": "^2.13.3",
151
151
  "@types/koa-router": "^7.4.2",
152
+ "@types/lodash": "4.14.180",
152
153
  "@types/node": "^15.12.4",
153
154
  "@types/oracledb": "^5.2.1",
154
155
  "@types/redis": "^4.0.11",