@budibase/server 1.0.46-alpha.6 → 1.0.46-alpha.7

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 (178) hide show
  1. package/builder/assets/{index.00221ff2.js → index.af9e71d8.js} +1 -1
  2. package/builder/index.html +1 -1
  3. package/coverage/clover.xml +136 -132
  4. package/coverage/coverage-final.json +1 -1
  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 +38 -17
  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 +14 -14
  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/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/index.js.html +1 -1
  22. package/coverage/lcov-report/api/controllers/query/validation.js.html +1 -1
  23. package/coverage/lcov-report/api/controllers/role.js.html +1 -1
  24. package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
  25. package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
  26. package/coverage/lcov-report/api/controllers/row/index.html +1 -1
  27. package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
  28. package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
  29. package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
  30. package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
  31. package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
  32. package/coverage/lcov-report/api/controllers/script.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/table/internal.js.html +1 -1
  37. package/coverage/lcov-report/api/controllers/table/utils.js.html +1 -1
  38. package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
  39. package/coverage/lcov-report/api/controllers/user.js.html +1 -1
  40. package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
  41. package/coverage/lcov-report/api/controllers/view/index.html +1 -1
  42. package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
  43. package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
  44. package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
  45. package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
  46. package/coverage/lcov-report/api/index.html +1 -1
  47. package/coverage/lcov-report/api/index.js.html +1 -1
  48. package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
  49. package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
  50. package/coverage/lcov-report/api/routes/application.js.html +1 -1
  51. package/coverage/lcov-report/api/routes/auth.js.html +1 -1
  52. package/coverage/lcov-report/api/routes/automation.js.html +1 -1
  53. package/coverage/lcov-report/api/routes/backup.js.html +1 -1
  54. package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
  55. package/coverage/lcov-report/api/routes/component.js.html +1 -1
  56. package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
  57. package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
  58. package/coverage/lcov-report/api/routes/dev.js.html +1 -1
  59. package/coverage/lcov-report/api/routes/index.html +1 -1
  60. package/coverage/lcov-report/api/routes/index.js.html +1 -1
  61. package/coverage/lcov-report/api/routes/integration.js.html +1 -1
  62. package/coverage/lcov-report/api/routes/layout.js.html +1 -1
  63. package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
  64. package/coverage/lcov-report/api/routes/permission.js.html +1 -1
  65. package/coverage/lcov-report/api/routes/query.js.html +1 -1
  66. package/coverage/lcov-report/api/routes/role.js.html +1 -1
  67. package/coverage/lcov-report/api/routes/routing.js.html +1 -1
  68. package/coverage/lcov-report/api/routes/row.js.html +1 -1
  69. package/coverage/lcov-report/api/routes/screen.js.html +1 -1
  70. package/coverage/lcov-report/api/routes/script.js.html +1 -1
  71. package/coverage/lcov-report/api/routes/static.js.html +1 -1
  72. package/coverage/lcov-report/api/routes/table.js.html +1 -1
  73. package/coverage/lcov-report/api/routes/templates.js.html +1 -1
  74. package/coverage/lcov-report/api/routes/user.js.html +1 -1
  75. package/coverage/lcov-report/api/routes/view.js.html +1 -1
  76. package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
  77. package/coverage/lcov-report/automations/actions.js.html +1 -1
  78. package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
  79. package/coverage/lcov-report/automations/bullboard.js.html +1 -1
  80. package/coverage/lcov-report/automations/index.html +1 -1
  81. package/coverage/lcov-report/automations/index.js.html +1 -1
  82. package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
  83. package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
  84. package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
  85. package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
  86. package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
  87. package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
  88. package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
  89. package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
  90. package/coverage/lcov-report/automations/steps/index.html +1 -1
  91. package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
  92. package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
  93. package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
  94. package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
  95. package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
  96. package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
  97. package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
  98. package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
  99. package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
  100. package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
  101. package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
  102. package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
  103. package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
  104. package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
  105. package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
  106. package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
  107. package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
  108. package/coverage/lcov-report/automations/triggers.js.html +1 -1
  109. package/coverage/lcov-report/automations/utils.js.html +1 -1
  110. package/coverage/lcov-report/constants/index.html +1 -1
  111. package/coverage/lcov-report/constants/index.js.html +1 -1
  112. package/coverage/lcov-report/constants/layouts.js.html +1 -1
  113. package/coverage/lcov-report/constants/screens.js.html +1 -1
  114. package/coverage/lcov-report/db/client.js.html +1 -1
  115. package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
  116. package/coverage/lcov-report/db/index.html +1 -1
  117. package/coverage/lcov-report/db/index.js.html +1 -1
  118. package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
  119. package/coverage/lcov-report/db/linkedRows/index.html +1 -1
  120. package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
  121. package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
  122. package/coverage/lcov-report/db/newid.js.html +1 -1
  123. package/coverage/lcov-report/db/utils.js.html +1 -1
  124. package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
  125. package/coverage/lcov-report/events/index.html +1 -1
  126. package/coverage/lcov-report/events/index.js.html +1 -1
  127. package/coverage/lcov-report/events/utils.js.html +1 -1
  128. package/coverage/lcov-report/index.html +15 -15
  129. package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
  130. package/coverage/lcov-report/integrations/tests/index.html +1 -1
  131. package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
  132. package/coverage/lcov-report/middleware/authorized.js.html +1 -1
  133. package/coverage/lcov-report/middleware/builder.js.html +1 -1
  134. package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
  135. package/coverage/lcov-report/middleware/index.html +1 -1
  136. package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
  137. package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
  138. package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
  139. package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
  140. package/coverage/lcov-report/middleware/utils.js.html +1 -1
  141. package/coverage/lcov-report/migrations/usageQuotas/index.html +1 -1
  142. package/coverage/lcov-report/migrations/usageQuotas/index.js.html +1 -1
  143. package/coverage/lcov-report/migrations/usageQuotas/syncApps.js.html +1 -1
  144. package/coverage/lcov-report/migrations/usageQuotas/syncRows.js.html +1 -1
  145. package/coverage/lcov-report/threads/automation.js.html +1 -1
  146. package/coverage/lcov-report/threads/index.html +1 -1
  147. package/coverage/lcov-report/threads/index.js.html +1 -1
  148. package/coverage/lcov-report/threads/query.js.html +1 -1
  149. package/coverage/lcov-report/threads/utils.js.html +1 -1
  150. package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
  151. package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
  152. package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
  153. package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
  154. package/coverage/lcov-report/utilities/global.js.html +1 -1
  155. package/coverage/lcov-report/utilities/index.html +1 -1
  156. package/coverage/lcov-report/utilities/index.js.html +1 -1
  157. package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
  158. package/coverage/lcov-report/utilities/queue/index.html +1 -1
  159. package/coverage/lcov-report/utilities/routing/index.html +1 -1
  160. package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
  161. package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
  162. package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
  163. package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
  164. package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
  165. package/coverage/lcov-report/utilities/security.js.html +1 -1
  166. package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
  167. package/coverage/lcov-report/utilities/usageQuota/index.html +1 -1
  168. package/coverage/lcov-report/utilities/usageQuota/index.js.html +1 -1
  169. package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
  170. package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +1 -1
  171. package/coverage/lcov-report/utilities/users.js.html +1 -1
  172. package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
  173. package/coverage/lcov.info +210 -198
  174. package/dist/api/controllers/application.js +14 -6
  175. package/dist/package.json +4 -4
  176. package/dist/tsconfig.tsbuildinfo +1 -1
  177. package/package.json +5 -5
  178. package/src/api/controllers/application.js +14 -7
@@ -1301,7 +1301,7 @@ function print() { __p += __j.call(arguments, '') }
1301
1301
  This action cannot be undone.`)},m(o,l){E(o,e,l),E(o,n,l),D(n,i),D(n,a),E(o,s,l)},p(o,l){l&1&&r!==(r=o[0].name+"")&&Be(i,r)},d(o){o&&S(e),o&&S(n),o&&S(s)}}}function Ope(t){let e,n,r,i,a,s;e=new _i({props:{$$slots:{control:[Tpe],default:[wpe]},$$scope:{ctx:t}}});let o={okText:"Delete Automation",onOk:t[3],title:"Confirm Deletion",$$slots:{default:[Cpe]},$$scope:{ctx:t}};r=new ai({props:o}),t[4](r);let l={automation:t[0]};return a=new Spe({props:l}),t[5](a),{c(){T(e.$$.fragment),n=L(),T(r.$$.fragment),i=L(),T(a.$$.fragment)},m(u,c){C(e,u,c),E(u,n,c),C(r,u,c),E(u,i,c),C(a,u,c),s=!0},p(u,[c]){const f={};c&134&&(f.$$scope={dirty:c,ctx:u}),e.$set(f);const d={};c&129&&(d.$$scope={dirty:c,ctx:u}),r.$set(d);const p={};c&1&&(p.automation=u[0]),a.$set(p)},i(u){s||(m(e.$$.fragment,u),m(r.$$.fragment,u),m(a.$$.fragment,u),s=!0)},o(u){g(e.$$.fragment,u),g(r.$$.fragment,u),g(a.$$.fragment,u),s=!1},d(u){O(e,u),u&&S(n),t[4](null),O(r,u),u&&S(i),t[5](null),O(a,u)}}}function Npe(t,e,n){let r;_e(t,Jt,c=>n(6,r=c));let{automation:i}=e,a,s;async function o(){await mn.actions.delete(i),Ke.success("Automation deleted."),r("../automate")}function l(c){ae[c?"unshift":"push"](()=>{a=c,n(1,a)})}function u(c){ae[c?"unshift":"push"](()=>{s=c,n(2,s)})}return t.$$set=c=>{"automation"in c&&n(0,i=c.automation)},[i,a,s,o,l,u]}class Rpe extends fe{constructor(e){super();de(this,e,Npe,Ope,ce,{automation:0})}}function RR(t,e,n){const r=t.slice();return r[5]=e[n],r[7]=n,r}function Ape(t){let e,n,r;return e=new Rpe({props:{automation:t[5]}}),{c(){T(e.$$.fragment),n=L()},m(i,a){C(e,i,a),E(i,n,a),r=!0},p(i,a){const s={};a&1&&(s.automation=i[5]),e.$set(s)},i(i){r||(m(e.$$.fragment,i),r=!0)},o(i){g(e.$$.fragment,i),r=!1},d(i){O(e,i),i&&S(n)}}}function AR(t){let e,n;function r(){return t[3](t[5])}return e=new Fs({props:{border:t[7]>0,icon:"ShareAndroid",text:t[5].name,selected:t[5]._id===t[1],$$slots:{default:[Ape]},$$scope:{ctx:t}}}),e.$on("click",r),{c(){T(e.$$.fragment)},m(i,a){C(e,i,a),n=!0},p(i,a){t=i;const s={};a&1&&(s.text=t[5].name),a&3&&(s.selected=t[5]._id===t[1]),a&257&&(s.$$scope={dirty:a,ctx:t}),e.$set(s)},i(i){n||(m(e.$$.fragment,i),n=!0)},o(i){g(e.$$.fragment,i),n=!1},d(i){O(e,i)}}}function kpe(t){let e,n,r=t[0].automations,i=[];for(let s=0;s<r.length;s+=1)i[s]=AR(RR(t,r,s));const a=s=>g(i[s],1,1,()=>{i[s]=null});return{c(){e=U("div");for(let s=0;s<i.length;s+=1)i[s].c();$(e,"class","automations-list svelte-g64vb")},m(s,o){E(s,e,o);for(let l=0;l<i.length;l+=1)i[l].m(e,null);n=!0},p(s,[o]){if(o&7){r=s[0].automations;let l;for(l=0;l<r.length;l+=1){const u=RR(s,r,l);i[l]?(i[l].p(u,o),m(i[l],1)):(i[l]=AR(u),i[l].c(),m(i[l],1),i[l].m(e,null))}for(le(),l=r.length;l<i.length;l+=1)a(l);ue()}},i(s){if(!n){for(let o=0;o<r.length;o+=1)m(i[o]);n=!0}},o(s){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)g(i[o]);n=!1},d(s){s&&S(e),Nt(i,s)}}}function Ipe(t,e,n){let r,i,a;_e(t,Jt,l=>n(4,i=l)),_e(t,mn,l=>n(0,a=l)),_n(()=>{mn.actions.fetch()});function s(l){mn.actions.select(l),i(`./${l._id}`)}const o=l=>s(l);return t.$$.update=()=>{var l,u;t.$$.dirty&1&&n(1,r=(u=(l=a.selectedAutomation)==null?void 0:l.automation)==null?void 0:u._id)},[a,r,s,o]}class Dpe extends fe{constructor(e){super();de(this,e,Ipe,kpe,ce,{})}}function kR(t,e,n){const r=t.slice();return r[17]=e[n][0],r[18]=e[n][1],r}function Mpe(t){let e;return{c(){e=W(`Please name your automation, then select a trigger. Every automation must
1302
1302
  start with a trigger.`)},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function Lpe(t){let e;return{c(){e=W("Triggers")},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function Ppe(t){let e=t[18].name+"",n;return{c(){n=W(e)},m(r,i){E(r,n,i)},p(r,i){i&8&&e!==(e=r[18].name+"")&&Be(n,e)},d(r){r&&S(n)}}}function IR(t){let e,n,r,i,a,s,o,l,u,c;r=new Ot({props:{name:t[18].icon}}),s=new rt({props:{size:"S",$$slots:{default:[Ppe]},$$scope:{ctx:t}}});function f(){return t[13](t[18])}return{c(){e=U("div"),n=U("div"),T(r.$$.fragment),i=L(),a=U("span"),T(s.$$.fragment),o=L(),$(a,"class","icon-spacing svelte-d3iboa"),$(n,"class","item-body svelte-d3iboa"),$(e,"class","item svelte-d3iboa"),pe(e,"selected",t[2]===t[18].name)},m(d,p){E(d,e,p),D(e,n),C(r,n,null),D(n,i),D(n,a),C(s,a,null),D(e,o),l=!0,u||(c=ze(e,"click",f),u=!0)},p(d,p){t=d;const _={};p&8&&(_.name=t[18].icon),r.$set(_);const h={};p&2097160&&(h.$$scope={dirty:p,ctx:t}),s.$set(h),p&12&&pe(e,"selected",t[2]===t[18].name)},i(d){l||(m(r.$$.fragment,d),m(s.$$.fragment,d),l=!0)},o(d){g(r.$$.fragment,d),g(s.$$.fragment,d),l=!1},d(d){d&&S(e),O(r),O(s),u=!1,c()}}}function Upe(t){let e,n,r,i;e=new rt({props:{size:"S",$$slots:{default:[Lpe]},$$scope:{ctx:t}}});let a=t[3],s=[];for(let l=0;l<a.length;l+=1)s[l]=IR(kR(t,a,l));const o=l=>g(s[l],1,1,()=>{s[l]=null});return{c(){T(e.$$.fragment),n=L(),r=U("div");for(let l=0;l<s.length;l+=1)s[l].c();$(r,"class","item-list svelte-d3iboa")},m(l,u){C(e,l,u),E(l,n,u),E(l,r,u);for(let c=0;c<s.length;c+=1)s[c].m(r,null);i=!0},p(l,u){const c={};if(u&2097152&&(c.$$scope={dirty:u,ctx:l}),e.$set(c),u&76){a=l[3];let f;for(f=0;f<a.length;f+=1){const d=kR(l,a,f);s[f]?(s[f].p(d,u),m(s[f],1)):(s[f]=IR(d),s[f].c(),m(s[f],1),s[f].m(r,null))}for(le(),f=a.length;f<s.length;f+=1)o(f);ue()}},i(l){if(!i){m(e.$$.fragment,l);for(let u=0;u<a.length;u+=1)m(s[u]);i=!0}},o(l){g(e.$$.fragment,l),s=s.filter(Boolean);for(let u=0;u<s.length;u+=1)g(s[u]);i=!1},d(l){O(e,l),l&&S(n),l&&S(r),Nt(s,l)}}}function Bpe(t){let e,n,r,i,a,s,o,l,u,c;e=new cg({props:{header:"You must publish your app to activate your automations.",message:"To test your automation before publishing, you can use the 'Run Test' functionality on the next screen."}}),r=new rt({props:{size:"XS",$$slots:{default:[Mpe]},$$scope:{ctx:t}}});function f(_){t[10](_)}function d(_){t[11](_)}let p={label:"Name"};return t[0]!==void 0&&(p.value=t[0]),t[4]!==void 0&&(p.error=t[4]),a=new ot({props:p}),ae.push(()=>ge(a,"value",f)),ae.push(()=>ge(a,"error",d)),a.$on("change",t[12]),u=new at({props:{noPadding:!0,$$slots:{default:[Upe]},$$scope:{ctx:t}}}),{c(){T(e.$$.fragment),n=L(),T(r.$$.fragment),i=L(),T(a.$$.fragment),l=L(),T(u.$$.fragment)},m(_,h){C(e,_,h),E(_,n,h),C(r,_,h),E(_,i,h),C(a,_,h),E(_,l,h),C(u,_,h),c=!0},p(_,h){const b={};h&2097152&&(b.$$scope={dirty:h,ctx:_}),r.$set(b);const v={};!s&&h&1&&(s=!0,v.value=_[0],he(()=>s=!1)),!o&&h&16&&(o=!0,v.error=_[4],he(()=>o=!1)),a.$set(v);const w={};h&2097164&&(w.$$scope={dirty:h,ctx:_}),u.$set(w)},i(_){c||(m(e.$$.fragment,_),m(r.$$.fragment,_),m(a.$$.fragment,_),m(u.$$.fragment,_),c=!0)},o(_){g(e.$$.fragment,_),g(r.$$.fragment,_),g(a.$$.fragment,_),g(u.$$.fragment,_),c=!1},d(_){O(e,_),_&&S(n),O(r,_),_&&S(i),O(a,_),_&&S(l),O(u,_)}}}function Fpe(t){let e,n;return e=new Kt({props:{title:"Create Automation",confirmText:"Save",size:"M",onConfirm:t[5],disabled:!t[2]||!t[0],$$slots:{default:[Bpe]},$$scope:{ctx:t}}}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p(r,[i]){const a={};i&5&&(a.disabled=!r[2]||!r[0]),i&2097183&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function qpe(t,e,n){let r,i,a,s,o,l;_e(t,mn,R=>n(8,s=R)),_e(t,Jt,R=>n(16,o=R)),_e(t,Zo,R=>n(9,l=R));let u,c,f=!1,d,{webhookModal:p}=e;async function _(){var N;await mn.actions.create({name:u,instanceId:r});const R=s.selectedAutomation.constructBlock("TRIGGER",d.stepId,d);mn.actions.addBlockToAutomation(R),d.stepId==="WEBHOOK"&&p.show,await mn.actions.save((N=s.selectedAutomation)==null?void 0:N.automation),Ke.success(`Automation ${u} created.`),o(`./${s.selectedAutomation.automation._id}`),_r.captureEvent(Rr.AUTOMATION.CREATED,{name:u})}const h=R=>{d=R,n(2,c=R.name)};function b(R){u=R,n(0,u)}function v(R){i=R,n(4,i),n(1,f),n(0,u)}const w=()=>n(1,f=!0),A=R=>h(R);return t.$$set=R=>{"webhookModal"in R&&n(7,p=R.webhookModal)},t.$$.update=()=>{t.$$.dirty&512&&(r=l._id),t.$$.dirty&3&&n(4,i=f&&!u?"Please specify a name for the automation.":null),t.$$.dirty&256&&n(3,a=Object.entries(s.blockDefinitions.TRIGGER))},[u,f,c,a,i,_,h,p,s,l,b,v,w,A]}class DR extends fe{constructor(e){super();de(this,e,qpe,Fpe,ce,{webhookModal:7})}}function Gpe(t){let e,n;return e=new DR({props:{webhookModal:t[1]}}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p(r,i){const a={};i&2&&(a.webhookModal=r[1]),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function zpe(t){let e,n,r,i,a;n=new Dpe({});let s={$$slots:{default:[Gpe]},$$scope:{ctx:t}};return i=new Gt({props:s}),t[2](i),{c(){e=U("div"),T(n.$$.fragment),r=L(),T(i.$$.fragment),$(e,"class","tab-content-padding svelte-1r2f9up")},m(o,l){E(o,e,l),C(n,e,null),D(e,r),C(i,e,null),a=!0},p(o,l){const u={};l&10&&(u.$$scope={dirty:l,ctx:o}),i.$set(u)},i(o){a||(m(n.$$.fragment,o),m(i.$$.fragment,o),a=!0)},o(o){g(n.$$.fragment,o),g(i.$$.fragment,o),a=!1},d(o){o&&S(e),O(n),t[2](null),O(i)}}}function Ype(t){let e,n;return e=new Bn({props:{title:"Automations",$$slots:{default:[zpe]},$$scope:{ctx:t}}}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p(r,i){const a={};i&11&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function jpe(t){let e,n,r,i,a,s;return n=new Si({props:{selected:"Automations",$$slots:{default:[Ype]},$$scope:{ctx:t}}}),a=new Ot({props:{hoverable:!0,name:"AddCircle"}}),a.$on("click",function(){wt(t[0].show)&&t[0].show.apply(this,arguments)}),{c(){e=U("div"),T(n.$$.fragment),r=L(),i=U("div"),T(a.$$.fragment),$(i,"class","add-button svelte-1r2f9up"),$(i,"data-cy","new-screen"),$(e,"class","title svelte-1r2f9up")},m(o,l){E(o,e,l),C(n,e,null),D(e,r),D(e,i),C(a,i,null),s=!0},p(o,[l]){t=o;const u={};l&11&&(u.$$scope={dirty:l,ctx:t}),n.$set(u)},i(o){s||(m(n.$$.fragment,o),m(a.$$.fragment,o),s=!0)},o(o){g(n.$$.fragment,o),g(a.$$.fragment,o),s=!1},d(o){o&&S(e),O(n),O(a)}}}function Vpe(t,e,n){let{modal:r}=e,{webhookModal:i}=e;function a(s){ae[s?"unshift":"push"](()=>{r=s,n(0,r)})}return t.$$set=s=>{"modal"in s&&n(0,r=s.modal),"webhookModal"in s&&n(1,i=s.webhookModal)},[r,i,a]}class Hpe extends fe{constructor(e){super();de(this,e,Vpe,jpe,ce,{modal:0,webhookModal:1})}}function Wpe(t){let e,n,r,i;return r=new at({props:{gap:"S",justifyItems:"center",$$slots:{default:[Zpe]},$$scope:{ctx:t}}}),{c(){e=U("div"),n=U("div"),T(r.$$.fragment),$(n,"class","main svelte-16gumu0"),$(e,"class","centered svelte-16gumu0")},m(a,s){E(a,e,s),D(e,n),C(r,n,null),i=!0},p(a,s){const o={};s&257&&(o.$$scope={dirty:s,ctx:a}),r.$set(o)},i(a){i||(m(r.$$.fragment,a),i=!0)},o(a){g(r.$$.fragment,a),i=!1},d(a){a&&S(e),O(r)}}}function xpe(t){let e;const n=t[4].default,r=At(n,t,t[8],null);return{c(){r&&r.c()},m(i,a){r&&r.m(i,a),e=!0},p(i,a){r&&r.p&&(!e||a&256)&&kt(r,n,i,i[8],e?Dt(n,i[8],a,null):It(i[8]),null)},i(i){e||(m(r,i),e=!0)},o(i){g(r,i),e=!1},d(i){r&&r.d(i)}}}function Qpe(t){let e;return{c(){e=W("You have no automations")},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function Kpe(t){let e;return{c(){e=W("Let's fix that. Call the bots!")},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function Xpe(t){let e;return{c(){e=W("Create automation")},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function Zpe(t){let e,n,r,i,a,s,o,l,u;return i=new Mt({props:{size:"M",$$slots:{default:[Qpe]},$$scope:{ctx:t}}}),s=new rt({props:{size:"M",$$slots:{default:[Kpe]},$$scope:{ctx:t}}}),l=new Tt({props:{size:"M",cta:!0,$$slots:{default:[Xpe]},$$scope:{ctx:t}}}),l.$on("click",t[5]),{c(){e=ye("svg"),n=ye("use"),r=L(),T(i.$$.fragment),a=L(),T(s.$$.fragment),o=L(),T(l.$$.fragment),ln(n,"xlink:href","#spectrum-icon-18-WorkflowAdd"),$(e,"width","60px"),$(e,"height","60px"),$(e,"class","spectrum-Icon"),$(e,"focusable","false")},m(c,f){E(c,e,f),D(e,n),E(c,r,f),C(i,c,f),E(c,a,f),C(s,c,f),E(c,o,f),C(l,c,f),u=!0},p(c,f){const d={};f&256&&(d.$$scope={dirty:f,ctx:c}),i.$set(d);const p={};f&256&&(p.$$scope={dirty:f,ctx:c}),s.$set(p);const _={};f&256&&(_.$$scope={dirty:f,ctx:c}),l.$set(_)},i(c){u||(m(i.$$.fragment,c),m(s.$$.fragment,c),m(l.$$.fragment,c),u=!0)},o(c){g(i.$$.fragment,c),g(s.$$.fragment,c),g(l.$$.fragment,c),u=!1},d(c){c&&S(e),c&&S(r),O(i,c),c&&S(a),O(s,c),c&&S(o),O(l,c)}}}function Jpe(t){let e,n;return e=new DR({props:{webhookModal:t[1]}}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p(r,i){const a={};i&2&&(a.webhookModal=r[1]),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function e_e(t){let e,n;return e=new j1({}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function t_e(t){let e,n,r,i,a,s,o,l,u,c,f,d;r=new Hpe({props:{modal:t[0],webhookModal:t[1]}});const p=[xpe,Wpe],_=[];function h(w,A){return w[2]?0:1}s=h(t),o=_[s]=p[s](t);let b={$$slots:{default:[Jpe]},$$scope:{ctx:t}};u=new Gt({props:b}),t[6](u);let v={width:"30%",$$slots:{default:[e_e]},$$scope:{ctx:t}};return f=new Gt({props:v}),t[7](f),{c(){e=U("div"),n=U("div"),T(r.$$.fragment),i=L(),a=U("div"),o.c(),l=L(),T(u.$$.fragment),c=L(),T(f.$$.fragment),$(n,"class","nav svelte-16gumu0"),$(a,"class","content svelte-16gumu0"),$(e,"class","root svelte-16gumu0")},m(w,A){E(w,e,A),D(e,n),C(r,n,null),D(e,i),D(e,a),_[s].m(a,null),D(e,l),C(u,e,null),D(e,c),C(f,e,null),d=!0},p(w,[A]){const R={};A&1&&(R.modal=w[0]),A&2&&(R.webhookModal=w[1]),r.$set(R);let N=s;s=h(w),s===N?_[s].p(w,A):(le(),g(_[N],1,1,()=>{_[N]=null}),ue(),o=_[s],o?o.p(w,A):(o=_[s]=p[s](w),o.c()),m(o,1),o.m(a,null));const M={};A&258&&(M.$$scope={dirty:A,ctx:w}),u.$set(M);const B={};A&256&&(B.$$scope={dirty:A,ctx:w}),f.$set(B)},i(w){d||(m(r.$$.fragment,w),m(o),m(u.$$.fragment,w),m(f.$$.fragment,w),d=!0)},o(w){g(r.$$.fragment,w),g(o),g(u.$$.fragment,w),g(f.$$.fragment,w),d=!1},d(w){w&&S(e),O(r),_[s].d(),t[6](null),O(u),t[7](null),O(f)}}}function n_e(t,e,n){let r,i;_e(t,mn,d=>n(3,i=d));let{$$slots:a={},$$scope:s}=e,o,l;const u=()=>o.show();function c(d){ae[d?"unshift":"push"](()=>{o=d,n(0,o)})}function f(d){ae[d?"unshift":"push"](()=>{l=d,n(1,l)})}return t.$$set=d=>{"$$scope"in d&&n(8,s=d.$$scope)},t.$$.update=()=>{t.$$.dirty&8&&n(2,r=i.automations[0])},[o,l,r,i,a,u,c,f,s]}class r_e extends fe{constructor(e){super();de(this,e,n_e,t_e,ce,{})}}function i_e(t){let e;return{c(){e=W("Publish")},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function a_e(t){let e,n;return e=new Kt({props:{title:"Enjoying Budibase?",size:"L",showConfirmButton:!1,showCancelButton:!1}}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p:Ue,i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function s_e(t){let e;return{c(){e=U("span"),e.textContent=`The changes you have made will be published to the production version of
1303
1303
  the application.`},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function o_e(t){let e,n;return e=new Kt({props:{title:"Publish to Production",confirmText:"Publish",onConfirm:t[2],$$slots:{default:[s_e]},$$scope:{ctx:t}}}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p(r,i){const a={};i&64&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function l_e(t){let e,n,r,i,a,s;e=new Tt({props:{secondary:!0,$$slots:{default:[i_e]},$$scope:{ctx:t}}}),e.$on("click",function(){wt(t[1].show)&&t[1].show.apply(this,arguments)});let o={$$slots:{default:[a_e]},$$scope:{ctx:t}};r=new Gt({props:o}),t[3](r);let l={$$slots:{default:[o_e]},$$scope:{ctx:t}};return a=new Gt({props:l}),t[4](a),{c(){T(e.$$.fragment),n=L(),T(r.$$.fragment),i=L(),T(a.$$.fragment)},m(u,c){C(e,u,c),E(u,n,c),C(r,u,c),E(u,i,c),C(a,u,c),s=!0},p(u,[c]){t=u;const f={};c&64&&(f.$$scope={dirty:c,ctx:t}),e.$set(f);const d={};c&64&&(d.$$scope={dirty:c,ctx:t}),r.$set(d);const p={};c&64&&(p.$$scope={dirty:c,ctx:t}),a.$set(p)},i(u){s||(m(e.$$.fragment,u),m(r.$$.fragment,u),m(a.$$.fragment,u),s=!0)},o(u){g(e.$$.fragment,u),g(r.$$.fragment,u),g(a.$$.fragment,u),s=!1},d(u){O(e,u),u&&S(n),t[3](null),O(r,u),u&&S(i),t[4](null),O(a,u)}}}function u_e(t,e,n){let r;_e(t,et,u=>n(5,r=u));let i,a;async function s(){try{const u=await _t.post("/api/deploy");if(u.status!==200)throw new Error(`status ${u.status}`);_r.captureEvent(Rr.APP.PUBLISHED,{appId:r.appId}),Ke.success("Application published successfully")}catch(u){_r.captureException(u),Ke.error(`Error publishing app: ${u}`)}}function o(u){ae[u?"unshift":"push"](()=>{i=u,n(0,i)})}function l(u){ae[u?"unshift":"push"](()=>{a=u,n(1,a)})}return[i,a,s,o,l]}class c_e extends fe{constructor(e){super();de(this,e,u_e,l_e,ce,{})}}function f_e(t){let e,n,r,i,a,s,o;function l(c){t[4](c)}let u={};return t[2]!==void 0&&(u.value=t[2]),a=new ot({props:u}),ae.push(()=>ge(a,"value",l)),{c(){e=U("span"),e.textContent=`The changes you have made will be deleted and the application reverted
1304
- back to its production state.`,n=L(),r=U("span"),r.textContent="Please enter your app name to continue.",i=L(),T(a.$$.fragment)},m(c,f){E(c,e,f),E(c,n,f),E(c,r,f),E(c,i,f),C(a,c,f),o=!0},p(c,f){const d={};!s&&f&4&&(s=!0,d.value=c[2],he(()=>s=!1)),a.$set(d)},i(c){o||(m(a.$$.fragment,c),o=!0)},o(c){g(a.$$.fragment,c),o=!1},d(c){c&&S(e),c&&S(n),c&&S(r),c&&S(i),O(a,c)}}}function d_e(t){let e,n;return e=new Kt({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:t[3],disabled:t[2]!==t[0].name,$$slots:{default:[f_e]},$$scope:{ctx:t}}}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p(r,i){const a={};i&5&&(a.disabled=r[2]!==r[0].name),i&132&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function p_e(t){let e,n,r,i;e=new Ot({props:{name:"Revert",hoverable:!0}}),e.$on("click",function(){wt(t[1].show)&&t[1].show.apply(this,arguments)});let a={$$slots:{default:[d_e]},$$scope:{ctx:t}};return r=new Gt({props:a}),t[5](r),{c(){T(e.$$.fragment),n=L(),T(r.$$.fragment)},m(s,o){C(e,s,o),E(s,n,o),C(r,s,o),i=!0},p(s,[o]){t=s;const l={};o&133&&(l.$$scope={dirty:o,ctx:t}),r.$set(l)},i(s){i||(m(e.$$.fragment,s),m(r.$$.fragment,s),i=!0)},o(s){g(e.$$.fragment,s),g(r.$$.fragment,s),i=!1},d(s){O(e,s),s&&S(n),t[5](null),O(r,s)}}}function __e(t,e,n){let r,i;_e(t,et,c=>n(0,i=c));let a,s;const o=async()=>{try{const c=await _t.post(`/api/dev/${r}/revert`),f=await c.json();if(c.status!==200)throw f.message;const d=await _t.get(`/api/applications/${r}/appPackage`),p=await d.json();if(d.ok)await et.actions.initialise(p);else throw new Error(p);Ke.info("Changes reverted.")}catch(c){Ke.error(`Error reverting changes: ${c}`)}};function l(c){s=c,n(2,s)}function u(c){ae[c?"unshift":"push"](()=>{a=c,n(1,a)})}return t.$$.update=()=>{t.$$.dirty&1&&(r=i.appId)},[i,a,s,o,l,u]}class m_e extends fe{constructor(e){super();de(this,e,__e,p_e,ce,{})}}const g_e="@budibase/client",h_e="1.0.46-alpha.5",b_e="MPL-2.0",v_e="dist/budibase-client.js",E_e="dist/budibase-client.js",S_e="module",y_e="src/index.js",$_e={".":{import:"./dist/budibase-client.js",require:"./dist/budibase-client.js"},"./package.json":"./package.json","./manifest.json":"./manifest.json"},w_e={build:"rollup -c","dev:builder":"rollup -cw"},T_e={"@budibase/bbui":"^1.0.46-alpha.5","@budibase/standard-components":"^0.9.139","@budibase/string-templates":"^1.0.46-alpha.5",regexparam:"^1.3.0","rollup-plugin-polyfill-node":"^0.8.0",shortid:"^2.2.15","svelte-spa-router":"^3.0.5"},C_e={"@rollup/plugin-alias":"^3.1.5","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","@spectrum-css/button":"^3.0.3","@spectrum-css/card":"^3.0.3","@spectrum-css/divider":"^1.0.3","@spectrum-css/link":"^3.1.3","@spectrum-css/page":"^3.0.1","@spectrum-css/tag":"^3.1.4","@spectrum-css/typography":"^3.0.2","@spectrum-css/vars":"^3.0.1",apexcharts:"^3.22.1",dayjs:"^1.10.5","fs-extra":"^8.1.0",jsdom:"^16.0.1",postcss:"^8.2.10",rollup:"^2.44.0","rollup-plugin-json":"^4.0.0","rollup-plugin-postcss":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-svg":"^2.0.0","rollup-plugin-terser":"^7.0.2",svelte:"^3.38.2","svelte-apexcharts":"^1.0.2","svelte-flatpickr":"^3.1.0"},O_e="d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc";var V1={name:g_e,version:h_e,license:b_e,module:v_e,main:E_e,type:S_e,svelte:y_e,exports:$_e,scripts:w_e,dependencies:T_e,devDependencies:C_e,gitHead:O_e};function N_e(t){let e,n;return e=new rt({props:{size:"S",$$slots:{default:[A_e]},$$scope:{ctx:t}}}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p(r,i){const a={};i&513&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function R_e(t){let e,n;return e=new rt({props:{size:"S",$$slots:{default:[k_e]},$$scope:{ctx:t}}}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p(r,i){const a={};i&513&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function A_e(t){let e,n,r=t[0].version+"",i,a;return{c(){e=W("This app is currently using version "),n=U("b"),i=W(r),a=W(` which is the
1304
+ back to its production state.`,n=L(),r=U("span"),r.textContent="Please enter your app name to continue.",i=L(),T(a.$$.fragment)},m(c,f){E(c,e,f),E(c,n,f),E(c,r,f),E(c,i,f),C(a,c,f),o=!0},p(c,f){const d={};!s&&f&4&&(s=!0,d.value=c[2],he(()=>s=!1)),a.$set(d)},i(c){o||(m(a.$$.fragment,c),o=!0)},o(c){g(a.$$.fragment,c),o=!1},d(c){c&&S(e),c&&S(n),c&&S(r),c&&S(i),O(a,c)}}}function d_e(t){let e,n;return e=new Kt({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:t[3],disabled:t[2]!==t[0].name,$$slots:{default:[f_e]},$$scope:{ctx:t}}}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p(r,i){const a={};i&5&&(a.disabled=r[2]!==r[0].name),i&132&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function p_e(t){let e,n,r,i;e=new Ot({props:{name:"Revert",hoverable:!0}}),e.$on("click",function(){wt(t[1].show)&&t[1].show.apply(this,arguments)});let a={$$slots:{default:[d_e]},$$scope:{ctx:t}};return r=new Gt({props:a}),t[5](r),{c(){T(e.$$.fragment),n=L(),T(r.$$.fragment)},m(s,o){C(e,s,o),E(s,n,o),C(r,s,o),i=!0},p(s,[o]){t=s;const l={};o&133&&(l.$$scope={dirty:o,ctx:t}),r.$set(l)},i(s){i||(m(e.$$.fragment,s),m(r.$$.fragment,s),i=!0)},o(s){g(e.$$.fragment,s),g(r.$$.fragment,s),i=!1},d(s){O(e,s),s&&S(n),t[5](null),O(r,s)}}}function __e(t,e,n){let r,i;_e(t,et,c=>n(0,i=c));let a,s;const o=async()=>{try{const c=await _t.post(`/api/dev/${r}/revert`),f=await c.json();if(c.status!==200)throw f.message;const d=await _t.get(`/api/applications/${r}/appPackage`),p=await d.json();if(d.ok)await et.actions.initialise(p);else throw new Error(p);Ke.info("Changes reverted.")}catch(c){Ke.error(`Error reverting changes: ${c}`)}};function l(c){s=c,n(2,s)}function u(c){ae[c?"unshift":"push"](()=>{a=c,n(1,a)})}return t.$$.update=()=>{t.$$.dirty&1&&(r=i.appId)},[i,a,s,o,l,u]}class m_e extends fe{constructor(e){super();de(this,e,__e,p_e,ce,{})}}const g_e="@budibase/client",h_e="1.0.46-alpha.6",b_e="MPL-2.0",v_e="dist/budibase-client.js",E_e="dist/budibase-client.js",S_e="module",y_e="src/index.js",$_e={".":{import:"./dist/budibase-client.js",require:"./dist/budibase-client.js"},"./package.json":"./package.json","./manifest.json":"./manifest.json"},w_e={build:"rollup -c","dev:builder":"rollup -cw"},T_e={"@budibase/bbui":"^1.0.46-alpha.6","@budibase/standard-components":"^0.9.139","@budibase/string-templates":"^1.0.46-alpha.6",regexparam:"^1.3.0","rollup-plugin-polyfill-node":"^0.8.0",shortid:"^2.2.15","svelte-spa-router":"^3.0.5"},C_e={"@rollup/plugin-alias":"^3.1.5","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","@spectrum-css/button":"^3.0.3","@spectrum-css/card":"^3.0.3","@spectrum-css/divider":"^1.0.3","@spectrum-css/link":"^3.1.3","@spectrum-css/page":"^3.0.1","@spectrum-css/tag":"^3.1.4","@spectrum-css/typography":"^3.0.2","@spectrum-css/vars":"^3.0.1",apexcharts:"^3.22.1",dayjs:"^1.10.5","fs-extra":"^8.1.0",jsdom:"^16.0.1",postcss:"^8.2.10",rollup:"^2.44.0","rollup-plugin-json":"^4.0.0","rollup-plugin-postcss":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-svg":"^2.0.0","rollup-plugin-terser":"^7.0.2",svelte:"^3.38.2","svelte-apexcharts":"^1.0.2","svelte-flatpickr":"^3.1.0"},O_e="d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc";var V1={name:g_e,version:h_e,license:b_e,module:v_e,main:E_e,type:S_e,svelte:y_e,exports:$_e,scripts:w_e,dependencies:T_e,devDependencies:C_e,gitHead:O_e};function N_e(t){let e,n;return e=new rt({props:{size:"S",$$slots:{default:[A_e]},$$scope:{ctx:t}}}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p(r,i){const a={};i&513&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function R_e(t){let e,n;return e=new rt({props:{size:"S",$$slots:{default:[k_e]},$$scope:{ctx:t}}}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p(r,i){const a={};i&513&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function A_e(t){let e,n,r=t[0].version+"",i,a;return{c(){e=W("This app is currently using version "),n=U("b"),i=W(r),a=W(` which is the
1305
1305
  latest version available.`)},m(s,o){E(s,e,o),E(s,n,o),D(n,i),E(s,a,o)},p(s,o){o&1&&r!==(r=s[0].version+"")&&Be(i,r)},d(s){s&&S(e),s&&S(n),s&&S(a)}}}function k_e(t){let e,n,r=t[0].version+"",i,a,s,o;return{c(){e=W("This app is currently using version "),n=U("b"),i=W(r),a=W(`, but version
1306
1306
  `),s=U("b"),s.textContent=`${V1.version}`,o=W(` is available. Updates can contain new features,
1307
1307
  performance improvements and bug fixes.`)},m(l,u){E(l,e,u),E(l,n,u),D(n,i),E(l,a,u),E(l,s,u),E(l,o,u)},p(l,u){u&1&&r!==(r=l[0].version+"")&&Be(i,r)},d(l){l&&S(e),l&&S(n),l&&S(a),l&&S(s),l&&S(o)}}}function MR(t){let e,n;return e=new rt({props:{size:"S",$$slots:{default:[I_e]},$$scope:{ctx:t}}}),{c(){T(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p(r,i){const a={};i&513&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function I_e(t){let e,n,r=t[0].revertableVersion+"",i,a;return{c(){e=W(`You can revert this app to version
@@ -10,7 +10,7 @@
10
10
  href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
11
11
  rel="stylesheet"
12
12
  />
13
- <script type="module" crossorigin src="/builder/assets/index.00221ff2.js"></script>
13
+ <script type="module" crossorigin src="/builder/assets/index.af9e71d8.js"></script>
14
14
  <link rel="modulepreload" href="/builder/assets/vendor.3bd2f661.js">
15
15
  <link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
16
16
  <link rel="stylesheet" href="/builder/assets/index.dd9e386f.css">
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1643217088683" clover="3.2.0">
3
- <project timestamp="1643217088683" name="All files">
4
- <metrics statements="4788" coveredstatements="3536" conditionals="1926" coveredconditionals="1039" methods="683" coveredmethods="482" elements="7397" coveredelements="5057" complexity="0" loc="4788" ncloc="4788" packages="23" files="144" classes="144"/>
2
+ <coverage generated="1643382733216" clover="3.2.0">
3
+ <project timestamp="1643382733216" name="All files">
4
+ <metrics statements="4792" coveredstatements="3540" conditionals="1934" coveredconditionals="1043" methods="683" coveredmethods="482" elements="7409" coveredelements="5065" complexity="0" loc="4792" ncloc="4792" packages="23" files="144" classes="144"/>
5
5
  <package name="api">
6
6
  <metrics statements="29" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="5" coveredmethods="4"/>
7
7
  <file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/index.js">
@@ -38,7 +38,7 @@
38
38
  </file>
39
39
  </package>
40
40
  <package name="api.controllers">
41
- <metrics statements="1085" coveredstatements="771" conditionals="359" coveredconditionals="165" methods="153" coveredmethods="108"/>
41
+ <metrics statements="1089" coveredstatements="775" conditionals="367" coveredconditionals="169" methods="153" coveredmethods="108"/>
42
42
  <file name="analytics.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/analytics.js">
43
43
  <metrics statements="13" coveredstatements="6" conditionals="13" coveredconditionals="4" methods="2" coveredmethods="1"/>
44
44
  <line num="1" count="23" type="stmt"/>
@@ -83,7 +83,7 @@
83
83
  <line num="46" count="1" type="stmt"/>
84
84
  </file>
85
85
  <file name="application.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/application.js">
86
- <metrics statements="194" coveredstatements="154" conditionals="70" coveredconditionals="39" methods="26" coveredmethods="23"/>
86
+ <metrics statements="198" coveredstatements="158" conditionals="78" coveredconditionals="43" methods="26" coveredmethods="23"/>
87
87
  <line num="1" count="36" type="stmt"/>
88
88
  <line num="2" count="36" type="stmt"/>
89
89
  <line num="3" count="36" type="stmt"/>
@@ -112,172 +112,176 @@
112
112
  <line num="73" count="200" type="cond" truecount="4" falsecount="0"/>
113
113
  <line num="81" count="194" type="cond" truecount="1" falsecount="1"/>
114
114
  <line num="83" count="0" type="stmt"/>
115
+ <line num="84" count="194" type="cond" truecount="1" falsecount="1"/>
115
116
  <line num="86" count="194" type="stmt"/>
116
- <line num="88" count="194" type="stmt"/>
117
- <line num="90" count="194" type="stmt"/>
118
- <line num="93" count="36" type="stmt"/>
119
- <line num="94" count="194" type="cond" truecount="2" falsecount="0"/>
120
- <line num="95" count="2" type="stmt"/>
121
- <line num="97" count="732" type="cond" truecount="1" falsecount="1"/>
122
- <line num="98" count="0" type="stmt"/>
123
- <line num="102" count="36" type="stmt"/>
124
- <line num="104" count="194" type="cond" truecount="1" falsecount="1"/>
125
- <line num="105" count="0" type="stmt"/>
126
- <line num="107" count="194" type="cond" truecount="2" falsecount="0"/>
127
- <line num="108" count="2" type="stmt"/>
128
- <line num="110" count="732" type="cond" truecount="1" falsecount="1"/>
129
- <line num="111" count="0" type="stmt"/>
130
- <line num="116" count="192" type="cond" truecount="1" falsecount="1"/>
131
- <line num="117" count="192" type="stmt"/>
117
+ <line num="88" count="194" type="cond" truecount="1" falsecount="1"/>
118
+ <line num="89" count="194" type="stmt"/>
119
+ <line num="91" count="194" type="stmt"/>
120
+ <line num="94" count="36" type="stmt"/>
121
+ <line num="95" count="194" type="cond" truecount="2" falsecount="0"/>
122
+ <line num="96" count="2" type="stmt"/>
123
+ <line num="98" count="732" type="cond" truecount="1" falsecount="1"/>
124
+ <line num="99" count="0" type="stmt"/>
125
+ <line num="103" count="36" type="stmt"/>
126
+ <line num="105" count="194" type="cond" truecount="1" falsecount="1"/>
127
+ <line num="106" count="0" type="stmt"/>
128
+ <line num="108" count="194" type="cond" truecount="2" falsecount="0"/>
129
+ <line num="109" count="2" type="stmt"/>
130
+ <line num="111" count="732" type="cond" truecount="1" falsecount="1"/>
131
+ <line num="112" count="0" type="stmt"/>
132
+ <line num="117" count="192" type="cond" truecount="1" falsecount="1"/>
132
133
  <line num="118" count="192" type="stmt"/>
133
- <line num="120" count="192" type="stmt"/>
134
+ <line num="119" count="192" type="stmt"/>
134
135
  <line num="121" count="192" type="stmt"/>
135
- <line num="130" count="192" type="stmt"/>
136
+ <line num="122" count="192" type="stmt"/>
136
137
  <line num="131" count="192" type="stmt"/>
137
138
  <line num="132" count="192" type="stmt"/>
138
- <line num="136" count="192" type="cond" truecount="3" falsecount="1"/>
139
- <line num="137" count="0" type="stmt"/>
140
- <line num="138" count="0" type="cond" truecount="0" falsecount="2"/>
141
- <line num="139" count="0" type="stmt"/>
142
- <line num="141" count="192" type="cond" truecount="3" falsecount="1"/>
143
- <line num="144" count="0" type="cond" truecount="0" falsecount="2"/>
144
- <line num="145" count="0" type="stmt"/>
145
- <line num="149" count="192" type="stmt"/>
146
- <line num="152" count="192" type="stmt"/>
147
- <line num="155" count="36" type="stmt"/>
148
- <line num="156" count="10" type="cond" truecount="2" falsecount="0"/>
139
+ <line num="133" count="192" type="stmt"/>
140
+ <line num="137" count="192" type="cond" truecount="3" falsecount="1"/>
141
+ <line num="138" count="0" type="stmt"/>
142
+ <line num="139" count="0" type="cond" truecount="0" falsecount="2"/>
143
+ <line num="140" count="0" type="stmt"/>
144
+ <line num="142" count="192" type="cond" truecount="3" falsecount="1"/>
145
+ <line num="145" count="0" type="cond" truecount="0" falsecount="2"/>
146
+ <line num="146" count="0" type="stmt"/>
147
+ <line num="150" count="192" type="stmt"/>
148
+ <line num="153" count="192" type="stmt"/>
149
+ <line num="156" count="36" type="stmt"/>
149
150
  <line num="157" count="10" type="cond" truecount="2" falsecount="0"/>
150
- <line num="158" count="10" type="stmt"/>
151
- <line num="161" count="10" type="cond" truecount="2" falsecount="2"/>
152
- <line num="162" count="10" type="stmt"/>
151
+ <line num="158" count="10" type="cond" truecount="2" falsecount="0"/>
152
+ <line num="159" count="10" type="stmt"/>
153
+ <line num="162" count="10" type="cond" truecount="2" falsecount="2"/>
153
154
  <line num="163" count="10" type="stmt"/>
154
- <line num="164" count="14" type="cond" truecount="1" falsecount="1"/>
155
- <line num="165" count="14" type="stmt"/>
156
- <line num="167" count="0" type="stmt"/>
157
- <line num="168" count="0" type="cond" truecount="0" falsecount="2"/>
158
- <line num="169" count="0" type="stmt"/>
159
- <line num="172" count="0" type="stmt"/>
160
- <line num="177" count="10" type="stmt"/>
161
- <line num="180" count="36" type="stmt"/>
162
- <line num="181" count="1" type="stmt"/>
155
+ <line num="164" count="10" type="stmt"/>
156
+ <line num="165" count="14" type="cond" truecount="1" falsecount="1"/>
157
+ <line num="166" count="14" type="stmt"/>
158
+ <line num="168" count="0" type="stmt"/>
159
+ <line num="169" count="0" type="cond" truecount="0" falsecount="2"/>
160
+ <line num="170" count="0" type="stmt"/>
161
+ <line num="173" count="0" type="stmt"/>
162
+ <line num="178" count="10" type="stmt"/>
163
+ <line num="181" count="36" type="stmt"/>
163
164
  <line num="182" count="1" type="stmt"/>
164
165
  <line num="183" count="1" type="stmt"/>
165
166
  <line num="184" count="1" type="stmt"/>
166
167
  <line num="185" count="1" type="stmt"/>
167
- <line num="189" count="1" type="stmt"/>
168
- <line num="196" count="36" type="stmt"/>
169
- <line num="197" count="201" type="stmt"/>
168
+ <line num="186" count="1" type="stmt"/>
169
+ <line num="190" count="1" type="stmt"/>
170
+ <line num="197" count="36" type="stmt"/>
170
171
  <line num="198" count="201" type="stmt"/>
171
172
  <line num="199" count="201" type="stmt"/>
172
173
  <line num="200" count="201" type="stmt"/>
173
- <line num="203" count="201" type="cond" truecount="4" falsecount="0"/>
174
- <line num="204" count="199" type="stmt"/>
174
+ <line num="201" count="201" type="stmt"/>
175
+ <line num="204" count="201" type="cond" truecount="4" falsecount="0"/>
175
176
  <line num="205" count="199" type="stmt"/>
176
177
  <line num="206" count="199" type="stmt"/>
177
- <line num="209" count="201" type="stmt"/>
178
- <line num="217" count="36" type="stmt"/>
179
- <line num="218" count="192" type="stmt"/>
178
+ <line num="207" count="199" type="stmt"/>
179
+ <line num="210" count="201" type="stmt"/>
180
+ <line num="218" count="36" type="stmt"/>
180
181
  <line num="219" count="192" type="stmt"/>
181
182
  <line num="220" count="192" type="stmt"/>
182
183
  <line num="221" count="192" type="stmt"/>
183
184
  <line num="222" count="192" type="stmt"/>
184
- <line num="224" count="192" type="stmt"/>
185
+ <line num="223" count="192" type="stmt"/>
185
186
  <line num="225" count="192" type="stmt"/>
186
- <line num="230" count="192" type="cond" truecount="2" falsecount="2"/>
187
- <line num="231" count="0" type="stmt"/>
188
- <line num="233" count="192" type="stmt"/>
187
+ <line num="226" count="192" type="stmt"/>
188
+ <line num="231" count="192" type="cond" truecount="2" falsecount="2"/>
189
+ <line num="232" count="0" type="stmt"/>
189
190
  <line num="234" count="192" type="stmt"/>
190
- <line num="236" count="192" type="stmt"/>
191
- <line num="238" count="192" type="stmt"/>
192
- <line num="240" count="192" type="stmt"/>
193
- <line num="241" count="0" type="stmt"/>
194
- <line num="245" count="192" type="stmt"/>
195
- <line num="260" count="192" type="stmt"/>
191
+ <line num="235" count="192" type="stmt"/>
192
+ <line num="237" count="192" type="stmt"/>
193
+ <line num="239" count="192" type="stmt"/>
194
+ <line num="241" count="192" type="stmt"/>
195
+ <line num="242" count="0" type="stmt"/>
196
+ <line num="246" count="192" type="stmt"/>
196
197
  <line num="261" count="192" type="stmt"/>
197
- <line num="265" count="192" type="cond" truecount="1" falsecount="1"/>
198
- <line num="266" count="192" type="stmt"/>
199
- <line num="274" count="192" type="stmt"/>
198
+ <line num="262" count="192" type="stmt"/>
199
+ <line num="266" count="192" type="cond" truecount="1" falsecount="1"/>
200
+ <line num="267" count="192" type="stmt"/>
200
201
  <line num="275" count="192" type="stmt"/>
201
202
  <line num="276" count="192" type="stmt"/>
202
- <line num="279" count="36" type="stmt"/>
203
- <line num="280" count="2" type="stmt"/>
204
- <line num="282" count="2" type="stmt"/>
203
+ <line num="277" count="192" type="stmt"/>
204
+ <line num="282" count="36" type="stmt"/>
205
205
  <line num="283" count="2" type="stmt"/>
206
- <line num="284" count="2" type="stmt"/>
207
206
  <line num="285" count="2" type="stmt"/>
207
+ <line num="286" count="2" type="cond" truecount="1" falsecount="1"/>
208
208
  <line num="287" count="2" type="stmt"/>
209
- <line num="288" count="2" type="stmt"/>
210
209
  <line num="289" count="2" type="stmt"/>
211
- <line num="290" count="2" type="stmt"/>
212
- <line num="293" count="36" type="stmt"/>
210
+ <line num="290" count="2" type="cond" truecount="1" falsecount="1"/>
211
+ <line num="291" count="2" type="stmt"/>
212
+ <line num="292" count="2" type="stmt"/>
213
213
  <line num="295" count="2" type="stmt"/>
214
214
  <line num="296" count="2" type="stmt"/>
215
215
  <line num="297" count="2" type="stmt"/>
216
- <line num="300" count="2" type="cond" truecount="1" falsecount="1"/>
217
- <line num="301" count="0" type="stmt"/>
218
- <line num="302" count="0" type="stmt"/>
219
- <line num="306" count="2" type="stmt"/>
220
- <line num="310" count="2" type="stmt"/>
221
- <line num="311" count="2" type="stmt"/>
222
- <line num="312" count="2" type="stmt"/>
223
- <line num="315" count="36" type="stmt"/>
224
- <line num="317" count="1" type="stmt"/>
225
- <line num="318" count="1" type="stmt"/>
226
- <line num="319" count="1" type="cond" truecount="1" falsecount="1"/>
227
- <line num="320" count="0" type="stmt"/>
228
- <line num="324" count="1" type="cond" truecount="1" falsecount="1"/>
229
- <line num="325" count="0" type="stmt"/>
230
- <line num="329" count="1" type="stmt"/>
231
- <line num="333" count="1" type="stmt"/>
232
- <line num="334" count="1" type="stmt"/>
233
- <line num="335" count="1" type="stmt"/>
234
- <line num="338" count="36" type="stmt"/>
235
- <line num="339" count="11" type="stmt"/>
236
- <line num="341" count="11" type="stmt"/>
237
- <line num="346" count="11" type="cond" truecount="2" falsecount="2"/>
238
- <line num="347" count="0" type="stmt"/>
239
- <line num="350" count="11" type="stmt"/>
240
- <line num="351" count="11" type="stmt"/>
241
- <line num="353" count="11" type="stmt"/>
242
- <line num="354" count="11" type="stmt"/>
243
- <line num="357" count="36" type="stmt"/>
244
- <line num="358" count="0" type="stmt"/>
245
- <line num="359" count="0" type="cond" truecount="0" falsecount="2"/>
246
- <line num="360" count="0" type="stmt"/>
247
- <line num="364" count="0" type="stmt"/>
248
- <line num="366" count="0" type="stmt"/>
216
+ <line num="300" count="36" type="stmt"/>
217
+ <line num="302" count="2" type="stmt"/>
218
+ <line num="303" count="2" type="stmt"/>
219
+ <line num="304" count="2" type="stmt"/>
220
+ <line num="307" count="2" type="cond" truecount="1" falsecount="1"/>
221
+ <line num="308" count="0" type="stmt"/>
222
+ <line num="309" count="0" type="stmt"/>
223
+ <line num="313" count="2" type="stmt"/>
224
+ <line num="317" count="2" type="stmt"/>
225
+ <line num="318" count="2" type="stmt"/>
226
+ <line num="319" count="2" type="stmt"/>
227
+ <line num="322" count="36" type="stmt"/>
228
+ <line num="324" count="1" type="stmt"/>
229
+ <line num="325" count="1" type="stmt"/>
230
+ <line num="326" count="1" type="cond" truecount="1" falsecount="1"/>
231
+ <line num="327" count="0" type="stmt"/>
232
+ <line num="331" count="1" type="cond" truecount="1" falsecount="1"/>
233
+ <line num="332" count="0" type="stmt"/>
234
+ <line num="336" count="1" type="stmt"/>
235
+ <line num="340" count="1" type="stmt"/>
236
+ <line num="341" count="1" type="stmt"/>
237
+ <line num="342" count="1" type="stmt"/>
238
+ <line num="345" count="36" type="stmt"/>
239
+ <line num="346" count="11" type="stmt"/>
240
+ <line num="348" count="11" type="stmt"/>
241
+ <line num="353" count="11" type="cond" truecount="2" falsecount="2"/>
242
+ <line num="354" count="0" type="stmt"/>
243
+ <line num="357" count="11" type="stmt"/>
244
+ <line num="358" count="11" type="stmt"/>
245
+ <line num="360" count="11" type="stmt"/>
246
+ <line num="361" count="11" type="stmt"/>
247
+ <line num="364" count="36" type="stmt"/>
248
+ <line num="365" count="0" type="stmt"/>
249
+ <line num="366" count="0" type="cond" truecount="0" falsecount="2"/>
249
250
  <line num="367" count="0" type="stmt"/>
250
- <line num="368" count="0" type="stmt"/>
251
- <line num="369" count="0" type="cond" truecount="0" falsecount="2"/>
252
- <line num="372" count="0" type="stmt"/>
251
+ <line num="371" count="0" type="stmt"/>
253
252
  <line num="373" count="0" type="stmt"/>
254
- <line num="376" count="0" type="stmt"/>
253
+ <line num="374" count="0" type="stmt"/>
254
+ <line num="375" count="0" type="stmt"/>
255
+ <line num="376" count="0" type="cond" truecount="0" falsecount="2"/>
255
256
  <line num="379" count="0" type="stmt"/>
256
- <line num="384" count="0" type="stmt"/>
257
- <line num="385" count="0" type="stmt"/>
258
- <line num="387" count="0" type="stmt"/>
257
+ <line num="380" count="0" type="stmt"/>
258
+ <line num="383" count="0" type="stmt"/>
259
+ <line num="386" count="0" type="stmt"/>
259
260
  <line num="391" count="0" type="stmt"/>
260
- <line num="395" count="0" type="stmt"/>
261
- <line num="397" count="0" type="cond" truecount="0" falsecount="2"/>
261
+ <line num="392" count="0" type="stmt"/>
262
+ <line num="394" count="0" type="stmt"/>
262
263
  <line num="398" count="0" type="stmt"/>
263
- <line num="400" count="0" type="stmt"/>
264
- <line num="406" count="36" type="stmt"/>
265
- <line num="407" count="5" type="stmt"/>
266
- <line num="408" count="5" type="stmt"/>
267
- <line num="410" count="5" type="stmt"/>
268
- <line num="411" count="5" type="cond" truecount="1" falsecount="1"/>
269
- <line num="412" count="5" type="stmt"/>
264
+ <line num="402" count="0" type="stmt"/>
265
+ <line num="404" count="0" type="cond" truecount="0" falsecount="2"/>
266
+ <line num="405" count="0" type="stmt"/>
267
+ <line num="407" count="0" type="stmt"/>
268
+ <line num="413" count="36" type="stmt"/>
269
+ <line num="414" count="5" type="stmt"/>
270
+ <line num="415" count="5" type="stmt"/>
270
271
  <line num="417" count="5" type="stmt"/>
272
+ <line num="418" count="5" type="cond" truecount="1" falsecount="1"/>
271
273
  <line num="419" count="5" type="stmt"/>
272
- <line num="421" count="5" type="stmt"/>
273
- <line num="422" count="5" type="stmt"/>
274
- <line num="425" count="36" type="stmt"/>
275
- <line num="426" count="192" type="stmt"/>
276
- <line num="428" count="192" type="stmt"/>
277
- <line num="429" count="192" type="stmt"/>
278
- <line num="430" count="384" type="stmt"/>
279
- <line num="431" count="384" type="stmt"/>
280
- <line num="434" count="192" type="stmt"/>
274
+ <line num="424" count="5" type="stmt"/>
275
+ <line num="426" count="5" type="stmt"/>
276
+ <line num="428" count="5" type="stmt"/>
277
+ <line num="429" count="5" type="stmt"/>
278
+ <line num="432" count="36" type="stmt"/>
279
+ <line num="433" count="192" type="stmt"/>
280
+ <line num="435" count="192" type="stmt"/>
281
+ <line num="436" count="192" type="stmt"/>
282
+ <line num="437" count="384" type="stmt"/>
283
+ <line num="438" count="384" type="stmt"/>
284
+ <line num="441" count="192" type="stmt"/>
281
285
  </file>
282
286
  <file name="auth.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/auth.js">
283
287
  <metrics statements="27" coveredstatements="23" conditionals="8" coveredconditionals="4" methods="1" coveredmethods="1"/>