Documentation
Preparing search index...
@sdk/asset-core
AssetCoreMapper
ArtifactDownloadMapper
Class ArtifactDownloadMapper
Index
Constructors
constructor
Methods
map
Artifact
Downloads
map
Asset
Type
To
Export
Output
Format
Constructors
constructor
new
ArtifactDownloadMapper
(
config
:
ConfigInterface
)
:
ArtifactDownloadMapper
Parameters
config
:
ConfigInterface
Returns
ArtifactDownloadMapper
Methods
map
Artifact
Downloads
mapArtifactDownloads
(
groupedAsset
:
AssetFragment
,
)
:
Record
<
AssetArtifactCategory
,
ArtifactDownloadDelivery
[]
>
Create a tightly structured record from the assets convoluted download information.
Parameters
groupedAsset
:
AssetFragment
Returns
Record
<
AssetArtifactCategory
,
ArtifactDownloadDelivery
[]
>
map
Asset
Type
To
Export
Output
Format
mapAssetTypeToExportOutputFormat
(
format
:
AssetTypeEnum
,
)
:
undefined
|
OutputFormat
Parameters
format
:
AssetTypeEnum
Returns
undefined
|
OutputFormat
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
map
Artifact
Downloads
map
Asset
Type
To
Export
Output
Format
Documentation
Loading...
Create a tightly structured record from the assets convoluted download information.