@budibase/server 0.9.190-alpha.7 → 1.0.1
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.59c6065f.js → index.e95b024a.js} +140 -140
- package/builder/index.html +1 -1
- package/coverage/clover.xml +42 -45
- 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 +14 -14
- package/coverage/lcov-report/api/controllers/table/index.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/internal.js.html +8 -20
- package/coverage/lcov-report/api/controllers/table/utils.js.html +1 -1
- 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 +1 -1
- package/coverage/lcov-report/api/controllers/view/index.js.html +1 -1
- 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 +536 -2
- 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 +436 -7
- 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 +13 -13
- 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 +1 -1
- package/coverage/lcov-report/utilities/global.js.html +1 -1
- package/coverage/lcov-report/utilities/index.html +1 -1
- 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 +63 -70
- package/dist/api/controllers/row/ExternalRequest.js +5 -2
- package/dist/api/controllers/table/internal.js +0 -4
- package/dist/api/routes/row.js +178 -0
- package/dist/api/routes/table.js +148 -5
- package/dist/definitions/datasource.js +12 -1
- package/dist/integrations/base/sql.js +1 -4
- package/dist/integrations/oracle.js +42 -22
- package/dist/package.json +10 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -7
- package/scripts/docs/README.md +31 -0
- package/scripts/docs/generate.js +74 -0
- package/scripts/docs/toSwagger.js +320 -0
- package/scripts/integrations/oracle/docker-compose.yml +1 -1
- package/src/api/controllers/row/ExternalRequest.ts +8 -2
- package/src/api/controllers/table/internal.js +0 -4
- package/src/api/routes/row.js +178 -0
- package/src/api/routes/table.js +148 -5
- package/src/definitions/datasource.ts +11 -0
- package/src/integrations/base/sql.ts +1 -3
- package/src/integrations/oracle.ts +41 -35
|
@@ -91,7 +91,7 @@ exports.exportAppDump = async function (ctx) {
|
|
|
91
91
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
92
92
|
Code coverage generated by
|
|
93
93
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
94
|
-
at
|
|
94
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
95
95
|
</div>
|
|
96
96
|
</div>
|
|
97
97
|
<script src="../../prettify.js"></script>
|
|
@@ -397,7 +397,7 @@ exports.importApps = <span class="fstat-no" title="function not covered" >as</sp
|
|
|
397
397
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
398
398
|
Code coverage generated by
|
|
399
399
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
400
|
-
at
|
|
400
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
401
401
|
</div>
|
|
402
402
|
</div>
|
|
403
403
|
<script src="../../prettify.js"></script>
|
|
@@ -169,7 +169,7 @@ exports.fetchAppComponentDefinitions = async function (ctx) {
|
|
|
169
169
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
170
170
|
Code coverage generated by
|
|
171
171
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
172
|
-
at
|
|
172
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
173
173
|
</div>
|
|
174
174
|
</div>
|
|
175
175
|
<script src="../../prettify.js"></script>
|
|
@@ -709,7 +709,7 @@ const buildSchemaHelper = <span class="fstat-no" title="function not covered" >a
|
|
|
709
709
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
710
710
|
Code coverage generated by
|
|
711
711
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
712
|
-
at
|
|
712
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
713
713
|
</div>
|
|
714
714
|
</div>
|
|
715
715
|
<script src="../../prettify.js"></script>
|
|
@@ -430,7 +430,7 @@ exports.getBudibaseVersion = <span class="fstat-no" title="function not covered"
|
|
|
430
430
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
431
431
|
Code coverage generated by
|
|
432
432
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
433
|
-
at
|
|
433
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
434
434
|
</div>
|
|
435
435
|
</div>
|
|
436
436
|
<script src="../../prettify.js"></script>
|
|
@@ -130,7 +130,7 @@ exports.getDeployedApps = <span class="fstat-no" title="function not covered" >a
|
|
|
130
130
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
131
131
|
Code coverage generated by
|
|
132
132
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
133
|
-
at
|
|
133
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
134
134
|
</div>
|
|
135
135
|
</div>
|
|
136
136
|
<script src="../../prettify.js"></script>
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
426
426
|
Code coverage generated by
|
|
427
427
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
428
|
-
at
|
|
428
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
429
429
|
</div>
|
|
430
430
|
</div>
|
|
431
431
|
<script src="../../prettify.js"></script>
|
|
@@ -100,7 +100,7 @@ exports.find = async function (ctx) {
|
|
|
100
100
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
101
101
|
Code coverage generated by
|
|
102
102
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
103
|
-
at
|
|
103
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
104
104
|
</div>
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../prettify.js"></script>
|
|
@@ -217,7 +217,7 @@ exports.destroy = async function (ctx) {
|
|
|
217
217
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
218
218
|
Code coverage generated by
|
|
219
219
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
220
|
-
at
|
|
220
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
221
221
|
</div>
|
|
222
222
|
</div>
|
|
223
223
|
<script src="../../prettify.js"></script>
|
|
@@ -202,7 +202,7 @@ exports.getMetadata = async ctx => {
|
|
|
202
202
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
203
203
|
Code coverage generated by
|
|
204
204
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
205
|
-
at
|
|
205
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
206
206
|
</div>
|
|
207
207
|
</div>
|
|
208
208
|
<script src="../../prettify.js"></script>
|
|
@@ -589,7 +589,7 @@ exports.removePermission = async function (ctx) {
|
|
|
589
589
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
590
590
|
Code coverage generated by
|
|
591
591
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
592
|
-
at
|
|
592
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
593
593
|
</div>
|
|
594
594
|
</div>
|
|
595
595
|
<script src="../../prettify.js"></script>
|
|
@@ -538,7 +538,7 @@ exports.destroy = async function (ctx) {
|
|
|
538
538
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
539
539
|
Code coverage generated by
|
|
540
540
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
541
|
-
at
|
|
541
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
542
542
|
</div>
|
|
543
543
|
</div>
|
|
544
544
|
<script src="../../prettify.js"></script>
|
|
@@ -358,7 +358,7 @@ exports.destroy = async function (ctx) {
|
|
|
358
358
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
359
359
|
Code coverage generated by
|
|
360
360
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
361
|
-
at
|
|
361
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
362
362
|
</div>
|
|
363
363
|
</div>
|
|
364
364
|
<script src="../../prettify.js"></script>
|
|
@@ -343,7 +343,7 @@ exports.clientFetch = async ctx => {
|
|
|
343
343
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
344
344
|
Code coverage generated by
|
|
345
345
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
346
|
-
at
|
|
346
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
347
347
|
</div>
|
|
348
348
|
</div>
|
|
349
349
|
<script src="../../prettify.js"></script>
|
|
@@ -757,7 +757,7 @@ exports.fetchEnrichedRow = <span class="fstat-no" title="function not covered" >
|
|
|
757
757
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
758
758
|
Code coverage generated by
|
|
759
759
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
760
|
-
at
|
|
760
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
761
761
|
</div>
|
|
762
762
|
</div>
|
|
763
763
|
<script src="../../../prettify.js"></script>
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
156
156
|
Code coverage generated by
|
|
157
157
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
158
|
-
at
|
|
158
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
159
159
|
</div>
|
|
160
160
|
</div>
|
|
161
161
|
<script src="../../../prettify.js"></script>
|
|
@@ -481,7 +481,7 @@ exports.fetchEnrichedRow = async function (ctx) {
|
|
|
481
481
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
482
482
|
Code coverage generated by
|
|
483
483
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
484
|
-
at
|
|
484
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
485
485
|
</div>
|
|
486
486
|
</div>
|
|
487
487
|
<script src="../../../prettify.js"></script>
|
|
@@ -1405,7 +1405,7 @@ exports.fetchEnrichedRow = async ctx => {
|
|
|
1405
1405
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1406
1406
|
Code coverage generated by
|
|
1407
1407
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
1408
|
-
at
|
|
1408
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
1409
1409
|
</div>
|
|
1410
1410
|
</div>
|
|
1411
1411
|
<script src="../../../prettify.js"></script>
|
|
@@ -1228,7 +1228,7 @@ exports.fullSearch = <span class="fstat-no" title="function not covered" >as</sp
|
|
|
1228
1228
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1229
1229
|
Code coverage generated by
|
|
1230
1230
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
1231
|
-
at
|
|
1231
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
1232
1232
|
</div>
|
|
1233
1233
|
</div>
|
|
1234
1234
|
<script src="../../../prettify.js"></script>
|
|
@@ -319,7 +319,7 @@ exports.validate = async ({ appId, tableId, row, table }) => {
|
|
|
319
319
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
320
320
|
Code coverage generated by
|
|
321
321
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
322
|
-
at
|
|
322
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
323
323
|
</div>
|
|
324
324
|
</div>
|
|
325
325
|
<script src="../../../prettify.js"></script>
|
|
@@ -208,7 +208,7 @@ exports.destroy = async ctx => {
|
|
|
208
208
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
209
209
|
Code coverage generated by
|
|
210
210
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
211
|
-
at
|
|
211
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
212
212
|
</div>
|
|
213
213
|
</div>
|
|
214
214
|
<script src="../../prettify.js"></script>
|
|
@@ -97,7 +97,7 @@ exports.save = <span class="fstat-no" title="function not covered" >as</span>ync
|
|
|
97
97
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
98
98
|
Code coverage generated by
|
|
99
99
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
100
|
-
at
|
|
100
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
101
101
|
</div>
|
|
102
102
|
</div>
|
|
103
103
|
<script src="../../prettify.js"></script>
|
|
@@ -985,7 +985,7 @@ exports.bulkImport = <span class="fstat-no" title="function not covered" >as</sp
|
|
|
985
985
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
986
986
|
Code coverage generated by
|
|
987
987
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
988
|
-
at
|
|
988
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
989
989
|
</div>
|
|
990
990
|
</div>
|
|
991
991
|
<script src="../../../prettify.js"></script>
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">51.
|
|
26
|
+
<span class="strong">51.16% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>220/430</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">36.65% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>81/221</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">51.
|
|
47
|
+
<span class="strong">51.65% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>218/422</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -104,17 +104,17 @@
|
|
|
104
104
|
|
|
105
105
|
<tr>
|
|
106
106
|
<td class="file medium" data-value="internal.js"><a href="internal.js.html">internal.js</a></td>
|
|
107
|
-
<td data-value="74.
|
|
107
|
+
<td data-value="74.6" class="pic medium">
|
|
108
108
|
<div class="chart"><div class="cover-fill" style="width: 74%"></div><div class="cover-empty" style="width: 26%"></div></div>
|
|
109
109
|
</td>
|
|
110
|
-
<td data-value="74.
|
|
111
|
-
<td data-value="
|
|
112
|
-
<td data-value="
|
|
113
|
-
<td data-value="
|
|
110
|
+
<td data-value="74.6" class="pct medium">74.6%</td>
|
|
111
|
+
<td data-value="63" class="abs medium">47/63</td>
|
|
112
|
+
<td data-value="71.87" class="pct medium">71.87%</td>
|
|
113
|
+
<td data-value="32" class="abs medium">23/32</td>
|
|
114
114
|
<td data-value="60" class="pct medium">60%</td>
|
|
115
115
|
<td data-value="5" class="abs medium">3/5</td>
|
|
116
|
-
<td data-value="
|
|
117
|
-
<td data-value="
|
|
116
|
+
<td data-value="78.33" class="pct medium">78.33%</td>
|
|
117
|
+
<td data-value="60" class="abs medium">47/60</td>
|
|
118
118
|
</tr>
|
|
119
119
|
|
|
120
120
|
<tr>
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
141
141
|
Code coverage generated by
|
|
142
142
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
143
|
-
at
|
|
143
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
144
144
|
</div>
|
|
145
145
|
</div>
|
|
146
146
|
<script src="../../../prettify.js"></script>
|
|
@@ -382,7 +382,7 @@ exports.validateCSVSchema = async function (ctx) {
|
|
|
382
382
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
383
383
|
Code coverage generated by
|
|
384
384
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
385
|
-
at
|
|
385
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
386
386
|
</div>
|
|
387
387
|
</div>
|
|
388
388
|
<script src="../../../prettify.js"></script>
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">74.
|
|
26
|
+
<span class="strong">74.6% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>47/63</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">71.87% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>23/32</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">78.33% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>47/60</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -208,11 +208,7 @@
|
|
|
208
208
|
<a name='L149'></a><a href='#L149'>149</a>
|
|
209
209
|
<a name='L150'></a><a href='#L150'>150</a>
|
|
210
210
|
<a name='L151'></a><a href='#L151'>151</a>
|
|
211
|
-
<a name='L152'></a><a href='#L152'>152</a>
|
|
212
|
-
<a name='L153'></a><a href='#L153'>153</a>
|
|
213
|
-
<a name='L154'></a><a href='#L154'>154</a>
|
|
214
|
-
<a name='L155'></a><a href='#L155'>155</a>
|
|
215
|
-
<a name='L156'></a><a href='#L156'>156</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">34x</span>
|
|
211
|
+
<a name='L152'></a><a href='#L152'>152</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">34x</span>
|
|
216
212
|
<span class="cline-any cline-yes">34x</span>
|
|
217
213
|
<span class="cline-any cline-yes">34x</span>
|
|
218
214
|
<span class="cline-any cline-yes">34x</span>
|
|
@@ -260,10 +256,6 @@
|
|
|
260
256
|
<span class="cline-any cline-yes">4x</span>
|
|
261
257
|
<span class="cline-any cline-yes">13x</span>
|
|
262
258
|
<span class="cline-any cline-yes">13x</span>
|
|
263
|
-
<span class="cline-any cline-yes">13x</span>
|
|
264
|
-
<span class="cline-any cline-no"> </span>
|
|
265
|
-
<span class="cline-any cline-neutral"> </span>
|
|
266
|
-
<span class="cline-any cline-yes">13x</span>
|
|
267
259
|
<span class="cline-any cline-no"> </span>
|
|
268
260
|
<span class="cline-any cline-neutral"> </span>
|
|
269
261
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -413,14 +405,10 @@ exports.save = async function (ctx) {
|
|
|
413
405
|
// the column if you want to change the type
|
|
414
406
|
if (oldTable && oldTable.schema) {
|
|
415
407
|
for (let propKey of Object.keys(tableToSave.schema)) {
|
|
416
|
-
let column = tableToSave.schema[propKey]
|
|
417
408
|
let oldColumn = oldTable.schema[propKey]
|
|
418
409
|
<span class="missing-if-branch" title="if path not taken" >I</span>if (oldColumn && oldColumn.type === "internal") {
|
|
419
410
|
<span class="cstat-no" title="statement not covered" > oldColumn.type = "auto"</span>
|
|
420
411
|
}
|
|
421
|
-
<span class="missing-if-branch" title="if path not taken" >I</span>if (oldColumn && oldColumn.type !== column.type) {
|
|
422
|
-
<span class="cstat-no" title="statement not covered" > ctx.throw(400, "Cannot change the type of a column")</span>
|
|
423
|
-
}
|
|
424
412
|
}
|
|
425
413
|
}
|
|
426
414
|
|
|
@@ -529,7 +517,7 @@ exports.bulkImport = <span class="fstat-no" title="function not covered" >as</sp
|
|
|
529
517
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
530
518
|
Code coverage generated by
|
|
531
519
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
532
|
-
at
|
|
520
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
533
521
|
</div>
|
|
534
522
|
</div>
|
|
535
523
|
<script src="../../../prettify.js"></script>
|
|
@@ -1141,7 +1141,7 @@ exports.TableSaveFunctions = TableSaveFunctions
|
|
|
1141
1141
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1142
1142
|
Code coverage generated by
|
|
1143
1143
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
1144
|
-
at
|
|
1144
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
1145
1145
|
</div>
|
|
1146
1146
|
</div>
|
|
1147
1147
|
<script src="../../../prettify.js"></script>
|
|
@@ -181,7 +181,7 @@ exports.downloadTemplate = async function (ctx) {
|
|
|
181
181
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
182
182
|
Code coverage generated by
|
|
183
183
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
184
|
-
at
|
|
184
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
185
185
|
</div>
|
|
186
186
|
</div>
|
|
187
187
|
<script src="../../prettify.js"></script>
|
|
@@ -655,7 +655,7 @@ exports.findMetadata = async function (ctx) {
|
|
|
655
655
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
656
656
|
Code coverage generated by
|
|
657
657
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
658
|
-
at
|
|
658
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
659
659
|
</div>
|
|
660
660
|
</div>
|
|
661
661
|
<script src="../../prettify.js"></script>
|
|
@@ -133,7 +133,7 @@ exports.ExportFormats = {
|
|
|
133
133
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
134
134
|
Code coverage generated by
|
|
135
135
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
136
|
-
at
|
|
136
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
137
137
|
</div>
|
|
138
138
|
</div>
|
|
139
139
|
<script src="../../../prettify.js"></script>
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
141
141
|
Code coverage generated by
|
|
142
142
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
143
|
-
at
|
|
143
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
144
144
|
</div>
|
|
145
145
|
</div>
|
|
146
146
|
<script src="../../../prettify.js"></script>
|
|
@@ -385,7 +385,7 @@ exports.exportView = async ctx => {
|
|
|
385
385
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
386
386
|
Code coverage generated by
|
|
387
387
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
388
|
-
at
|
|
388
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
389
389
|
</div>
|
|
390
390
|
</div>
|
|
391
391
|
<script src="../../../prettify.js"></script>
|
|
@@ -493,7 +493,7 @@ exports.getFromMemoryDoc = async (db, viewName) => {
|
|
|
493
493
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
494
494
|
Code coverage generated by
|
|
495
495
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
496
|
-
at
|
|
496
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
497
497
|
</div>
|
|
498
498
|
</div>
|
|
499
499
|
<script src="../../../prettify.js"></script>
|
|
@@ -550,7 +550,7 @@ module.exports = viewTemplate
|
|
|
550
550
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
551
551
|
Code coverage generated by
|
|
552
552
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
553
|
-
at
|
|
553
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
554
554
|
</div>
|
|
555
555
|
</div>
|
|
556
556
|
<script src="../../../prettify.js"></script>
|
|
@@ -394,7 +394,7 @@ exports.trigger = async ctx => {
|
|
|
394
394
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
395
395
|
Code coverage generated by
|
|
396
396
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
397
|
-
at
|
|
397
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
398
398
|
</div>
|
|
399
399
|
</div>
|
|
400
400
|
<script src="../../prettify.js"></script>
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
96
96
|
Code coverage generated by
|
|
97
97
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
98
|
-
at
|
|
98
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
99
99
|
</div>
|
|
100
100
|
</div>
|
|
101
101
|
<script src="../prettify.js"></script>
|
|
@@ -331,7 +331,7 @@ module.exports = router
|
|
|
331
331
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
332
332
|
Code coverage generated by
|
|
333
333
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
334
|
-
at
|
|
334
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
335
335
|
</div>
|
|
336
336
|
</div>
|
|
337
337
|
<script src="../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@ module.exports = router
|
|
|
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 Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../prettify.js"></script>
|
|
@@ -100,7 +100,7 @@ module.exports = router
|
|
|
100
100
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
101
101
|
Code coverage generated by
|
|
102
102
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
103
|
-
at
|
|
103
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
104
104
|
</div>
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../prettify.js"></script>
|
|
@@ -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 Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
167
167
|
</div>
|
|
168
168
|
</div>
|
|
169
169
|
<script src="../../prettify.js"></script>
|
|
@@ -88,7 +88,7 @@ module.exports = router
|
|
|
88
88
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
89
89
|
Code coverage generated by
|
|
90
90
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
91
|
-
at
|
|
91
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
92
92
|
</div>
|
|
93
93
|
</div>
|
|
94
94
|
<script src="../../prettify.js"></script>
|
|
@@ -379,7 +379,7 @@ module.exports = router
|
|
|
379
379
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
380
380
|
Code coverage generated by
|
|
381
381
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
382
|
-
at
|
|
382
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
383
383
|
</div>
|
|
384
384
|
</div>
|
|
385
385
|
<script src="../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@ module.exports = router
|
|
|
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 Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../prettify.js"></script>
|
|
@@ -106,7 +106,7 @@ module.exports = router
|
|
|
106
106
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
107
107
|
Code coverage generated by
|
|
108
108
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
109
|
-
at
|
|
109
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
110
110
|
</div>
|
|
111
111
|
</div>
|
|
112
112
|
<script src="../../prettify.js"></script>
|
|
@@ -106,7 +106,7 @@ module.exports = router
|
|
|
106
106
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
107
107
|
Code coverage generated by
|
|
108
108
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
109
|
-
at
|
|
109
|
+
at Tue Nov 30 2021 15:42:17 GMT+0000 (Coordinated Universal Time)
|
|
110
110
|
</div>
|
|
111
111
|
</div>
|
|
112
112
|
<script src="../../prettify.js"></script>
|