cjs > esm imports

This commit is contained in:
cv
2021-05-24 17:06:02 +02:00
parent fa98e2ad92
commit 5b7905e86a
16 changed files with 138 additions and 160 deletions
+1 -3
View File
@@ -1,4 +1,4 @@
const dbModel = {
export const dbModel = {
events: [],
event: {
title: '',
@@ -14,5 +14,3 @@ const dbModel = {
lock: false,
},
};
module.exports = { dbModel };
+3 -5
View File
@@ -1,4 +1,4 @@
const event = {
export const event = {
title: '',
subtitle: '',
presenter: '',
@@ -10,14 +10,12 @@ const event = {
revision: 0,
};
const delay = {
export const delay = {
duration: 0,
type: 'delay',
revision: 0,
};
const block = {
export const block = {
type: 'block',
};
module.exports = { event, delay, block };
-8
View File
@@ -1,8 +0,0 @@
{
"current": null,
"next": null,
"currentTimer": null,
"numEvents": 0,
"state": "pause",
"prevState": "pause"
}