@budibase/worker 2.4.42-alpha.2 → 2.4.42-alpha.3
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.4.42-alpha.
|
|
4
|
+
"version": "2.4.42-alpha.3",
|
|
5
5
|
"description": "Budibase background service",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"author": "Budibase",
|
|
37
37
|
"license": "GPL-3.0",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@budibase/backend-core": "2.4.42-alpha.
|
|
40
|
-
"@budibase/pro": "2.4.42-alpha.
|
|
41
|
-
"@budibase/string-templates": "2.4.42-alpha.
|
|
42
|
-
"@budibase/types": "2.4.42-alpha.
|
|
39
|
+
"@budibase/backend-core": "2.4.42-alpha.3",
|
|
40
|
+
"@budibase/pro": "2.4.42-alpha.2",
|
|
41
|
+
"@budibase/string-templates": "2.4.42-alpha.3",
|
|
42
|
+
"@budibase/types": "2.4.42-alpha.3",
|
|
43
43
|
"@koa/router": "8.0.8",
|
|
44
44
|
"@sentry/node": "6.17.7",
|
|
45
45
|
"@techpass/passport-openidconnect": "0.3.2",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"typescript": "4.7.3",
|
|
102
102
|
"update-dotenv": "1.1.1"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "5006a702b8e93afa9b5b11084cec28da6bdc22f8"
|
|
105
105
|
}
|
|
@@ -332,6 +332,8 @@ export async function publicSettings(
|
|
|
332
332
|
|
|
333
333
|
// google
|
|
334
334
|
const googleConfig = await configs.getGoogleConfig()
|
|
335
|
+
const googleDatasourceConfigured =
|
|
336
|
+
!!(await configs.getGoogleDatasourceConfig())
|
|
335
337
|
const preActivated = googleConfig && googleConfig.activated == null
|
|
336
338
|
const google = preActivated || !!googleConfig?.activated
|
|
337
339
|
const _googleCallbackUrl = await googleCallbackUrl(googleConfig)
|
|
@@ -352,6 +354,7 @@ export async function publicSettings(
|
|
|
352
354
|
...config,
|
|
353
355
|
...branding,
|
|
354
356
|
google,
|
|
357
|
+
googleDatasourceConfigured,
|
|
355
358
|
oidc,
|
|
356
359
|
isSSOEnforced,
|
|
357
360
|
oidcCallbackUrl: _oidcCallbackUrl,
|
|
@@ -290,6 +290,7 @@ describe("configs", () => {
|
|
|
290
290
|
logoUrl: "",
|
|
291
291
|
analyticsEnabled: false,
|
|
292
292
|
google: false,
|
|
293
|
+
googleDatasourceConfigured: false,
|
|
293
294
|
googleCallbackUrl: `http://localhost:10000/api/global/auth/${config.tenantId}/google/callback`,
|
|
294
295
|
isSSOEnforced: false,
|
|
295
296
|
oidc: false,
|