initial state: muzick music player + recommendation engine

This commit is contained in:
kami
2026-07-14 01:35:52 +04:00
commit 737bf19fd1
196 changed files with 32431 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import api from './api';
import type { SearchResponse } from '../types';
export const searchService = {
// GET /api/search?q= — Typesense-backed search over tracks (title, artist).
async search(q: string): Promise<SearchResponse> {
const res = await api.get<SearchResponse>('/search', { params: { q } });
return res.data;
},
};