SDK
API Documentation
asset-core
namespaces
AssetCoreMapper
variables
Artifactmapper

Variable: ArtifactMapper

const ArtifactMapper: object

Type declaration

assetArtifactCategoryFromApi()

assetArtifactCategoryFromApi: (dataCategory) => undefined | AssetArtifactCategory

Translate the artifact type from the API into something we can use, ignore the rest.

Parameters

ParameterType
dataCategoryDataCategoryEnum

Returns

undefined | AssetArtifactCategory

assetArtifactCategoryToApi()

assetArtifactCategoryToApi: (dataCategory) => DataCategoryEnum

Parameters

ParameterType
dataCategoryAssetArtifactCategory

Returns

DataCategoryEnum

Defined in

api/mapper/ArtifactMapper.ts:5 (opens in a new tab)