Documentation ¶
Index ¶
- Constants
- type AlbumSizeRecord
- type AlbumViewRepository
- func (a *AlbumViewRepository) DeleteAlbumSize(ctx context.Context, availability catalogviews.Availability, ...) error
- func (a *AlbumViewRepository) GetAlbumSizes(ctx context.Context, userId usermodel.UserId, owner ...ownermodel.Owner) ([]catalogviews.UserAlbumSize, error)
- func (a *AlbumViewRepository) GetAvailabilitiesByUser(ctx context.Context, userId usermodel.UserId) ([]catalogviews.UserAlbumSize, error)
- func (a *AlbumViewRepository) InsertAlbumSize(ctx context.Context, albumSizes []catalogviews.MultiUserAlbumSize) error
- func (a *AlbumViewRepository) UpdateAlbumSize(ctx context.Context, albumCountUpdates []catalogviews.AlbumSizeDiff) error
Constants ¶
View Source
const ( AvailabilityTypeOwner = "OWNED" AvailabilityTypeVisitor = "VISITOR" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlbumSizeRecord ¶
type AlbumViewRepository ¶
func (*AlbumViewRepository) DeleteAlbumSize ¶
func (a *AlbumViewRepository) DeleteAlbumSize(ctx context.Context, availability catalogviews.Availability, albumId catalog.AlbumId) error
func (*AlbumViewRepository) GetAlbumSizes ¶ added in v1.6.7
func (a *AlbumViewRepository) GetAlbumSizes(ctx context.Context, userId usermodel.UserId, owner ...ownermodel.Owner) ([]catalogviews.UserAlbumSize, error)
func (*AlbumViewRepository) GetAvailabilitiesByUser ¶
func (a *AlbumViewRepository) GetAvailabilitiesByUser(ctx context.Context, userId usermodel.UserId) ([]catalogviews.UserAlbumSize, error)
func (*AlbumViewRepository) InsertAlbumSize ¶
func (a *AlbumViewRepository) InsertAlbumSize(ctx context.Context, albumSizes []catalogviews.MultiUserAlbumSize) error
func (*AlbumViewRepository) UpdateAlbumSize ¶
func (a *AlbumViewRepository) UpdateAlbumSize(ctx context.Context, albumCountUpdates []catalogviews.AlbumSizeDiff) error
Click to show internal directories.
Click to hide internal directories.