Files
jellyfin-audio-player/src/screens/types.ts
2023-06-19 22:26:41 +02:00

20 lines
633 B
TypeScript

import { StackNavigationProp } from '@react-navigation/stack';
import { SectionArtistItem } from '@/store/music/selectors';
import { Album } from '@/store/music/types';
export type StackParams = {
[key: string]: Record<string, unknown> | object | undefined;
Albums: undefined;
Album: { id: string, album: Album };
Artists: undefined;
Artist: SectionArtistItem;
Playlists: undefined;
Playlist: { id: string };
RecentAlbums: undefined;
Search: undefined;
SetJellyfinServer: undefined;
TrackPopupMenu: { trackId: string };
};
export type NavigationProp = StackNavigationProp<StackParams>;