View on GitHub

Library API Documentation

Documentation for Library API Packages

Library Core / src / CatalogMapper

Class: CatalogMapper

src.CatalogMapper

Maps raw Catalog database rows to more accessible DTOs.

Table of contents

Constructors

Methods

Constructors

constructor

new CatalogMapper()

Methods

MapMediaDetails

MapMediaDetails(details): MediaDetailsDTO

Maps a raw Media Details database row to a Media Details DTO.

Parameters

Name Type Description
details MediaDetailsRow The database row.

Returns

MediaDetailsDTO

Defined in

src/classes/Mapper.ts:150