From a183fa89cb70ae34d7239f825e36dbf50357bf87 Mon Sep 17 00:00:00 2001 From: Finn Stutzenstein Date: Tue, 3 Nov 2020 15:22:24 +0100 Subject: [PATCH] Fix eaxmple data: Add LOS for mediafiles --- docker/docker-compose.dev.yml | 1 + docs/example-data.json | 32 +++++++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/docker/docker-compose.dev.yml b/docker/docker-compose.dev.yml index 55497bae7..d5c12734d 100644 --- a/docker/docker-compose.dev.yml +++ b/docker/docker-compose.dev.yml @@ -6,6 +6,7 @@ services: - postgres env_file: services.env environment: + - DATASTORE_ENABLE_DEV_ENVIRONMENT=1 - NUM_WORKERS=8 volumes: - ../openslides-datastore-service/shared/shared:/app/shared diff --git a/docs/example-data.json b/docs/example-data.json index 9eae2317e..c5e0cfbbc 100644 --- a/docs/example-data.json +++ b/docs/example-data.json @@ -302,7 +302,7 @@ "projector_countdown_ids": [1], "tag_ids": [1, 2, 3], "agenda_item_ids": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], - "list_of_speakers_ids": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], + "list_of_speakers_ids": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "topic_ids": [1, 2, 3, 4, 5, 6, 7, 8], "group_ids": [1, 2, 3, 5, 6], "mediafile_ids": [1, 2, 3], @@ -957,6 +957,36 @@ "projection_ids": [], "current_projector_ids": [], "meeting_id": 1 + }, + { + "id": 16, + "closed": false, + + "content_object_id": "mediafile/1", + "speaker_ids": [], + "projection_ids": [], + "current_projector_ids": [], + "meeting_id": 1 + }, + { + "id": 17, + "closed": false, + + "content_object_id": "mediafile/2", + "speaker_ids": [], + "projection_ids": [], + "current_projector_ids": [], + "meeting_id": 1 + }, + { + "id": 18, + "closed": false, + + "content_object_id": "mediafile/3", + "speaker_ids": [], + "projection_ids": [], + "current_projector_ids": [], + "meeting_id": 1 }], "speaker": [ {