first commit

This commit is contained in:
2026-03-26 03:26:37 -07:00
commit 38d50a814f
38 changed files with 7755 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
export type MediaSection = 'all' | 'audio' | 'video' | 'image' | 'application'
export type ServerSyncSummary = {
updatedAt: number
total: number
counts: Partial<Record<MediaSection, number>>
message?: string
}
export type Track = {
id: number // local unique id used by the UI
fileId?: number // original Hydrus file id (per-server)
serverId?: string // which server this file came from
serverName?: string // friendly server name for UI
title: string
artist?: string
album?: string
url: string
thumbnail?: string
duration?: number
tags?: string[]
// Optional MIME/type hints for rendering (video vs audio)
isVideo?: boolean
mimeType?: string
mediaKind?: MediaSection
}