Refactor app flows and refresh UI components

This commit is contained in:
Jacques_tirot
2026-09-08 14:20:23 +02:00
parent 4e14a38d4e
commit 814e1d27fb
71 changed files with 1984 additions and 509 deletions
+10
View File
@@ -0,0 +1,10 @@
export const PLAYBACK_TYPE = Object.freeze({
LIVE: 'live',
AI: 'ai',
})
export const getPlaybackType = (project) =>
project?.playbackProvider === 'heygen' ? PLAYBACK_TYPE.AI : PLAYBACK_TYPE.LIVE
export const matchesPlaybackType = (project, playbackType) =>
getPlaybackType(project) === playbackType