20 lines
290 B
TypeScript
20 lines
290 B
TypeScript
![]() |
export type AiSuggestionsOutput = {
|
||
|
type: "success";
|
||
|
songs: {
|
||
|
title: string;
|
||
|
artist: string;
|
||
|
}[];
|
||
|
} | {
|
||
|
type: "error";
|
||
|
error: string;
|
||
|
};
|
||
|
|
||
|
export interface SongSearch {
|
||
|
title: string;
|
||
|
artist: string;
|
||
|
}
|
||
|
|
||
|
export interface AiSnewuggestionOutput {
|
||
|
songs: SongSearch[];
|
||
|
}
|