2022-01-01 22:36:05 +01:00
|
|
|
import { StackNavigationProp } from '@react-navigation/stack';
|
2023-06-19 22:26:41 +02:00
|
|
|
import { SectionArtistItem } from '@/store/music/selectors';
|
|
|
|
|
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 = {
|
2023-04-28 23:35:06 +02:00
|
|
|
[key: string]: Record<string, unknown> | object | undefined;
|
2023-04-22 22:31:54 +02:00
|
|
|
Albums: undefined;
|
|
|
|
|
Album: { id: string, album: Album };
|
2023-04-28 23:35:06 +02:00
|
|
|
Artists: undefined;
|
|
|
|
|
Artist: SectionArtistItem;
|
2023-04-22 22:31:54 +02:00
|
|
|
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>;
|