Versions in this module Expand all Collapse all v0 v0.2.0 Jan 7, 2026 Changes in this version + type Generator struct + CreatedAt time.Time + Description string + ID int + Interval time.Duration + Name string + Params GeneratorParams + PlaylistID int + SpotifyOutdated bool + Tracks []Track + UpdatedAt time.Time + User User + UserID int + func GeneratorModel(g sqlc.Generator) *Generator + type GeneratorParams struct + ExcludedPlaylistIDs []int + ExcludedTrackIDs []int + ParamsOldTop *GeneratorPresetOldTopParams + ParamsTop *GeneratorPresetTopParams + Preset GeneratorPreset + TrackAmount int + type GeneratorPreset string + const GeneratorPresetOldTop + const GeneratorPresetTop + type GeneratorPresetOldTopParams struct + PeakWindow GeneratorWindow + RecentWindow GeneratorWindow + type GeneratorPresetTopParams struct + Window GeneratorWindow + type GeneratorTrack struct + GeneratorID int + ID int + TrackID int + type GeneratorWindow struct + BurstInterval time.Duration + DynamicReference time.Time + End time.Time + MinPlays int + Start time.Time type History + PlayCount int + Skipped *bool type HistoryFilter + PlayCountSkipped *bool + Skipped *bool type PlaylistTrack + func PlaylistTrackModel(p sqlc.PlaylistTrack) *PlaylistTrack type Task + Recurring bool type TaskFilter + Recurring *bool type Track + DurationMs int v0.1.1 Dec 28, 2025 v0.1.0 Dec 27, 2025 Changes in this version + type Album struct + Artists []Artist + CoverID string + CoverURL string + ID int + Name string + Popularity int + SpotifyID string + TrackAmount int + UpdatedAt time.Time + func AlbumModel(a sqlc.Album) *Album + func (a *Album) Equal(a2 Album) bool + func (a *Album) EqualEntry(a2 Album) bool + type AlbumArtist struct + AlbumID int + ArtistID int + ID int + type AlbumUser struct + AlbumID int + DeletedAt time.Time + ID int + UserID int + type Artist struct + CoverID string + CoverURL string + Followers int + ID int + Name string + Popularity int + SpotifyID string + UpdatedAt time.Time + func ArtistModel(a sqlc.Artist) *Artist + func (a *Artist) Equal(a2 Artist) bool + func (a *Artist) EqualEntry(a2 Artist) bool + type Directory struct + ID int + Name string + ParentID int + Playlists []Playlist + UserID int + func DirectoryModel(d sqlc.Directory) *Directory + func (d *Directory) Equal(d2 Directory) bool + type DirectoryPlaylist struct + DirectoryID int + ID int + PlaylistID int + type History struct + AlbumID int + ArtistID int + ID int + PlayedAt time.Time + PlaylistID int + ShowID int + Track Track + TrackID int + UserID int + func HistoryModel(h sqlc.History) *History + type HistoryFilter struct + End time.Time + Limit int + Offset int + Start time.Time + UserID int + type Link struct + ID int + SourceDirectoryID int + SourcePlaylistID int + TargetDirectoryID int + TargetPlaylistID int + func LinkModel(l sqlc.Link) *Link + func (l *Link) Equal(l2 Link) bool + type Playlist struct + Collaborative bool + CoverID string + CoverURL string + Description string + Duplicates []Track + ID int + Name string + Owner User + OwnerID int + Public bool + SnapshotID string + SpotifyID string + TrackAmount int + Unplayables []Track + UpdatedAt time.Time + func PlaylistModel(p sqlc.Playlist) *Playlist + func PlaylistModelPopulated(p sqlc.Playlist, u sqlc.User) *Playlist + func (p *Playlist) Equal(p2 Playlist) bool + func (p *Playlist) EqualEntry(p2 Playlist) bool + type PlaylistTrack struct + CreatedAt time.Time + DeletedAt time.Time + ID int + PlaylistID int + TrackID int + type PlaylistUser struct + DeletedAt time.Time + ID int + PlaylistID int + UserID int + type Show struct + CoverID string + CoverURL string + EpisodeAmount int + ID int + Name string + SpotifyID string + UpdatedAt time.Time + func ShowModel(s sqlc.Show) *Show + func (s *Show) Equal(s2 Show) bool + func (s *Show) EqualEntry(s2 Show) bool + type ShowUser struct + DeletedAt time.Time + ID int + ShowID int + UserID int + type Task struct + Active bool + Duration time.Duration + Error error + ID int + Message string + Name string + Result TaskResult + RunAt time.Time + UID string + UserID int + func TaskModel(task sqlc.Task, taskRun sqlc.TaskRun) *Task + type TaskFilter struct + Limit int + Offset int + Result *TaskResult + TaskUID string + UserID int + type TaskResult string + const TaskFailed + const TaskSuccess + type Track struct + Artists []Artist + CreatedAt time.Time + DeletedAt time.Time + ID int + Name string + Playlist Playlist + Popularity int + SpotifyID string + UpdatedAt time.Time + func TrackModel(t sqlc.Track) *Track + func (t *Track) Equal(t2 Track) bool + func (t *Track) EqualEntry(t2 Track) bool + type TrackArtist struct + ArtistID int + ID int + TrackID int + type TrackFilter struct + Limit int + Offset int + PlaylistID int + UserID int + type User struct + DisplayName string + Email string + ID int + Name string + UID string + func UserModel(user sqlc.User) *User + func (u *User) Equal(u2 User) bool