team-4/backend/types/ai.ts

20 lines
290 B
TypeScript
Raw Normal View History

2025-08-02 13:28:10 +02:00
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[];
}