From de1cebae26c7ab986cb5804a3e7c023559d5bed9 Mon Sep 17 00:00:00 2001 From: Finn Stutzenstein Date: Wed, 9 Sep 2020 08:38:22 +0200 Subject: [PATCH] Update models.txt --- docs/example-data.json | 3 ++- docs/models.txt | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/example-data.json b/docs/example-data.json index 5d9c55424..3125775dc 100644 --- a/docs/example-data.json +++ b/docs/example-data.json @@ -173,6 +173,7 @@ "description": "Add description here", "meeting_ids": [1], + "template_meeting_id": null, "default_meeting_id": 1, "member_ids": [], "manager_ids": [], @@ -184,7 +185,7 @@ { "id": 1, "url_name": "os3_test", - "is_template": false, + "template_for_committee_id": null, "enable_anonymous": false, "name": "OpenSlides - Die Veranstaltung (Teil II)", diff --git a/docs/models.txt b/docs/models.txt index 5ed9ee22e..aa88a338d 100644 --- a/docs/models.txt +++ b/docs/models.txt @@ -127,6 +127,7 @@ Interface committee { description: HTML; meeting_ids: (meeting/committee_id)[]; + template_meeting_id: meeting/template_for_committee_id; default_meeting_id: meeting/default_meeting_for_committee_id; member_ids: (user/committee_as_memeber_ids)[]; manager_ids: (user/committee_as_manager_ids)[]; @@ -145,12 +146,12 @@ Interface meeting { description: string; location: string; start_time: datetime; - end_time: datetime; // TODO: is this needed? + end_time: datetime; custom_translations: JSON; // System url_name: string; // For unique urls. - is_template: boolean; // Unique within a committee + template_for_committee_id: committee/template_meeting_id; enable_anonymous: boolean; // Jitsi/Livestream settings