From 23ef4ce1559220b15d72d398505ef0de1ae20e6c Mon Sep 17 00:00:00 2001 From: cv <34649812+cpvalente@users.noreply.github.com> Date: Mon, 25 Oct 2021 11:40:51 +0200 Subject: [PATCH] refract: ship with working event list --- .gitignore | 4 +- server/data/db.json | 123 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 2 deletions(-) create mode 100644 server/data/db.json diff --git a/.gitignore b/.gitignore index f15eef951..d84eab43f 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,7 @@ TODO.md # working stuff _SS/ .vscode/launch.json -db.json .eslintrc.json -db.json db backup.json +server/src/data/db.json +server/src/models/db.json diff --git a/server/data/db.json b/server/data/db.json new file mode 100644 index 000000000..4bd305337 --- /dev/null +++ b/server/data/db.json @@ -0,0 +1,123 @@ +{ + "events": [ + { + "title": "Welcome to Ontime", + "subtitle": "Subtitles are useful", + "presenter": "cpvalente", + "note": "Maybe a running note for the operator?", + "timeStart": 28800000, + "timeEnd": 30600000, + "isPublic": false, + "type": "event", + "revision": 7, + "id": "5946" + }, + { + "title": "This is your event list", + "subtitle": "", + "presenter": "cpvalente", + "note": "", + "timeStart": 30600000, + "timeEnd": 34200000, + "isPublic": false, + "type": "event", + "revision": 4, + "id": "c2e7" + }, + { + "title": "Events run in the list order", + "subtitle": "", + "presenter": "", + "note": "", + "timeStart": 34200000, + "timeEnd": 34800000, + "isPublic": false, + "type": "event", + "revision": 4, + "id": "cc0f" + }, + { + "title": "Unless recalled by the OSC address", + "subtitle": "", + "presenter": "", + "note": "In green, below", + "timeStart": 34800000, + "timeEnd": 35400000, + "isPublic": false, + "type": "event", + "revision": 7, + "id": "8ee5" + }, + { + "title": "Use simpler times to create a timer", + "subtitle": "", + "presenter": "", + "note": "", + "timeStart": 0, + "timeEnd": 600000, + "isPublic": false, + "type": "event", + "revision": 2, + "id": "8222" + }, + { + "duration": 900000, + "type": "delay", + "revision": 1, + "id": "a386" + }, + { + "title": "Add delay blocks to affect all events", + "subtitle": "", + "presenter": "", + "note": "* Until a block is found", + "timeStart": 35400000, + "timeEnd": 36600000, + "isPublic": false, + "type": "event", + "revision": 6, + "id": "6dce" + }, + { + "title": "Add and remove events with [+] and [-]", + "subtitle": "", + "presenter": "", + "note": "Orange and red buttons on the right", + "timeStart": 36600000, + "timeEnd": 43200000, + "isPublic": false, + "type": "event", + "revision": 9, + "id": "2651" + }, + { + "type": "block", + "id": "e6a1" + }, + { + "title": "And control whether they are public", + "subtitle": "", + "presenter": "", + "note": "Blue button on the right", + "timeStart": 46800000, + "timeEnd": 57600000, + "isPublic": false, + "type": "event", + "revision": 6, + "id": "1358" + } + ], + "event": { + "title": "All about Carlos demo event", + "url": "www.carlosvalente.com", + "publicInfo": "WiFi: demoproject \nPassword: ontimeproject", + "backstageInfo": "WiFi: demobackstage\nPassword: ontimeproject" + }, + "settings": { + "app": "ontime", + "version": 1, + "osc_enabled": false, + "osc_port": 8888, + "lock": false + } +} \ No newline at end of file