relationships are a list

trunk
HeNine 2 years ago
parent e4180fde84
commit 45a93ee97e

@ -12,13 +12,16 @@ entity
properties+: { properties+: {
location: types.location, location: types.location,
relationships: { relationships: {
type: 'object', type: 'array',
description: 'Relationships that bind other entities to this room.', items: {
properties: { type: 'object',
id: types.id, description: 'Relationships that bind other entities to this room.',
args: { properties: {
type: 'array', id: types.id,
items: types.id, args: {
type: 'array',
items: types.id,
},
}, },
}, },
}, },

Loading…
Cancel
Save