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
Some checks failed
Deploy production / deploy (push) Has been cancelled
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user