SDK
API Documentation
asset-core
namespaces
AssetCoreMapper
classes
Artifactdownloadmapper

Class: ArtifactDownloadMapper

Constructors

new ArtifactDownloadMapper()

new ArtifactDownloadMapper(config): ArtifactDownloadMapper

Parameters

ParameterType
configConfigInterface

Returns

ArtifactDownloadMapper

Defined in

api/mapper/ArtifactDownloadMapper.ts:10 (opens in a new tab)

Methods

mapArtifactDownloads()

mapArtifactDownloads(groupedAsset): Record<AssetArtifactCategory, ArtifactDownloadDelivery[]>

Create a tightly structured record from the assets convoluted download information.

Parameters

ParameterType
groupedAssetAssetFragment

Returns

Record<AssetArtifactCategory, ArtifactDownloadDelivery[]>

Defined in

api/mapper/ArtifactDownloadMapper.ts:15 (opens in a new tab)


mapAssetTypeToExportOutputFormat()

mapAssetTypeToExportOutputFormat(format): undefined | OutputFormat

Parameters

ParameterType
formatAssetTypeEnum

Returns

undefined | OutputFormat

Defined in

api/mapper/ArtifactDownloadMapper.ts:78 (opens in a new tab)