Files
jellyfin-audio-player/src/screens/types.ts

17 lines
506 B
TypeScript
Raw Normal View History

2022-01-01 22:36:05 +01:00
import { StackNavigationProp } from '@react-navigation/stack';
import { Album } from 'store/music/types';
2022-01-01 22:36:05 +01:00
export type StackParams = {
[key: string]: Record<string, unknown> | undefined;
Albums: undefined;
Album: { id: string, album: Album };
Playlists: undefined;
Playlist: { id: string };
RecentAlbums: undefined;
Search: undefined;
SetJellyfinServer: undefined;
TrackPopupMenu: { trackId: string };
};
2022-01-01 22:36:05 +01:00
export type NavigationProp = StackNavigationProp<StackParams>;