refactor: improve project loading

This commit is contained in:
Carlos Valente
2025-03-29 21:57:30 +01:00
parent 8f5a4f4a0a
commit 402d10055b
17 changed files with 138 additions and 178 deletions
@@ -282,8 +282,8 @@ function notifyChanges(options: NotifyChangesOptions) {
}
/**
* Overrides the rundown with the given
* @param rundown
* Sets a new rundown in the cache
* and marks it as the currently loaded one
*/
export async function initRundown(rundown: Readonly<Rundown>, customFields: Readonly<CustomFields>) {
await cache.init(rundown, customFields);