mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-04 23:18:01 +00:00
f38823e077
- mismatch of event definition caused duration not to apply when event was delayed - delays now have revision
24 lines
305 B
JavaScript
24 lines
305 B
JavaScript
const event = {
|
|
title: '',
|
|
subtitle: '',
|
|
presenter: '',
|
|
note: '',
|
|
timeStart: 0,
|
|
timeEnd: 0,
|
|
isPublic: false,
|
|
type: 'event',
|
|
revision: 0,
|
|
};
|
|
|
|
const delay = {
|
|
duration: 0,
|
|
type: 'delay',
|
|
revision: 0,
|
|
};
|
|
|
|
const block = {
|
|
type: 'block',
|
|
};
|
|
|
|
module.exports = { event, delay, block };
|