@budibase/server 2.4.27-alpha.2 → 2.4.27-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/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.4.27-alpha.2",
4
+ "version": "2.4.27-alpha.3",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -43,12 +43,12 @@
43
43
  "license": "GPL-3.0",
44
44
  "dependencies": {
45
45
  "@apidevtools/swagger-parser": "10.0.3",
46
- "@budibase/backend-core": "2.4.27-alpha.2",
47
- "@budibase/client": "2.4.27-alpha.2",
48
- "@budibase/pro": "2.4.27-alpha.1",
49
- "@budibase/shared-core": "2.4.27-alpha.2",
50
- "@budibase/string-templates": "2.4.27-alpha.2",
51
- "@budibase/types": "2.4.27-alpha.2",
46
+ "@budibase/backend-core": "2.4.27-alpha.3",
47
+ "@budibase/client": "2.4.27-alpha.3",
48
+ "@budibase/pro": "2.4.27-alpha.2",
49
+ "@budibase/shared-core": "2.4.27-alpha.3",
50
+ "@budibase/string-templates": "2.4.27-alpha.3",
51
+ "@budibase/types": "2.4.27-alpha.3",
52
52
  "@bull-board/api": "3.7.0",
53
53
  "@bull-board/koa": "3.9.4",
54
54
  "@elastic/elasticsearch": "7.10.0",
@@ -175,5 +175,5 @@
175
175
  "optionalDependencies": {
176
176
  "oracledb": "5.3.0"
177
177
  },
178
- "gitHead": "7392f7afb458dd8f0df904c041e22f82dd4cd2e2"
178
+ "gitHead": "81bda9b5ef9fa19a67425cd06758b7cb448034d0"
179
179
  }
@@ -20,10 +20,10 @@ import {
20
20
  cache,
21
21
  tenancy,
22
22
  context,
23
- errors,
24
23
  events,
25
24
  migrations,
26
25
  objectStore,
26
+ ErrorCode,
27
27
  } from "@budibase/backend-core"
28
28
  import { USERS_TABLE_SCHEMA } from "../../constants"
29
29
  import { buildDefaultDocs } from "../../db/defaultData/datasource_bb_default"
@@ -378,7 +378,7 @@ async function appPostCreate(ctx: BBContext, app: App) {
378
378
  return quotas.addRows(rowCount)
379
379
  })
380
380
  } catch (err: any) {
381
- if (err.code && err.code === errors.codes.USAGE_LIMIT_EXCEEDED) {
381
+ if (err.code && err.code === ErrorCode.USAGE_LIMIT_EXCEEDED) {
382
382
  // this import resulted in row usage exceeding the quota
383
383
  // delete the app
384
384
  // skip pre and post-steps as no rows have been added to quotas yet