@nocobase/database 1.4.0-alpha.6 → 1.4.0-alpha.8
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/README.md +30 -0
- package/lib/database.d.ts +1 -0
- package/lib/database.js +1 -0
- package/lib/interfaces/datetime-no-tz-interface.js +1 -1
- package/package.json +4 -4
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# NocoBase
|
|
2
|
+
|
|
3
|
+
<video width="100%" controls>
|
|
4
|
+
<source src="https://static-docs.nocobase.com/NocoBase0510.mp4" type="video/mp4">
|
|
5
|
+
</video>
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## What is NocoBase
|
|
9
|
+
|
|
10
|
+
NocoBase is a scalability-first, open-source no-code development platform.
|
|
11
|
+
Instead of investing years of time and millions of dollars in research and development, deploy NocoBase in a few minutes and you'll have a private, controllable, and extremely scalable no-code development platform!
|
|
12
|
+
|
|
13
|
+
Homepage:
|
|
14
|
+
https://www.nocobase.com/
|
|
15
|
+
|
|
16
|
+
Online Demo:
|
|
17
|
+
https://demo.nocobase.com/new
|
|
18
|
+
|
|
19
|
+
Documents:
|
|
20
|
+
https://docs.nocobase.com/
|
|
21
|
+
|
|
22
|
+
Commericial license & plugins:
|
|
23
|
+
https://www.nocobase.com/en/commercial
|
|
24
|
+
|
|
25
|
+
License agreement:
|
|
26
|
+
https://www.nocobase.com/en/agreement
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## Contact Us:
|
|
30
|
+
hello@nocobase.com
|
package/lib/database.d.ts
CHANGED
|
@@ -78,6 +78,7 @@ export declare class Database extends EventEmitter implements AsyncEmitter {
|
|
|
78
78
|
repositories: Map<string, typeof Repository>;
|
|
79
79
|
operators: Map<any, any>;
|
|
80
80
|
collections: Map<string, Collection<any, any>>;
|
|
81
|
+
collectionsSort: Map<string, number>;
|
|
81
82
|
pendingFields: Map<string, FieldTypes.RelationField[]>;
|
|
82
83
|
modelCollection: Map<ModelStatic<any>, Collection<any, any>>;
|
|
83
84
|
modelNameCollectionMap: Map<string, Collection<any, any>>;
|
package/lib/database.js
CHANGED
|
@@ -88,6 +88,7 @@ const _Database = class _Database extends import_events.EventEmitter {
|
|
|
88
88
|
repositories = /* @__PURE__ */ new Map();
|
|
89
89
|
operators = /* @__PURE__ */ new Map();
|
|
90
90
|
collections = /* @__PURE__ */ new Map();
|
|
91
|
+
collectionsSort = /* @__PURE__ */ new Map();
|
|
91
92
|
pendingFields = /* @__PURE__ */ new Map();
|
|
92
93
|
modelCollection = /* @__PURE__ */ new Map();
|
|
93
94
|
modelNameCollectionMap = /* @__PURE__ */ new Map();
|
|
@@ -71,7 +71,7 @@ const _DatetimeNoTzInterface = class _DatetimeNoTzInterface extends import_datet
|
|
|
71
71
|
return value;
|
|
72
72
|
} else if (isNumeric(value)) {
|
|
73
73
|
const date = (0, import_excel_date_to_js.getJsDateFromExcel)(value);
|
|
74
|
-
return
|
|
74
|
+
return date.toISOString();
|
|
75
75
|
} else if (typeof value === "string") {
|
|
76
76
|
return value;
|
|
77
77
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/database",
|
|
3
|
-
"version": "1.4.0-alpha.
|
|
3
|
+
"version": "1.4.0-alpha.8",
|
|
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.
|
|
10
|
-
"@nocobase/utils": "1.4.0-alpha.
|
|
9
|
+
"@nocobase/logger": "1.4.0-alpha.8",
|
|
10
|
+
"@nocobase/utils": "1.4.0-alpha.8",
|
|
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": "
|
|
41
|
+
"gitHead": "aa36bd20b2028c5e133a59e922c2f1ab22c86dde"
|
|
42
42
|
}
|