mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-16 19:05:54 -07:00
transition time ranged queries to timeframe (#117)
This commit is contained in:
parent
ad3c51a70e
commit
d327729bff
26 changed files with 2032 additions and 335 deletions
|
|
@ -116,14 +116,9 @@ type AddArtistsToAlbumOpts struct {
|
|||
}
|
||||
|
||||
type GetItemsOpts struct {
|
||||
Limit int
|
||||
Period Period
|
||||
Page int
|
||||
Week int // 1-52
|
||||
Month int // 1-12
|
||||
Year int
|
||||
From int64 // unix timestamp
|
||||
To int64 // unix timestamp
|
||||
Limit int
|
||||
Page int
|
||||
Timeframe Timeframe
|
||||
|
||||
// Used only for getting top tracks
|
||||
ArtistID int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue