Add a Director section to save and reload multi-shot video scripts.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { listDirectorScripts } from '~/server/utils/directorScripts'
|
||||
|
||||
export default defineEventHandler((event) => {
|
||||
const { owner } = assertLibraryOwner(event)
|
||||
return {
|
||||
scripts: listDirectorScripts(owner)
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user