reviews

package
v1.261122.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: MIT Imports: 29 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ReviewNextConflicts = []string{
	"stars",
	"territory",
	"review-territory",
	"sort",
	"response-state",
	"only-unresponded",
	"include-response",
	"fields",
	"include",
	"response-fields",
	"territory-fields",
	"limit",
}

ReviewNextConflicts names the query flags that a links.next URL already encodes, so the customer review lists reject them with --next.

Functions

func NewReviewCommand

func NewReviewCommand(d *shared.Deps) *ffcli.Command

NewReviewCommand returns the review parent command.

func NewReviewsCommand

func NewReviewsCommand(d *shared.Deps) *ffcli.Command

NewReviewsCommand returns the reviews command with subcommands.

Types

type ReviewFilterFlags added in v1.260822.0

type ReviewFilterFlags struct {
	*ReviewSelectionFlags
	Stars           string
	Territory       string
	ReviewTerritory string
	Sort            string
	ResponseState   string
	OnlyUnresponded bool
	IncludeResponse bool
	// contains filtered or unexported fields
}

ReviewFilterFlags holds the customer review filter flags. Apple exposes the same filter, sort, and include surface on GET /v1/apps/{id}/customerReviews and GET /v1/appStoreVersions/{id}/customerReviews, so every command that lists customer reviews binds these flags from here and gets identical names, help text, and validation.

func BindReviewFilterFlags added in v1.260822.0

func BindReviewFilterFlags(fs *flag.FlagSet) *ReviewFilterFlags

BindReviewFilterFlags registers the shared customer review filter flags on fs.

func (*ReviewFilterFlags) ReviewOptionsWith

func (f *ReviewFilterFlags) ReviewOptionsWith(d *shared.Deps) ([]asc.ReviewOption, error)

ReviewOptionsWith validates the bound flags and returns the matching query options. Invalid input is reported as a usage failure, written to d's stderr, carrying the offending parameter so both review listings fail the same way.

type ReviewSelectionFlags

type ReviewSelectionFlags struct {
	Fields          string
	Include         string
	ResponseFields  string
	TerritoryFields string
	// contains filtered or unexported fields
}

ReviewSelectionFlags holds the include and fields flags that Apple accepts on the customer review listings and on GET /v1/customerReviews/{id}.

func BindReviewSelectionFlags

func BindReviewSelectionFlags(fs *flag.FlagSet) *ReviewSelectionFlags

BindReviewSelectionFlags registers the include and fields flags on fs.

func (*ReviewSelectionFlags) ReviewOptionsWith

func (f *ReviewSelectionFlags) ReviewOptionsWith(d *shared.Deps) ([]asc.ReviewOption, error)

ReviewOptionsWith validates the include and fields flags. Fields of a relationship also include that relationship, matching --response-fields.

type SubmissionHistoryEntry

type SubmissionHistoryEntry struct {
	SubmissionID  string                  `json:"submissionId"`
	VersionString string                  `json:"versionString"`
	Platform      string                  `json:"platform"`
	State         string                  `json:"state"`
	SubmittedDate string                  `json:"submittedDate"`
	Outcome       string                  `json:"outcome"`
	Items         []SubmissionHistoryItem `json:"items"`
}

SubmissionHistoryEntry is the assembled result for one submission.

type SubmissionHistoryItem

type SubmissionHistoryItem struct {
	ID         string `json:"id"`
	State      string `json:"state"`
	Type       string `json:"type"`
	ResourceID string `json:"resourceId"`
}

SubmissionHistoryItem is a summary of one item in a submission.

Jump to

Keyboard shortcuts

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