@nocobase/database 1.4.0-alpha.20240828033319 → 1.4.0-alpha.20240902021325

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.
@@ -61,6 +61,7 @@ declare const fieldTypeMap: {
61
61
  double: string;
62
62
  boolean: string;
63
63
  decimal: string;
64
+ year: string[];
64
65
  datetime: string;
65
66
  timestamp: string;
66
67
  json: string[];
@@ -102,6 +103,7 @@ declare const fieldTypeMap: {
102
103
  double: string;
103
104
  boolean: string;
104
105
  decimal: string;
106
+ year: string[];
105
107
  datetime: string;
106
108
  timestamp: string;
107
109
  json: string[];
@@ -83,6 +83,7 @@ const mysql = {
83
83
  double: "float",
84
84
  boolean: "boolean",
85
85
  decimal: "decimal",
86
+ year: ["string", "integer"],
86
87
  datetime: "date",
87
88
  timestamp: "date",
88
89
  json: ["json", "array"],
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@nocobase/database",
3
- "version": "1.4.0-alpha.20240828033319",
3
+ "version": "1.4.0-alpha.20240902021325",
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.4.0-alpha.20240828033319",
10
- "@nocobase/utils": "1.4.0-alpha.20240828033319",
9
+ "@nocobase/logger": "1.4.0-alpha.20240902021325",
10
+ "@nocobase/utils": "1.4.0-alpha.20240902021325",
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": "5d94dbfbb478e9fd43179fdc3b3915b4104edd08"
41
+ "gitHead": "2ccf0ea37b011a79b8983b96f5bd85d174936530"
42
42
  }