diff --git a/src/types/base/models/item-media-kind.ts b/src/types/base/models/item-media-kind.ts new file mode 100644 index 0000000000..14fbe6a137 --- /dev/null +++ b/src/types/base/models/item-media-kind.ts @@ -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;