View on GitHub

Library API Documentation

Documentation for Library API Packages

Library Core / src / MediaCatalogMapper

Class: MediaCatalogMapper

src.MediaCatalogMapper

Maps Media Catalog database details to more accessible DTOs.

Table of contents

Constructors

Methods

Constructors

constructor

new MediaCatalogMapper()

Methods

MapMediaDetails

MapMediaDetails(details): MediaDetailsDTO

Maps a Media Catalog media details row to a Media Details DTO.

Parameters

Name Type Description
details MediaCatalogItemDTO The database row.

Returns

MediaDetailsDTO

Defined in

src/classes/Mapper.ts:202