@live-change/relations-plugin
Advanced tools
Comparing version 0.8.53 to 0.8.54
{ | ||
"name": "@live-change/relations-plugin", | ||
"version": "0.8.53", | ||
"version": "0.8.54", | ||
"description": "", | ||
@@ -25,6 +25,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"@live-change/framework": "^0.8.53", | ||
"@live-change/framework": "^0.8.54", | ||
"pluralize": "^8.0.0" | ||
}, | ||
"gitHead": "39422adadd1863fa396fc4e875936e09428d6cf1" | ||
"gitHead": "1558b41fc331424507874c0afd3d149ffb849ca8" | ||
} |
@@ -25,3 +25,3 @@ import { | ||
validation: ['nonEmpty'], | ||
default: (_props, context) => context.client.user ? 'user_User' : 'session_Session' | ||
updated: (_props, context) => context.client.user ? 'user_User' : 'session_Session' | ||
}), | ||
@@ -31,3 +31,3 @@ updater: new PropertyDefinition({ | ||
validation: ['nonEmpty'], | ||
default: (_props, context) => context.client.user ? context.client.user : context.client.session | ||
updated: (_props, context) => context.client.user ? context.client.user : context.client.session | ||
}) | ||
@@ -34,0 +34,0 @@ } |