@live-change/relations-plugin 0.9.174 → 0.9.176
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/package.json +3 -3
- package/src/pluralRelationUtils.js +9 -9
- package/tsconfig.json +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/relations-plugin",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.176",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"type": "module",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@live-change/framework": "^0.9.
|
|
25
|
+
"@live-change/framework": "^0.9.176",
|
|
26
26
|
"pluralize": "^8.0.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"typedoc-plugin-markdown": "^4.6.3",
|
|
31
31
|
"typedoc-plugin-rename-defaults": "^0.7.3"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "1906ed765adb9920002506775db28451b19fd993"
|
|
34
34
|
}
|
|
@@ -376,15 +376,15 @@ function getCopyFunction( validators, validationContext, config, context) {
|
|
|
376
376
|
identifiers,
|
|
377
377
|
data: updatedData
|
|
378
378
|
}),
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
379
|
+
app.trigger({
|
|
380
|
+
type: 'copyObject',
|
|
381
|
+
}, {
|
|
382
|
+
objectType,
|
|
383
|
+
object: newId,
|
|
384
|
+
from: id,
|
|
385
|
+
identifiers,
|
|
386
|
+
data: updatedData
|
|
387
|
+
})
|
|
388
388
|
await fireChangeTriggers(context, objectType, identifiers, newId, null, updatedData, trigger)
|
|
389
389
|
emit({
|
|
390
390
|
type: eventName,
|
package/tsconfig.json
CHANGED
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"esModuleInterop": true, // Enable interop for ES modules
|
|
21
21
|
"resolveJsonModule": true, // Allow importing JSON files
|
|
22
22
|
"skipLibCheck": true,
|
|
23
|
-
"noImplicitAny": false
|
|
23
|
+
"noImplicitAny": false,
|
|
24
|
+
"types": []
|
|
24
25
|
},
|
|
25
26
|
"files": ["src/index.ts"],
|
|
26
27
|
"include": ["src/**/*.ts", "src/**/*.js"],
|