@budibase/server 0.9.125-alpha.4 → 0.9.125-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/builder/assets/{index.dc48c234.js → index.cf133375.js} +2 -2
- package/builder/assets/{vendor.4af73c18.js → vendor.d8e1ee7b.js} +1 -1
- package/builder/index.html +2 -2
- package/coverage/clover.xml +1659 -1493
- package/coverage/coverage-final.json +101 -87
- package/coverage/lcov-report/api/controllers/analytics.js.html +3 -3
- package/coverage/lcov-report/api/controllers/apikeys.js.html +6 -6
- package/coverage/lcov-report/api/controllers/application.js.html +39 -39
- package/coverage/lcov-report/api/controllers/auth.js.html +6 -6
- package/coverage/lcov-report/api/controllers/automation.js.html +151 -361
- package/coverage/lcov-report/api/controllers/backup.js.html +3 -3
- package/coverage/lcov-report/api/controllers/component.js.html +5 -5
- package/coverage/lcov-report/api/controllers/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.js.html +15 -15
- package/coverage/lcov-report/api/controllers/hosting.js.html +8 -8
- package/coverage/lcov-report/api/controllers/index.html +39 -24
- package/coverage/lcov-report/api/controllers/integration.js.html +4 -4
- package/coverage/lcov-report/api/controllers/layout.js.html +1 -1
- package/coverage/lcov-report/api/controllers/metadata.js.html +218 -0
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query.js.html +6 -12
- package/coverage/lcov-report/api/controllers/role.js.html +1 -1
- package/coverage/lcov-report/api/controllers/routing.js.html +9 -9
- package/coverage/lcov-report/api/controllers/row/external.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/index.html +20 -20
- package/coverage/lcov-report/api/controllers/row/index.js.html +14 -14
- package/coverage/lcov-report/api/controllers/row/internal.js.html +95 -62
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +10 -10
- 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/index.html +1 -1
- package/coverage/lcov-report/api/controllers/table/index.js.html +24 -24
- package/coverage/lcov-report/api/controllers/table/utils.js.html +32 -32
- package/coverage/lcov-report/api/controllers/templates.js.html +5 -5
- 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 +1 -1
- package/coverage/lcov-report/api/controllers/view/index.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 +23 -23
- package/coverage/lcov-report/api/routes/analytics.js.html +6 -6
- package/coverage/lcov-report/api/routes/apikeys.js.html +8 -8
- package/coverage/lcov-report/api/routes/application.js.html +8 -8
- package/coverage/lcov-report/api/routes/auth.js.html +6 -6
- package/coverage/lcov-report/api/routes/automation.js.html +41 -26
- package/coverage/lcov-report/api/routes/backup.js.html +8 -8
- package/coverage/lcov-report/api/routes/component.js.html +8 -8
- package/coverage/lcov-report/api/routes/datasource.js.html +13 -13
- package/coverage/lcov-report/api/routes/deploy.js.html +8 -8
- package/coverage/lcov-report/api/routes/dev.js.html +11 -11
- package/coverage/lcov-report/api/routes/hosting.js.html +8 -8
- package/coverage/lcov-report/api/routes/index.html +24 -9
- package/coverage/lcov-report/api/routes/index.js.html +36 -30
- package/coverage/lcov-report/api/routes/integration.js.html +8 -8
- package/coverage/lcov-report/api/routes/layout.js.html +8 -8
- package/coverage/lcov-report/api/routes/metadata.js.html +194 -0
- package/coverage/lcov-report/api/routes/permission.js.html +12 -12
- package/coverage/lcov-report/api/routes/query.js.html +13 -13
- package/coverage/lcov-report/api/routes/role.js.html +12 -12
- package/coverage/lcov-report/api/routes/routing.js.html +8 -8
- package/coverage/lcov-report/api/routes/row.js.html +10 -10
- package/coverage/lcov-report/api/routes/screen.js.html +11 -11
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/static.js.html +13 -13
- package/coverage/lcov-report/api/routes/table.js.html +12 -12
- package/coverage/lcov-report/api/routes/templates.js.html +8 -8
- package/coverage/lcov-report/api/routes/user.js.html +9 -9
- package/coverage/lcov-report/api/routes/view.js.html +11 -11
- package/coverage/lcov-report/api/routes/webhook.js.html +11 -11
- package/coverage/lcov-report/automations/actions.js.html +38 -107
- package/coverage/lcov-report/automations/automationUtils.js.html +1 -1
- package/coverage/lcov-report/automations/bullboard.js.html +46 -16
- package/coverage/lcov-report/automations/index.html +67 -67
- package/coverage/lcov-report/automations/index.js.html +26 -128
- package/coverage/lcov-report/automations/steps/bash.js.html +33 -12
- package/coverage/lcov-report/automations/steps/createRow.js.html +8 -8
- package/coverage/lcov-report/automations/steps/delay.js.html +45 -6
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +8 -8
- package/coverage/lcov-report/automations/steps/discord.js.html +329 -0
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +19 -31
- package/coverage/lcov-report/automations/steps/executeScript.js.html +18 -30
- package/coverage/lcov-report/automations/steps/filter.js.html +22 -19
- package/coverage/lcov-report/automations/steps/index.html +125 -65
- package/coverage/lcov-report/automations/steps/integromat.js.html +341 -0
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +26 -32
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +9 -9
- package/coverage/lcov-report/automations/steps/serverLog.js.html +20 -8
- package/coverage/lcov-report/automations/steps/{sendgridEmail.js.html → slack.js.html} +57 -87
- package/coverage/lcov-report/automations/steps/updateRow.js.html +7 -7
- package/coverage/lcov-report/automations/steps/utils.js.html +188 -0
- package/coverage/lcov-report/automations/steps/zapier.js.html +332 -0
- package/coverage/lcov-report/automations/thread.js.html +79 -76
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +173 -0
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +173 -0
- package/coverage/lcov-report/automations/triggerInfo/index.html +201 -0
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +125 -0
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +176 -0
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +200 -0
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +200 -0
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +188 -0
- package/coverage/lcov-report/automations/triggers.js.html +54 -819
- package/coverage/lcov-report/automations/utils.js.html +557 -0
- package/coverage/lcov-report/constants/index.html +5 -5
- package/coverage/lcov-report/constants/index.js.html +19 -4
- package/coverage/lcov-report/constants/layouts.js.html +1 -1
- package/coverage/lcov-report/constants/screens.js.html +2 -2
- package/coverage/lcov-report/db/client.js.html +1 -1
- package/coverage/lcov-report/db/index.html +19 -19
- package/coverage/lcov-report/db/index.js.html +1 -1
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +73 -73
- package/coverage/lcov-report/db/linkedRows/index.html +17 -17
- package/coverage/lcov-report/db/linkedRows/index.js.html +79 -115
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +31 -31
- package/coverage/lcov-report/db/newid.js.html +2 -2
- package/coverage/lcov-report/db/utils.js.html +79 -28
- package/coverage/lcov-report/events/AutomationEmitter.js.html +7 -7
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +2 -2
- package/coverage/lcov-report/events/utils.js.html +1 -1
- package/coverage/lcov-report/index.html +115 -100
- 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/{automations/logic.js.html → middleware/appInfo.js.html} +35 -38
- package/coverage/lcov-report/middleware/authorized.js.html +16 -16
- package/coverage/lcov-report/middleware/builder.js.html +15 -15
- package/coverage/lcov-report/middleware/currentapp.js.html +33 -33
- package/coverage/lcov-report/middleware/index.html +23 -8
- package/coverage/lcov-report/middleware/joi-validator.js.html +6 -6
- package/coverage/lcov-report/middleware/resourceId.js.html +28 -28
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.js.html +8 -8
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +7 -7
- package/coverage/lcov-report/utilities/centralPath.js.html +4 -4
- package/coverage/lcov-report/utilities/csvParser.js.html +1 -1
- package/coverage/lcov-report/utilities/global.js.html +21 -21
- package/coverage/lcov-report/utilities/index.html +18 -18
- package/coverage/lcov-report/utilities/index.js.html +167 -14
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +12 -12
- 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 +6 -6
- package/coverage/lcov-report/utilities/rowProcessor/index.html +14 -14
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +87 -51
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +8 -8
- package/coverage/lcov-report/utilities/security.js.html +2 -2
- 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 +2641 -2357
- package/dist/api/controllers/automation.js +49 -127
- package/dist/api/controllers/deploy/index.js +17 -1
- package/dist/api/controllers/metadata.js +49 -0
- package/dist/api/controllers/query.js +0 -2
- package/dist/api/controllers/row/internal.js +33 -23
- package/dist/api/routes/automation.js +4 -5
- package/dist/api/routes/index.js +2 -0
- package/dist/api/routes/metadata.js +13 -0
- package/dist/api/routes/tests/utilities/TestFunctions.js +13 -0
- package/dist/app.js +1 -1
- package/dist/automations/actions.js +26 -46
- package/dist/automations/bullboard.js +10 -2
- package/dist/automations/index.js +11 -48
- package/dist/automations/steps/bash.js +11 -5
- package/dist/automations/steps/createRow.js +4 -4
- package/dist/automations/steps/delay.js +15 -2
- package/dist/automations/steps/deleteRow.js +4 -4
- package/dist/automations/steps/discord.js +91 -0
- package/dist/automations/steps/executeQuery.js +11 -14
- package/dist/automations/steps/executeScript.js +11 -14
- package/dist/automations/steps/filter.js +18 -17
- package/dist/automations/steps/integromat.js +94 -0
- package/dist/automations/steps/outgoingWebhook.js +12 -16
- package/dist/automations/steps/sendSmtpEmail.js +3 -3
- package/dist/automations/steps/serverLog.js +6 -2
- package/dist/automations/steps/slack.js +73 -0
- package/dist/automations/steps/updateRow.js +3 -3
- package/dist/automations/steps/utils.js +46 -0
- package/dist/automations/steps/zapier.js +91 -0
- package/dist/automations/tests/utilities/index.js +2 -12
- package/dist/automations/thread.js +23 -25
- package/dist/automations/triggerInfo/app.js +32 -0
- package/dist/automations/triggerInfo/cron.js +32 -0
- package/dist/automations/triggerInfo/index.js +15 -0
- package/dist/automations/triggerInfo/rowDeleted.js +33 -0
- package/dist/automations/triggerInfo/rowSaved.js +41 -0
- package/dist/automations/triggerInfo/rowUpdated.js +41 -0
- package/dist/automations/triggerInfo/webhook.js +37 -0
- package/dist/automations/triggers.js +27 -284
- package/dist/automations/utils.js +143 -0
- package/dist/constants/index.js +4 -0
- package/dist/db/linkedRows/index.js +14 -26
- package/dist/db/utils.js +14 -1
- package/dist/environment.js +1 -0
- package/dist/integrations/mysql.js +1 -1
- package/dist/middleware/appInfo.js +17 -0
- package/dist/middleware/usageQuota.js +1 -1
- package/dist/package.json +7 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utilities/fileSystem/index.js +0 -26
- package/dist/utilities/index.js +54 -0
- package/dist/utilities/redis.js +16 -1
- package/dist/utilities/rowProcessor/index.js +7 -4
- package/package.json +8 -7
- package/scripts/selfhost.js +8 -0
- package/src/api/controllers/automation.js +75 -145
- package/src/api/controllers/deploy/index.js +23 -1
- package/src/api/controllers/metadata.js +46 -0
- package/src/api/controllers/query.js +0 -2
- package/src/api/controllers/row/internal.js +34 -23
- package/src/api/routes/automation.js +16 -11
- package/src/api/routes/index.js +2 -0
- package/src/api/routes/metadata.js +38 -0
- package/src/api/routes/tests/automation.spec.js +4 -26
- package/src/api/routes/tests/metadata.spec.js +65 -0
- package/src/api/routes/tests/utilities/TestFunctions.js +14 -0
- package/src/app.ts +1 -1
- package/src/automations/actions.js +26 -49
- package/src/automations/bullboard.js +12 -2
- package/src/automations/index.js +11 -45
- package/src/automations/steps/bash.js +12 -5
- package/src/automations/steps/createRow.js +4 -4
- package/src/automations/steps/delay.js +15 -2
- package/src/automations/steps/deleteRow.js +4 -4
- package/src/automations/steps/discord.js +83 -0
- package/src/automations/steps/executeQuery.js +11 -15
- package/src/automations/steps/executeScript.js +11 -15
- package/src/automations/steps/filter.js +18 -17
- package/src/automations/steps/integromat.js +87 -0
- package/src/automations/steps/outgoingWebhook.js +12 -14
- package/src/automations/steps/sendSmtpEmail.js +3 -3
- package/src/automations/steps/serverLog.js +6 -2
- package/src/automations/steps/slack.js +64 -0
- package/src/automations/steps/updateRow.js +3 -3
- package/src/automations/steps/utils.js +36 -0
- package/src/automations/steps/zapier.js +84 -0
- package/src/automations/tests/automation.spec.js +3 -66
- package/src/automations/tests/delay.spec.js +1 -1
- package/src/automations/tests/filter.spec.js +13 -13
- package/src/automations/tests/utilities/index.js +2 -13
- package/src/automations/thread.js +27 -26
- package/src/automations/triggerInfo/app.js +31 -0
- package/src/automations/triggerInfo/cron.js +31 -0
- package/src/automations/triggerInfo/index.js +15 -0
- package/src/automations/triggerInfo/rowDeleted.js +32 -0
- package/src/automations/triggerInfo/rowSaved.js +40 -0
- package/src/automations/triggerInfo/rowUpdated.js +40 -0
- package/src/automations/triggerInfo/webhook.js +36 -0
- package/src/automations/triggers.js +33 -288
- package/src/automations/utils.js +159 -0
- package/src/constants/index.js +5 -0
- package/src/db/linkedRows/index.js +15 -27
- package/src/db/tests/linkTests.spec.js +0 -12
- package/src/db/utils.js +17 -0
- package/src/environment.js +1 -0
- package/src/integrations/mysql.ts +1 -1
- package/src/middleware/appInfo.js +19 -0
- package/src/middleware/usageQuota.js +1 -1
- package/src/utilities/fileSystem/index.js +0 -30
- package/src/utilities/index.js +51 -0
- package/src/utilities/redis.js +18 -1
- package/src/utilities/rowProcessor/index.js +16 -4
- package/dist/automations/logic.js +0 -17
- package/dist/automations/steps/sendgridEmail.js +0 -85
- package/src/automations/logic.js +0 -20
- package/src/automations/steps/sendgridEmail.js +0 -74
- package/src/automations/tests/sendEmail.spec.js +0 -36
|
@@ -133,22 +133,22 @@
|
|
|
133
133
|
<a name='L74'></a><a href='#L74'>74</a>
|
|
134
134
|
<a name='L75'></a><a href='#L75'>75</a>
|
|
135
135
|
<a name='L76'></a><a href='#L76'>76</a>
|
|
136
|
-
<a name='L77'></a><a href='#L77'>77</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">
|
|
137
|
-
<span class="cline-any cline-yes">
|
|
138
|
-
<span class="cline-any cline-yes">
|
|
139
|
-
<span class="cline-any cline-yes">
|
|
136
|
+
<a name='L77'></a><a href='#L77'>77</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">23x</span>
|
|
137
|
+
<span class="cline-any cline-yes">23x</span>
|
|
138
|
+
<span class="cline-any cline-yes">23x</span>
|
|
139
|
+
<span class="cline-any cline-yes">23x</span>
|
|
140
140
|
<span class="cline-any cline-neutral"> </span>
|
|
141
141
|
<span class="cline-any cline-neutral"> </span>
|
|
142
142
|
<span class="cline-any cline-neutral"> </span>
|
|
143
|
-
<span class="cline-any cline-yes">
|
|
143
|
+
<span class="cline-any cline-yes">23x</span>
|
|
144
144
|
<span class="cline-any cline-neutral"> </span>
|
|
145
145
|
<span class="cline-any cline-neutral"> </span>
|
|
146
146
|
<span class="cline-any cline-neutral"> </span>
|
|
147
|
-
<span class="cline-any cline-yes">
|
|
147
|
+
<span class="cline-any cline-yes">23x</span>
|
|
148
148
|
<span class="cline-any cline-neutral"> </span>
|
|
149
|
-
<span class="cline-any cline-yes">
|
|
149
|
+
<span class="cline-any cline-yes">23x</span>
|
|
150
150
|
<span class="cline-any cline-neutral"> </span>
|
|
151
|
-
<span class="cline-any cline-yes">
|
|
151
|
+
<span class="cline-any cline-yes">23x</span>
|
|
152
152
|
<span class="cline-any cline-neutral"> </span>
|
|
153
153
|
<span class="cline-any cline-neutral"> </span>
|
|
154
154
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
<span class="cline-any cline-neutral"> </span>
|
|
209
209
|
<span class="cline-any cline-neutral"> </span>
|
|
210
210
|
<span class="cline-any cline-neutral"> </span>
|
|
211
|
-
<span class="cline-any cline-yes">
|
|
211
|
+
<span class="cline-any cline-yes">23x</span>
|
|
212
212
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const Router = require("@koa/router")
|
|
213
213
|
const rowController = require("../controllers/row")
|
|
214
214
|
const authorized = require("../../middleware/authorized")
|
|
@@ -292,7 +292,7 @@ module.exports = router
|
|
|
292
292
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
293
293
|
Code coverage generated by
|
|
294
294
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
295
|
-
at
|
|
295
|
+
at Wed Sep 15 2021 15:55:32 GMT+0000 (Coordinated Universal Time)
|
|
296
296
|
</div>
|
|
297
297
|
</div>
|
|
298
298
|
<script src="../../prettify.js"></script>
|
|
@@ -102,18 +102,18 @@
|
|
|
102
102
|
<a name='L43'></a><a href='#L43'>43</a>
|
|
103
103
|
<a name='L44'></a><a href='#L44'>44</a>
|
|
104
104
|
<a name='L45'></a><a href='#L45'>45</a>
|
|
105
|
-
<a name='L46'></a><a href='#L46'>46</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">
|
|
106
|
-
<span class="cline-any cline-yes">
|
|
107
|
-
<span class="cline-any cline-yes">
|
|
108
|
-
<span class="cline-any cline-yes">
|
|
109
|
-
<span class="cline-any cline-yes">
|
|
110
|
-
<span class="cline-any cline-yes">
|
|
105
|
+
<a name='L46'></a><a href='#L46'>46</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">23x</span>
|
|
106
|
+
<span class="cline-any cline-yes">23x</span>
|
|
107
|
+
<span class="cline-any cline-yes">23x</span>
|
|
108
|
+
<span class="cline-any cline-yes">23x</span>
|
|
109
|
+
<span class="cline-any cline-yes">23x</span>
|
|
110
|
+
<span class="cline-any cline-yes">23x</span>
|
|
111
111
|
<span class="cline-any cline-neutral"> </span>
|
|
112
|
-
<span class="cline-any cline-yes">
|
|
112
|
+
<span class="cline-any cline-yes">23x</span>
|
|
113
113
|
<span class="cline-any cline-neutral"> </span>
|
|
114
114
|
<span class="cline-any cline-neutral"> </span>
|
|
115
115
|
<span class="cline-any cline-neutral"> </span>
|
|
116
|
-
<span class="cline-any cline-yes">
|
|
116
|
+
<span class="cline-any cline-yes">23x</span>
|
|
117
117
|
<span class="cline-any cline-neutral"> </span>
|
|
118
118
|
<span class="cline-any cline-neutral"> </span>
|
|
119
119
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
<span class="cline-any cline-neutral"> </span>
|
|
133
133
|
<span class="cline-any cline-neutral"> </span>
|
|
134
134
|
<span class="cline-any cline-neutral"> </span>
|
|
135
|
-
<span class="cline-any cline-yes">
|
|
135
|
+
<span class="cline-any cline-yes">23x</span>
|
|
136
136
|
<span class="cline-any cline-neutral"> </span>
|
|
137
137
|
<span class="cline-any cline-neutral"> </span>
|
|
138
138
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
<span class="cline-any cline-neutral"> </span>
|
|
147
147
|
<span class="cline-any cline-neutral"> </span>
|
|
148
148
|
<span class="cline-any cline-neutral"> </span>
|
|
149
|
-
<span class="cline-any cline-yes">
|
|
149
|
+
<span class="cline-any cline-yes">23x</span>
|
|
150
150
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const Router = require("@koa/router")
|
|
151
151
|
const controller = require("../controllers/screen")
|
|
152
152
|
const authorized = require("../../middleware/authorized")
|
|
@@ -199,7 +199,7 @@ module.exports = router
|
|
|
199
199
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
200
200
|
Code coverage generated by
|
|
201
201
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
202
|
-
at
|
|
202
|
+
at Wed Sep 15 2021 15:55:32 GMT+0000 (Coordinated Universal Time)
|
|
203
203
|
</div>
|
|
204
204
|
</div>
|
|
205
205
|
<script src="../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@ const router = <span class="cstat-no" title="statement not covered" >Router()</s
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at
|
|
97
|
+
at Wed Sep 15 2021 15:55:32 GMT+0000 (Coordinated Universal Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../prettify.js"></script>
|
|
@@ -107,19 +107,19 @@
|
|
|
107
107
|
<a name='L48'></a><a href='#L48'>48</a>
|
|
108
108
|
<a name='L49'></a><a href='#L49'>49</a>
|
|
109
109
|
<a name='L50'></a><a href='#L50'>50</a>
|
|
110
|
-
<a name='L51'></a><a href='#L51'>51</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">
|
|
111
|
-
<span class="cline-any cline-yes">
|
|
112
|
-
<span class="cline-any cline-yes">
|
|
113
|
-
<span class="cline-any cline-yes">
|
|
110
|
+
<a name='L51'></a><a href='#L51'>51</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">23x</span>
|
|
111
|
+
<span class="cline-any cline-yes">23x</span>
|
|
112
|
+
<span class="cline-any cline-yes">23x</span>
|
|
113
|
+
<span class="cline-any cline-yes">23x</span>
|
|
114
114
|
<span class="cline-any cline-neutral"> </span>
|
|
115
115
|
<span class="cline-any cline-neutral"> </span>
|
|
116
116
|
<span class="cline-any cline-neutral"> </span>
|
|
117
117
|
<span class="cline-any cline-neutral"> </span>
|
|
118
|
-
<span class="cline-any cline-yes">
|
|
119
|
-
<span class="cline-any cline-yes">
|
|
120
|
-
<span class="cline-any cline-yes">
|
|
118
|
+
<span class="cline-any cline-yes">23x</span>
|
|
119
|
+
<span class="cline-any cline-yes">23x</span>
|
|
120
|
+
<span class="cline-any cline-yes">23x</span>
|
|
121
121
|
<span class="cline-any cline-neutral"> </span>
|
|
122
|
-
<span class="cline-any cline-yes">
|
|
122
|
+
<span class="cline-any cline-yes">23x</span>
|
|
123
123
|
<span class="cline-any cline-neutral"> </span>
|
|
124
124
|
<span class="cline-any cline-neutral"> </span>
|
|
125
125
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -139,11 +139,11 @@
|
|
|
139
139
|
<span class="cline-any cline-neutral"> </span>
|
|
140
140
|
<span class="cline-any cline-neutral"> </span>
|
|
141
141
|
<span class="cline-any cline-neutral"> </span>
|
|
142
|
-
<span class="cline-any cline-yes">
|
|
143
|
-
<span class="cline-any cline-yes">
|
|
142
|
+
<span class="cline-any cline-yes">23x</span>
|
|
143
|
+
<span class="cline-any cline-yes">23x</span>
|
|
144
144
|
<span class="cline-any cline-neutral"> </span>
|
|
145
145
|
<span class="cline-any cline-neutral"> </span>
|
|
146
|
-
<span class="cline-any cline-yes">
|
|
146
|
+
<span class="cline-any cline-yes">23x</span>
|
|
147
147
|
<span class="cline-any cline-neutral"> </span>
|
|
148
148
|
<span class="cline-any cline-neutral"> </span>
|
|
149
149
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
<span class="cline-any cline-neutral"> </span>
|
|
157
157
|
<span class="cline-any cline-neutral"> </span>
|
|
158
158
|
<span class="cline-any cline-neutral"> </span>
|
|
159
|
-
<span class="cline-any cline-yes">
|
|
159
|
+
<span class="cline-any cline-yes">23x</span>
|
|
160
160
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const Router = require("@koa/router")
|
|
161
161
|
const controller = require("../controllers/static")
|
|
162
162
|
const { budibaseTempDir } = require("../../utilities/budibaseDir")
|
|
@@ -214,7 +214,7 @@ module.exports = router
|
|
|
214
214
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
215
215
|
Code coverage generated by
|
|
216
216
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
217
|
-
at
|
|
217
|
+
at Wed Sep 15 2021 15:55:32 GMT+0000 (Coordinated Universal Time)
|
|
218
218
|
</div>
|
|
219
219
|
</div>
|
|
220
220
|
<script src="../../prettify.js"></script>
|
|
@@ -114,23 +114,23 @@
|
|
|
114
114
|
<a name='L55'></a><a href='#L55'>55</a>
|
|
115
115
|
<a name='L56'></a><a href='#L56'>56</a>
|
|
116
116
|
<a name='L57'></a><a href='#L57'>57</a>
|
|
117
|
-
<a name='L58'></a><a href='#L58'>58</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">
|
|
118
|
-
<span class="cline-any cline-yes">
|
|
119
|
-
<span class="cline-any cline-yes">
|
|
120
|
-
<span class="cline-any cline-yes">
|
|
117
|
+
<a name='L58'></a><a href='#L58'>58</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">23x</span>
|
|
118
|
+
<span class="cline-any cline-yes">23x</span>
|
|
119
|
+
<span class="cline-any cline-yes">23x</span>
|
|
120
|
+
<span class="cline-any cline-yes">23x</span>
|
|
121
121
|
<span class="cline-any cline-neutral"> </span>
|
|
122
122
|
<span class="cline-any cline-neutral"> </span>
|
|
123
123
|
<span class="cline-any cline-neutral"> </span>
|
|
124
124
|
<span class="cline-any cline-neutral"> </span>
|
|
125
|
-
<span class="cline-any cline-yes">
|
|
126
|
-
<span class="cline-any cline-yes">
|
|
127
|
-
<span class="cline-any cline-yes">
|
|
125
|
+
<span class="cline-any cline-yes">23x</span>
|
|
126
|
+
<span class="cline-any cline-yes">23x</span>
|
|
127
|
+
<span class="cline-any cline-yes">23x</span>
|
|
128
128
|
<span class="cline-any cline-neutral"> </span>
|
|
129
|
-
<span class="cline-any cline-yes">
|
|
129
|
+
<span class="cline-any cline-yes">23x</span>
|
|
130
130
|
<span class="cline-any cline-neutral"> </span>
|
|
131
131
|
<span class="cline-any cline-neutral"> </span>
|
|
132
132
|
<span class="cline-any cline-neutral"> </span>
|
|
133
|
-
<span class="cline-any cline-yes">
|
|
133
|
+
<span class="cline-any cline-yes">23x</span>
|
|
134
134
|
<span class="cline-any cline-neutral"> </span>
|
|
135
135
|
<span class="cline-any cline-neutral"> </span>
|
|
136
136
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
<span class="cline-any cline-neutral"> </span>
|
|
143
143
|
<span class="cline-any cline-neutral"> </span>
|
|
144
144
|
<span class="cline-any cline-neutral"> </span>
|
|
145
|
-
<span class="cline-any cline-yes">
|
|
145
|
+
<span class="cline-any cline-yes">23x</span>
|
|
146
146
|
<span class="cline-any cline-neutral"> </span>
|
|
147
147
|
<span class="cline-any cline-neutral"> </span>
|
|
148
148
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
<span class="cline-any cline-neutral"> </span>
|
|
171
171
|
<span class="cline-any cline-neutral"> </span>
|
|
172
172
|
<span class="cline-any cline-neutral"> </span>
|
|
173
|
-
<span class="cline-any cline-yes">
|
|
173
|
+
<span class="cline-any cline-yes">23x</span>
|
|
174
174
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const Router = require("@koa/router")
|
|
175
175
|
const tableController = require("../controllers/table")
|
|
176
176
|
const authorized = require("../../middleware/authorized")
|
|
@@ -235,7 +235,7 @@ module.exports = router
|
|
|
235
235
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
236
236
|
Code coverage generated by
|
|
237
237
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
238
|
-
at
|
|
238
|
+
at Wed Sep 15 2021 15:55:32 GMT+0000 (Coordinated Universal Time)
|
|
239
239
|
</div>
|
|
240
240
|
</div>
|
|
241
241
|
<script src="../../prettify.js"></script>
|
|
@@ -73,14 +73,14 @@
|
|
|
73
73
|
<a name='L14'></a><a href='#L14'>14</a>
|
|
74
74
|
<a name='L15'></a><a href='#L15'>15</a>
|
|
75
75
|
<a name='L16'></a><a href='#L16'>16</a>
|
|
76
|
-
<a name='L17'></a><a href='#L17'>17</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">
|
|
77
|
-
<span class="cline-any cline-yes">
|
|
78
|
-
<span class="cline-any cline-yes">
|
|
79
|
-
<span class="cline-any cline-yes">
|
|
76
|
+
<a name='L17'></a><a href='#L17'>17</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">23x</span>
|
|
77
|
+
<span class="cline-any cline-yes">23x</span>
|
|
78
|
+
<span class="cline-any cline-yes">23x</span>
|
|
79
|
+
<span class="cline-any cline-yes">23x</span>
|
|
80
80
|
<span class="cline-any cline-neutral"> </span>
|
|
81
|
-
<span class="cline-any cline-yes">
|
|
81
|
+
<span class="cline-any cline-yes">23x</span>
|
|
82
82
|
<span class="cline-any cline-neutral"> </span>
|
|
83
|
-
<span class="cline-any cline-yes">
|
|
83
|
+
<span class="cline-any cline-yes">23x</span>
|
|
84
84
|
<span class="cline-any cline-neutral"> </span>
|
|
85
85
|
<span class="cline-any cline-neutral"> </span>
|
|
86
86
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
<span class="cline-any cline-neutral"> </span>
|
|
89
89
|
<span class="cline-any cline-neutral"> </span>
|
|
90
90
|
<span class="cline-any cline-neutral"> </span>
|
|
91
|
-
<span class="cline-any cline-yes">
|
|
91
|
+
<span class="cline-any cline-yes">23x</span>
|
|
92
92
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const Router = require("@koa/router")
|
|
93
93
|
const controller = require("../controllers/templates")
|
|
94
94
|
const authorized = require("../../middleware/authorized")
|
|
@@ -112,7 +112,7 @@ module.exports = router
|
|
|
112
112
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
113
113
|
Code coverage generated by
|
|
114
114
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
115
|
-
at
|
|
115
|
+
at Wed Sep 15 2021 15:55:32 GMT+0000 (Coordinated Universal Time)
|
|
116
116
|
</div>
|
|
117
117
|
</div>
|
|
118
118
|
<script src="../../prettify.js"></script>
|
|
@@ -98,18 +98,18 @@
|
|
|
98
98
|
<a name='L39'></a><a href='#L39'>39</a>
|
|
99
99
|
<a name='L40'></a><a href='#L40'>40</a>
|
|
100
100
|
<a name='L41'></a><a href='#L41'>41</a>
|
|
101
|
-
<a name='L42'></a><a href='#L42'>42</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">
|
|
102
|
-
<span class="cline-any cline-yes">
|
|
103
|
-
<span class="cline-any cline-yes">
|
|
101
|
+
<a name='L42'></a><a href='#L42'>42</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">23x</span>
|
|
102
|
+
<span class="cline-any cline-yes">23x</span>
|
|
103
|
+
<span class="cline-any cline-yes">23x</span>
|
|
104
104
|
<span class="cline-any cline-neutral"> </span>
|
|
105
105
|
<span class="cline-any cline-neutral"> </span>
|
|
106
106
|
<span class="cline-any cline-neutral"> </span>
|
|
107
|
-
<span class="cline-any cline-yes">
|
|
108
|
-
<span class="cline-any cline-yes">
|
|
107
|
+
<span class="cline-any cline-yes">23x</span>
|
|
108
|
+
<span class="cline-any cline-yes">23x</span>
|
|
109
109
|
<span class="cline-any cline-neutral"> </span>
|
|
110
|
-
<span class="cline-any cline-yes">
|
|
110
|
+
<span class="cline-any cline-yes">23x</span>
|
|
111
111
|
<span class="cline-any cline-neutral"> </span>
|
|
112
|
-
<span class="cline-any cline-yes">
|
|
112
|
+
<span class="cline-any cline-yes">23x</span>
|
|
113
113
|
<span class="cline-any cline-neutral"> </span>
|
|
114
114
|
<span class="cline-any cline-neutral"> </span>
|
|
115
115
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
<span class="cline-any cline-neutral"> </span>
|
|
139
139
|
<span class="cline-any cline-neutral"> </span>
|
|
140
140
|
<span class="cline-any cline-neutral"> </span>
|
|
141
|
-
<span class="cline-any cline-yes">
|
|
141
|
+
<span class="cline-any cline-yes">23x</span>
|
|
142
142
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const Router = require("@koa/router")
|
|
143
143
|
const controller = require("../controllers/user")
|
|
144
144
|
const authorized = require("../../middleware/authorized")
|
|
@@ -187,7 +187,7 @@ module.exports = router
|
|
|
187
187
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
188
188
|
Code coverage generated by
|
|
189
189
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
190
|
-
at
|
|
190
|
+
at Wed Sep 15 2021 15:55:32 GMT+0000 (Coordinated Universal Time)
|
|
191
191
|
</div>
|
|
192
192
|
</div>
|
|
193
193
|
<script src="../../prettify.js"></script>
|
|
@@ -90,21 +90,21 @@
|
|
|
90
90
|
<a name='L31'></a><a href='#L31'>31</a>
|
|
91
91
|
<a name='L32'></a><a href='#L32'>32</a>
|
|
92
92
|
<a name='L33'></a><a href='#L33'>33</a>
|
|
93
|
-
<a name='L34'></a><a href='#L34'>34</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">
|
|
94
|
-
<span class="cline-any cline-yes">
|
|
95
|
-
<span class="cline-any cline-yes">
|
|
96
|
-
<span class="cline-any cline-yes">
|
|
97
|
-
<span class="cline-any cline-yes">
|
|
93
|
+
<a name='L34'></a><a href='#L34'>34</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">23x</span>
|
|
94
|
+
<span class="cline-any cline-yes">23x</span>
|
|
95
|
+
<span class="cline-any cline-yes">23x</span>
|
|
96
|
+
<span class="cline-any cline-yes">23x</span>
|
|
97
|
+
<span class="cline-any cline-yes">23x</span>
|
|
98
98
|
<span class="cline-any cline-neutral"> </span>
|
|
99
99
|
<span class="cline-any cline-neutral"> </span>
|
|
100
100
|
<span class="cline-any cline-neutral"> </span>
|
|
101
101
|
<span class="cline-any cline-neutral"> </span>
|
|
102
|
-
<span class="cline-any cline-yes">
|
|
103
|
-
<span class="cline-any cline-yes">
|
|
102
|
+
<span class="cline-any cline-yes">23x</span>
|
|
103
|
+
<span class="cline-any cline-yes">23x</span>
|
|
104
104
|
<span class="cline-any cline-neutral"> </span>
|
|
105
|
-
<span class="cline-any cline-yes">
|
|
105
|
+
<span class="cline-any cline-yes">23x</span>
|
|
106
106
|
<span class="cline-any cline-neutral"> </span>
|
|
107
|
-
<span class="cline-any cline-yes">
|
|
107
|
+
<span class="cline-any cline-yes">23x</span>
|
|
108
108
|
<span class="cline-any cline-neutral"> </span>
|
|
109
109
|
<span class="cline-any cline-neutral"> </span>
|
|
110
110
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
<span class="cline-any cline-neutral"> </span>
|
|
123
123
|
<span class="cline-any cline-neutral"> </span>
|
|
124
124
|
<span class="cline-any cline-neutral"> </span>
|
|
125
|
-
<span class="cline-any cline-yes">
|
|
125
|
+
<span class="cline-any cline-yes">23x</span>
|
|
126
126
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const Router = require("@koa/router")
|
|
127
127
|
const viewController = require("../controllers/view")
|
|
128
128
|
const rowController = require("../controllers/row")
|
|
@@ -163,7 +163,7 @@ module.exports = router
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
166
|
-
at
|
|
166
|
+
at Wed Sep 15 2021 15:55:32 GMT+0000 (Coordinated Universal Time)
|
|
167
167
|
</div>
|
|
168
168
|
</div>
|
|
169
169
|
<script src="../../prettify.js"></script>
|
|
@@ -99,18 +99,18 @@
|
|
|
99
99
|
<a name='L40'></a><a href='#L40'>40</a>
|
|
100
100
|
<a name='L41'></a><a href='#L41'>41</a>
|
|
101
101
|
<a name='L42'></a><a href='#L42'>42</a>
|
|
102
|
-
<a name='L43'></a><a href='#L43'>43</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">
|
|
103
|
-
<span class="cline-any cline-yes">
|
|
104
|
-
<span class="cline-any cline-yes">
|
|
105
|
-
<span class="cline-any cline-yes">
|
|
106
|
-
<span class="cline-any cline-yes">
|
|
107
|
-
<span class="cline-any cline-yes">
|
|
102
|
+
<a name='L43'></a><a href='#L43'>43</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">23x</span>
|
|
103
|
+
<span class="cline-any cline-yes">23x</span>
|
|
104
|
+
<span class="cline-any cline-yes">23x</span>
|
|
105
|
+
<span class="cline-any cline-yes">23x</span>
|
|
106
|
+
<span class="cline-any cline-yes">23x</span>
|
|
107
|
+
<span class="cline-any cline-yes">23x</span>
|
|
108
108
|
<span class="cline-any cline-neutral"> </span>
|
|
109
|
-
<span class="cline-any cline-yes">
|
|
109
|
+
<span class="cline-any cline-yes">23x</span>
|
|
110
110
|
<span class="cline-any cline-neutral"> </span>
|
|
111
111
|
<span class="cline-any cline-neutral"> </span>
|
|
112
112
|
<span class="cline-any cline-neutral"> </span>
|
|
113
|
-
<span class="cline-any cline-yes">
|
|
113
|
+
<span class="cline-any cline-yes">23x</span>
|
|
114
114
|
<span class="cline-any cline-neutral"> </span>
|
|
115
115
|
<span class="cline-any cline-neutral"> </span>
|
|
116
116
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
<span class="cline-any cline-neutral"> </span>
|
|
124
124
|
<span class="cline-any cline-neutral"> </span>
|
|
125
125
|
<span class="cline-any cline-neutral"> </span>
|
|
126
|
-
<span class="cline-any cline-yes">
|
|
126
|
+
<span class="cline-any cline-yes">23x</span>
|
|
127
127
|
<span class="cline-any cline-neutral"> </span>
|
|
128
128
|
<span class="cline-any cline-neutral"> </span>
|
|
129
129
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
<span class="cline-any cline-neutral"> </span>
|
|
141
141
|
<span class="cline-any cline-neutral"> </span>
|
|
142
142
|
<span class="cline-any cline-neutral"> </span>
|
|
143
|
-
<span class="cline-any cline-yes">
|
|
143
|
+
<span class="cline-any cline-yes">23x</span>
|
|
144
144
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const Router = require("@koa/router")
|
|
145
145
|
const controller = require("../controllers/webhook")
|
|
146
146
|
const authorized = require("../../middleware/authorized")
|
|
@@ -190,7 +190,7 @@ module.exports = router
|
|
|
190
190
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
191
191
|
Code coverage generated by
|
|
192
192
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
193
|
-
at
|
|
193
|
+
at Wed Sep 15 2021 15:55:32 GMT+0000 (Coordinated Universal Time)
|
|
194
194
|
</div>
|
|
195
195
|
</div>
|
|
196
196
|
<script src="../../prettify.js"></script>
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>18/18</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
40
|
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>0/0</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>18/18</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -118,30 +118,7 @@
|
|
|
118
118
|
<a name='L59'></a><a href='#L59'>59</a>
|
|
119
119
|
<a name='L60'></a><a href='#L60'>60</a>
|
|
120
120
|
<a name='L61'></a><a href='#L61'>61</a>
|
|
121
|
-
<a name='L62'></a><a href='#L62'>62</a>
|
|
122
|
-
<a name='L63'></a><a href='#L63'>63</a>
|
|
123
|
-
<a name='L64'></a><a href='#L64'>64</a>
|
|
124
|
-
<a name='L65'></a><a href='#L65'>65</a>
|
|
125
|
-
<a name='L66'></a><a href='#L66'>66</a>
|
|
126
|
-
<a name='L67'></a><a href='#L67'>67</a>
|
|
127
|
-
<a name='L68'></a><a href='#L68'>68</a>
|
|
128
|
-
<a name='L69'></a><a href='#L69'>69</a>
|
|
129
|
-
<a name='L70'></a><a href='#L70'>70</a>
|
|
130
|
-
<a name='L71'></a><a href='#L71'>71</a>
|
|
131
|
-
<a name='L72'></a><a href='#L72'>72</a>
|
|
132
|
-
<a name='L73'></a><a href='#L73'>73</a>
|
|
133
|
-
<a name='L74'></a><a href='#L74'>74</a>
|
|
134
|
-
<a name='L75'></a><a href='#L75'>75</a>
|
|
135
|
-
<a name='L76'></a><a href='#L76'>76</a>
|
|
136
|
-
<a name='L77'></a><a href='#L77'>77</a>
|
|
137
|
-
<a name='L78'></a><a href='#L78'>78</a>
|
|
138
|
-
<a name='L79'></a><a href='#L79'>79</a>
|
|
139
|
-
<a name='L80'></a><a href='#L80'>80</a>
|
|
140
|
-
<a name='L81'></a><a href='#L81'>81</a>
|
|
141
|
-
<a name='L82'></a><a href='#L82'>82</a>
|
|
142
|
-
<a name='L83'></a><a href='#L83'>83</a>
|
|
143
|
-
<a name='L84'></a><a href='#L84'>84</a>
|
|
144
|
-
<a name='L85'></a><a href='#L85'>85</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">33x</span>
|
|
121
|
+
<a name='L62'></a><a href='#L62'>62</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">33x</span>
|
|
145
122
|
<span class="cline-any cline-yes">33x</span>
|
|
146
123
|
<span class="cline-any cline-yes">33x</span>
|
|
147
124
|
<span class="cline-any cline-yes">33x</span>
|
|
@@ -153,25 +130,11 @@
|
|
|
153
130
|
<span class="cline-any cline-yes">33x</span>
|
|
154
131
|
<span class="cline-any cline-yes">33x</span>
|
|
155
132
|
<span class="cline-any cline-yes">33x</span>
|
|
156
|
-
<span class="cline-any cline-neutral"> </span>
|
|
157
|
-
<span class="cline-any cline-neutral"> </span>
|
|
158
|
-
<span class="cline-any cline-neutral"> </span>
|
|
159
133
|
<span class="cline-any cline-yes">33x</span>
|
|
160
|
-
<span class="cline-any cline-neutral"> </span>
|
|
161
134
|
<span class="cline-any cline-yes">33x</span>
|
|
162
|
-
<span class="cline-any cline-neutral"> </span>
|
|
163
|
-
<span class="cline-any cline-neutral"> </span>
|
|
164
|
-
<span class="cline-any cline-neutral"> </span>
|
|
165
|
-
<span class="cline-any cline-neutral"> </span>
|
|
166
|
-
<span class="cline-any cline-neutral"> </span>
|
|
167
|
-
<span class="cline-any cline-neutral"> </span>
|
|
168
|
-
<span class="cline-any cline-neutral"> </span>
|
|
169
|
-
<span class="cline-any cline-neutral"> </span>
|
|
170
|
-
<span class="cline-any cline-neutral"> </span>
|
|
171
|
-
<span class="cline-any cline-neutral"> </span>
|
|
172
|
-
<span class="cline-any cline-neutral"> </span>
|
|
173
135
|
<span class="cline-any cline-yes">33x</span>
|
|
174
136
|
<span class="cline-any cline-neutral"> </span>
|
|
137
|
+
<span class="cline-any cline-yes">33x</span>
|
|
175
138
|
<span class="cline-any cline-neutral"> </span>
|
|
176
139
|
<span class="cline-any cline-neutral"> </span>
|
|
177
140
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -183,14 +146,13 @@
|
|
|
183
146
|
<span class="cline-any cline-neutral"> </span>
|
|
184
147
|
<span class="cline-any cline-neutral"> </span>
|
|
185
148
|
<span class="cline-any cline-neutral"> </span>
|
|
186
|
-
<span class="cline-any cline-yes">33x</span>
|
|
187
|
-
<span class="cline-any cline-neutral"> </span>
|
|
188
149
|
<span class="cline-any cline-neutral"> </span>
|
|
189
150
|
<span class="cline-any cline-neutral"> </span>
|
|
190
151
|
<span class="cline-any cline-neutral"> </span>
|
|
191
152
|
<span class="cline-any cline-neutral"> </span>
|
|
192
153
|
<span class="cline-any cline-neutral"> </span>
|
|
193
154
|
<span class="cline-any cline-neutral"> </span>
|
|
155
|
+
<span class="cline-any cline-yes">33x</span>
|
|
194
156
|
<span class="cline-any cline-neutral"> </span>
|
|
195
157
|
<span class="cline-any cline-neutral"> </span>
|
|
196
158
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -208,25 +170,16 @@
|
|
|
208
170
|
<span class="cline-any cline-neutral"> </span>
|
|
209
171
|
<span class="cline-any cline-neutral"> </span>
|
|
210
172
|
<span class="cline-any cline-neutral"> </span>
|
|
211
|
-
<span class="cline-any cline-yes">33x</span>
|
|
212
|
-
<span class="cline-any cline-yes">28x</span>
|
|
213
|
-
<span class="cline-any cline-yes">28x</span>
|
|
214
|
-
<span class="cline-any cline-yes">25x</span>
|
|
215
173
|
<span class="cline-any cline-neutral"> </span>
|
|
216
174
|
<span class="cline-any cline-neutral"> </span>
|
|
217
175
|
<span class="cline-any cline-neutral"> </span>
|
|
218
176
|
<span class="cline-any cline-neutral"> </span>
|
|
219
|
-
<span class="cline-any cline-no"> </span>
|
|
220
|
-
<span class="cline-any cline-no"> </span>
|
|
221
177
|
<span class="cline-any cline-neutral"> </span>
|
|
222
|
-
<span class="cline-any cline-yes">25x</span>
|
|
223
178
|
<span class="cline-any cline-neutral"> </span>
|
|
224
179
|
<span class="cline-any cline-neutral"> </span>
|
|
225
180
|
<span class="cline-any cline-neutral"> </span>
|
|
226
181
|
<span class="cline-any cline-yes">33x</span>
|
|
227
|
-
<span class="cline-any cline-
|
|
228
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const sendgridEmail = require("./steps/sendgridEmail")
|
|
229
|
-
const sendSmtpEmail = require("./steps/sendSmtpEmail")
|
|
182
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const sendSmtpEmail = require("./steps/sendSmtpEmail")
|
|
230
183
|
const createRow = require("./steps/createRow")
|
|
231
184
|
const updateRow = require("./steps/updateRow")
|
|
232
185
|
const deleteRow = require("./steps/deleteRow")
|
|
@@ -235,15 +188,14 @@ const bash = require("./steps/bash")
|
|
|
235
188
|
const executeQuery = require("./steps/executeQuery")
|
|
236
189
|
const outgoingWebhook = require("./steps/outgoingWebhook")
|
|
237
190
|
const serverLog = require("./steps/serverLog")
|
|
238
|
-
const
|
|
239
|
-
const
|
|
240
|
-
const
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
191
|
+
const discord = require("./steps/discord")
|
|
192
|
+
const slack = require("./steps/slack")
|
|
193
|
+
const zapier = require("./steps/zapier")
|
|
194
|
+
const integromat = require("./steps/integromat")
|
|
195
|
+
let filter = require("./steps/filter")
|
|
196
|
+
let delay = require("./steps/delay")
|
|
244
197
|
|
|
245
|
-
const
|
|
246
|
-
SEND_EMAIL: sendgridEmail.run,
|
|
198
|
+
const ACTION_IMPLS = {
|
|
247
199
|
SEND_EMAIL_SMTP: sendSmtpEmail.run,
|
|
248
200
|
CREATE_ROW: createRow.run,
|
|
249
201
|
UPDATE_ROW: updateRow.run,
|
|
@@ -253,9 +205,15 @@ const BUILTIN_ACTIONS = {
|
|
|
253
205
|
EXECUTE_BASH: bash.run,
|
|
254
206
|
EXECUTE_QUERY: executeQuery.run,
|
|
255
207
|
SERVER_LOG: serverLog.run,
|
|
208
|
+
DELAY: delay.run,
|
|
209
|
+
FILTER: filter.run,
|
|
210
|
+
// these used to be lowercase step IDs, maintain for backwards compat
|
|
211
|
+
discord: discord.run,
|
|
212
|
+
slack: slack.run,
|
|
213
|
+
zapier: zapier.run,
|
|
214
|
+
integromat: integromat.run,
|
|
256
215
|
}
|
|
257
|
-
const
|
|
258
|
-
SEND_EMAIL: sendgridEmail.definition,
|
|
216
|
+
const ACTION_DEFINITIONS = {
|
|
259
217
|
SEND_EMAIL_SMTP: sendSmtpEmail.definition,
|
|
260
218
|
CREATE_ROW: createRow.definition,
|
|
261
219
|
UPDATE_ROW: updateRow.definition,
|
|
@@ -265,50 +223,23 @@ const BUILTIN_DEFINITIONS = {
|
|
|
265
223
|
EXECUTE_QUERY: executeQuery.definition,
|
|
266
224
|
EXECUTE_BASH: bash.definition,
|
|
267
225
|
SERVER_LOG: serverLog.definition,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
226
|
+
DELAY: delay.definition,
|
|
227
|
+
FILTER: filter.definition,
|
|
228
|
+
// these used to be lowercase step IDs, maintain for backwards compat
|
|
229
|
+
discord: discord.definition,
|
|
230
|
+
slack: slack.definition,
|
|
231
|
+
zapier: zapier.definition,
|
|
232
|
+
integromat: integromat.definition,
|
|
275
233
|
}
|
|
276
234
|
|
|
277
235
|
/* istanbul ignore next */
|
|
278
|
-
|
|
279
|
-
if (
|
|
280
|
-
return
|
|
281
|
-
}
|
|
282
|
-
// worker pools means that a worker may not have manifest
|
|
283
|
-
if (env.isProd() && MANIFEST == null) {
|
|
284
|
-
MANIFEST = await module.exports.init()
|
|
285
|
-
}
|
|
286
|
-
// env setup to get async packages
|
|
287
|
-
if (!MANIFEST || !MANIFEST.packages || !MANIFEST.packages[actionName]) {
|
|
288
|
-
return null
|
|
289
|
-
}
|
|
290
|
-
const pkg = MANIFEST.packages[actionName]
|
|
291
|
-
const bundleName = buildBundleName(pkg.stepId, pkg.version)
|
|
292
|
-
return getExternalAutomationStep(pkg.stepId, pkg.version, bundleName)
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
module.exports.init = async function () {
|
|
296
|
-
try {
|
|
297
|
-
MANIFEST = await automationInit()
|
|
298
|
-
module.exports.DEFINITIONS =
|
|
299
|
-
MANIFEST && MANIFEST.packages
|
|
300
|
-
? Object.assign(MANIFEST.packages, BUILTIN_DEFINITIONS)
|
|
301
|
-
: <span class="branch-1 cbranch-no" title="branch not covered" >BUILTIN_DEFINITIONS</span>
|
|
302
|
-
} catch (err) {
|
|
303
|
-
<span class="cstat-no" title="statement not covered" > console.error(err)</span>
|
|
304
|
-
<span class="cstat-no" title="statement not covered" > Sentry.captureException(err)</span>
|
|
236
|
+
exports.getAction = async function (actionName) {
|
|
237
|
+
if (ACTION_IMPLS[actionName] != null) {
|
|
238
|
+
return ACTION_IMPLS[actionName]
|
|
305
239
|
}
|
|
306
|
-
return MANIFEST
|
|
307
240
|
}
|
|
308
241
|
|
|
309
|
-
|
|
310
|
-
module.exports.DEFINITIONS = BUILTIN_DEFINITIONS
|
|
311
|
-
module.exports.BUILTIN_DEFINITIONS = BUILTIN_DEFINITIONS
|
|
242
|
+
exports.ACTION_DEFINITIONS = ACTION_DEFINITIONS
|
|
312
243
|
</pre></td></tr></table></pre>
|
|
313
244
|
|
|
314
245
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -316,7 +247,7 @@ module.exports.BUILTIN_DEFINITIONS = BUILTIN_DEFINITIONS
|
|
|
316
247
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
317
248
|
Code coverage generated by
|
|
318
249
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
319
|
-
at
|
|
250
|
+
at Wed Sep 15 2021 15:55:32 GMT+0000 (Coordinated Universal Time)
|
|
320
251
|
</div>
|
|
321
252
|
</div>
|
|
322
253
|
<script src="../prettify.js"></script>
|