This commit is contained in:
FinnStutzenstein 2020-01-20 12:36:24 +01:00
parent 66e716bde1
commit c187700af2

View File

@ -158,6 +158,7 @@ Interface user {
is_present_in_meeting_ids: meeting[];
meeting_id: meeting; // Temporary users
guest_meeting_ids: meeting[]; // Links to meeting/guest_ids
// All foreign keys are meeting-specific:
// - Keys are smaller (Space is in O(n^2) for n keys
@ -258,8 +259,8 @@ Interface motion {
parent_id: motion;
children_ids: motion[];
origin_id: motion;
derived_motion_ids: motion[];
origin_id: motion; // Note: The related motions may not be in the same meeting
derived_motion_ids: motion[]; // Note: The related motions may not be in the same meeting
state_id: motion_state;
workflow_id: motion_workflow;
recommendation_id: motion_state;
@ -504,7 +505,7 @@ Interface meeting {
// TODO: @emanuel: Are they meeting-specific, organsation-wide or should
// both have custom translation?
// Is this right here in a meeting?
// TODO: @emanuel Is this right here in a meeting?
users_sort_by: string;
users_enable_presence_view: boolean;
@ -591,8 +592,13 @@ Interface meeting {
// if a user is assigned to at least one group. This "query" must be checked,
// if it can be performed.
present_user_ids: user[]; // Link to user/is_present_in_meeting_ids
resource_ids: resource[];
// Other relations
resource_ids: resource[]; // Links to resource/meeting_id
committee_id: committee; // Links to committee/meeting_ids
default_meeting_for_committee_id: committee; // Links to committee/default_meeting_id
present_user_ids: user[]; // Links to user/is_present_in_meeting_ids
guest_ids: user[]; // Links to users/guest_meeting_ids
temorary_user_ids: user[]; // Links to user/meeting_id
}
Interface committee {
id: number;
@ -600,6 +606,7 @@ Interface committee {
description: string; // TODO: @emanuel Or HTML? Or not needed (-> UI decision)
meeting_ids: meeting[];
default_meting_id: meeting;
member_ids: user[];
manager_ids: user[];
forward_to_committee_ids: committee[];