Add interface package. Start adding auth stuff for refreshing tokens.

This commit is contained in:
jude
2023-09-12 19:35:49 +01:00
parent 5ff56d8396
commit 08cc752932
20 changed files with 4934 additions and 67 deletions

View File

@ -1,9 +1,9 @@
CREATE TABLE "tracked_playlist" (
rule_id BIGSERIAL NOT NULL PRIMARY KEY,
playlist_id UUID,
playlist_name VARCHAR(250),
playlist_size INT NOT NULL,
tracking_user VARCHAR(250),
tracking_type VARCHAR(14),
reduce_duplication_on VARCHAR(250)
rule_id UUID NOT NULL PRIMARY KEY, -- Internal ID
playlist_id UUID, -- UUID of the playlist in navidrome
playlist_name VARCHAR(250), -- Name of the playlist in navidrome
playlist_size INT NOT NULL, -- Max number of tracks to populate
tracking_user VARCHAR(250), -- User to track stats for
tracking_type VARCHAR(14), -- Matches time period params from listenbrainz
reduce_duplication_on VARCHAR(250) -- Allow e.g preferring songs from different albums or artists
);