cli/src/extract/extraction_result library

Data models for the extract command.

These models represent the results of scanning source code for i18n usage and comparing with JSON translation files.

Classes

ComparisonResult
Result of comparing code keys against JSON translation files.
ExtractedKey
Represents a single extracted i18n key from source code.
ExtractionResult
Result of scanning source files for i18n keys.
FixResult
Result of an auto-fix operation.
PlaceholderMismatch
Mismatch between placeholders in code vs JSON.
PluralFormIssue
Issue with plural form definition.
ScanError
An error encountered during source file scanning.
Statistics
Summary statistics for the comparison.

Enums

I18nCallType
The type of i18n API call detected in source code.