Versions in this module Expand all Collapse all v1 v1.0.2 Sep 28, 2025 v1.0.1 Sep 28, 2025 Changes in this version + type ConversionService struct + func NewConversionService(registry StrategyRegistry) *ConversionService + func (s *ConversionService) Convert(sourceData []byte, sourcePlatform, targetPlatform models.PlatformType) ([]byte, error) + func (s *ConversionService) ConvertWithContext(ctx context.Context, sourceData []byte, ...) ([]byte, error) + func (s *ConversionService) ValidateSourceData(data []byte, platform models.PlatformType) error + func (s *ConversionService) ValidateTargetCompatibility(unifiedDSL *models.UnifiedDSL, platform models.PlatformType) error + type PlatformStrategy interface + CreateGenerator func() (interfaces.DSLGenerator, error) + CreateParser func() (interfaces.DSLParser, error) + GetPlatformType func() models.PlatformType + type StrategyRegistry interface + GetStrategy func(platform models.PlatformType) (PlatformStrategy, error) + GetSupportedPlatforms func() []models.PlatformType + RegisterStrategy func(platform models.PlatformType, strategy PlatformStrategy)