19 lines
290 B
TypeScript
19 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[];
|
|
}
|