initial version

This commit is contained in:
2026-03-25 16:18:23 -04:00
parent aeec7cae36
commit 88595bee90
27 changed files with 7959 additions and 1 deletions

30
src/types/index.ts Normal file
View File

@@ -0,0 +1,30 @@
export type LibraryType = 'games' | 'mixed'
export interface Library {
id: string
name: string
path: string
type: LibraryType
}
export interface Game {
id: string
title: string
coverUrl: string | null
wideCoverUrl: string | null
zipPath: string
}
export type MediaType = 'video' | 'image' | 'other'
export interface FileEntry {
name: string
type: 'file' | 'directory'
mediaType: MediaType | null
url: string | null
}
export interface DirectoryListing {
path: string
entries: FileEntry[]
}