feat: draggable events

This commit is contained in:
cv
2021-05-06 12:05:21 +02:00
parent 0631dec3d3
commit 4161dd29c8
17 changed files with 408 additions and 209 deletions
-7
View File
@@ -1,13 +1,11 @@
[
{
"id":"xxxxx0",
"order": 0,
"duration": 300000,
"type": "delay"
},
{
"id":"xxxxx1",
"order": 1,
"title": "Is the internet a fad?",
"subtitle": "It is",
"presenter": "Carlos Valente",
@@ -17,13 +15,11 @@
},
{
"id":"xxxxx2",
"order": 2,
"duration": 1500000,
"type": "delay"
},
{
"id":"xxxxx3",
"order": 3,
"title": "Is reddit a dictatorship?",
"subtitle": "It is",
"presenter": "Carlos Valente",
@@ -33,7 +29,6 @@
},
{
"id":"xxxxx4",
"order": 4,
"title": "Out of words",
"subtitle": "",
"presenter": "Carlos Valente",
@@ -43,7 +38,6 @@
},
{
"id":"xxxxx5",
"order": 5,
"title": "Really",
"subtitle": "",
"presenter": "Carlos Valente",
@@ -53,7 +47,6 @@
},
{
"id":"xxxxx6",
"order": 6,
"title": "...",
"subtitle": "",
"presenter": "Carlos Valente",
+1 -3
View File
@@ -1,8 +1,8 @@
const event = {
order: 0,
title: '',
subtitle: '',
presenter: '',
note: '',
timeStart: 0,
timeEnd: 0,
isPublic: false,
@@ -11,13 +11,11 @@ const event = {
};
const delay = {
order: 0,
duration: 0,
type: 'delay',
};
const block = {
order: 0,
type: 'block',
};