@budibase/server 1.0.192-alpha.2 → 1.0.192-alpha.5

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 (168) hide show
  1. package/builder/assets/{index.125b5754.js → index.2bf6b2b2.js} +163 -163
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +85 -83
  4. package/coverage/coverage-final.json +2 -2
  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/auth.js.html +1 -1
  8. package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
  9. package/coverage/lcov-report/api/controllers/backup.js.html +12 -6
  10. package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
  11. package/coverage/lcov-report/api/controllers/component.js.html +1 -1
  12. package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
  13. package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
  14. package/coverage/lcov-report/api/controllers/index.html +7 -7
  15. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  17. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/migrations.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/query/index.html +1 -1
  21. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/script.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/table/bulkFormula.js.html +1 -1
  33. package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/table/index.html +1 -1
  35. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  40. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  43. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  44. package/coverage/lcov-report/api/index.html +1 -1
  45. package/coverage/lcov-report/api/index.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/index.html +1 -1
  57. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/migrations.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/utils/index.html +1 -1
  71. package/coverage/lcov-report/api/routes/utils/validators.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  74. package/coverage/lcov-report/automations/actions.js.html +1 -1
  75. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  76. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  77. package/coverage/lcov-report/automations/index.html +1 -1
  78. package/coverage/lcov-report/automations/index.js.html +1 -1
  79. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  80. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  81. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/index.html +1 -1
  86. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/loop.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  96. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  97. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  98. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  99. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  100. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  101. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  105. package/coverage/lcov-report/constants/index.html +1 -1
  106. package/coverage/lcov-report/constants/index.js.html +1 -1
  107. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  108. package/coverage/lcov-report/constants/screens.js.html +1 -1
  109. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  110. package/coverage/lcov-report/db/index.html +10 -10
  111. package/coverage/lcov-report/db/index.js.html +1 -1
  112. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  113. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  114. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  115. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  116. package/coverage/lcov-report/db/newid.js.html +1 -1
  117. package/coverage/lcov-report/db/utils.js.html +9 -6
  118. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  119. package/coverage/lcov-report/events/index.html +1 -1
  120. package/coverage/lcov-report/events/index.js.html +1 -1
  121. package/coverage/lcov-report/events/utils.js.html +1 -1
  122. package/coverage/lcov-report/index.html +16 -16
  123. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  124. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  125. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  126. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  127. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  128. package/coverage/lcov-report/middleware/index.html +1 -1
  129. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  130. package/coverage/lcov-report/middleware/publicApi.js.html +1 -1
  131. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  132. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  133. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  134. package/coverage/lcov-report/threads/automation.js.html +1 -1
  135. package/coverage/lcov-report/threads/index.html +1 -1
  136. package/coverage/lcov-report/threads/query.js.html +1 -1
  137. package/coverage/lcov-report/threads/utils.js.html +1 -1
  138. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  139. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  140. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  141. package/coverage/lcov-report/utilities/global.js.html +1 -1
  142. package/coverage/lcov-report/utilities/index.html +1 -1
  143. package/coverage/lcov-report/utilities/index.js.html +1 -1
  144. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  145. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  146. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  147. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  148. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  149. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  150. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  151. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  152. package/coverage/lcov-report/utilities/security.js.html +1 -1
  153. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  154. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  155. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  156. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  157. package/coverage/lcov-report/utilities/users.js.html +1 -1
  158. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  159. package/coverage/lcov.info +156 -154
  160. package/dist/api/controllers/backup.js +3 -2
  161. package/dist/db/utils.js +1 -0
  162. package/dist/package.json +5 -5
  163. package/dist/tsconfig.build.tsbuildinfo +1 -1
  164. package/dist/utilities/fileSystem/index.js +16 -6
  165. package/package.json +6 -6
  166. package/src/api/controllers/backup.js +4 -2
  167. package/src/db/utils.js +1 -0
  168. package/src/utilities/fileSystem/index.js +22 -8
@@ -142,7 +142,7 @@ module.exports = ScriptRunner
142
142
  <div class='footer quiet pad2 space-top1 center small'>
143
143
  Code coverage generated by
144
144
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
145
- at Wed Jun 01 2022 12:40:11 GMT+0000 (Coordinated Universal Time)
145
+ at Mon Jun 06 2022 15:39:22 GMT+0000 (Coordinated Universal Time)
146
146
  </div>
147
147
  <script src="../prettify.js"></script>
148
148
  <script>
@@ -280,7 +280,7 @@ exports.CURRENTLY_SUPPORTED_LEVELS = CURRENTLY_SUPPORTED_LEVELS
280
280
  <div class='footer quiet pad2 space-top1 center small'>
281
281
  Code coverage generated by
282
282
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
283
- at Wed Jun 01 2022 12:40:11 GMT+0000 (Coordinated Universal Time)
283
+ at Mon Jun 06 2022 15:39:22 GMT+0000 (Coordinated Universal Time)
284
284
  </div>
285
285
  <script src="../prettify.js"></script>
286
286
  <script>
@@ -91,7 +91,7 @@
91
91
  <div class='footer quiet pad2 space-top1 center small'>
92
92
  Code coverage generated by
93
93
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
94
- at Wed Jun 01 2022 12:40:11 GMT+0000 (Coordinated Universal Time)
94
+ at Mon Jun 06 2022 15:39:22 GMT+0000 (Coordinated Universal Time)
95
95
  </div>
96
96
  <script src="../prettify.js"></script>
97
97
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at Wed Jun 01 2022 12:40:11 GMT+0000 (Coordinated Universal Time)
119
+ at Mon Jun 06 2022 15:39:22 GMT+0000 (Coordinated Universal Time)
120
120
  </div>
121
121
  <script src="../../prettify.js"></script>
122
122
  <script>
@@ -307,7 +307,7 @@ exports.getUniqueRows = async appIds =&gt; {
307
307
  <div class='footer quiet pad2 space-top1 center small'>
308
308
  Code coverage generated by
309
309
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
310
- at Wed Jun 01 2022 12:40:11 GMT+0000 (Coordinated Universal Time)
310
+ at Mon Jun 06 2022 15:39:22 GMT+0000 (Coordinated Universal Time)
311
311
  </div>
312
312
  <script src="../../prettify.js"></script>
313
313
  <script>
@@ -124,7 +124,7 @@ function <span class="fstat-no" title="function not covered" >resetQuotasIfRequi
124
124
  <div class='footer quiet pad2 space-top1 center small'>
125
125
  Code coverage generated by
126
126
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
127
- at Wed Jun 01 2022 12:40:11 GMT+0000 (Coordinated Universal Time)
127
+ at Mon Jun 06 2022 15:39:22 GMT+0000 (Coordinated Universal Time)
128
128
  </div>
129
129
  <script src="../../prettify.js"></script>
130
130
  <script>
@@ -205,7 +205,7 @@ exports.publicApiUserFix = ctx =&gt; {
205
205
  <div class='footer quiet pad2 space-top1 center small'>
206
206
  Code coverage generated by
207
207
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
208
- at Wed Jun 01 2022 12:40:11 GMT+0000 (Coordinated Universal Time)
208
+ at Mon Jun 06 2022 15:39:22 GMT+0000 (Coordinated Universal Time)
209
209
  </div>
210
210
  <script src="../prettify.js"></script>
211
211
  <script>
@@ -487,7 +487,7 @@ exports.readGlobalUser = <span class="fstat-no" title="function not covered" >as
487
487
  <div class='footer quiet pad2 space-top1 center small'>
488
488
  Code coverage generated by
489
489
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
490
- at Wed Jun 01 2022 12:40:11 GMT+0000 (Coordinated Universal Time)
490
+ at Mon Jun 06 2022 15:39:22 GMT+0000 (Coordinated Universal Time)
491
491
  </div>
492
492
  <script src="../prettify.js"></script>
493
493
  <script>
@@ -362,8 +362,9 @@ DA:5,1
362
362
  DA:6,1
363
363
  DA:7,1
364
364
  DA:8,1
365
- LF:7
366
- LH:7
365
+ DA:10,1
366
+ LF:8
367
+ LH:8
367
368
  BRF:0
368
369
  BRH:0
369
370
  end_of_record
@@ -5225,36 +5226,36 @@ BRH:0
5225
5226
  end_of_record
5226
5227
  TN:
5227
5228
  SF:src/db/utils.js
5228
- FN:91,(anonymous_0)
5229
- FN:107,getDocParams
5230
- FN:123,(anonymous_2)
5231
- FN:131,(anonymous_3)
5232
- FN:143,(anonymous_4)
5233
- FN:158,(anonymous_5)
5234
- FN:171,(anonymous_6)
5235
- FN:179,(anonymous_7)
5236
- FN:188,(anonymous_8)
5237
- FN:195,(anonymous_9)
5238
- FN:206,(anonymous_10)
5239
- FN:214,(anonymous_11)
5240
- FN:229,(anonymous_12)
5241
- FN:246,(anonymous_13)
5242
- FN:254,(anonymous_14)
5243
- FN:261,(anonymous_15)
5244
- FN:269,(anonymous_16)
5245
- FN:276,(anonymous_17)
5246
- FN:284,(anonymous_18)
5247
- FN:291,(anonymous_19)
5248
- FN:299,(anonymous_20)
5249
- FN:308,(anonymous_21)
5250
- FN:316,(anonymous_22)
5251
- FN:325,(anonymous_23)
5252
- FN:341,(anonymous_24)
5253
- FN:345,(anonymous_25)
5254
- FN:349,(anonymous_26)
5255
- FN:357,(anonymous_27)
5256
- FN:361,(anonymous_28)
5257
- FN:368,(anonymous_29)
5229
+ FN:92,(anonymous_0)
5230
+ FN:108,getDocParams
5231
+ FN:124,(anonymous_2)
5232
+ FN:132,(anonymous_3)
5233
+ FN:144,(anonymous_4)
5234
+ FN:159,(anonymous_5)
5235
+ FN:172,(anonymous_6)
5236
+ FN:180,(anonymous_7)
5237
+ FN:189,(anonymous_8)
5238
+ FN:196,(anonymous_9)
5239
+ FN:207,(anonymous_10)
5240
+ FN:215,(anonymous_11)
5241
+ FN:230,(anonymous_12)
5242
+ FN:247,(anonymous_13)
5243
+ FN:255,(anonymous_14)
5244
+ FN:262,(anonymous_15)
5245
+ FN:270,(anonymous_16)
5246
+ FN:277,(anonymous_17)
5247
+ FN:285,(anonymous_18)
5248
+ FN:292,(anonymous_19)
5249
+ FN:300,(anonymous_20)
5250
+ FN:309,(anonymous_21)
5251
+ FN:317,(anonymous_22)
5252
+ FN:326,(anonymous_23)
5253
+ FN:342,(anonymous_24)
5254
+ FN:346,(anonymous_25)
5255
+ FN:350,(anonymous_26)
5256
+ FN:358,(anonymous_27)
5257
+ FN:362,(anonymous_28)
5258
+ FN:369,(anonymous_29)
5258
5259
  FNF:30
5259
5260
  FNH:25
5260
5261
  FNDA:74,(anonymous_0)
@@ -5313,136 +5314,137 @@ DA:83,54
5313
5314
  DA:84,54
5314
5315
  DA:85,54
5315
5316
  DA:86,54
5316
- DA:88,54
5317
+ DA:87,54
5317
5318
  DA:89,54
5318
- DA:91,54
5319
- DA:92,74
5320
- DA:108,909
5321
- DA:109,894
5322
- DA:111,909
5323
- DA:118,54
5324
- DA:123,54
5325
- DA:124,220
5326
- DA:131,54
5327
- DA:132,105
5328
- DA:143,54
5329
- DA:144,28
5330
- DA:145,16
5331
- DA:148,12
5332
- DA:150,12
5333
- DA:158,54
5334
- DA:159,0
5335
- DA:162,0
5336
- DA:171,54
5337
- DA:172,264
5319
+ DA:90,54
5320
+ DA:92,54
5321
+ DA:93,74
5322
+ DA:109,909
5323
+ DA:110,894
5324
+ DA:112,909
5325
+ DA:119,54
5326
+ DA:124,54
5327
+ DA:125,220
5328
+ DA:132,54
5329
+ DA:133,105
5330
+ DA:144,54
5331
+ DA:145,28
5332
+ DA:146,16
5333
+ DA:149,12
5334
+ DA:151,12
5335
+ DA:159,54
5336
+ DA:160,0
5337
+ DA:163,0
5338
+ DA:172,54
5338
5339
  DA:173,264
5339
- DA:179,54
5340
- DA:180,3
5341
- DA:188,54
5342
- DA:189,193
5343
- DA:195,54
5344
- DA:196,3
5340
+ DA:174,264
5341
+ DA:180,54
5342
+ DA:181,3
5343
+ DA:189,54
5344
+ DA:190,193
5345
+ DA:196,54
5345
5346
  DA:197,3
5346
- DA:198,1
5347
- DA:200,2
5348
- DA:206,54
5349
- DA:207,225
5350
- DA:214,54
5351
- DA:215,20
5352
- DA:229,54
5353
- DA:237,9
5347
+ DA:198,3
5348
+ DA:199,1
5349
+ DA:201,2
5350
+ DA:207,54
5351
+ DA:208,225
5352
+ DA:215,54
5353
+ DA:216,20
5354
+ DA:230,54
5354
5355
  DA:238,9
5355
5356
  DA:239,9
5356
5357
  DA:240,9
5357
- DA:246,54
5358
- DA:247,0
5359
- DA:254,54
5360
- DA:255,5
5361
- DA:261,54
5362
- DA:262,212
5363
- DA:269,54
5364
- DA:270,19
5365
- DA:276,54
5366
- DA:277,214
5367
- DA:284,54
5368
- DA:285,10
5369
- DA:291,54
5370
- DA:292,2
5371
- DA:299,54
5372
- DA:300,39
5373
- DA:308,54
5374
- DA:309,4
5375
- DA:316,54
5376
- DA:317,131
5377
- DA:325,54
5378
- DA:326,4
5379
- DA:327,3
5380
- DA:330,1
5381
- DA:341,54
5382
- DA:342,0
5383
- DA:345,54
5384
- DA:346,10
5385
- DA:349,54
5386
- DA:350,0
5358
+ DA:241,9
5359
+ DA:247,54
5360
+ DA:248,0
5361
+ DA:255,54
5362
+ DA:256,5
5363
+ DA:262,54
5364
+ DA:263,212
5365
+ DA:270,54
5366
+ DA:271,19
5367
+ DA:277,54
5368
+ DA:278,214
5369
+ DA:285,54
5370
+ DA:286,10
5371
+ DA:292,54
5372
+ DA:293,2
5373
+ DA:300,54
5374
+ DA:301,39
5375
+ DA:309,54
5376
+ DA:310,4
5377
+ DA:317,54
5378
+ DA:318,131
5379
+ DA:326,54
5380
+ DA:327,4
5381
+ DA:328,3
5382
+ DA:331,1
5383
+ DA:342,54
5384
+ DA:343,0
5385
+ DA:346,54
5386
+ DA:347,10
5387
+ DA:350,54
5387
5388
  DA:351,0
5388
5389
  DA:352,0
5389
- DA:354,0
5390
- DA:357,54
5391
- DA:358,1
5392
- DA:361,54
5393
- DA:362,0
5394
- DA:368,54
5395
- DA:369,60
5396
- LF:106
5397
- LH:97
5398
- BRDA:107,0,0,0
5399
- BRDA:107,1,0,0
5400
- BRDA:108,2,0,894
5401
- BRDA:108,2,1,15
5402
- BRDA:123,3,0,0
5403
- BRDA:123,4,0,0
5404
- BRDA:143,5,0,0
5405
- BRDA:143,6,0,0
5406
- BRDA:143,7,0,0
5407
- BRDA:144,8,0,16
5408
- BRDA:144,8,1,12
5409
- BRDA:148,9,0,12
5410
- BRDA:148,9,1,0
5411
- BRDA:171,10,0,71
5412
- BRDA:172,11,0,264
5413
- BRDA:172,11,1,71
5414
- BRDA:179,12,0,0
5415
- BRDA:179,13,0,0
5416
- BRDA:197,14,0,1
5417
- BRDA:197,14,1,2
5418
- BRDA:197,15,0,3
5419
- BRDA:197,15,1,3
5420
- BRDA:206,16,0,0
5421
- BRDA:206,17,0,0
5422
- BRDA:246,18,0,0
5423
- BRDA:255,19,0,5
5424
- BRDA:255,19,1,5
5425
- BRDA:261,20,0,0
5426
- BRDA:261,21,0,0
5427
- BRDA:276,22,0,0
5428
- BRDA:276,23,0,0
5429
- BRDA:291,24,0,0
5430
- BRDA:291,25,0,0
5431
- BRDA:299,26,0,0
5432
- BRDA:299,27,0,39
5433
- BRDA:301,28,0,0
5434
- BRDA:301,28,1,39
5435
- BRDA:308,29,0,0
5436
- BRDA:308,30,0,0
5437
- BRDA:325,31,0,0
5438
- BRDA:325,32,0,0
5439
- BRDA:326,33,0,3
5440
- BRDA:326,33,1,1
5441
- BRDA:349,34,0,0
5442
- BRDA:349,35,0,0
5443
- BRDA:351,36,0,0
5444
- BRDA:351,36,1,0
5445
- BRDA:361,37,0,0
5390
+ DA:353,0
5391
+ DA:355,0
5392
+ DA:358,54
5393
+ DA:359,1
5394
+ DA:362,54
5395
+ DA:363,0
5396
+ DA:369,54
5397
+ DA:370,60
5398
+ LF:107
5399
+ LH:98
5400
+ BRDA:108,0,0,0
5401
+ BRDA:108,1,0,0
5402
+ BRDA:109,2,0,894
5403
+ BRDA:109,2,1,15
5404
+ BRDA:124,3,0,0
5405
+ BRDA:124,4,0,0
5406
+ BRDA:144,5,0,0
5407
+ BRDA:144,6,0,0
5408
+ BRDA:144,7,0,0
5409
+ BRDA:145,8,0,16
5410
+ BRDA:145,8,1,12
5411
+ BRDA:149,9,0,12
5412
+ BRDA:149,9,1,0
5413
+ BRDA:172,10,0,71
5414
+ BRDA:173,11,0,264
5415
+ BRDA:173,11,1,71
5416
+ BRDA:180,12,0,0
5417
+ BRDA:180,13,0,0
5418
+ BRDA:198,14,0,1
5419
+ BRDA:198,14,1,2
5420
+ BRDA:198,15,0,3
5421
+ BRDA:198,15,1,3
5422
+ BRDA:207,16,0,0
5423
+ BRDA:207,17,0,0
5424
+ BRDA:247,18,0,0
5425
+ BRDA:256,19,0,5
5426
+ BRDA:256,19,1,5
5427
+ BRDA:262,20,0,0
5428
+ BRDA:262,21,0,0
5429
+ BRDA:277,22,0,0
5430
+ BRDA:277,23,0,0
5431
+ BRDA:292,24,0,0
5432
+ BRDA:292,25,0,0
5433
+ BRDA:300,26,0,0
5434
+ BRDA:300,27,0,39
5435
+ BRDA:302,28,0,0
5436
+ BRDA:302,28,1,39
5437
+ BRDA:309,29,0,0
5438
+ BRDA:309,30,0,0
5439
+ BRDA:326,31,0,0
5440
+ BRDA:326,32,0,0
5441
+ BRDA:327,33,0,3
5442
+ BRDA:327,33,1,1
5443
+ BRDA:350,34,0,0
5444
+ BRDA:350,35,0,0
5445
+ BRDA:352,36,0,0
5446
+ BRDA:352,36,1,0
5447
+ BRDA:362,37,0,0
5446
5448
  BRF:48
5447
5449
  BRH:18
5448
5450
  end_of_record
@@ -11,10 +11,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  const { streamBackup } = require("../../utilities/fileSystem");
12
12
  exports.exportAppDump = function (ctx) {
13
13
  return __awaiter(this, void 0, void 0, function* () {
14
- const { appId } = ctx.query;
14
+ let { appId, excludeRows } = ctx.query;
15
15
  const appName = decodeURI(ctx.query.appname);
16
+ excludeRows = excludeRows === "true";
16
17
  const backupIdentifier = `${appName}-export-${new Date().getTime()}.txt`;
17
18
  ctx.attachment(backupIdentifier);
18
- ctx.body = yield streamBackup(appId);
19
+ ctx.body = yield streamBackup(appId, excludeRows);
19
20
  });
20
21
  };
package/dist/db/utils.js CHANGED
@@ -54,6 +54,7 @@ exports.isDevAppID = isDevAppID;
54
54
  exports.isProdAppID = isProdAppID;
55
55
  exports.USER_METDATA_PREFIX = `${DocumentTypes.ROW}${SEPARATOR}${InternalTables.USER_METADATA}${SEPARATOR}`;
56
56
  exports.LINK_USER_METADATA_PREFIX = `${DocumentTypes.LINK}${SEPARATOR}${InternalTables.USER_METADATA}${SEPARATOR}`;
57
+ exports.TABLE_ROW_PREFIX = `${DocumentTypes.ROW}${SEPARATOR}${DocumentTypes.TABLE}`;
57
58
  exports.ViewNames = ViewNames;
58
59
  exports.InternalTables = InternalTables;
59
60
  exports.DocumentTypes = DocumentTypes;
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.192-alpha.1",
4
+ "version": "1.0.192-alpha.4",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -70,10 +70,10 @@
70
70
  "license": "GPL-3.0",
71
71
  "dependencies": {
72
72
  "@apidevtools/swagger-parser": "^10.0.3",
73
- "@budibase/backend-core": "^1.0.192-alpha.1",
74
- "@budibase/client": "^1.0.192-alpha.1",
75
- "@budibase/pro": "1.0.192-alpha.1",
76
- "@budibase/string-templates": "^1.0.192-alpha.1",
73
+ "@budibase/backend-core": "^1.0.192-alpha.4",
74
+ "@budibase/client": "^1.0.192-alpha.4",
75
+ "@budibase/pro": "1.0.192-alpha.4",
76
+ "@budibase/string-templates": "^1.0.192-alpha.4",
77
77
  "@bull-board/api": "^3.7.0",
78
78
  "@bull-board/koa": "^3.7.0",
79
79
  "@elastic/elasticsearch": "7.10.0",