20 lines
633 B
TypeScript
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>;
|