team-4/backend/types/ai.ts
2025-08-02 13:28:10 +02:00

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[];
}