mirror of
https://github.com/Jellify-Music/App.git
synced 2026-02-12 13:38:30 -06:00
20 lines
564 B
TypeScript
20 lines
564 B
TypeScript
import { BaseItemDto } from "@jellyfin/sdk/lib/generated-client/models";
|
|
import { NativeStackScreenProps } from "@react-navigation/native-stack";
|
|
|
|
|
|
export type StackParamList = {
|
|
Home: undefined;
|
|
Artist: {
|
|
artistId: string,
|
|
artistName: string
|
|
};
|
|
Album: {
|
|
album: BaseItemDto
|
|
};
|
|
}
|
|
|
|
export type ProvidedHomeProps = NativeStackScreenProps<StackParamList, 'Home'>;
|
|
|
|
export type HomeArtistProps = NativeStackScreenProps<StackParamList, 'Artist'>;
|
|
|
|
export type HomeAlbumProps = NativeStackScreenProps<StackParamList, 'Album'>; |