@budibase/worker 1.2.36 → 1.2.39-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": "1.2.36",
4
+ "version": "1.2.39-alpha.0",
5
5
  "description": "Budibase background service",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -35,10 +35,10 @@
35
35
  "author": "Budibase",
36
36
  "license": "GPL-3.0",
37
37
  "dependencies": {
38
- "@budibase/backend-core": "^1.2.36",
39
- "@budibase/pro": "1.2.35",
40
- "@budibase/string-templates": "^1.2.36",
41
- "@budibase/types": "^1.2.36",
38
+ "@budibase/backend-core": "1.2.39-alpha.0",
39
+ "@budibase/pro": "1.2.38",
40
+ "@budibase/string-templates": "1.2.39-alpha.0",
41
+ "@budibase/types": "1.2.39-alpha.0",
42
42
  "@koa/router": "8.0.8",
43
43
  "@sentry/node": "6.17.7",
44
44
  "@techpass/passport-openidconnect": "0.3.2",
@@ -101,5 +101,5 @@
101
101
  "./scripts/jestSetup.js"
102
102
  ]
103
103
  },
104
- "gitHead": "7e76f33033ba8489da32f343cb4bec73d3649808"
104
+ "gitHead": "58abbb6c8899474d54f71c7a7b5b748127aa8e45"
105
105
  }
@@ -2,7 +2,7 @@ const { getAllRoles } = require("@budibase/backend-core/roles")
2
2
  const {
3
3
  getAllApps,
4
4
  getProdAppID,
5
- DocumentTypes,
5
+ DocumentType,
6
6
  } = require("@budibase/backend-core/db")
7
7
  const { doInAppContext, getAppDB } = require("@budibase/backend-core/context")
8
8
  const { user: userCache } = require("@budibase/backend-core/cache")
@@ -36,7 +36,7 @@ exports.find = async ctx => {
36
36
  const appId = ctx.params.appId
37
37
  await doInAppContext(appId, async () => {
38
38
  const db = getAppDB()
39
- const app = await db.get(DocumentTypes.APP_METADATA)
39
+ const app = await db.get(DocumentType.APP_METADATA)
40
40
  ctx.body = {
41
41
  roles: await getAllRoles(),
42
42
  name: app.name,