mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Fix various types
This commit is contained in:
parent
6bdf0736ec
commit
900d47d6f9
2 changed files with 4 additions and 2 deletions
|
|
@ -39,11 +39,11 @@ import {
|
|||
GenreListArgs,
|
||||
LibraryItem,
|
||||
MusicFolderListArgs,
|
||||
QueueSong,
|
||||
RatingArgs,
|
||||
RatingResponse,
|
||||
ServerListItem,
|
||||
ServerType,
|
||||
Song,
|
||||
TopSongListArgs,
|
||||
} from '/@/renderer/api/types';
|
||||
import { toast } from '/@/renderer/components/toast';
|
||||
|
|
@ -386,7 +386,7 @@ const getArtistInfo = async (args: ArtistInfoArgs): Promise<SSArtistInfo> => {
|
|||
return data.artistInfo2;
|
||||
};
|
||||
|
||||
const normalizeSong = (item: SSSong, server: ServerListItem, deviceId: string): Song => {
|
||||
const normalizeSong = (item: SSSong, server: ServerListItem, deviceId: string): QueueSong => {
|
||||
const imageUrl =
|
||||
getCoverArtUrl({
|
||||
baseUrl: server.url,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue