@budibase/worker 2.7.25-alpha.8 → 2.7.26-alpha.0
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/worker",
|
|
3
3
|
"email": "hi@budibase.com",
|
|
4
|
-
"version": "2.7.
|
|
4
|
+
"version": "2.7.26-alpha.0",
|
|
5
5
|
"description": "Budibase background service",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"author": "Budibase",
|
|
39
39
|
"license": "GPL-3.0",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@budibase/backend-core": "2.7.
|
|
42
|
-
"@budibase/pro": "2.7.
|
|
43
|
-
"@budibase/string-templates": "2.7.
|
|
44
|
-
"@budibase/types": "2.7.
|
|
41
|
+
"@budibase/backend-core": "2.7.26-alpha.0",
|
|
42
|
+
"@budibase/pro": "2.7.26-alpha.0",
|
|
43
|
+
"@budibase/string-templates": "2.7.26-alpha.0",
|
|
44
|
+
"@budibase/types": "2.7.26-alpha.0",
|
|
45
45
|
"@koa/router": "8.0.8",
|
|
46
46
|
"@sentry/node": "6.17.7",
|
|
47
47
|
"@techpass/passport-openidconnect": "0.3.2",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"typescript": "4.7.3",
|
|
106
106
|
"update-dotenv": "1.1.1"
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "34f80f74012ab90ac03a1605af352a6d5330da6f"
|
|
109
109
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ctx } from "@budibase/types"
|
|
2
2
|
import env from "../../../environment"
|
|
3
3
|
|
|
4
|
-
export const fetch = async (ctx:
|
|
4
|
+
export const fetch = async (ctx: Ctx) => {
|
|
5
5
|
ctx.body = {
|
|
6
6
|
multiTenancy: !!env.MULTI_TENANCY,
|
|
7
|
+
offlineMode: !!env.OFFLINE_MODE,
|
|
7
8
|
cloud: !env.SELF_HOSTED,
|
|
8
9
|
accountPortalUrl: env.ACCOUNT_PORTAL_URL,
|
|
9
10
|
disableAccountPortal: env.DISABLE_ACCOUNT_PORTAL,
|
package/src/environment.ts
CHANGED
|
@@ -61,6 +61,7 @@ const environment = {
|
|
|
61
61
|
CHECKLIST_CACHE_TTL: parseIntSafe(process.env.CHECKLIST_CACHE_TTL) || 3600,
|
|
62
62
|
SESSION_UPDATE_PERIOD: process.env.SESSION_UPDATE_PERIOD,
|
|
63
63
|
ENCRYPTED_TEST_PUBLIC_API_KEY: process.env.ENCRYPTED_TEST_PUBLIC_API_KEY,
|
|
64
|
+
OFFLINE_MODE: process.env.OFFLINE_MODE,
|
|
64
65
|
/**
|
|
65
66
|
* Mock the email service in use - links to ethereal hosted emails are logged instead.
|
|
66
67
|
*/
|