frontend code refactoring

This commit is contained in:
2024-06-14 10:42:25 +02:00
parent ee18929196
commit 4066a6d5e3
8 changed files with 11 additions and 20 deletions

View File

@@ -76,15 +76,14 @@ export type DirectoryEntry = {
name: string
path: string
size: number
shaSum: string
modTime: string
isVideo: boolean
isDirectory: boolean
}
export type DeleteRequest = Pick<DirectoryEntry, 'path' | 'shaSum'>
export type DeleteRequest = Pick<DirectoryEntry, 'path'>
export type PlayRequest = Pick<DirectoryEntry, 'path'>
export type PlayRequest = DeleteRequest
export type CustomTemplate = {
id: string