@budibase/server 0.9.167-alpha.7 → 0.9.167-alpha.8

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 (163) hide show
  1. package/builder/assets/{index.afb634eb.js → index.553837db.js} +1 -1
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +106 -107
  4. package/coverage/coverage-final.json +3 -3
  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/hosting.js.html +1 -1
  16. package/coverage/lcov-report/api/controllers/index.html +1 -1
  17. package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
  18. package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
  19. package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
  20. package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
  21. package/coverage/lcov-report/api/controllers/query.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/index.js.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/internalSearch.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/index.html +10 -10
  33. package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
  34. package/coverage/lcov-report/api/controllers/table/utils.js.html +8 -38
  35. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  36. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  39. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  40. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  42. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  43. package/coverage/lcov-report/api/index.html +1 -1
  44. package/coverage/lcov-report/api/index.js.html +1 -1
  45. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  46. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  47. package/coverage/lcov-report/api/routes/application.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/hosting.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/index.html +1 -1
  58. package/coverage/lcov-report/api/routes/index.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  60. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/row.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/static.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  74. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  75. package/coverage/lcov-report/automations/actions.js.html +1 -1
  76. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  77. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  78. package/coverage/lcov-report/automations/index.html +1 -1
  79. package/coverage/lcov-report/automations/index.js.html +1 -1
  80. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  81. package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/index.html +1 -1
  89. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  91. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  96. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  97. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  98. package/coverage/lcov-report/automations/thread.js.html +1 -1
  99. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  100. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  101. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  105. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  106. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  107. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  108. package/coverage/lcov-report/automations/utils.js.html +1 -1
  109. package/coverage/lcov-report/constants/index.html +1 -1
  110. package/coverage/lcov-report/constants/index.js.html +1 -1
  111. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  112. package/coverage/lcov-report/constants/screens.js.html +1 -1
  113. package/coverage/lcov-report/db/client.js.html +1 -1
  114. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  115. package/coverage/lcov-report/db/index.html +1 -1
  116. package/coverage/lcov-report/db/index.js.html +1 -1
  117. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +12 -12
  118. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  119. package/coverage/lcov-report/db/linkedRows/index.js.html +9 -9
  120. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  121. package/coverage/lcov-report/db/newid.js.html +1 -1
  122. package/coverage/lcov-report/db/utils.js.html +1 -1
  123. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  124. package/coverage/lcov-report/events/index.html +1 -1
  125. package/coverage/lcov-report/events/index.js.html +1 -1
  126. package/coverage/lcov-report/events/utils.js.html +1 -1
  127. package/coverage/lcov-report/index.html +10 -10
  128. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  129. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  130. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  131. package/coverage/lcov-report/middleware/authorized.js.html +1 -1
  132. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  133. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  134. package/coverage/lcov-report/middleware/index.html +1 -1
  135. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  136. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  137. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  138. package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
  139. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  140. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  141. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  142. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  143. package/coverage/lcov-report/utilities/global.js.html +1 -1
  144. package/coverage/lcov-report/utilities/index.html +1 -1
  145. package/coverage/lcov-report/utilities/index.js.html +1 -1
  146. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  147. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  148. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  149. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  150. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  151. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  152. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  153. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  154. package/coverage/lcov-report/utilities/security.js.html +1 -1
  155. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  156. package/coverage/lcov-report/utilities/users.js.html +1 -1
  157. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  158. package/coverage/lcov.info +177 -178
  159. package/dist/api/controllers/table/utils.js +2 -10
  160. package/dist/package.json +4 -4
  161. package/dist/tsconfig.tsbuildinfo +1 -1
  162. package/package.json +5 -5
  163. package/src/api/controllers/table/utils.js +2 -12
@@ -127,7 +127,7 @@ module.exports = ScriptRunner
127
127
  <div class='footer quiet pad2 space-top1 center small'>
128
128
  Code coverage generated by
129
129
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
130
- at Fri Oct 15 2021 13:09:45 GMT+0000 (Coordinated Universal Time)
130
+ at Fri Oct 15 2021 14:55:38 GMT+0000 (Coordinated Universal Time)
131
131
  </div>
132
132
  </div>
133
133
  <script src="../prettify.js"></script>
@@ -265,7 +265,7 @@ exports.CURRENTLY_SUPPORTED_LEVELS = CURRENTLY_SUPPORTED_LEVELS
265
265
  <div class='footer quiet pad2 space-top1 center small'>
266
266
  Code coverage generated by
267
267
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
268
- at Fri Oct 15 2021 13:09:45 GMT+0000 (Coordinated Universal Time)
268
+ at Fri Oct 15 2021 14:55:38 GMT+0000 (Coordinated Universal Time)
269
269
  </div>
270
270
  </div>
271
271
  <script src="../prettify.js"></script>
@@ -85,7 +85,7 @@
85
85
  <div class='footer quiet pad2 space-top1 center small'>
86
86
  Code coverage generated by
87
87
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
88
- at Fri Oct 15 2021 13:09:45 GMT+0000 (Coordinated Universal Time)
88
+ at Fri Oct 15 2021 14:55:38 GMT+0000 (Coordinated Universal Time)
89
89
  </div>
90
90
  </div>
91
91
  <script src="../prettify.js"></script>
@@ -136,7 +136,7 @@ exports.getFullUser = async (ctx, userId) =&gt; {
136
136
  <div class='footer quiet pad2 space-top1 center small'>
137
137
  Code coverage generated by
138
138
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
139
- at Fri Oct 15 2021 13:09:45 GMT+0000 (Coordinated Universal Time)
139
+ at Fri Oct 15 2021 14:55:38 GMT+0000 (Coordinated Universal Time)
140
140
  </div>
141
141
  </div>
142
142
  <script src="../prettify.js"></script>
@@ -403,7 +403,7 @@ exports.removeAppFromUserRoles = async (ctx, appId) =&gt; {
403
403
  <div class='footer quiet pad2 space-top1 center small'>
404
404
  Code coverage generated by
405
405
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
406
- at Fri Oct 15 2021 13:09:45 GMT+0000 (Coordinated Universal Time)
406
+ at Fri Oct 15 2021 14:55:38 GMT+0000 (Coordinated Universal Time)
407
407
  </div>
408
408
  </div>
409
409
  <script src="../prettify.js"></script>
@@ -3052,23 +3052,23 @@ BRH:28
3052
3052
  end_of_record
3053
3053
  TN:
3054
3054
  SF:src/api/controllers/table/utils.js
3055
- FN:14,(anonymous_0)
3056
- FN:20,(anonymous_1)
3057
- FN:30,(anonymous_2)
3058
- FN:35,(anonymous_3)
3059
- FN:45,(anonymous_4)
3060
- FN:65,(anonymous_5)
3061
- FN:115,(anonymous_6)
3062
- FN:123,(anonymous_7)
3063
- FN:128,(anonymous_8)
3064
- FN:159,(anonymous_9)
3065
- FN:173,(anonymous_10)
3066
- FN:186,(anonymous_11)
3067
- FN:195,(anonymous_12)
3068
- FN:206,(anonymous_13)
3069
- FN:217,(anonymous_14)
3070
- FN:222,(anonymous_15)
3071
- FN:231,(anonymous_16)
3055
+ FN:13,(anonymous_0)
3056
+ FN:19,(anonymous_1)
3057
+ FN:29,(anonymous_2)
3058
+ FN:34,(anonymous_3)
3059
+ FN:44,(anonymous_4)
3060
+ FN:64,(anonymous_5)
3061
+ FN:105,(anonymous_6)
3062
+ FN:113,(anonymous_7)
3063
+ FN:118,(anonymous_8)
3064
+ FN:149,(anonymous_9)
3065
+ FN:163,(anonymous_10)
3066
+ FN:176,(anonymous_11)
3067
+ FN:185,(anonymous_12)
3068
+ FN:196,(anonymous_13)
3069
+ FN:207,(anonymous_14)
3070
+ FN:212,(anonymous_15)
3071
+ FN:221,(anonymous_16)
3072
3072
  FNF:17
3073
3073
  FNH:14
3074
3074
  FNDA:99,(anonymous_0)
@@ -3090,160 +3090,159 @@ FNDA:0,(anonymous_15)
3090
3090
  FNDA:0,(anonymous_16)
3091
3091
  DA:1,34
3092
3092
  DA:2,34
3093
- DA:3,34
3093
+ DA:7,34
3094
3094
  DA:8,34
3095
3095
  DA:9,34
3096
3096
  DA:10,34
3097
3097
  DA:11,34
3098
- DA:12,34
3099
- DA:14,34
3098
+ DA:13,34
3099
+ DA:14,99
3100
3100
  DA:15,99
3101
3101
  DA:16,99
3102
3102
  DA:17,99
3103
- DA:18,99
3104
- DA:19,4
3105
- DA:20,11
3106
- DA:24,99
3107
- DA:25,1
3103
+ DA:18,4
3104
+ DA:19,11
3105
+ DA:23,99
3106
+ DA:24,1
3107
+ DA:29,1
3108
3108
  DA:30,1
3109
3109
  DA:31,1
3110
3110
  DA:32,1
3111
- DA:33,1
3111
+ DA:33,0
3112
3112
  DA:34,0
3113
- DA:35,0
3114
- DA:37,1
3115
- DA:39,1
3116
- DA:41,99
3117
- DA:45,34
3118
- DA:46,4
3119
- DA:47,0
3120
- DA:50,4
3121
- DA:53,4
3122
- DA:54,11
3123
- DA:59,0
3124
- DA:62,4
3125
- DA:65,34
3113
+ DA:36,1
3114
+ DA:38,1
3115
+ DA:40,99
3116
+ DA:44,34
3117
+ DA:45,4
3118
+ DA:46,0
3119
+ DA:49,4
3120
+ DA:52,4
3121
+ DA:53,11
3122
+ DA:58,0
3123
+ DA:61,4
3124
+ DA:64,34
3125
+ DA:65,100
3126
3126
  DA:66,100
3127
- DA:67,100
3128
- DA:69,1
3127
+ DA:68,1
3128
+ DA:70,1
3129
3129
  DA:71,1
3130
3130
  DA:72,1
3131
3131
  DA:73,1
3132
3132
  DA:74,1
3133
3133
  DA:75,1
3134
- DA:76,1
3134
+ DA:78,1
3135
3135
  DA:79,1
3136
- DA:80,1
3137
- DA:82,1
3138
- DA:84,4
3139
- DA:89,0
3140
- DA:97,1
3141
- DA:108,1
3142
- DA:109,1
3143
- DA:110,1
3144
- DA:112,100
3145
- DA:115,34
3146
- DA:116,99
3147
- DA:118,99
3148
- DA:119,2
3149
- DA:120,2
3150
- DA:122,2
3151
- DA:123,3
3152
- DA:126,2
3153
- DA:127,1
3154
- DA:128,1
3155
- DA:132,1
3156
- DA:133,1
3157
- DA:135,1
3158
- DA:146,1
3159
- DA:156,99
3160
- DA:159,34
3161
- DA:161,99
3162
- DA:162,1
3163
- DA:164,5
3164
- DA:165,5
3136
+ DA:81,1
3137
+ DA:83,4
3138
+ DA:88,0
3139
+ DA:95,1
3140
+ DA:98,1
3141
+ DA:99,1
3142
+ DA:100,1
3143
+ DA:102,100
3144
+ DA:105,34
3145
+ DA:106,99
3146
+ DA:108,99
3147
+ DA:109,2
3148
+ DA:110,2
3149
+ DA:112,2
3150
+ DA:113,3
3151
+ DA:116,2
3152
+ DA:117,1
3153
+ DA:118,1
3154
+ DA:122,1
3155
+ DA:123,1
3156
+ DA:125,1
3157
+ DA:136,1
3158
+ DA:146,99
3159
+ DA:149,34
3160
+ DA:151,99
3161
+ DA:152,1
3162
+ DA:154,5
3163
+ DA:155,5
3164
+ DA:159,99
3165
+ DA:164,99
3166
+ DA:165,99
3167
+ DA:166,99
3168
+ DA:167,99
3165
3169
  DA:169,99
3166
- DA:174,99
3167
- DA:175,99
3168
- DA:176,99
3170
+ DA:170,99
3171
+ DA:172,99
3169
3172
  DA:177,99
3170
- DA:179,99
3173
+ DA:178,4
3171
3174
  DA:180,99
3172
- DA:182,99
3173
- DA:187,99
3174
- DA:188,4
3175
- DA:190,99
3175
+ DA:181,99
3176
+ DA:186,99
3176
3177
  DA:191,99
3177
- DA:196,99
3178
- DA:201,99
3179
- DA:202,99
3180
- DA:207,99
3178
+ DA:192,99
3179
+ DA:197,99
3180
+ DA:198,99
3181
+ DA:204,99
3181
3182
  DA:208,99
3182
- DA:214,99
3183
- DA:218,99
3184
- DA:222,34
3183
+ DA:212,34
3184
+ DA:213,0
3185
+ DA:214,0
3186
+ DA:215,0
3187
+ DA:216,0
3188
+ DA:218,0
3189
+ DA:221,34
3190
+ DA:222,0
3185
3191
  DA:223,0
3186
- DA:224,0
3187
- DA:225,0
3188
- DA:226,0
3189
- DA:228,0
3190
- DA:231,34
3191
- DA:232,0
3192
- DA:233,0
3193
- DA:236,34
3194
- LF:103
3195
- LH:91
3196
- BRDA:18,0,0,4
3197
- BRDA:18,0,1,95
3198
- BRDA:18,1,0,99
3199
- BRDA:18,1,1,4
3200
- BRDA:18,1,2,4
3201
- BRDA:24,2,0,1
3202
- BRDA:24,2,1,98
3203
- BRDA:24,3,0,99
3204
- BRDA:24,3,1,98
3205
- BRDA:31,4,0,1
3206
- BRDA:31,4,1,0
3207
- BRDA:34,5,0,0
3208
- BRDA:34,5,1,0
3209
- BRDA:46,6,0,0
3210
- BRDA:46,6,1,4
3211
- BRDA:54,7,0,0
3212
- BRDA:54,7,1,11
3213
- BRDA:55,8,0,11
3214
- BRDA:55,8,1,0
3215
- BRDA:55,8,2,0
3216
- BRDA:67,9,0,1
3217
- BRDA:67,9,1,99
3218
- BRDA:67,10,0,100
3219
- BRDA:67,10,1,1
3220
- BRDA:84,11,0,0
3221
- BRDA:84,11,1,4
3222
- BRDA:85,12,0,4
3223
- BRDA:85,12,1,0
3224
- BRDA:85,12,2,0
3225
- BRDA:118,13,0,2
3226
- BRDA:118,13,1,97
3227
- BRDA:118,14,0,99
3228
- BRDA:118,14,1,2
3229
- BRDA:126,15,0,1
3230
- BRDA:126,15,1,1
3231
- BRDA:132,16,0,1
3232
- BRDA:132,16,1,0
3233
- BRDA:161,17,0,1
3234
- BRDA:161,17,1,98
3235
- BRDA:164,18,0,5
3236
- BRDA:164,18,1,0
3237
- BRDA:176,19,0,99
3238
- BRDA:176,19,1,0
3239
- BRDA:176,20,0,99
3240
- BRDA:176,20,1,99
3241
- BRDA:187,21,0,4
3242
- BRDA:187,21,1,95
3243
- BRDA:225,22,0,0
3244
- BRDA:225,22,1,0
3245
- BRDA:225,23,0,0
3246
- BRDA:225,23,1,0
3192
+ DA:226,34
3193
+ LF:102
3194
+ LH:90
3195
+ BRDA:17,0,0,4
3196
+ BRDA:17,0,1,95
3197
+ BRDA:17,1,0,99
3198
+ BRDA:17,1,1,4
3199
+ BRDA:17,1,2,4
3200
+ BRDA:23,2,0,1
3201
+ BRDA:23,2,1,98
3202
+ BRDA:23,3,0,99
3203
+ BRDA:23,3,1,98
3204
+ BRDA:30,4,0,1
3205
+ BRDA:30,4,1,0
3206
+ BRDA:33,5,0,0
3207
+ BRDA:33,5,1,0
3208
+ BRDA:45,6,0,0
3209
+ BRDA:45,6,1,4
3210
+ BRDA:53,7,0,0
3211
+ BRDA:53,7,1,11
3212
+ BRDA:54,8,0,11
3213
+ BRDA:54,8,1,0
3214
+ BRDA:54,8,2,0
3215
+ BRDA:66,9,0,1
3216
+ BRDA:66,9,1,99
3217
+ BRDA:66,10,0,100
3218
+ BRDA:66,10,1,1
3219
+ BRDA:83,11,0,0
3220
+ BRDA:83,11,1,4
3221
+ BRDA:84,12,0,4
3222
+ BRDA:84,12,1,0
3223
+ BRDA:84,12,2,0
3224
+ BRDA:108,13,0,2
3225
+ BRDA:108,13,1,97
3226
+ BRDA:108,14,0,99
3227
+ BRDA:108,14,1,2
3228
+ BRDA:116,15,0,1
3229
+ BRDA:116,15,1,1
3230
+ BRDA:122,16,0,1
3231
+ BRDA:122,16,1,0
3232
+ BRDA:151,17,0,1
3233
+ BRDA:151,17,1,98
3234
+ BRDA:154,18,0,5
3235
+ BRDA:154,18,1,0
3236
+ BRDA:166,19,0,99
3237
+ BRDA:166,19,1,0
3238
+ BRDA:166,20,0,99
3239
+ BRDA:166,20,1,99
3240
+ BRDA:177,21,0,4
3241
+ BRDA:177,21,1,95
3242
+ BRDA:215,22,0,0
3243
+ BRDA:215,22,1,0
3244
+ BRDA:215,23,0,0
3245
+ BRDA:215,23,1,0
3247
3246
  BRF:51
3248
3247
  BRH:34
3249
3248
  end_of_record
@@ -5620,9 +5619,9 @@ FN:457,(anonymous_26)
5620
5619
  FNF:27
5621
5620
  FNH:24
5622
5621
  FNDA:9,LinkDocument
5623
- FNDA:188,(anonymous_1)
5622
+ FNDA:187,(anonymous_1)
5624
5623
  FNDA:52,(anonymous_2)
5625
- FNDA:181,(anonymous_3)
5624
+ FNDA:180,(anonymous_3)
5626
5625
  FNDA:27,(anonymous_4)
5627
5626
  FNDA:9,(anonymous_5)
5628
5627
  FNDA:22,(anonymous_6)
@@ -5655,22 +5654,22 @@ DA:32,9
5655
5654
  DA:41,9
5656
5655
  DA:42,9
5657
5656
  DA:47,9
5658
- DA:56,188
5659
- DA:57,188
5660
- DA:58,188
5661
- DA:59,188
5662
- DA:60,188
5663
- DA:61,188
5657
+ DA:56,187
5658
+ DA:57,187
5659
+ DA:58,187
5660
+ DA:59,187
5661
+ DA:60,187
5662
+ DA:61,187
5664
5663
  DA:70,52
5665
5664
  DA:71,5
5666
5665
  DA:74,52
5667
- DA:85,181
5666
+ DA:85,180
5668
5667
  DA:86,5
5669
- DA:88,181
5670
- DA:89,454
5671
- DA:90,454
5668
+ DA:88,180
5669
+ DA:89,450
5670
+ DA:90,450
5672
5671
  DA:91,41
5673
- DA:94,140
5672
+ DA:94,139
5674
5673
  DA:101,27
5675
5674
  DA:113,9
5676
5675
  DA:124,22
@@ -5805,9 +5804,9 @@ BRDA:72,1,0,5
5805
5804
  BRDA:72,1,1,0
5806
5805
  BRDA:84,2,0,5
5807
5806
  BRDA:85,3,0,5
5808
- BRDA:85,3,1,176
5807
+ BRDA:85,3,1,175
5809
5808
  BRDA:90,4,0,41
5810
- BRDA:90,4,1,413
5809
+ BRDA:90,4,1,409
5811
5810
  BRDA:126,5,0,43
5812
5811
  BRDA:126,5,1,39
5813
5812
  BRDA:130,6,0,1
@@ -5905,7 +5904,7 @@ FNDA:18,(anonymous_8)
5905
5904
  FNDA:18,(anonymous_9)
5906
5905
  FNDA:18,(anonymous_10)
5907
5906
  FNDA:18,(anonymous_11)
5908
- FNDA:178,(anonymous_12)
5907
+ FNDA:177,(anonymous_12)
5909
5908
  FNDA:100,(anonymous_13)
5910
5909
  FNDA:25,(anonymous_14)
5911
5910
  FNDA:25,(anonymous_15)
@@ -5948,16 +5947,16 @@ DA:87,18
5948
5947
  DA:89,30
5949
5948
  DA:90,30
5950
5949
  DA:105,34
5951
- DA:106,178
5952
- DA:107,178
5953
- DA:108,178
5950
+ DA:106,177
5951
+ DA:107,177
5952
+ DA:108,177
5954
5953
  DA:109,0
5955
- DA:112,178
5954
+ DA:112,177
5956
5955
  DA:113,101
5957
- DA:115,178
5958
- DA:116,178
5959
- DA:117,178
5960
- DA:122,137
5956
+ DA:115,177
5957
+ DA:116,177
5958
+ DA:117,177
5959
+ DA:122,136
5961
5960
  DA:125,0
5962
5961
  DA:127,41
5963
5962
  DA:130,21
@@ -6011,17 +6010,17 @@ LH:89
6011
6010
  BRDA:41,0,0,53
6012
6011
  BRDA:41,0,1,60
6013
6012
  BRDA:107,1,0,101
6014
- BRDA:107,1,1,77
6013
+ BRDA:107,1,1,76
6015
6014
  BRDA:108,2,0,0
6016
- BRDA:108,2,1,178
6015
+ BRDA:108,2,1,177
6017
6016
  BRDA:112,3,0,101
6018
- BRDA:112,3,1,77
6019
- BRDA:112,4,0,178
6017
+ BRDA:112,3,1,76
6018
+ BRDA:112,4,0,177
6020
6019
  BRDA:112,4,1,101
6021
- BRDA:117,5,0,137
6020
+ BRDA:117,5,0,136
6022
6021
  BRDA:117,5,1,41
6023
- BRDA:118,6,0,178
6024
- BRDA:118,6,1,137
6022
+ BRDA:118,6,0,177
6023
+ BRDA:118,6,1,136
6025
6024
  BRDA:118,6,2,3
6026
6025
  BRDA:127,7,0,21
6027
6026
  BRDA:127,7,1,21
@@ -9,7 +9,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  const CouchDB = require("../../../db");
12
- const linkRows = require("../../../db/linkedRows");
13
12
  const csvParser = require("../../../utilities/csvParser");
14
13
  const { getRowParams, generateRowID, InternalTables, } = require("../../../db/utils");
15
14
  const { isEqual } = require("lodash/fp");
@@ -86,16 +85,9 @@ exports.handleDataImport = (appId, user, table, dataImport) => __awaiter(void 0,
86
85
  ];
87
86
  }
88
87
  }
89
- // make sure link rows are up to date
90
- finalData.push(linkRows.updateLinks({
91
- appId,
92
- eventType: linkRows.EventType.ROW_SAVE,
93
- row,
94
- tableId: row.tableId,
95
- table,
96
- }));
88
+ finalData.push(row);
97
89
  }
98
- yield db.bulkDocs(yield Promise.all(finalData));
90
+ yield db.bulkDocs(finalData);
99
91
  let response = yield db.put(table);
100
92
  table._rev = response._rev;
101
93
  }
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "0.9.167-alpha.6",
4
+ "version": "0.9.167-alpha.7",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.js",
7
7
  "repository": {
@@ -68,9 +68,9 @@
68
68
  "author": "Budibase",
69
69
  "license": "AGPL-3.0-or-later",
70
70
  "dependencies": {
71
- "@budibase/auth": "^0.9.167-alpha.6",
72
- "@budibase/client": "^0.9.167-alpha.6",
73
- "@budibase/string-templates": "^0.9.167-alpha.6",
71
+ "@budibase/auth": "^0.9.167-alpha.7",
72
+ "@budibase/client": "^0.9.167-alpha.7",
73
+ "@budibase/string-templates": "^0.9.167-alpha.7",
74
74
  "@elastic/elasticsearch": "7.10.0",
75
75
  "@koa/router": "8.0.0",
76
76
  "@sendgrid/mail": "7.1.1",