SDK
API Documentation
asset-core
namespaces
AssetCoreMapper
classes
Assetmapper

Class: AssetMapper

Constructors

new AssetMapper()

new AssetMapper(config, assetDetailMapper, assetProcessingPipelineMapper, artifactDownloadMapper): AssetMapper

Parameters

ParameterType
configConfigInterface
assetDetailMapperAssetDetailMapper
assetProcessingPipelineMapperAssetProcessingPipelineMapper
artifactDownloadMapperArtifactDownloadMapper

Returns

AssetMapper

Defined in

api/mapper/AssetMapper.ts:28 (opens in a new tab)

Methods

fromApi()

fromApi(result): AssetUploadIncomplete | AssetProcessIncomplete | AssetProcessFailed | AssetComplete

Parameters

ParameterType
resultAssetFragment

Returns

AssetUploadIncomplete | AssetProcessIncomplete | AssetProcessFailed | AssetComplete

Defined in

api/mapper/AssetMapper.ts:35 (opens in a new tab)


flattenAssetPath()

static flattenAssetPath(options): AssetPathEntry[]

Parameters

ParameterType
optionsFlattenAssetPathOptions

Returns

AssetPathEntry[]

Defined in

api/mapper/AssetMapper.ts:124 (opens in a new tab)