// Code generated by sqlc. DO NOT EDIT. // versions: // sqlc v1.30.0 package sqlc import ( "context" "github.com/jackc/pgx/v5/pgtype" ) type Querier interface { AddUserAlbum(ctx context.Context, arg AddUserAlbumParams) error CheckUserExistsByEmail(ctx context.Context, userMail string) (pgtype.UUID, error) CreateAlbum(ctx context.Context, arg CreateAlbumParams) (pgtype.UUID, error) CreateArtist(ctx context.Context, arg CreateArtistParams) (pgtype.UUID, error) // users.sql CreateUser(ctx context.Context, arg CreateUserParams) (pgtype.UUID, error) DeleteAlbum(ctx context.Context, id pgtype.UUID) error DeleteArtist(ctx context.Context, id pgtype.UUID) error // albums.sql GetAlbumByID(ctx context.Context, id pgtype.UUID) (Album, error) GetAlbumsByArtist(ctx context.Context, artist string) ([]Album, error) GetAllAlbums(ctx context.Context) ([]Album, error) GetAllArtists(ctx context.Context) ([]Artist, error) // artists.sql GetArtistByID(ctx context.Context, id pgtype.UUID) (Artist, error) GetUserAlbum(ctx context.Context, arg GetUserAlbumParams) (GetUserAlbumRow, error) // user_albums.sql GetUserAlbums(ctx context.Context, userID pgtype.UUID) ([]GetUserAlbumsRow, error) GetUserByID(ctx context.Context, id pgtype.UUID) (GetUserByIDRow, error) GetUsernameByID(ctx context.Context, id pgtype.UUID) (string, error) LoginUser(ctx context.Context, arg LoginUserParams) (LoginUserRow, error) RemoveUserAlbum(ctx context.Context, arg RemoveUserAlbumParams) error SearchAlbums(ctx context.Context, dollar_1 pgtype.Text) ([]Album, error) SearchArtists(ctx context.Context, dollar_1 pgtype.Text) ([]Artist, error) UpdateAlbum(ctx context.Context, arg UpdateAlbumParams) error UpdateArtist(ctx context.Context, arg UpdateArtistParams) error UpdateUser(ctx context.Context, arg UpdateUserParams) error UpdateUserAlbumStatus(ctx context.Context, arg UpdateUserAlbumStatusParams) error UpdateUserSession(ctx context.Context, arg UpdateUserSessionParams) error } var _ Querier = (*Queries)(nil)