Class: ArtifactDownloadMapper
Constructors
new ArtifactDownloadMapper()
new ArtifactDownloadMapper(
config
):ArtifactDownloadMapper
Parameters
Parameter | Type |
---|---|
config | ConfigInterface |
Returns
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
Parameter | Type |
---|---|
groupedAsset | AssetFragment |
Returns
Record
<AssetArtifactCategory
, ArtifactDownloadDelivery
[]>
Defined in
api/mapper/ArtifactDownloadMapper.ts:15 (opens in a new tab)
mapAssetTypeToExportOutputFormat()
mapAssetTypeToExportOutputFormat(
format
):undefined
|OutputFormat
Parameters
Parameter | Type |
---|---|
format | AssetTypeEnum |
Returns
undefined
| OutputFormat
Defined in
api/mapper/ArtifactDownloadMapper.ts:78 (opens in a new tab)