Documentation
¶
Index ¶
- func MigrateCommand() *ffcli.Command
- func MigrateExportCommand() *ffcli.Command
- func MigrateImportCommand() *ffcli.Command
- func MigrateMetadataCommand() *ffcli.Command
- func MigrateValidateCommand() *ffcli.Command
- type AppInfoFastlaneLocalization
- type DeliverfileConfig
- type FastlaneLocalization
- type LocalizationFilePlan
- type LocalizationUploadItem
- type MigrateExportResult
- type MigrateImportResult
- type MigrateValidateResult
- type ReviewInfoResult
- type ReviewInformation
- type ScreenshotPlan
- type ScreenshotUploadResult
- type SkippedItem
- type ValidationIssue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateCommand ¶
MigrateCommand returns the migrate command with subcommands.
func MigrateExportCommand ¶
MigrateExportCommand returns the migrate export subcommand.
func MigrateImportCommand ¶
MigrateImportCommand returns the migrate import subcommand.
func MigrateMetadataCommand ¶
MigrateMetadataCommand provides migration-friendly aliases for metadata workflows.
func MigrateValidateCommand ¶
MigrateValidateCommand returns the migrate validate subcommand.
Types ¶
type AppInfoFastlaneLocalization ¶
type AppInfoFastlaneLocalization struct {
Locale string `json:"locale"`
Name string `json:"name,omitempty"`
Subtitle string `json:"subtitle,omitempty"`
PrivacyURL string `json:"privacyUrl,omitempty"`
}
AppInfoFastlaneLocalization holds app-level metadata (name, subtitle) from fastlane.
type DeliverfileConfig ¶
type FastlaneLocalization ¶
type FastlaneLocalization struct {
Locale string `json:"locale"`
Description string `json:"description,omitempty"`
Keywords string `json:"keywords,omitempty"`
WhatsNew string `json:"whatsNew,omitempty"`
PromotionalText string `json:"promotionalText,omitempty"`
SupportURL string `json:"supportUrl,omitempty"`
MarketingURL string `json:"marketingUrl,omitempty"`
}
FastlaneLocalization holds version-level metadata read from fastlane structure.
type LocalizationFilePlan ¶
type LocalizationUploadItem ¶
type LocalizationUploadItem struct {
Locale string `json:"locale"`
Fields int `json:"fields"`
Action string `json:"action,omitempty"`
LocalizationID string `json:"localizationId,omitempty"`
}
LocalizationUploadItem represents an uploaded localization.
type MigrateExportResult ¶
type MigrateExportResult struct {
VersionID string `json:"versionId"`
OutputDir string `json:"outputDir"`
Locales []string `json:"locales"`
TotalFiles int `json:"totalFiles"`
}
MigrateExportResult is the result of a migrate export operation.
type MigrateImportResult ¶
type MigrateImportResult struct {
DryRun bool `json:"dryRun"`
VersionID string `json:"versionId"`
AppID string `json:"appId,omitempty"`
DeliverfilePath string `json:"deliverfilePath,omitempty"`
MetadataDir string `json:"metadataDir,omitempty"`
ScreenshotsDir string `json:"screenshotsDir,omitempty"`
Locales []string `json:"locales,omitempty"`
Localizations []FastlaneLocalization `json:"localizations,omitempty"`
AppInfoLocalizations []AppInfoFastlaneLocalization `json:"appInfoLocalizations,omitempty"`
MetadataFiles []LocalizationFilePlan `json:"metadataFiles,omitempty"`
AppInfoFiles []LocalizationFilePlan `json:"appInfoFiles,omitempty"`
ReviewInformation *ReviewInformation `json:"reviewInformation,omitempty"`
ScreenshotPlan []ScreenshotPlan `json:"screenshotPlan,omitempty"`
Skipped []SkippedItem `json:"skipped,omitempty"`
Uploaded []LocalizationUploadItem `json:"uploaded,omitempty"`
AppInfoUploaded []LocalizationUploadItem `json:"appInfoUploaded,omitempty"`
ReviewInfoResult *ReviewInfoResult `json:"reviewInfoResult,omitempty"`
ScreenshotResults []ScreenshotUploadResult `json:"screenshotResults,omitempty"`
}
MigrateImportResult is the result of a migrate import operation.
type MigrateValidateResult ¶
type MigrateValidateResult struct {
FastlaneDir string `json:"fastlaneDir"`
Locales []string `json:"locales"`
Issues []ValidationIssue `json:"issues"`
Skipped []SkippedItem `json:"skipped,omitempty"`
ErrorCount int `json:"errorCount"`
WarnCount int `json:"warnCount"`
Valid bool `json:"valid"`
}
MigrateValidateResult is the result of a migrate validate operation.
type ReviewInfoResult ¶
type ReviewInformation ¶
type ReviewInformation struct {
ContactFirstName *string `json:"contactFirstName,omitempty"`
ContactLastName *string `json:"contactLastName,omitempty"`
ContactPhone *string `json:"contactPhone,omitempty"`
ContactEmail *string `json:"contactEmail,omitempty"`
DemoAccountName *string `json:"demoAccountName,omitempty"`
DemoAccountPassword *string `json:"demoAccountPassword,omitempty"`
DemoAccountRequired *bool `json:"demoAccountRequired,omitempty"`
Notes *string `json:"notes,omitempty"`
}
type ScreenshotPlan ¶
type ScreenshotUploadResult ¶
type ScreenshotUploadResult struct {
Locale string `json:"locale"`
DisplayType string `json:"displayType"`
Uploaded []asc.AssetUploadResultItem `json:"uploaded,omitempty"`
Skipped []SkippedItem `json:"skipped,omitempty"`
}
type SkippedItem ¶
type ValidationIssue ¶
type ValidationIssue struct {
Locale string `json:"locale"`
Field string `json:"field"`
Severity string `json:"severity"` // "error" or "warning"
Message string `json:"message"`
Length int `json:"length,omitempty"`
Limit int `json:"limit,omitempty"`
}
ValidationIssue represents a validation error or warning.