store

package
v2.0.0-...-244f2e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2026 License: AGPL-3.0-or-later Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMovieNotFound                     = errors.New("could not find movie")
	ErrTvShowNotFound                    = errors.New("could not find TV show")
	ErrCommentNotFound                   = errors.New("could not find comment")
	ErrReactionNotFound                  = errors.New("could not find reaction")
	ErrReviewNotFound                    = errors.New("could not find review")
	ErrUserNotFound                      = errors.New("could not find user")
	ErrUsernameNotAvailable              = errors.New("username is not available")
	ErrEmailAssociatedWithAnotherAccount = errors.New("email address is associated with another account")
	ErrInvalidPasswordResetToken         = errors.New("could not find password reset token")
	ErrExpiredPasswordResetToken         = errors.New("password reset token has expired")
)

Functions

func FilterReviewsByMovieID

func FilterReviewsByMovieID(id screenjournal.MovieID) func(*ReadReviewsParams)

func FilterReviewsByTvShowID

func FilterReviewsByTvShowID(id screenjournal.TvShowID) func(*ReadReviewsParams)

func FilterReviewsByTvShowSeason

func FilterReviewsByTvShowSeason(season screenjournal.TvShowSeason) func(*ReadReviewsParams)

func FilterReviewsByUsername

func FilterReviewsByUsername(u screenjournal.Username) func(*ReadReviewsParams)

func SortReviews

func SortReviews(order screenjournal.SortOrder) func(*ReadReviewsParams)

Types

type ReadReviewsOption

type ReadReviewsOption func(*ReadReviewsParams)

type ReadReviewsParams

type ReadReviewsParams struct {
	Filters reviewFilters
	Order   *screenjournal.SortOrder
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL