add relevantBlock function (#1100)

* feat: current block

* pass full rundown to functions and use filter utils
This commit is contained in:
Alex Christoffer Rasmussen
2024-07-23 12:22:47 +02:00
committed by GitHub
parent 20838c038a
commit 158ef05ff0
18 changed files with 246 additions and 49 deletions
+3
View File
@@ -8,6 +8,8 @@ export { sanitiseCue } from './src/cue-utils/cueUtils.js';
export { getCueCandidate } from './src/cue-utils/cueUtils.js';
export { generateId } from './src/generate-id/generateId.js';
export {
filterPlayable,
filterTimedEvents,
getFirst,
getFirstEvent,
getFirstEventNormal,
@@ -23,6 +25,7 @@ export {
getPreviousEvent,
getPreviousEventNormal,
getPreviousNormal,
getRelevantBlock,
swapEventData,
} from './src/rundown-utils/rundownUtils.js';