@nocobase/database 1.3.46-beta → 1.3.48-beta
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/collection.d.ts +1 -1
- package/lib/collection.js +0 -3
- package/lib/database.js +3 -0
- 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/collection.d.ts
CHANGED
|
@@ -135,7 +135,7 @@ export declare class Collection<TModelAttributes extends {} = any, TCreationAttr
|
|
|
135
135
|
quotedTableName(): any;
|
|
136
136
|
collectionSchema(): string;
|
|
137
137
|
isView(): boolean;
|
|
138
|
-
unavailableActions():
|
|
138
|
+
unavailableActions(): any[];
|
|
139
139
|
protected sequelizeModelOptions(): {
|
|
140
140
|
modelName: string;
|
|
141
141
|
sequelize: import("sequelize").Sequelize;
|
package/lib/collection.js
CHANGED
|
@@ -617,9 +617,6 @@ const _Collection = class _Collection extends import_events.EventEmitter {
|
|
|
617
617
|
return false;
|
|
618
618
|
}
|
|
619
619
|
unavailableActions() {
|
|
620
|
-
if (this.options.template === "file") {
|
|
621
|
-
return ["create", "update", "destroy"];
|
|
622
|
-
}
|
|
623
620
|
return [];
|
|
624
621
|
}
|
|
625
622
|
sequelizeModelOptions() {
|
package/lib/database.js
CHANGED
|
@@ -173,6 +173,9 @@ const _Database = class _Database extends import_events.EventEmitter {
|
|
|
173
173
|
return val;
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
|
+
if (options.logging && process.env["DB_SQL_BENCHMARK"] == "true") {
|
|
177
|
+
opts.benchmark = true;
|
|
178
|
+
}
|
|
176
179
|
this.options = opts;
|
|
177
180
|
this.logger.debug(
|
|
178
181
|
`create database instance: ${(0, import_safe_json_stringify.default)(
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/database",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.48-beta",
|
|
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.3.
|
|
10
|
-
"@nocobase/utils": "1.3.
|
|
9
|
+
"@nocobase/logger": "1.3.48-beta",
|
|
10
|
+
"@nocobase/utils": "1.3.48-beta",
|
|
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": "25f9e965a1ffe48a24e5d6ef18a6142abcf38ec3"
|
|
42
42
|
}
|