assets

package
v1.260328.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetsPreviewsDeleteCommand

func AssetsPreviewsDeleteCommand() *ffcli.Command

AssetsPreviewsDeleteCommand returns the preview delete subcommand.

func AssetsPreviewsDownloadCommand

func AssetsPreviewsDownloadCommand() *ffcli.Command

AssetsPreviewsDownloadCommand returns the previews download subcommand.

func AssetsPreviewsListCommand

func AssetsPreviewsListCommand() *ffcli.Command

AssetsPreviewsListCommand returns the previews list subcommand.

func AssetsPreviewsSetPosterFrameCommand added in v1.260325.0

func AssetsPreviewsSetPosterFrameCommand() *ffcli.Command

AssetsPreviewsSetPosterFrameCommand returns the set-poster-frame subcommand.

func AssetsPreviewsUploadCommand

func AssetsPreviewsUploadCommand() *ffcli.Command

AssetsPreviewsUploadCommand returns the previews upload subcommand.

func AssetsScreenshotsDeleteCommand

func AssetsScreenshotsDeleteCommand() *ffcli.Command

AssetsScreenshotsDeleteCommand returns the screenshot delete subcommand.

func AssetsScreenshotsDownloadCommand

func AssetsScreenshotsDownloadCommand() *ffcli.Command

AssetsScreenshotsDownloadCommand returns the screenshots download subcommand.

func AssetsScreenshotsListCommand

func AssetsScreenshotsListCommand() *ffcli.Command

AssetsScreenshotsListCommand returns the screenshots list subcommand.

func AssetsScreenshotsSizesCommand

func AssetsScreenshotsSizesCommand() *ffcli.Command

AssetsScreenshotsSizesCommand returns the screenshots sizes subcommand.

func AssetsScreenshotsUploadCommand

func AssetsScreenshotsUploadCommand() *ffcli.Command

AssetsScreenshotsUploadCommand returns the screenshots upload subcommand.

func CollectAssetFiles

func CollectAssetFiles(path string) ([]string, error)

CollectAssetFiles validates and collects files from a path.

func ContextWithAssetUploadTimeout

func ContextWithAssetUploadTimeout(ctx context.Context) (context.Context, context.CancelFunc)

ContextWithAssetUploadTimeout returns a context with the asset upload timeout.

func GetOrderedAppScreenshotIDs

func GetOrderedAppScreenshotIDs(ctx context.Context, client *asc.Client, setID string) ([]string, error)

GetOrderedAppScreenshotIDs returns screenshot IDs in the current remote order.

func NormalizePreviewType

func NormalizePreviewType(input string) (string, error)

NormalizePreviewType normalizes and validates a preview type.

func NormalizeScreenshotDisplayType

func NormalizeScreenshotDisplayType(input string) (string, error)

NormalizeScreenshotDisplayType normalizes and validates a screenshot display type.

func SetOrderedAppScreenshots

func SetOrderedAppScreenshots(ctx context.Context, client *asc.Client, setID string, orderedIDs []string) error

SetOrderedAppScreenshots replaces the screenshot relationships for a set in the provided order.

func UploadPreviewAsset

func UploadPreviewAsset(ctx context.Context, client *asc.Client, setID, filePath string) (asc.AssetUploadResultItem, error)

UploadPreviewAsset uploads a preview file to a set.

func UploadScreenshotAsset

func UploadScreenshotAsset(ctx context.Context, client *asc.Client, setID, filePath string) (asc.AssetUploadResultItem, error)

UploadScreenshotAsset uploads a screenshot file to a set.

func UploadScreenshotsToSet

func UploadScreenshotsToSet(ctx context.Context, client *asc.Client, setID string, files []string, preserveExistingOrder bool) ([]asc.AssetUploadResultItem, error)

UploadScreenshotsToSet uploads screenshots in the provided file order and then applies that order to the remote screenshot set.

func ValidateScreenshotDimensions

func ValidateScreenshotDimensions(files []string, displayType string) error

ValidateScreenshotDimensions validates screenshot dimensions for all files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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