Add shared ItemMediaKind Type

This commit is contained in:
grafixeyehero 2024-03-03 01:36:21 +03:00
parent 064cebd41f
commit 28bf7d4dfb

View 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;