feat(playlists): библиотека плейлистов приложения

CRUD в редакторе, read-only окно на пульте, отдельный аудиоканал, экспорт/импорт и маппинг из Foundry.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Fontosh
2026-09-03 10:37:21 +08:00
parent cfb6e62331
commit 278eb78637
46 changed files with 2438 additions and 41 deletions
@@ -157,6 +157,7 @@ type Actions = {
storylineSelections: StorylineSelection[],
npcIds: string[],
labels: StorylineLabels,
playlistIds?: string[],
) => Promise<void>;
deleteProject: (projectId: ProjectId) => Promise<void>;
};
@@ -901,6 +902,7 @@ export function useProjectState(licenseActive: boolean, opts?: ProjectStateOpts)
storylineSelections: StorylineSelection[],
npcIds: string[],
labels: StorylineLabels,
playlistIds: string[] = [],
) => {
try {
const res = await api.invoke(ipcChannels.project.exportZip, {
@@ -908,6 +910,7 @@ export function useProjectState(licenseActive: boolean, opts?: ProjectStateOpts)
storylineSelections,
npcIds,
labels,
playlistIds,
});
if (res.canceled) return;
} finally {