Add library select mode, studio-style details, and a larger preview than the old scroll box.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-02 20:35:11 -05:00
co-authored by Cursor
parent 369eb595d7
commit 8d236250e4
2 changed files with 136 additions and 50 deletions
+11 -1
View File
@@ -1,3 +1,6 @@
import type { StillGenerationSettings } from '~/utils/libraryGeneration'
import type { LoraStackItem } from '~/utils/loras'
export type LibraryFilter = 'all' | 'images' | 'videos'
export type LibrarySort = 'date-desc' | 'date-asc' | 'name-asc' | 'name-desc' | 'type'
@@ -28,7 +31,7 @@ export type LibraryStill = {
familyId?: string
parentStillId?: string
chainIndex?: number
settings?: { kind?: string; mode?: string; engine?: string }
settings?: StillGenerationSettings
}
export type LibraryClip = {
@@ -54,6 +57,13 @@ export type LibraryClip = {
chainIndex?: number
workflow?: string
stillId?: string
cfg?: number
fps?: number
samplerName?: string
scheduler?: string
sound?: boolean
loraName?: string
loraStack?: LoraStackItem[]
}
export type ClipGroup = { key: string; head: LibraryClip; parts: LibraryClip[] }