map finder: quick lists from my listening (top/recent/now/Spotify top/liked), Artist - Title without Spotify, owned playlists via the user token, rich beatmap cards (cover, mapper, status, BPM, length, star chips, preview, osu!direct), mode/status/star filters, DB result cache (music.osu_match_cache)
Some checks failed
Deploy production / deploy (push) Has been cancelled

This commit is contained in:
2026-10-24 16:15:56 +00:00
parent 0aa14cebf3
commit 46703f1a6c
21 changed files with 21050 additions and 178 deletions

View File

@@ -172,6 +172,13 @@ export const musicSpotifyAuth = musicSchema.table(
(t) => [check('spotify_auth_single_row', sql`${t.id} = 1`)]
);
/** Map finder (/projects/spotify-beatmap-finder): osu! search results per normalised track. */
export const musicOsuMatchCache = musicSchema.table('osu_match_cache', {
key: text('key').primaryKey(),
result: jsonb('result').notNull(),
searchedAt: timestamptz('searched_at').notNull().defaultNow()
});
/** Resumable backfill state, e.g. key 'lastfm:stanrunge' (see scripts/music-import-lastfm.ts). */
export const musicImportState = musicSchema.table('import_state', {
key: text('key').primaryKey(),