@budibase/server 2.7.7-alpha.0 → 2.7.7-alpha.2
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.933787a7.js → index.fbee8e8b.js} +321 -321
- package/builder/index.html +1 -1
- package/dist/automation.js +70 -10
- package/dist/automation.js.map +3 -3
- package/dist/index.js +70 -10
- package/dist/index.js.map +3 -3
- package/dist/query.js +3 -2
- package/dist/query.js.map +3 -3
- package/package.json +8 -8
- package/src/automations/steps/sendSmtpEmail.ts +55 -4
- package/src/automations/tests/sendSmtpEmail.spec.ts +74 -0
- package/src/utilities/workerRequests.ts +20 -9
- package/src/automations/tests/sendSmtpEmail.spec.js +0 -71
package/dist/query.js
CHANGED
|
@@ -838,6 +838,7 @@ var init_automation2 = __esm({
|
|
|
838
838
|
AutomationIOType2["NUMBER"] = "number";
|
|
839
839
|
AutomationIOType2["ARRAY"] = "array";
|
|
840
840
|
AutomationIOType2["JSON"] = "json";
|
|
841
|
+
AutomationIOType2["DATE"] = "date";
|
|
841
842
|
return AutomationIOType2;
|
|
842
843
|
})(AutomationIOType || {});
|
|
843
844
|
AutomationCustomIOType = /* @__PURE__ */ ((AutomationCustomIOType2) => {
|
|
@@ -11507,8 +11508,8 @@ async function postAuth(passport2, ctx, next) {
|
|
|
11507
11508
|
{ successRedirect: "/", failureRedirect: "/error" },
|
|
11508
11509
|
async (err, tokens) => {
|
|
11509
11510
|
const baseUrl = `/builder/app/${authStateCookie.appId}/data`;
|
|
11510
|
-
const id =
|
|
11511
|
-
await
|
|
11511
|
+
const id = newid();
|
|
11512
|
+
await store(
|
|
11512
11513
|
`datasource:creation:${authStateCookie.appId}:google:${id}`,
|
|
11513
11514
|
{
|
|
11514
11515
|
tokens
|