@nocobase/database 1.6.0-alpha.2 → 1.6.0-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.
|
@@ -48,7 +48,6 @@ __export(single_relation_repository_exports, {
|
|
|
48
48
|
SingleRelationRepository: () => SingleRelationRepository
|
|
49
49
|
});
|
|
50
50
|
module.exports = __toCommonJS(single_relation_repository_exports);
|
|
51
|
-
var import_lodash = __toESM(require("lodash"));
|
|
52
51
|
var import_target_collection_decorator = __toESM(require("../decorators/target-collection-decorator"));
|
|
53
52
|
var import_update_associations = require("../update-associations");
|
|
54
53
|
var import_relation_repository = require("./relation-repository");
|
|
@@ -103,7 +102,7 @@ const _SingleRelationRepository = class _SingleRelationRepository extends import
|
|
|
103
102
|
throw new Error("The record does not exist");
|
|
104
103
|
}
|
|
105
104
|
await (0, import_update_associations.updateModelByValues)(target, options == null ? void 0 : options.values, {
|
|
106
|
-
...
|
|
105
|
+
...options,
|
|
107
106
|
transaction: transaction2
|
|
108
107
|
});
|
|
109
108
|
if (options.hooks !== false) {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/database",
|
|
3
|
-
"version": "1.6.0-alpha.
|
|
3
|
+
"version": "1.6.0-alpha.3",
|
|
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.6.0-alpha.
|
|
10
|
-
"@nocobase/utils": "1.6.0-alpha.
|
|
9
|
+
"@nocobase/logger": "1.6.0-alpha.3",
|
|
10
|
+
"@nocobase/utils": "1.6.0-alpha.3",
|
|
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": "205b4aca5556d5af70679fa401394943a9e51670"
|
|
42
42
|
}
|