mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 18:08:17 -07:00
Add shared ItemMediaKind Type
This commit is contained in:
parent
064cebd41f
commit
28bf7d4dfb
15
src/types/base/models/item-media-kind.ts
Normal file
15
src/types/base/models/item-media-kind.ts
Normal file
@ -0,0 +1,15 @@
|
||||
export const ItemMediaKind = {
|
||||
MusicArtist: 'MusicArtist',
|
||||
Playlist: 'Playlist',
|
||||
MusicGenre: 'MusicGenre',
|
||||
Photo: 'Photo',
|
||||
Audio: 'Audio',
|
||||
Video: 'Video',
|
||||
Book: 'Book',
|
||||
Recording: 'Recording'
|
||||
} as const;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export type ItemMediaKind = keyof typeof ItemMediaKind;
|
||||
|
||||
export type ItemMediaType = ItemMediaKind | null | undefined;
|
Loading…
Reference in New Issue
Block a user