@budibase/server 1.4.8-alpha.11 → 1.4.8-alpha.12
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.c595668e.js → index.20b2d716.js} +3 -3
- package/builder/index.html +1 -1
- package/coverage/clover.xml +2 -2
- package/coverage/lcov-report/api/controllers/apikeys.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/datasource.js.html +1 -1
- package/coverage/lcov-report/api/controllers/dev.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/migrations.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.html +1 -1
- package/coverage/lcov-report/api/controllers/query/validation.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/internal.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/staticFormula.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/utils.js.html +1 -1
- package/coverage/lcov-report/api/controllers/script.js.html +1 -1
- package/coverage/lcov-report/api/controllers/table/bulkFormula.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/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/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/index.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/migrations.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/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.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/utils/index.html +1 -1
- package/coverage/lcov-report/api/routes/utils/validators.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/delay.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/loop.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/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/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 +1 -1
- 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/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/publicApi.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/utils.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/usageQuota/index.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/rows.js.html +1 -1
- package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.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/dist/api/routes/public/applications.js +5 -0
- package/dist/api/routes/public/queries.js +2 -0
- package/dist/api/routes/public/rows.js +5 -0
- package/dist/api/routes/public/tables.js +5 -0
- package/dist/api/routes/public/users.js +5 -0
- package/dist/package.json +6 -6
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/specs/openapi.json +22 -0
- package/specs/openapi.yaml +22 -0
- package/src/api/routes/public/applications.ts +5 -0
- package/src/api/routes/public/queries.ts +2 -0
- package/src/api/routes/public/rows.ts +5 -0
- package/src/api/routes/public/tables.ts +5 -0
- package/src/api/routes/public/users.ts +5 -0
- package/src/definitions/openapi.ts +134 -447
|
@@ -1096,7 +1096,7 @@ exports.cleanupAttachments = async (table, { row, rows, oldRow, oldTable }) =>
|
|
|
1096
1096
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1097
1097
|
Code coverage generated by
|
|
1098
1098
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1099
|
-
at Mon Sep 26 2022 14:
|
|
1099
|
+
at Mon Sep 26 2022 14:56:56 GMT+0000 (Coordinated Universal Time)
|
|
1100
1100
|
</div>
|
|
1101
1101
|
<script src="../../prettify.js"></script>
|
|
1102
1102
|
<script>
|
|
@@ -346,7 +346,7 @@ exports.processDates = <span class="fstat-no" title="function not covered" >(t</
|
|
|
346
346
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
347
347
|
Code coverage generated by
|
|
348
348
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
349
|
-
at Mon Sep 26 2022 14:
|
|
349
|
+
at Mon Sep 26 2022 14:56:56 GMT+0000 (Coordinated Universal Time)
|
|
350
350
|
</div>
|
|
351
351
|
<script src="../../prettify.js"></script>
|
|
352
352
|
<script>
|
|
@@ -142,7 +142,7 @@ module.exports = ScriptRunner
|
|
|
142
142
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
143
143
|
Code coverage generated by
|
|
144
144
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
145
|
-
at Mon Sep 26 2022 14:
|
|
145
|
+
at Mon Sep 26 2022 14:56:56 GMT+0000 (Coordinated Universal Time)
|
|
146
146
|
</div>
|
|
147
147
|
<script src="../prettify.js"></script>
|
|
148
148
|
<script>
|
|
@@ -283,7 +283,7 @@ exports.CURRENTLY_SUPPORTED_LEVELS = CURRENTLY_SUPPORTED_LEVELS
|
|
|
283
283
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
284
284
|
Code coverage generated by
|
|
285
285
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
286
|
-
at Mon Sep 26 2022 14:
|
|
286
|
+
at Mon Sep 26 2022 14:56:56 GMT+0000 (Coordinated Universal Time)
|
|
287
287
|
</div>
|
|
288
288
|
<script src="../prettify.js"></script>
|
|
289
289
|
<script>
|
|
@@ -91,7 +91,7 @@
|
|
|
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" rel="noopener noreferrer">istanbul</a>
|
|
94
|
-
at Mon Sep 26 2022 14:
|
|
94
|
+
at Mon Sep 26 2022 14:56:56 GMT+0000 (Coordinated Universal Time)
|
|
95
95
|
</div>
|
|
96
96
|
<script src="../prettify.js"></script>
|
|
97
97
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at Mon Sep 26 2022 14:
|
|
119
|
+
at Mon Sep 26 2022 14:56:56 GMT+0000 (Coordinated Universal Time)
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -310,7 +310,7 @@ exports.getUniqueRows = async appIds => {
|
|
|
310
310
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
311
311
|
Code coverage generated by
|
|
312
312
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
313
|
-
at Mon Sep 26 2022 14:
|
|
313
|
+
at Mon Sep 26 2022 14:56:56 GMT+0000 (Coordinated Universal Time)
|
|
314
314
|
</div>
|
|
315
315
|
<script src="../../prettify.js"></script>
|
|
316
316
|
<script>
|
|
@@ -124,7 +124,7 @@ function <span class="fstat-no" title="function not covered" >resetQuotasIfRequi
|
|
|
124
124
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
125
125
|
Code coverage generated by
|
|
126
126
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
127
|
-
at Mon Sep 26 2022 14:
|
|
127
|
+
at Mon Sep 26 2022 14:56:56 GMT+0000 (Coordinated Universal Time)
|
|
128
128
|
</div>
|
|
129
129
|
<script src="../../prettify.js"></script>
|
|
130
130
|
<script>
|
|
@@ -214,7 +214,7 @@ exports.publicApiUserFix = ctx => {
|
|
|
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" rel="noopener noreferrer">istanbul</a>
|
|
217
|
-
at Mon Sep 26 2022 14:
|
|
217
|
+
at Mon Sep 26 2022 14:56:56 GMT+0000 (Coordinated Universal Time)
|
|
218
218
|
</div>
|
|
219
219
|
<script src="../prettify.js"></script>
|
|
220
220
|
<script>
|
|
@@ -589,7 +589,7 @@ exports.generateApiKey = <span class="fstat-no" title="function not covered" >as
|
|
|
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" rel="noopener noreferrer">istanbul</a>
|
|
592
|
-
at Mon Sep 26 2022 14:
|
|
592
|
+
at Mon Sep 26 2022 14:56:56 GMT+0000 (Coordinated Universal Time)
|
|
593
593
|
</div>
|
|
594
594
|
<script src="../prettify.js"></script>
|
|
595
595
|
<script>
|
|
@@ -11,6 +11,7 @@ const read = [], write = [];
|
|
|
11
11
|
* @openapi
|
|
12
12
|
* /applications:
|
|
13
13
|
* post:
|
|
14
|
+
* operationId: create
|
|
14
15
|
* summary: Create an application
|
|
15
16
|
* tags:
|
|
16
17
|
* - applications
|
|
@@ -38,6 +39,7 @@ write.push(new Endpoint_1.default("post", "/applications", applications_1.defaul
|
|
|
38
39
|
* @openapi
|
|
39
40
|
* /applications/{appId}:
|
|
40
41
|
* put:
|
|
42
|
+
* operationId: update
|
|
41
43
|
* summary: Update an application
|
|
42
44
|
* tags:
|
|
43
45
|
* - applications
|
|
@@ -65,6 +67,7 @@ write.push(new Endpoint_1.default("put", "/applications/:appId", applications_1.
|
|
|
65
67
|
* @openapi
|
|
66
68
|
* /applications/{appId}:
|
|
67
69
|
* delete:
|
|
70
|
+
* operationId: destroy
|
|
68
71
|
* summary: Delete an application
|
|
69
72
|
* tags:
|
|
70
73
|
* - applications
|
|
@@ -86,6 +89,7 @@ write.push(new Endpoint_1.default("delete", "/applications/:appId", applications
|
|
|
86
89
|
* @openapi
|
|
87
90
|
* /applications/{appId}:
|
|
88
91
|
* get:
|
|
92
|
+
* operationId: getById
|
|
89
93
|
* summary: Retrieve an application
|
|
90
94
|
* tags:
|
|
91
95
|
* - applications
|
|
@@ -107,6 +111,7 @@ read.push(new Endpoint_1.default("get", "/applications/:appId", applications_1.d
|
|
|
107
111
|
* @openapi
|
|
108
112
|
* /applications/search:
|
|
109
113
|
* post:
|
|
114
|
+
* operationId: search
|
|
110
115
|
* summary: Search for applications
|
|
111
116
|
* description: Based on application properties (currently only name) search for applications.
|
|
112
117
|
* tags:
|
|
@@ -11,6 +11,7 @@ const read = [], write = [];
|
|
|
11
11
|
* @openapi
|
|
12
12
|
* /queries/{queryId}:
|
|
13
13
|
* post:
|
|
14
|
+
* operationId: execute
|
|
14
15
|
* summary: Execute a query
|
|
15
16
|
* description: Queries which have been created within a Budibase app can be executed using this,
|
|
16
17
|
* tags:
|
|
@@ -43,6 +44,7 @@ write.push(new Endpoint_1.default("post", "/queries/:queryId", queries_1.default
|
|
|
43
44
|
* @openapi
|
|
44
45
|
* /queries/search:
|
|
45
46
|
* post:
|
|
47
|
+
* operationId: search
|
|
46
48
|
* summary: Search for queries
|
|
47
49
|
* description: Based on query properties (currently only name) search for queries.
|
|
48
50
|
* tags:
|
|
@@ -11,6 +11,7 @@ const read = [], write = [];
|
|
|
11
11
|
* @openapi
|
|
12
12
|
* /tables/{tableId}/rows:
|
|
13
13
|
* post:
|
|
14
|
+
* operationId: create
|
|
14
15
|
* summary: Create a row
|
|
15
16
|
* description: Creates a row within the specified table.
|
|
16
17
|
* tags:
|
|
@@ -44,6 +45,7 @@ write.push(new Endpoint_1.default("post", "/tables/:tableId/rows", rows_1.defaul
|
|
|
44
45
|
* @openapi
|
|
45
46
|
* /tables/{tableId}/rows/{rowId}:
|
|
46
47
|
* put:
|
|
48
|
+
* operationId: update
|
|
47
49
|
* summary: Update a row
|
|
48
50
|
* description: Updates a row within the specified table.
|
|
49
51
|
* tags:
|
|
@@ -77,6 +79,7 @@ write.push(new Endpoint_1.default("put", "/tables/:tableId/rows/:rowId", rows_1.
|
|
|
77
79
|
* @openapi
|
|
78
80
|
* /tables/{tableId}/rows/{rowId}:
|
|
79
81
|
* delete:
|
|
82
|
+
* operationId: destroy
|
|
80
83
|
* summary: Delete a row
|
|
81
84
|
* description: Deletes a row within the specified table.
|
|
82
85
|
* tags:
|
|
@@ -101,6 +104,7 @@ write.push(new Endpoint_1.default("delete", "/tables/:tableId/rows/:rowId", rows
|
|
|
101
104
|
* @openapi
|
|
102
105
|
* /tables/{tableId}/rows/{rowId}:
|
|
103
106
|
* get:
|
|
107
|
+
* operationId: getById
|
|
104
108
|
* summary: Retrieve a row
|
|
105
109
|
* description: This gets a single row, it will be enriched with the full related rows, rather than
|
|
106
110
|
* the squashed "primaryDisplay" format returned by the search endpoint.
|
|
@@ -126,6 +130,7 @@ read.push(new Endpoint_1.default("get", "/tables/:tableId/rows/:rowId", rows_1.d
|
|
|
126
130
|
* @openapi
|
|
127
131
|
* /tables/{tableId}/rows/search:
|
|
128
132
|
* post:
|
|
133
|
+
* operationId: search
|
|
129
134
|
* summary: Search for rows
|
|
130
135
|
* tags:
|
|
131
136
|
* - rows
|
|
@@ -11,6 +11,7 @@ const read = [], write = [];
|
|
|
11
11
|
* @openapi
|
|
12
12
|
* /tables:
|
|
13
13
|
* post:
|
|
14
|
+
* operationId: create
|
|
14
15
|
* summary: Create a table
|
|
15
16
|
* description: Create a table, this could be internal or external.
|
|
16
17
|
* tags:
|
|
@@ -42,6 +43,7 @@ write.push(new Endpoint_1.default("post", "/tables", tables_1.default.create).ad
|
|
|
42
43
|
* @openapi
|
|
43
44
|
* /tables/{tableId}:
|
|
44
45
|
* put:
|
|
46
|
+
* operationId: update
|
|
45
47
|
* summary: Update a table
|
|
46
48
|
* description: Update a table, this could be internal or external.
|
|
47
49
|
* tags:
|
|
@@ -73,6 +75,7 @@ write.push(new Endpoint_1.default("put", "/tables/:tableId", tables_1.default.up
|
|
|
73
75
|
* @openapi
|
|
74
76
|
* /tables/{tableId}:
|
|
75
77
|
* delete:
|
|
78
|
+
* operationId: destroy
|
|
76
79
|
* summary: Delete a table
|
|
77
80
|
* description: Delete a table, this could be internal or external.
|
|
78
81
|
* tags:
|
|
@@ -96,6 +99,7 @@ write.push(new Endpoint_1.default("delete", "/tables/:tableId", tables_1.default
|
|
|
96
99
|
* @openapi
|
|
97
100
|
* /tables/{tableId}:
|
|
98
101
|
* get:
|
|
102
|
+
* operationId: getById
|
|
99
103
|
* summary: Retrieve a table
|
|
100
104
|
* description: Lookup a table, this could be internal or external.
|
|
101
105
|
* tags:
|
|
@@ -119,6 +123,7 @@ read.push(new Endpoint_1.default("get", "/tables/:tableId", tables_1.default.rea
|
|
|
119
123
|
* @openapi
|
|
120
124
|
* /tables/search:
|
|
121
125
|
* post:
|
|
126
|
+
* operationId: search
|
|
122
127
|
* summary: Search for tables
|
|
123
128
|
* description: Based on table properties (currently only name) search for tables. This could be
|
|
124
129
|
* an internal or an external table.
|
|
@@ -11,6 +11,7 @@ const read = [], write = [];
|
|
|
11
11
|
* @openapi
|
|
12
12
|
* /users:
|
|
13
13
|
* post:
|
|
14
|
+
* operationId: create
|
|
14
15
|
* summary: Create a user
|
|
15
16
|
* tags:
|
|
16
17
|
* - users
|
|
@@ -36,6 +37,7 @@ write.push(new Endpoint_1.default("post", "/users", users_1.default.create));
|
|
|
36
37
|
* @openapi
|
|
37
38
|
* /users/{userId}:
|
|
38
39
|
* put:
|
|
40
|
+
* operationId: update
|
|
39
41
|
* summary: Update a user
|
|
40
42
|
* tags:
|
|
41
43
|
* - users
|
|
@@ -63,6 +65,7 @@ write.push(new Endpoint_1.default("put", "/users/:userId", users_1.default.updat
|
|
|
63
65
|
* @openapi
|
|
64
66
|
* /users/{userId}:
|
|
65
67
|
* delete:
|
|
68
|
+
* operationId: destroy
|
|
66
69
|
* summary: Delete a user
|
|
67
70
|
* tags:
|
|
68
71
|
* - users
|
|
@@ -84,6 +87,7 @@ write.push(new Endpoint_1.default("delete", "/users/:userId", users_1.default.de
|
|
|
84
87
|
* @openapi
|
|
85
88
|
* /users/{userId}:
|
|
86
89
|
* get:
|
|
90
|
+
* operationId: getById
|
|
87
91
|
* summary: Retrieve a user
|
|
88
92
|
* tags:
|
|
89
93
|
* - users
|
|
@@ -105,6 +109,7 @@ read.push(new Endpoint_1.default("get", "/users/:userId", users_1.default.read))
|
|
|
105
109
|
* @openapi
|
|
106
110
|
* /users/search:
|
|
107
111
|
* post:
|
|
112
|
+
* operationId: search
|
|
108
113
|
* summary: Search for users
|
|
109
114
|
* description: Based on user properties (currently only name) search for users.
|
|
110
115
|
* tags:
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/server",
|
|
3
3
|
"email": "hi@budibase.com",
|
|
4
|
-
"version": "1.4.8-alpha.
|
|
4
|
+
"version": "1.4.8-alpha.11",
|
|
5
5
|
"description": "Budibase Web Server",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
"license": "GPL-3.0",
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"@apidevtools/swagger-parser": "10.0.3",
|
|
80
|
-
"@budibase/backend-core": "1.4.8-alpha.
|
|
81
|
-
"@budibase/client": "1.4.8-alpha.
|
|
82
|
-
"@budibase/pro": "1.4.8-alpha.
|
|
83
|
-
"@budibase/string-templates": "1.4.8-alpha.
|
|
84
|
-
"@budibase/types": "1.4.8-alpha.
|
|
80
|
+
"@budibase/backend-core": "1.4.8-alpha.11",
|
|
81
|
+
"@budibase/client": "1.4.8-alpha.11",
|
|
82
|
+
"@budibase/pro": "1.4.8-alpha.11",
|
|
83
|
+
"@budibase/string-templates": "1.4.8-alpha.11",
|
|
84
|
+
"@budibase/types": "1.4.8-alpha.11",
|
|
85
85
|
"@bull-board/api": "3.7.0",
|
|
86
86
|
"@bull-board/koa": "3.9.4",
|
|
87
87
|
"@elastic/elasticsearch": "7.10.0",
|