@live-change/relations-plugin 0.9.110 → 0.9.112

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/relations-plugin",
3
- "version": "0.9.110",
3
+ "version": "0.9.112",
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.110",
25
+ "@live-change/framework": "^0.9.112",
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": "856dd2e63a9c18efd85943caf04d898847c09805"
33
+ "gitHead": "168448832a1c3b4fb17602293e3ed48425b697a9"
34
34
  }
@@ -55,7 +55,7 @@ function defineObjectView(config, context, external = true) {
55
55
  accessControl,
56
56
  daoPath(properties, { client, context }) {
57
57
  const typeAndIdParts = extractTypeAndIdParts(otherPropertyNames, properties)
58
- const id = typeAndIdParts.length > 1 ? typeAndIdParts.map(p => JSON.stringify(p)).join(':') : idParts[0]
58
+ const id = typeAndIdParts.length > 1 ? typeAndIdParts.map(p => JSON.stringify(p)).join(':') : typeAndIdParts[0]
59
59
  const path = config.fields ? modelRuntime().limitedPath(id, config.fields) : modelRuntime().path(id)
60
60
  return path
61
61
  }