@live-change/relations-plugin 0.6.1 → 0.6.2
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/itemOfAny.js +3 -2
- package/package.json +3 -3
- package/propertyOfAny.js +1 -1
package/itemOfAny.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const {
|
|
2
|
-
defineAnyProperties,
|
|
2
|
+
defineAnyProperties, defineAnyIndexes,
|
|
3
3
|
processModelsAnyAnnotation
|
|
4
4
|
} = require('./utilsAny.js')
|
|
5
5
|
|
|
@@ -18,7 +18,7 @@ module.exports = function(service, app) {
|
|
|
18
18
|
context.reverseRelationWord = 'Owned'
|
|
19
19
|
|
|
20
20
|
context.identifiers = defineAnyProperties(context.model, context.otherPropertyNames)
|
|
21
|
-
|
|
21
|
+
defineAnyIndexes(context.model, context.otherPropertyNames)
|
|
22
22
|
|
|
23
23
|
if(config.sortBy) {
|
|
24
24
|
for(const sortFields of config.sortBy) {
|
|
@@ -28,6 +28,7 @@ module.exports = function(service, app) {
|
|
|
28
28
|
|
|
29
29
|
if(config.readAccess) {
|
|
30
30
|
defineView(config, context)
|
|
31
|
+
// TODO: multiple views with all properties combinations
|
|
31
32
|
}
|
|
32
33
|
/// TODO: multiple views with limited fields
|
|
33
34
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/relations-plugin",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"url": "https://www.viamage.com/"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/framework": "^0.6.
|
|
24
|
+
"@live-change/framework": "^0.6.2",
|
|
25
25
|
"pluralize": "8.0.0"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "02153d427b43f1766ee50d90cb531f63adeb7b0b"
|
|
28
28
|
}
|
package/propertyOfAny.js
CHANGED