2022-01-01 22:36:05 +01:00
|
|
|
import { StackNavigationProp } from '@react-navigation/stack';
|
2023-04-22 22:31:54 +02:00
|
|
|
import { Album } from 'store/music/types';
|
2022-01-01 22:36:05 +01:00
|
|
|
|
2023-04-22 22:31:54 +02:00
|
|
|
export type StackParams = {
|
2021-12-31 15:04:37 +01:00
|
|
|
[key: string]: Record<string, unknown> | undefined;
|
2023-04-22 22:31:54 +02:00
|
|
|
Albums: undefined;
|
|
|
|
|
Album: { id: string, album: Album };
|
|
|
|
|
Playlists: undefined;
|
|
|
|
|
Playlist: { id: string };
|
|
|
|
|
RecentAlbums: undefined;
|
|
|
|
|
Search: undefined;
|
2020-08-28 16:28:49 +02:00
|
|
|
SetJellyfinServer: undefined;
|
|
|
|
|
TrackPopupMenu: { trackId: string };
|
2023-04-22 22:31:54 +02:00
|
|
|
};
|
2022-01-01 22:36:05 +01:00
|
|
|
|
2023-04-22 22:31:54 +02:00
|
|
|
export type NavigationProp = StackNavigationProp<StackParams>;
|