Added through keyword for nested structured relations.

This commit is contained in:
Norman Jäckel 2020-09-29 23:24:12 +02:00
parent a4ed281c7e
commit 5b6f6b50c1

View File

@ -687,6 +687,8 @@ personal_note:
name: personal_note_$_ids name: personal_note_$_ids
type: structured-relation type: structured-relation
replacement: meeting_id replacement: meeting_id
through:
- content_object_id
content_object_id: content_object_id:
type: generic-relation type: generic-relation
to: to:
@ -829,6 +831,8 @@ speaker:
name: speaker_$_ids name: speaker_$_ids
type: structured-relation type: structured-relation
replacement: meeting_id replacement: meeting_id
through:
- list_of_speakers_id
required: true required: true
topic: topic:
@ -994,6 +998,8 @@ motion_submitter:
name: submitted_motion_$_ids name: submitted_motion_$_ids
type: structured-relation type: structured-relation
replacement: meeting_id replacement: meeting_id
through:
- motion_id
motion_id: motion_id:
type: relation type: relation
to: motion/submitter_ids to: motion/submitter_ids
@ -1290,6 +1296,9 @@ motion_vote:
name: motion_vote_$_ids name: motion_vote_$_ids
type: structured-relation type: structured-relation
replacement: meeting_id replacement: meeting_id
through:
- option_id
- poll_id
assignment: assignment:
id: number id: number
@ -1356,6 +1365,8 @@ assignment_candidate:
name: assignment_candidate_$_ids name: assignment_candidate_$_ids
type: structured-relation type: structured-relation
replacement: meeting_id replacement: meeting_id
through:
- assignment_id
assignment_poll: assignment_poll:
id: number id: number
@ -1424,6 +1435,8 @@ assignment_option:
name: assignment_option_$_ids name: assignment_option_$_ids
type: structured-relation type: structured-relation
replacement: meeting_id replacement: meeting_id
through:
- poll_id
vote_ids: vote_ids:
type: relation-list type: relation-list
to: assignment_vote/option_id to: assignment_vote/option_id
@ -1444,6 +1457,9 @@ assignment_vote:
name: assignment_vote_$_ids name: assignment_vote_$_ids
type: structured-relation type: structured-relation
replacement: meeting_id replacement: meeting_id
through:
- option_id
- poll_id
# Mediafiles are delivered by the mediafile server with the URL # Mediafiles are delivered by the mediafile server with the URL
# `<media-prefix>/media/<meeting_id>/path` # `<media-prefix>/media/<meeting_id>/path`