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:
+11
-1
@@ -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[] }
|
||||
|
||||
Reference in New Issue
Block a user