feat: add sessions stats endpoint

This commit is contained in:
Carlos Valente
2024-10-20 22:19:33 +02:00
committed by Carlos Valente
parent 71c468d069
commit 82810f1cb1
8 changed files with 71 additions and 3 deletions
@@ -293,6 +293,10 @@ class RuntimeService {
return success;
}
public getRuntimeState() {
return { playback: runtimeState.getState().timer.playback };
}
/**
* starts event matching given ID
* @param {string} eventId