@budibase/server 2.9.39-alpha.3 → 2.9.39-alpha.4

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/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.9.39-alpha.3",
4
+ "version": "2.9.39-alpha.4",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -46,12 +46,12 @@
46
46
  "license": "GPL-3.0",
47
47
  "dependencies": {
48
48
  "@apidevtools/swagger-parser": "10.0.3",
49
- "@budibase/backend-core": "2.9.39-alpha.3",
50
- "@budibase/client": "2.9.39-alpha.3",
51
- "@budibase/pro": "2.9.39-alpha.3",
52
- "@budibase/shared-core": "2.9.39-alpha.3",
53
- "@budibase/string-templates": "2.9.39-alpha.3",
54
- "@budibase/types": "2.9.39-alpha.3",
49
+ "@budibase/backend-core": "2.9.39-alpha.4",
50
+ "@budibase/client": "2.9.39-alpha.4",
51
+ "@budibase/pro": "2.9.39-alpha.4",
52
+ "@budibase/shared-core": "2.9.39-alpha.4",
53
+ "@budibase/string-templates": "2.9.39-alpha.4",
54
+ "@budibase/types": "2.9.39-alpha.4",
55
55
  "@bull-board/api": "3.7.0",
56
56
  "@bull-board/koa": "3.9.4",
57
57
  "@elastic/elasticsearch": "7.10.0",
@@ -195,5 +195,5 @@
195
195
  }
196
196
  }
197
197
  },
198
- "gitHead": "063da63288a4b47ec069be80132a0baf13b7d09d"
198
+ "gitHead": "509d30fadc02c8eb9d8960f2b959ff2da563b66a"
199
199
  }
@@ -10,7 +10,6 @@ mocks.licenses.useUnlimited()
10
10
  import { init as dbInit } from "../../db"
11
11
  dbInit()
12
12
  import env from "../../environment"
13
- import { env as coreEnv } from "@budibase/backend-core"
14
13
  import {
15
14
  basicTable,
16
15
  basicRow,
@@ -33,6 +32,7 @@ import {
33
32
  encryption,
34
33
  auth,
35
34
  roles,
35
+ env as coreEnv,
36
36
  } from "@budibase/backend-core"
37
37
  import * as controllers from "./controllers"
38
38
  import { cleanup } from "../../utilities/fileSystem"
@@ -51,7 +51,6 @@ import {
51
51
  UserRoles,
52
52
  Automation,
53
53
  } from "@budibase/types"
54
- import { BUILTIN_ROLE_IDS } from "@budibase/backend-core/src/security/roles"
55
54
 
56
55
  import API from "./api"
57
56
 
@@ -317,7 +316,7 @@ class TestConfiguration {
317
316
  }
318
317
  }
319
318
 
320
- async createGroup(roleId: string = BUILTIN_ROLE_IDS.BASIC) {
319
+ async createGroup(roleId: string = roles.BUILTIN_ROLE_IDS.BASIC) {
321
320
  return context.doInTenant(this.tenantId!, async () => {
322
321
  const baseGroup = structures.userGroups.userGroup()
323
322
  baseGroup.roles = {