@nocobase/database 1.7.0-beta.31 → 1.7.0-beta.32

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.
@@ -44,6 +44,9 @@ var import_lodash = __toESM(require("lodash"));
44
44
  var import_base_interface = require("./base-interface");
45
45
  const _InputInterface = class _InputInterface extends import_base_interface.BaseInterface {
46
46
  toValue(value) {
47
+ if (value === null || value === void 0 || typeof value === "string") {
48
+ return value;
49
+ }
47
50
  if (this.validate(value)) {
48
51
  return value.toString();
49
52
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@nocobase/database",
3
- "version": "1.7.0-beta.31",
3
+ "version": "1.7.0-beta.32",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
7
7
  "license": "AGPL-3.0",
8
8
  "dependencies": {
9
- "@nocobase/logger": "1.7.0-beta.31",
10
- "@nocobase/utils": "1.7.0-beta.31",
9
+ "@nocobase/logger": "1.7.0-beta.32",
10
+ "@nocobase/utils": "1.7.0-beta.32",
11
11
  "async-mutex": "^0.3.2",
12
12
  "chalk": "^4.1.1",
13
13
  "cron-parser": "4.4.0",
@@ -38,5 +38,5 @@
38
38
  "url": "git+https://github.com/nocobase/nocobase.git",
39
39
  "directory": "packages/database"
40
40
  },
41
- "gitHead": "84bf8bcfeeaf3a05086e24cef00507ca209ac3c5"
41
+ "gitHead": "d78ca2740143209c6a16002e0c36e3256ed5fd88"
42
42
  }