@budibase/server 1.0.5 → 1.0.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.
- package/builder/assets/{index.560e8b3f.js → index.f558d674.js} +1 -1
- package/builder/index.html +1 -1
- package/coverage/clover.xml +181 -171
- package/coverage/coverage-final.json +3 -3
- package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/application.js.html +1 -1
- package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +1 -1
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +1 -1
- package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/api/controllers/hosting.js.html +1 -1
- package/coverage/lcov-report/api/controllers/index.html +1 -1
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query.js.html +1 -1
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/screen.js.html +1 -1
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/utils.js.html +5 -2
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.html +15 -15
- package/coverage/lcov-report/api/controllers/view/index.js.html +52 -10
- package/coverage/lcov-report/api/controllers/view/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +1 -1
- package/coverage/lcov-report/api/controllers/webhook.js.html +1 -1
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/application.js.html +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +1 -1
- package/coverage/lcov-report/api/routes/hosting.js.html +1 -1
- package/coverage/lcov-report/api/routes/index.html +1 -1
- package/coverage/lcov-report/api/routes/index.js.html +1 -1
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +1 -1
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/row.js.html +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/static.js.html +1 -1
- package/coverage/lcov-report/api/routes/table.js.html +1 -1
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +1 -1
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +1 -1
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +1 -1
- package/coverage/lcov-report/automations/index.html +1 -1
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +1 -1
- package/coverage/lcov-report/automations/steps/createRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/delay.js.html +1 -1
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/discord.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +1 -1
- package/coverage/lcov-report/automations/steps/executeScript.js.html +1 -1
- package/coverage/lcov-report/automations/steps/filter.js.html +1 -1
- package/coverage/lcov-report/automations/steps/index.html +1 -1
- package/coverage/lcov-report/automations/steps/integromat.js.html +1 -1
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +1 -1
- package/coverage/lcov-report/automations/steps/queryRows.js.html +1 -1
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +1 -1
- package/coverage/lcov-report/automations/steps/serverLog.js.html +1 -1
- package/coverage/lcov-report/automations/steps/slack.js.html +1 -1
- package/coverage/lcov-report/automations/steps/updateRow.js.html +1 -1
- package/coverage/lcov-report/automations/steps/utils.js.html +1 -1
- package/coverage/lcov-report/automations/steps/zapier.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/triggers.js.html +1 -1
- package/coverage/lcov-report/automations/utils.js.html +1 -1
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/index.js.html +1 -1
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +1 -1
- package/coverage/lcov-report/db/client.js.html +1 -1
- package/coverage/lcov-report/db/inMemoryView.js.html +1 -1
- package/coverage/lcov-report/db/index.html +1 -1
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +1 -1
- package/coverage/lcov-report/db/newid.js.html +1 -1
- package/coverage/lcov-report/db/utils.js.html +1 -1
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +1 -1
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +23 -23
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/authorized.js.html +1 -1
- package/coverage/lcov-report/middleware/builder.js.html +1 -1
- package/coverage/lcov-report/middleware/currentapp.js.html +1 -1
- package/coverage/lcov-report/middleware/index.html +1 -1
- package/coverage/lcov-report/middleware/joi-validator.js.html +1 -1
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.js.html +1 -1
- package/coverage/lcov-report/middleware/utils.js.html +1 -1
- package/coverage/lcov-report/threads/automation.js.html +1 -1
- package/coverage/lcov-report/threads/index.html +1 -1
- package/coverage/lcov-report/threads/index.js.html +1 -1
- package/coverage/lcov-report/threads/query.js.html +1 -1
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +1 -1
- package/coverage/lcov-report/utilities/centralPath.js.html +1 -1
- package/coverage/lcov-report/utilities/csvParser.js.html +19 -10
- package/coverage/lcov-report/utilities/global.js.html +1 -1
- package/coverage/lcov-report/utilities/index.html +14 -14
- package/coverage/lcov-report/utilities/index.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +1 -1
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +1 -1
- package/coverage/lcov-report/utilities/scriptRunner.js.html +1 -1
- package/coverage/lcov-report/utilities/security.js.html +1 -1
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +1 -1
- package/coverage/lcov-report/utilities/workerRequests.js.html +1 -1
- package/coverage/lcov.info +283 -263
- package/dist/api/controllers/view/index.js +15 -2
- package/dist/integrations/oracle.js +1 -1
- package/dist/package.json +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utilities/csvParser.js +5 -2
- package/package.json +5 -5
- package/scripts/integrations/oracle/oracle.md +1 -1
- package/src/api/controllers/table/utils.js +1 -0
- package/src/api/controllers/view/index.js +16 -2
- package/src/integrations/oracle.ts +1 -1
- package/src/utilities/csvParser.js +5 -2
|
@@ -1267,7 +1267,7 @@ https://github.com/highlightjs/highlight.js/issues/2877`));var de=J;function ee(
|
|
|
1267
1267
|
This action cannot be undone.`)},m(o,l){E(o,e,l),E(o,n,l),k(n,i),k(n,a),E(o,s,l)},p(o,l){l&1&&r!==(r=o[0].name+"")&&Ce(i,r)},d(o){o&&S(e),o&&S(n),o&&S(s)}}}function lie(t){let e,n,r,i,a,s;e=new jn({props:{$$slots:{control:[sie],default:[aie]},$$scope:{ctx:t}}});let o={okText:"Delete Automation",onOk:t[3],title:"Confirm Deletion",$$slots:{default:[oie]},$$scope:{ctx:t}};r=new xn({props:o}),t[4](r);let l={automation:t[0]};return a=new nie({props:l}),t[5](a),{c(){w(e.$$.fragment),n=I(),w(r.$$.fragment),i=I(),w(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){h(e.$$.fragment,u),h(r.$$.fragment,u),h(a.$$.fragment,u),s=!1},d(u){$(e,u),u&&S(n),t[4](null),$(r,u),u&&S(i),t[5](null),$(a,u)}}}function uie(t,e,n){let r;oe(t,Rt,c=>n(6,r=c));let{automation:i}=e,a,s;async function o(){await Dt.actions.delete(i),De.success("Automation deleted."),r("../automate")}function l(c){Z[c?"unshift":"push"](()=>{a=c,n(1,a)})}function u(c){Z[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 cie extends ae{constructor(e){super();se(this,e,uie,lie,te,{automation:0})}}function LT(t,e,n){const r=t.slice();return r[5]=e[n],r[7]=n,r}function fie(t){let e,n,r;return e=new cie({props:{automation:t[5]}}),{c(){w(e.$$.fragment),n=I()},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){h(e.$$.fragment,i),r=!1},d(i){$(e,i),i&&S(n)}}}function PT(t){let e,n;function r(){return t[3](t[5])}return e=new Ai({props:{border:t[7]>0,icon:"ShareAndroid",text:t[5].name,selected:t[5]._id===t[1],$$slots:{default:[fie]},$$scope:{ctx:t}}}),e.$on("click",r),{c(){w(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){h(e.$$.fragment,i),n=!1},d(i){$(e,i)}}}function die(t){let e,n,r=t[0].automations,i=[];for(let s=0;s<r.length;s+=1)i[s]=PT(LT(t,r,s));const a=s=>h(i[s],1,1,()=>{i[s]=null});return{c(){e=M("div");for(let s=0;s<i.length;s+=1)i[s].c();T(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=LT(s,r,l);i[l]?(i[l].p(u,o),m(i[l],1)):(i[l]=PT(u),i[l].c(),m(i[l],1),i[l].m(e,null))}for(re(),l=r.length;l<i.length;l+=1)a(l);ie()}},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)h(i[o]);n=!1},d(s){s&&S(e),at(i,s)}}}function pie(t,e,n){let r,i,a;oe(t,Rt,l=>n(4,i=l)),oe(t,Dt,l=>n(0,a=l)),qt(()=>{Dt.actions.fetch()});function s(l){Dt.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 _ie extends ae{constructor(e){super();se(this,e,pie,die,te,{})}}function UT(t,e,n){const r=t.slice();return r[17]=e[n][0],r[18]=e[n][1],r}function mie(t){let e;return{c(){e=Y(`Please name your automation, then select a trigger. Every automation must
|
|
1268
1268
|
start with a trigger.`)},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function gie(t){let e;return{c(){e=Y("Triggers")},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function hie(t){let e=t[18].name+"",n;return{c(){n=Y(e)},m(r,i){E(r,n,i)},p(r,i){i&8&&e!==(e=r[18].name+"")&&Ce(n,e)},d(r){r&&S(n)}}}function BT(t){let e,n,r,i,a,s,o,l,u,c;r=new nt({props:{name:t[18].icon}}),s=new qe({props:{size:"S",$$slots:{default:[hie]},$$scope:{ctx:t}}});function f(){return t[13](t[18])}return{c(){e=M("div"),n=M("div"),w(r.$$.fragment),i=I(),a=M("span"),w(s.$$.fragment),o=I(),T(a,"class","icon-spacing svelte-d3iboa"),T(n,"class","item-body svelte-d3iboa"),T(e,"class","item svelte-d3iboa"),ne(e,"selected",t[2]===t[18].name)},m(d,p){E(d,e,p),k(e,n),C(r,n,null),k(n,i),k(n,a),C(s,a,null),k(e,o),l=!0,u||(c=we(e,"click",f),u=!0)},p(d,p){t=d;const _={};p&8&&(_.name=t[18].icon),r.$set(_);const g={};p&2097160&&(g.$$scope={dirty:p,ctx:t}),s.$set(g),p&12&&ne(e,"selected",t[2]===t[18].name)},i(d){l||(m(r.$$.fragment,d),m(s.$$.fragment,d),l=!0)},o(d){h(r.$$.fragment,d),h(s.$$.fragment,d),l=!1},d(d){d&&S(e),$(r),$(s),u=!1,c()}}}function bie(t){let e,n,r,i;e=new qe({props:{size:"S",$$slots:{default:[gie]},$$scope:{ctx:t}}});let a=t[3],s=[];for(let l=0;l<a.length;l+=1)s[l]=BT(UT(t,a,l));const o=l=>h(s[l],1,1,()=>{s[l]=null});return{c(){w(e.$$.fragment),n=I(),r=M("div");for(let l=0;l<s.length;l+=1)s[l].c();T(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=UT(l,a,f);s[f]?(s[f].p(d,u),m(s[f],1)):(s[f]=BT(d),s[f].c(),m(s[f],1),s[f].m(r,null))}for(re(),f=a.length;f<s.length;f+=1)o(f);ie()}},i(l){if(!i){m(e.$$.fragment,l);for(let u=0;u<a.length;u+=1)m(s[u]);i=!0}},o(l){h(e.$$.fragment,l),s=s.filter(Boolean);for(let u=0;u<s.length;u+=1)h(s[u]);i=!1},d(l){$(e,l),l&&S(n),l&&S(r),at(s,l)}}}function vie(t){let e,n,r,i,a,s,o,l,u,c;e=new ac({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 qe({props:{size:"XS",$$slots:{default:[mie]},$$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 xe({props:p}),Z.push(()=>fe(a,"value",f)),Z.push(()=>fe(a,"error",d)),a.$on("change",t[12]),u=new Fe({props:{noPadding:!0,$$slots:{default:[bie]},$$scope:{ctx:t}}}),{c(){w(e.$$.fragment),n=I(),w(r.$$.fragment),i=I(),w(a.$$.fragment),l=I(),w(u.$$.fragment)},m(_,g){C(e,_,g),E(_,n,g),C(r,_,g),E(_,i,g),C(a,_,g),E(_,l,g),C(u,_,g),c=!0},p(_,g){const b={};g&2097152&&(b.$$scope={dirty:g,ctx:_}),r.$set(b);const v={};!s&&g&1&&(s=!0,v.value=_[0],pe(()=>s=!1)),!o&&g&16&&(o=!0,v.error=_[4],pe(()=>o=!1)),a.$set(v);const y={};g&2097164&&(y.$$scope={dirty:g,ctx:_}),u.$set(y)},i(_){c||(m(e.$$.fragment,_),m(r.$$.fragment,_),m(a.$$.fragment,_),m(u.$$.fragment,_),c=!0)},o(_){h(e.$$.fragment,_),h(r.$$.fragment,_),h(a.$$.fragment,_),h(u.$$.fragment,_),c=!1},d(_){$(e,_),_&&S(n),$(r,_),_&&S(i),$(a,_),_&&S(l),$(u,_)}}}function Eie(t){let e,n;return e=new $t({props:{title:"Create Automation",confirmText:"Save",size:"M",onConfirm:t[5],disabled:!t[2]||!t[0],$$slots:{default:[vie]},$$scope:{ctx:t}}}),{c(){w(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){h(e.$$.fragment,r),n=!1},d(r){$(e,r)}}}function Sie(t,e,n){let r,i,a,s,o,l;oe(t,Dt,O=>n(8,s=O)),oe(t,Rt,O=>n(16,o=O)),oe(t,la,O=>n(9,l=O));let u,c,f=!1,d,{webhookModal:p}=e;async function _(){var N;await Dt.actions.create({name:u,instanceId:r});const O=s.selectedAutomation.constructBlock("TRIGGER",d.stepId,d);Dt.actions.addBlockToAutomation(O),d.stepId==="WEBHOOK"&&p.show,await Dt.actions.save((N=s.selectedAutomation)==null?void 0:N.automation),De.success(`Automation ${u} created.`),o(`./${s.selectedAutomation.automation._id}`),mn.captureEvent(On.AUTOMATION.CREATED,{name:u})}const g=O=>{d=O,n(2,c=O.name)};function b(O){u=O,n(0,u)}function v(O){i=O,n(4,i),n(1,f),n(0,u)}const y=()=>n(1,f=!0),R=O=>g(O);return t.$$set=O=>{"webhookModal"in O&&n(7,p=O.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,_,g,p,s,l,b,v,y,R]}class FT extends ae{constructor(e){super();se(this,e,Sie,Eie,te,{webhookModal:7})}}function yie(t){let e,n;return e=new FT({props:{webhookModal:t[1]}}),{c(){w(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){h(e.$$.fragment,r),n=!1},d(r){$(e,r)}}}function Tie(t){let e,n,r,i,a;n=new _ie({});let s={$$slots:{default:[yie]},$$scope:{ctx:t}};return i=new vt({props:s}),t[2](i),{c(){e=M("div"),w(n.$$.fragment),r=I(),w(i.$$.fragment),T(e,"class","tab-content-padding svelte-1r2f9up")},m(o,l){E(o,e,l),C(n,e,null),k(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){h(n.$$.fragment,o),h(i.$$.fragment,o),a=!1},d(o){o&&S(e),$(n),t[2](null),$(i)}}}function wie(t){let e,n;return e=new Mn({props:{title:"Automations",$$slots:{default:[Tie]},$$scope:{ctx:t}}}),{c(){w(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){h(e.$$.fragment,r),n=!1},d(r){$(e,r)}}}function Cie(t){let e,n,r,i,a,s;return n=new zr({props:{selected:"Automations",$$slots:{default:[wie]},$$scope:{ctx:t}}}),a=new nt({props:{hoverable:!0,name:"AddCircle"}}),a.$on("click",function(){et(t[0].show)&&t[0].show.apply(this,arguments)}),{c(){e=M("div"),w(n.$$.fragment),r=I(),i=M("div"),w(a.$$.fragment),T(i,"class","add-button svelte-1r2f9up"),T(i,"data-cy","new-screen"),T(e,"class","title svelte-1r2f9up")},m(o,l){E(o,e,l),C(n,e,null),k(e,r),k(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){h(n.$$.fragment,o),h(a.$$.fragment,o),s=!1},d(o){o&&S(e),$(n),$(a)}}}function $ie(t,e,n){let{modal:r}=e,{webhookModal:i}=e;function a(s){Z[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 Oie extends ae{constructor(e){super();se(this,e,$ie,Cie,te,{modal:0,webhookModal:1})}}function Nie(t){let e,n,r,i;return r=new Fe({props:{gap:"S",justifyItems:"center",$$slots:{default:[Die]},$$scope:{ctx:t}}}),{c(){e=M("div"),n=M("div"),w(r.$$.fragment),T(n,"class","main svelte-16gumu0"),T(e,"class","centered svelte-16gumu0")},m(a,s){E(a,e,s),k(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){h(r.$$.fragment,a),i=!1},d(a){a&&S(e),$(r)}}}function Rie(t){let e;const n=t[4].default,r=ut(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)&&ct(r,n,i,i[8],e?dt(n,i[8],a,null):ft(i[8]),null)},i(i){e||(m(r,i),e=!0)},o(i){h(r,i),e=!1},d(i){r&&r.d(i)}}}function Aie(t){let e;return{c(){e=Y("You have no automations")},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function kie(t){let e;return{c(){e=Y("Let's fix that. Call the bots!")},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function Iie(t){let e;return{c(){e=Y("Create automation")},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function Die(t){let e,n,r,i,a,s,o,l,u;return i=new mt({props:{size:"M",$$slots:{default:[Aie]},$$scope:{ctx:t}}}),s=new qe({props:{size:"M",$$slots:{default:[kie]},$$scope:{ctx:t}}}),l=new lt({props:{size:"M",cta:!0,$$slots:{default:[Iie]},$$scope:{ctx:t}}}),l.$on("click",t[5]),{c(){e=ge("svg"),n=ge("use"),r=I(),w(i.$$.fragment),a=I(),w(s.$$.fragment),o=I(),w(l.$$.fragment),Yt(n,"xlink:href","#spectrum-icon-18-WorkflowAdd"),T(e,"width","60px"),T(e,"height","60px"),T(e,"class","spectrum-Icon"),T(e,"focusable","false")},m(c,f){E(c,e,f),k(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){h(i.$$.fragment,c),h(s.$$.fragment,c),h(l.$$.fragment,c),u=!1},d(c){c&&S(e),c&&S(r),$(i,c),c&&S(a),$(s,c),c&&S(o),$(l,c)}}}function Mie(t){let e,n;return e=new FT({props:{webhookModal:t[1]}}),{c(){w(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){h(e.$$.fragment,r),n=!1},d(r){$(e,r)}}}function Lie(t){let e,n;return e=new Md({}),{c(){w(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){h(e.$$.fragment,r),n=!1},d(r){$(e,r)}}}function Pie(t){let e,n,r,i,a,s,o,l,u,c,f,d;r=new Oie({props:{modal:t[0],webhookModal:t[1]}});const p=[Rie,Nie],_=[];function g(y,R){return y[2]?0:1}s=g(t),o=_[s]=p[s](t);let b={$$slots:{default:[Mie]},$$scope:{ctx:t}};u=new vt({props:b}),t[6](u);let v={width:"30%",$$slots:{default:[Lie]},$$scope:{ctx:t}};return f=new vt({props:v}),t[7](f),{c(){e=M("div"),n=M("div"),w(r.$$.fragment),i=I(),a=M("div"),o.c(),l=I(),w(u.$$.fragment),c=I(),w(f.$$.fragment),T(n,"class","nav svelte-16gumu0"),T(a,"class","content svelte-16gumu0"),T(e,"class","root svelte-16gumu0")},m(y,R){E(y,e,R),k(e,n),C(r,n,null),k(e,i),k(e,a),_[s].m(a,null),k(e,l),C(u,e,null),k(e,c),C(f,e,null),d=!0},p(y,[R]){const O={};R&1&&(O.modal=y[0]),R&2&&(O.webhookModal=y[1]),r.$set(O);let N=s;s=g(y),s===N?_[s].p(y,R):(re(),h(_[N],1,1,()=>{_[N]=null}),ie(),o=_[s],o?o.p(y,R):(o=_[s]=p[s](y),o.c()),m(o,1),o.m(a,null));const D={};R&258&&(D.$$scope={dirty:R,ctx:y}),u.$set(D);const F={};R&256&&(F.$$scope={dirty:R,ctx:y}),f.$set(F)},i(y){d||(m(r.$$.fragment,y),m(o),m(u.$$.fragment,y),m(f.$$.fragment,y),d=!0)},o(y){h(r.$$.fragment,y),h(o),h(u.$$.fragment,y),h(f.$$.fragment,y),d=!1},d(y){y&&S(e),$(r),_[s].d(),t[6](null),$(u),t[7](null),$(f)}}}function Uie(t,e,n){let r,i;oe(t,Dt,d=>n(3,i=d));let{$$slots:a={},$$scope:s}=e,o,l;const u=()=>o.show();function c(d){Z[d?"unshift":"push"](()=>{o=d,n(0,o)})}function f(d){Z[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 Bie extends ae{constructor(e){super();se(this,e,Uie,Pie,te,{})}}function Fie(t){let e;return{c(){e=Y("Publish")},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function qie(t){let e,n;return e=new $t({props:{title:"Enjoying Budibase?",size:"L",showConfirmButton:!1,showCancelButton:!1}}),{c(){w(e.$$.fragment)},m(r,i){C(e,r,i),n=!0},p:ye,i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){h(e.$$.fragment,r),n=!1},d(r){$(e,r)}}}function Gie(t){let e;return{c(){e=M("span"),e.textContent=`The changes you have made will be published to the production version of
|
|
1269
1269
|
the application.`},m(n,r){E(n,e,r)},d(n){n&&S(e)}}}function Yie(t){let e,n;return e=new $t({props:{title:"Publish to Production",confirmText:"Publish",onConfirm:t[2],$$slots:{default:[Gie]},$$scope:{ctx:t}}}),{c(){w(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){h(e.$$.fragment,r),n=!1},d(r){$(e,r)}}}function zie(t){let e,n,r,i,a,s;e=new lt({props:{secondary:!0,$$slots:{default:[Fie]},$$scope:{ctx:t}}}),e.$on("click",function(){et(t[1].show)&&t[1].show.apply(this,arguments)});let o={$$slots:{default:[qie]},$$scope:{ctx:t}};r=new vt({props:o}),t[3](r);let l={$$slots:{default:[Yie]},$$scope:{ctx:t}};return a=new vt({props:l}),t[4](a),{c(){w(e.$$.fragment),n=I(),w(r.$$.fragment),i=I(),w(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){h(e.$$.fragment,u),h(r.$$.fragment,u),h(a.$$.fragment,u),s=!1},d(u){$(e,u),u&&S(n),t[3](null),$(r,u),u&&S(i),t[4](null),$(a,u)}}}function Vie(t,e,n){let r;oe(t,Pe,u=>n(5,r=u));let i,a;async function s(){try{const u=await Ye.post("/api/deploy");if(u.status!==200)throw new Error(`status ${u.status}`);mn.captureEvent(On.APP.PUBLISHED,{appId:r.appId}),De.success("Application published successfully")}catch(u){mn.captureException(u),De.error(`Error publishing app: ${u}`)}}function o(u){Z[u?"unshift":"push"](()=>{i=u,n(0,i)})}function l(u){Z[u?"unshift":"push"](()=>{a=u,n(1,a)})}return[i,a,s,o,l]}class jie extends ae{constructor(e){super();se(this,e,Vie,zie,te,{})}}function Hie(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 xe({props:u}),Z.push(()=>fe(a,"value",l)),{c(){e=M("span"),e.textContent=`The changes you have made will be deleted and the application reverted
|
|
1270
|
-
back to its production state.`,n=I(),r=M("span"),r.textContent="Please enter your app name to continue.",i=I(),w(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],pe(()=>s=!1)),a.$set(d)},i(c){o||(m(a.$$.fragment,c),o=!0)},o(c){h(a.$$.fragment,c),o=!1},d(c){c&&S(e),c&&S(n),c&&S(r),c&&S(i),$(a,c)}}}function xie(t){let e,n;return e=new $t({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:t[3],disabled:t[2]!==t[0].name,$$slots:{default:[Hie]},$$scope:{ctx:t}}}),{c(){w(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){h(e.$$.fragment,r),n=!1},d(r){$(e,r)}}}function Wie(t){let e,n,r,i;e=new nt({props:{name:"Revert",hoverable:!0}}),e.$on("click",function(){et(t[1].show)&&t[1].show.apply(this,arguments)});let a={$$slots:{default:[xie]},$$scope:{ctx:t}};return r=new vt({props:a}),t[5](r),{c(){w(e.$$.fragment),n=I(),w(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){h(e.$$.fragment,s),h(r.$$.fragment,s),i=!1},d(s){$(e,s),s&&S(n),t[5](null),$(r,s)}}}function Qie(t,e,n){let r,i;oe(t,Pe,c=>n(0,i=c));let a,s;const o=async()=>{try{const c=await Ye.post(`/api/dev/${r}/revert`),f=await c.json();if(c.status!==200)throw f.message;const d=await Ye.get(`/api/applications/${r}/appPackage`),p=await d.json();if(d.ok)await Pe.actions.initialise(p);else throw new Error(p);De.info("Changes reverted.")}catch(c){De.error(`Error reverting changes: ${c}`)}};function l(c){s=c,n(2,s)}function u(c){Z[c?"unshift":"push"](()=>{a=c,n(1,a)})}return t.$$.update=()=>{t.$$.dirty&1&&(r=i.appId)},[i,a,s,o,l,u]}class Kie extends ae{constructor(e){super();se(this,e,Qie,Wie,te,{})}}const Xie="@budibase/client",Zie="1.0.
|
|
1270
|
+
back to its production state.`,n=I(),r=M("span"),r.textContent="Please enter your app name to continue.",i=I(),w(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],pe(()=>s=!1)),a.$set(d)},i(c){o||(m(a.$$.fragment,c),o=!0)},o(c){h(a.$$.fragment,c),o=!1},d(c){c&&S(e),c&&S(n),c&&S(r),c&&S(i),$(a,c)}}}function xie(t){let e,n;return e=new $t({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:t[3],disabled:t[2]!==t[0].name,$$slots:{default:[Hie]},$$scope:{ctx:t}}}),{c(){w(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){h(e.$$.fragment,r),n=!1},d(r){$(e,r)}}}function Wie(t){let e,n,r,i;e=new nt({props:{name:"Revert",hoverable:!0}}),e.$on("click",function(){et(t[1].show)&&t[1].show.apply(this,arguments)});let a={$$slots:{default:[xie]},$$scope:{ctx:t}};return r=new vt({props:a}),t[5](r),{c(){w(e.$$.fragment),n=I(),w(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){h(e.$$.fragment,s),h(r.$$.fragment,s),i=!1},d(s){$(e,s),s&&S(n),t[5](null),$(r,s)}}}function Qie(t,e,n){let r,i;oe(t,Pe,c=>n(0,i=c));let a,s;const o=async()=>{try{const c=await Ye.post(`/api/dev/${r}/revert`),f=await c.json();if(c.status!==200)throw f.message;const d=await Ye.get(`/api/applications/${r}/appPackage`),p=await d.json();if(d.ok)await Pe.actions.initialise(p);else throw new Error(p);De.info("Changes reverted.")}catch(c){De.error(`Error reverting changes: ${c}`)}};function l(c){s=c,n(2,s)}function u(c){Z[c?"unshift":"push"](()=>{a=c,n(1,a)})}return t.$$.update=()=>{t.$$.dirty&1&&(r=i.appId)},[i,a,s,o,l,u]}class Kie extends ae{constructor(e){super();se(this,e,Qie,Wie,te,{})}}const Xie="@budibase/client",Zie="1.0.6",Jie="MPL-2.0",eae="dist/budibase-client.js",tae="dist/budibase-client.js",nae="module",rae="src/index.js",iae={".":{import:"./dist/budibase-client.js",require:"./dist/budibase-client.js"},"./package.json":"./package.json","./manifest.json":"./manifest.json"},aae={build:"rollup -c","dev:builder":"rollup -cw"},sae={"@budibase/bbui":"^1.0.6","@budibase/standard-components":"^0.9.139","@budibase/string-templates":"^1.0.6",regexparam:"^1.3.0",shortid:"^2.2.15","svelte-spa-router":"^3.0.5"},oae={"@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/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-node-builtins":"^2.1.2","rollup-plugin-node-globals":"^1.4.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"},lae="d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc";var Ld={name:Xie,version:Zie,license:Jie,module:eae,main:tae,type:nae,svelte:rae,exports:iae,scripts:aae,dependencies:sae,devDependencies:oae,gitHead:lae};function uae(t){let e,n;return e=new qe({props:{size:"S",$$slots:{default:[fae]},$$scope:{ctx:t}}}),{c(){w(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){h(e.$$.fragment,r),n=!1},d(r){$(e,r)}}}function cae(t){let e,n;return e=new qe({props:{size:"S",$$slots:{default:[dae]},$$scope:{ctx:t}}}),{c(){w(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){h(e.$$.fragment,r),n=!1},d(r){$(e,r)}}}function fae(t){let e,n,r=t[0].version+"",i,a;return{c(){e=Y("This app is currently using version "),n=M("b"),i=Y(r),a=Y(` which is the
|
|
1271
1271
|
latest version available.`)},m(s,o){E(s,e,o),E(s,n,o),k(n,i),E(s,a,o)},p(s,o){o&1&&r!==(r=s[0].version+"")&&Ce(i,r)},d(s){s&&S(e),s&&S(n),s&&S(a)}}}function dae(t){let e,n,r=t[0].version+"",i,a,s,o;return{c(){e=Y("This app is currently using version "),n=M("b"),i=Y(r),a=Y(`, but version
|
|
1272
1272
|
`),s=M("b"),s.textContent=`${Ld.version}`,o=Y(` is available. Updates can contain new features,
|
|
1273
1273
|
performance improvements and bug fixes.`)},m(l,u){E(l,e,u),E(l,n,u),k(n,i),E(l,a,u),E(l,s,u),E(l,o,u)},p(l,u){u&1&&r!==(r=l[0].version+"")&&Ce(i,r)},d(l){l&&S(e),l&&S(n),l&&S(a),l&&S(s),l&&S(o)}}}function qT(t){let e,n;return e=new qe({props:{size:"S",$$slots:{default:[pae]},$$scope:{ctx:t}}}),{c(){w(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){h(e.$$.fragment,r),n=!1},d(r){$(e,r)}}}function pae(t){let e,n,r=t[0].revertableVersion+"",i,a;return{c(){e=Y(`You can revert this app to version
|
package/builder/index.html
CHANGED
|
@@ -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.
|
|
13
|
+
<script type="module" crossorigin src="/builder/assets/index.f558d674.js"></script>
|
|
14
14
|
<link rel="modulepreload" href="/builder/assets/vendor.470042a4.js">
|
|
15
15
|
<link rel="stylesheet" href="/builder/assets/vendor.5e1fe644.css">
|
|
16
16
|
<link rel="stylesheet" href="/builder/assets/index.4fb3f887.css">
|
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1638537744815" clover="3.2.0">
|
|
3
|
+
<project timestamp="1638537744815" name="All files">
|
|
4
|
+
<metrics statements="4386" coveredstatements="3239" conditionals="1748" coveredconditionals="949" methods="623" coveredmethods="441" elements="6757" coveredelements="4629" complexity="0" loc="4386" ncloc="4386" packages="20" files="138" classes="138"/>
|
|
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">
|
|
@@ -2123,142 +2123,142 @@
|
|
|
2123
2123
|
<line num="74" count="34" type="stmt"/>
|
|
2124
2124
|
<line num="75" count="100" type="cond" truecount="4" falsecount="0"/>
|
|
2125
2125
|
<line num="76" count="99" type="stmt"/>
|
|
2126
|
-
<line num="
|
|
2127
|
-
<line num="
|
|
2128
|
-
<line num="85" count="1" type="stmt"/>
|
|
2126
|
+
<line num="79" count="1" type="stmt"/>
|
|
2127
|
+
<line num="81" count="1" type="stmt"/>
|
|
2129
2128
|
<line num="86" count="1" type="stmt"/>
|
|
2130
2129
|
<line num="87" count="1" type="stmt"/>
|
|
2131
2130
|
<line num="88" count="1" type="stmt"/>
|
|
2132
2131
|
<line num="89" count="1" type="stmt"/>
|
|
2133
2132
|
<line num="90" count="1" type="stmt"/>
|
|
2134
|
-
<line num="
|
|
2133
|
+
<line num="91" count="1" type="stmt"/>
|
|
2135
2134
|
<line num="94" count="1" type="stmt"/>
|
|
2136
|
-
<line num="
|
|
2137
|
-
<line num="
|
|
2138
|
-
<line num="
|
|
2139
|
-
<line num="
|
|
2140
|
-
<line num="
|
|
2135
|
+
<line num="95" count="1" type="stmt"/>
|
|
2136
|
+
<line num="97" count="1" type="stmt"/>
|
|
2137
|
+
<line num="99" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
2138
|
+
<line num="104" count="0" type="stmt"/>
|
|
2139
|
+
<line num="111" count="1" type="stmt"/>
|
|
2141
2140
|
<line num="114" count="1" type="stmt"/>
|
|
2142
2141
|
<line num="115" count="1" type="stmt"/>
|
|
2143
2142
|
<line num="116" count="1" type="stmt"/>
|
|
2144
|
-
<line num="
|
|
2145
|
-
<line num="120" count="
|
|
2146
|
-
<line num="
|
|
2147
|
-
<line num="123" count="
|
|
2143
|
+
<line num="117" count="1" type="stmt"/>
|
|
2144
|
+
<line num="120" count="34" type="stmt"/>
|
|
2145
|
+
<line num="121" count="99" type="stmt"/>
|
|
2146
|
+
<line num="123" count="99" type="cond" truecount="4" falsecount="0"/>
|
|
2148
2147
|
<line num="124" count="2" type="stmt"/>
|
|
2149
|
-
<line num="
|
|
2150
|
-
<line num="127" count="
|
|
2151
|
-
<line num="
|
|
2152
|
-
<line num="131" count="
|
|
2148
|
+
<line num="125" count="2" type="stmt"/>
|
|
2149
|
+
<line num="127" count="2" type="stmt"/>
|
|
2150
|
+
<line num="128" count="3" type="stmt"/>
|
|
2151
|
+
<line num="131" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2153
2152
|
<line num="132" count="1" type="stmt"/>
|
|
2154
|
-
<line num="
|
|
2155
|
-
<line num="137" count="1" type="
|
|
2156
|
-
<line num="
|
|
2157
|
-
<line num="
|
|
2158
|
-
<line num="
|
|
2159
|
-
<line num="
|
|
2160
|
-
<line num="
|
|
2161
|
-
<line num="166" count="
|
|
2162
|
-
<line num="
|
|
2163
|
-
<line num="169" count="5" type="
|
|
2164
|
-
<line num="
|
|
2165
|
-
<line num="
|
|
2153
|
+
<line num="133" count="1" type="stmt"/>
|
|
2154
|
+
<line num="137" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
2155
|
+
<line num="138" count="1" type="stmt"/>
|
|
2156
|
+
<line num="140" count="1" type="stmt"/>
|
|
2157
|
+
<line num="151" count="1" type="stmt"/>
|
|
2158
|
+
<line num="161" count="99" type="stmt"/>
|
|
2159
|
+
<line num="164" count="34" type="stmt"/>
|
|
2160
|
+
<line num="166" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2161
|
+
<line num="167" count="1" type="stmt"/>
|
|
2162
|
+
<line num="169" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
2163
|
+
<line num="170" count="5" type="stmt"/>
|
|
2164
|
+
<line num="174" count="99" type="stmt"/>
|
|
2166
2165
|
<line num="179" count="99" type="stmt"/>
|
|
2167
|
-
<line num="180" count="99" type="
|
|
2168
|
-
<line num="181" count="99" type="
|
|
2169
|
-
<line num="
|
|
2166
|
+
<line num="180" count="99" type="stmt"/>
|
|
2167
|
+
<line num="181" count="99" type="cond" truecount="3" falsecount="1"/>
|
|
2168
|
+
<line num="182" count="99" type="stmt"/>
|
|
2170
2169
|
<line num="184" count="99" type="stmt"/>
|
|
2171
|
-
<line num="
|
|
2172
|
-
<line num="
|
|
2173
|
-
<line num="192" count="
|
|
2174
|
-
<line num="
|
|
2170
|
+
<line num="185" count="99" type="stmt"/>
|
|
2171
|
+
<line num="187" count="99" type="stmt"/>
|
|
2172
|
+
<line num="192" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2173
|
+
<line num="193" count="4" type="stmt"/>
|
|
2175
2174
|
<line num="195" count="99" type="stmt"/>
|
|
2176
|
-
<line num="
|
|
2177
|
-
<line num="
|
|
2175
|
+
<line num="196" count="99" type="stmt"/>
|
|
2176
|
+
<line num="201" count="99" type="stmt"/>
|
|
2178
2177
|
<line num="206" count="99" type="stmt"/>
|
|
2179
|
-
<line num="
|
|
2178
|
+
<line num="207" count="99" type="stmt"/>
|
|
2180
2179
|
<line num="212" count="99" type="stmt"/>
|
|
2181
|
-
<line num="
|
|
2182
|
-
<line num="
|
|
2183
|
-
<line num="
|
|
2184
|
-
<line num="227" count="
|
|
2180
|
+
<line num="213" count="99" type="stmt"/>
|
|
2181
|
+
<line num="219" count="99" type="stmt"/>
|
|
2182
|
+
<line num="223" count="99" type="stmt"/>
|
|
2183
|
+
<line num="227" count="34" type="stmt"/>
|
|
2185
2184
|
<line num="228" count="0" type="stmt"/>
|
|
2186
|
-
<line num="229" count="0" type="
|
|
2187
|
-
<line num="230" count="0" type="
|
|
2188
|
-
<line num="
|
|
2189
|
-
<line num="
|
|
2190
|
-
<line num="236" count="
|
|
2185
|
+
<line num="229" count="0" type="stmt"/>
|
|
2186
|
+
<line num="230" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2187
|
+
<line num="231" count="0" type="stmt"/>
|
|
2188
|
+
<line num="233" count="0" type="stmt"/>
|
|
2189
|
+
<line num="236" count="34" type="stmt"/>
|
|
2191
2190
|
<line num="237" count="0" type="stmt"/>
|
|
2192
|
-
<line num="
|
|
2193
|
-
<line num="241" count="
|
|
2194
|
-
<line num="242" count="30" type="
|
|
2195
|
-
<line num="243" count="
|
|
2191
|
+
<line num="238" count="0" type="stmt"/>
|
|
2192
|
+
<line num="241" count="34" type="stmt"/>
|
|
2193
|
+
<line num="242" count="30" type="stmt"/>
|
|
2194
|
+
<line num="243" count="30" type="cond" truecount="1" falsecount="1"/>
|
|
2196
2195
|
<line num="244" count="0" type="stmt"/>
|
|
2197
|
-
<line num="
|
|
2198
|
-
<line num="
|
|
2199
|
-
<line num="251" count="
|
|
2196
|
+
<line num="245" count="0" type="stmt"/>
|
|
2197
|
+
<line num="247" count="30" type="stmt"/>
|
|
2198
|
+
<line num="251" count="34" type="stmt"/>
|
|
2200
2199
|
<line num="252" count="1" type="stmt"/>
|
|
2201
|
-
<line num="
|
|
2202
|
-
<line num="256" count="
|
|
2203
|
-
<line num="
|
|
2204
|
-
<line num="
|
|
2205
|
-
<line num="262" count="0" type="
|
|
2200
|
+
<line num="253" count="1" type="stmt"/>
|
|
2201
|
+
<line num="256" count="1" type="stmt"/>
|
|
2202
|
+
<line num="257" count="0" type="stmt"/>
|
|
2203
|
+
<line num="260" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2204
|
+
<line num="262" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2206
2205
|
<line num="263" count="0" type="stmt"/>
|
|
2207
|
-
<line num="
|
|
2208
|
-
<line num="268" count="0" type="
|
|
2206
|
+
<line num="264" count="0" type="stmt"/>
|
|
2207
|
+
<line num="268" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2209
2208
|
<line num="269" count="0" type="stmt"/>
|
|
2210
|
-
<line num="
|
|
2211
|
-
<line num="274" count="0" type="
|
|
2212
|
-
<line num="275" count="0" type="
|
|
2213
|
-
<line num="276" count="0" type="
|
|
2209
|
+
<line num="270" count="0" type="stmt"/>
|
|
2210
|
+
<line num="274" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2211
|
+
<line num="275" count="0" type="stmt"/>
|
|
2212
|
+
<line num="276" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2214
2213
|
<line num="277" count="0" type="stmt"/>
|
|
2215
|
-
<line num="
|
|
2216
|
-
<line num="282" count="0" type="
|
|
2217
|
-
<line num="
|
|
2218
|
-
<line num="285" count="0" type="
|
|
2214
|
+
<line num="278" count="0" type="stmt"/>
|
|
2215
|
+
<line num="282" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2216
|
+
<line num="283" count="0" type="stmt"/>
|
|
2217
|
+
<line num="285" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2219
2218
|
<line num="286" count="0" type="stmt"/>
|
|
2220
2219
|
<line num="287" count="0" type="stmt"/>
|
|
2221
2220
|
<line num="288" count="0" type="stmt"/>
|
|
2222
|
-
<line num="
|
|
2223
|
-
<line num="293" count="0" type="
|
|
2221
|
+
<line num="289" count="0" type="stmt"/>
|
|
2222
|
+
<line num="293" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2224
2223
|
<line num="294" count="0" type="stmt"/>
|
|
2225
|
-
<line num="
|
|
2226
|
-
<line num="299" count="0" type="
|
|
2224
|
+
<line num="295" count="0" type="stmt"/>
|
|
2225
|
+
<line num="299" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2227
2226
|
<line num="300" count="0" type="stmt"/>
|
|
2228
2227
|
<line num="301" count="0" type="stmt"/>
|
|
2229
|
-
<line num="
|
|
2230
|
-
<line num="304" count="0" type="
|
|
2231
|
-
<line num="
|
|
2232
|
-
<line num="312" count="0" type="
|
|
2228
|
+
<line num="302" count="0" type="stmt"/>
|
|
2229
|
+
<line num="304" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2230
|
+
<line num="305" count="0" type="stmt"/>
|
|
2231
|
+
<line num="312" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2233
2232
|
<line num="313" count="0" type="stmt"/>
|
|
2234
|
-
<line num="314" count="0" type="
|
|
2235
|
-
<line num="315" count="0" type="
|
|
2236
|
-
<line num="
|
|
2237
|
-
<line num="
|
|
2238
|
-
<line num="323" count="
|
|
2239
|
-
<line num="
|
|
2240
|
-
<line num="327" count="
|
|
2241
|
-
<line num="
|
|
2242
|
-
<line num="331" count="
|
|
2243
|
-
<line num="
|
|
2244
|
-
<line num="337" count="0" type="
|
|
2245
|
-
<line num="
|
|
2246
|
-
<line num="
|
|
2247
|
-
<line num="343" count="
|
|
2248
|
-
<line num="344" count="
|
|
2249
|
-
<line num="
|
|
2250
|
-
<line num="347" count="
|
|
2251
|
-
<line num="348" count="11" type="
|
|
2252
|
-
<line num="349" count="
|
|
2253
|
-
<line num="
|
|
2254
|
-
<line num="352" count="4" type="
|
|
2255
|
-
<line num="353" count="
|
|
2256
|
-
<line num="
|
|
2257
|
-
<line num="
|
|
2233
|
+
<line num="314" count="0" type="stmt"/>
|
|
2234
|
+
<line num="315" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2235
|
+
<line num="316" count="0" type="stmt"/>
|
|
2236
|
+
<line num="318" count="0" type="stmt"/>
|
|
2237
|
+
<line num="323" count="34" type="stmt"/>
|
|
2238
|
+
<line num="324" count="0" type="stmt"/>
|
|
2239
|
+
<line num="327" count="34" type="stmt"/>
|
|
2240
|
+
<line num="328" count="0" type="stmt"/>
|
|
2241
|
+
<line num="331" count="34" type="cond" truecount="0" falsecount="1"/>
|
|
2242
|
+
<line num="332" count="0" type="stmt"/>
|
|
2243
|
+
<line num="337" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2244
|
+
<line num="338" count="0" type="stmt"/>
|
|
2245
|
+
<line num="340" count="0" type="stmt"/>
|
|
2246
|
+
<line num="343" count="34" type="stmt"/>
|
|
2247
|
+
<line num="344" count="99" type="cond" truecount="2" falsecount="0"/>
|
|
2248
|
+
<line num="345" count="95" type="stmt"/>
|
|
2249
|
+
<line num="347" count="4" type="stmt"/>
|
|
2250
|
+
<line num="348" count="11" type="stmt"/>
|
|
2251
|
+
<line num="349" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
2252
|
+
<line num="350" count="7" type="stmt"/>
|
|
2253
|
+
<line num="352" count="4" type="stmt"/>
|
|
2254
|
+
<line num="353" count="4" type="cond" truecount="2" falsecount="2"/>
|
|
2255
|
+
<line num="354" count="0" type="stmt"/>
|
|
2256
|
+
<line num="357" count="4" type="stmt"/>
|
|
2257
|
+
<line num="360" count="34" type="stmt"/>
|
|
2258
2258
|
</file>
|
|
2259
2259
|
</package>
|
|
2260
2260
|
<package name="api.controllers.view">
|
|
2261
|
-
<metrics statements="
|
|
2261
|
+
<metrics statements="190" coveredstatements="140" conditionals="83" coveredconditionals="53" methods="25" coveredmethods="18"/>
|
|
2262
2262
|
<file name="exporters.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/exporters.js">
|
|
2263
2263
|
<metrics statements="11" coveredstatements="11" conditionals="2" coveredconditionals="1" methods="4" coveredmethods="4"/>
|
|
2264
2264
|
<line num="1" count="33" type="stmt"/>
|
|
@@ -2274,7 +2274,7 @@
|
|
|
2274
2274
|
<line num="20" count="33" type="stmt"/>
|
|
2275
2275
|
</file>
|
|
2276
2276
|
<file name="index.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/index.js">
|
|
2277
|
-
<metrics statements="
|
|
2277
|
+
<metrics statements="70" coveredstatements="63" conditionals="25" coveredconditionals="18" methods="8" coveredmethods="5"/>
|
|
2278
2278
|
<line num="1" count="33" type="stmt"/>
|
|
2279
2279
|
<line num="2" count="33" type="stmt"/>
|
|
2280
2280
|
<line num="3" count="33" type="stmt"/>
|
|
@@ -2282,60 +2282,69 @@
|
|
|
2282
2282
|
<line num="5" count="33" type="stmt"/>
|
|
2283
2283
|
<line num="6" count="33" type="stmt"/>
|
|
2284
2284
|
<line num="7" count="33" type="stmt"/>
|
|
2285
|
-
<line num="
|
|
2286
|
-
<line num="10" count="
|
|
2285
|
+
<line num="8" count="33" type="stmt"/>
|
|
2286
|
+
<line num="10" count="33" type="stmt"/>
|
|
2287
2287
|
<line num="11" count="1" type="stmt"/>
|
|
2288
|
-
<line num="
|
|
2289
|
-
<line num="15" count="
|
|
2288
|
+
<line num="12" count="1" type="stmt"/>
|
|
2289
|
+
<line num="15" count="33" type="stmt"/>
|
|
2290
2290
|
<line num="16" count="8" type="stmt"/>
|
|
2291
2291
|
<line num="17" count="8" type="stmt"/>
|
|
2292
|
-
<line num="
|
|
2293
|
-
<line num="20" count="
|
|
2294
|
-
<line num="
|
|
2295
|
-
<line num="
|
|
2296
|
-
<line num="27" count="8" type="
|
|
2297
|
-
<line num="28" count="8" type="cond" truecount="
|
|
2298
|
-
<line num="29" count="
|
|
2299
|
-
<line num="
|
|
2300
|
-
<line num="32" count="8" type="
|
|
2301
|
-
<line num="33" count="
|
|
2302
|
-
<line num="
|
|
2303
|
-
<line num="
|
|
2304
|
-
<line num="
|
|
2305
|
-
<line num="44" count="
|
|
2292
|
+
<line num="18" count="8" type="stmt"/>
|
|
2293
|
+
<line num="20" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
2294
|
+
<line num="21" count="0" type="stmt"/>
|
|
2295
|
+
<line num="24" count="8" type="stmt"/>
|
|
2296
|
+
<line num="27" count="8" type="stmt"/>
|
|
2297
|
+
<line num="28" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
2298
|
+
<line num="29" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
2299
|
+
<line num="30" count="3" type="stmt"/>
|
|
2300
|
+
<line num="32" count="8" type="stmt"/>
|
|
2301
|
+
<line num="33" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
2302
|
+
<line num="34" count="0" type="stmt"/>
|
|
2303
|
+
<line num="36" count="8" type="stmt"/>
|
|
2304
|
+
<line num="38" count="8" type="stmt"/>
|
|
2305
|
+
<line num="44" count="33" type="stmt"/>
|
|
2306
2306
|
<line num="45" count="1" type="stmt"/>
|
|
2307
2307
|
<line num="46" count="1" type="stmt"/>
|
|
2308
2308
|
<line num="47" count="1" type="stmt"/>
|
|
2309
2309
|
<line num="48" count="1" type="stmt"/>
|
|
2310
2310
|
<line num="49" count="1" type="stmt"/>
|
|
2311
|
-
<line num="
|
|
2312
|
-
<line num="
|
|
2313
|
-
<line num="55" count="
|
|
2311
|
+
<line num="50" count="1" type="stmt"/>
|
|
2312
|
+
<line num="52" count="1" type="stmt"/>
|
|
2313
|
+
<line num="55" count="33" type="stmt"/>
|
|
2314
2314
|
<line num="56" count="2" type="stmt"/>
|
|
2315
2315
|
<line num="57" count="2" type="stmt"/>
|
|
2316
|
-
<line num="
|
|
2317
|
-
<line num="60" count="2" type="
|
|
2318
|
-
<line num="61" count="
|
|
2319
|
-
<line num="
|
|
2320
|
-
<line num="65" count="2" type="
|
|
2321
|
-
<line num="
|
|
2322
|
-
<line num="
|
|
2323
|
-
<line num="
|
|
2324
|
-
<line num="
|
|
2325
|
-
<line num="83" count="2" type="cond" truecount="
|
|
2326
|
-
<line num="84" count="2" type="
|
|
2327
|
-
<line num="85" count="2" type="
|
|
2328
|
-
<line num="
|
|
2329
|
-
<line num="
|
|
2330
|
-
<line num="91" count="
|
|
2331
|
-
<line num="92" count="
|
|
2332
|
-
<line num="93" count="
|
|
2333
|
-
<line num="
|
|
2334
|
-
<line num="
|
|
2335
|
-
<line num="
|
|
2336
|
-
<line num="
|
|
2337
|
-
<line num="
|
|
2316
|
+
<line num="58" count="2" type="stmt"/>
|
|
2317
|
+
<line num="60" count="2" type="stmt"/>
|
|
2318
|
+
<line num="61" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
2319
|
+
<line num="62" count="0" type="stmt"/>
|
|
2320
|
+
<line num="65" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2321
|
+
<line num="66" count="2" type="stmt"/>
|
|
2322
|
+
<line num="68" count="2" type="stmt"/>
|
|
2323
|
+
<line num="80" count="2" type="stmt"/>
|
|
2324
|
+
<line num="81" count="2" type="stmt"/>
|
|
2325
|
+
<line num="83" count="2" type="cond" truecount="3" falsecount="0"/>
|
|
2326
|
+
<line num="84" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2327
|
+
<line num="85" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2328
|
+
<line num="86" count="2" type="stmt"/>
|
|
2329
|
+
<line num="87" count="2" type="stmt"/>
|
|
2330
|
+
<line num="91" count="2" type="stmt"/>
|
|
2331
|
+
<line num="92" count="4" type="stmt"/>
|
|
2332
|
+
<line num="93" count="0" type="stmt"/>
|
|
2333
|
+
<line num="95" count="2" type="stmt"/>
|
|
2334
|
+
<line num="96" count="0" type="stmt"/>
|
|
2335
|
+
<line num="97" count="0" type="stmt"/>
|
|
2336
|
+
<line num="99" count="0" type="stmt"/>
|
|
2337
|
+
<line num="103" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
2338
|
+
<line num="104" count="1" type="stmt"/>
|
|
2339
|
+
<line num="105" count="1" type="stmt"/>
|
|
2338
2340
|
<line num="106" count="2" type="stmt"/>
|
|
2341
|
+
<line num="107" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
2342
|
+
<line num="108" count="2" type="stmt"/>
|
|
2343
|
+
<line num="115" count="2" type="stmt"/>
|
|
2344
|
+
<line num="116" count="2" type="stmt"/>
|
|
2345
|
+
<line num="117" count="2" type="stmt"/>
|
|
2346
|
+
<line num="119" count="2" type="stmt"/>
|
|
2347
|
+
<line num="120" count="2" type="stmt"/>
|
|
2339
2348
|
</file>
|
|
2340
2349
|
<file name="utils.js" path="/home/runner/work/budibase/budibase/packages/server/src/api/controllers/view/utils.js">
|
|
2341
2350
|
<metrics statements="76" coveredstatements="38" conditionals="26" coveredconditionals="9" methods="9" coveredmethods="6"/>
|
|
@@ -4349,7 +4358,7 @@
|
|
|
4349
4358
|
</file>
|
|
4350
4359
|
</package>
|
|
4351
4360
|
<package name="utilities">
|
|
4352
|
-
<metrics statements="
|
|
4361
|
+
<metrics statements="323" coveredstatements="233" conditionals="123" coveredconditionals="67" methods="62" coveredmethods="42"/>
|
|
4353
4362
|
<file name="bcrypt.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/bcrypt.js">
|
|
4354
4363
|
<metrics statements="9" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
4355
4364
|
<line num="3" count="0" type="stmt"/>
|
|
@@ -4381,7 +4390,7 @@
|
|
|
4381
4390
|
<line num="21" count="0" type="stmt"/>
|
|
4382
4391
|
</file>
|
|
4383
4392
|
<file name="csvParser.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/csvParser.js">
|
|
4384
|
-
<metrics statements="
|
|
4393
|
+
<metrics statements="72" coveredstatements="57" conditionals="34" coveredconditionals="23" methods="15" coveredmethods="12"/>
|
|
4385
4394
|
<line num="1" count="35" type="stmt"/>
|
|
4386
4395
|
<line num="2" count="35" type="stmt"/>
|
|
4387
4396
|
<line num="4" count="35" type="stmt"/>
|
|
@@ -4434,25 +4443,26 @@
|
|
|
4434
4443
|
<line num="101" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
4435
4444
|
<line num="102" count="1" type="stmt"/>
|
|
4436
4445
|
<line num="105" count="4" type="stmt"/>
|
|
4437
|
-
<line num="
|
|
4438
|
-
<line num="
|
|
4439
|
-
<line num="
|
|
4440
|
-
<line num="
|
|
4441
|
-
<line num="
|
|
4442
|
-
<line num="
|
|
4443
|
-
<line num="
|
|
4444
|
-
<line num="
|
|
4445
|
-
<line num="
|
|
4446
|
-
<line num="
|
|
4447
|
-
<line num="
|
|
4448
|
-
<line num="
|
|
4449
|
-
<line num="124" count="
|
|
4450
|
-
<line num="
|
|
4451
|
-
<line num="
|
|
4452
|
-
<line num="
|
|
4453
|
-
<line num="
|
|
4454
|
-
<line num="
|
|
4455
|
-
<line num="
|
|
4446
|
+
<line num="107" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
4447
|
+
<line num="108" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
4448
|
+
<line num="112" count="4" type="stmt"/>
|
|
4449
|
+
<line num="113" count="4" type="stmt"/>
|
|
4450
|
+
<line num="114" count="3" type="stmt"/>
|
|
4451
|
+
<line num="115" count="8" type="stmt"/>
|
|
4452
|
+
<line num="116" count="3" type="stmt"/>
|
|
4453
|
+
<line num="117" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
4454
|
+
<line num="118" count="0" type="stmt"/>
|
|
4455
|
+
<line num="120" count="7" type="stmt"/>
|
|
4456
|
+
<line num="121" count="16" type="stmt"/>
|
|
4457
|
+
<line num="123" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
4458
|
+
<line num="124" count="6" type="stmt"/>
|
|
4459
|
+
<line num="127" count="10" type="cond" truecount="1" falsecount="1"/>
|
|
4460
|
+
<line num="128" count="0" type="stmt"/>
|
|
4461
|
+
<line num="129" count="0" type="stmt"/>
|
|
4462
|
+
<line num="133" count="3" type="stmt"/>
|
|
4463
|
+
<line num="135" count="1" type="stmt"/>
|
|
4464
|
+
<line num="136" count="1" type="stmt"/>
|
|
4465
|
+
<line num="140" count="35" type="stmt"/>
|
|
4456
4466
|
</file>
|
|
4457
4467
|
<file name="global.js" path="/home/runner/work/budibase/budibase/packages/server/src/utilities/global.js">
|
|
4458
4468
|
<metrics statements="56" coveredstatements="46" conditionals="25" coveredconditionals="17" methods="15" coveredmethods="11"/>
|