UNPKG

@lxdhub/common

Version:

Display, search and copy LXD-images using a web interface.

17 lines 515 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * A factory which can transform a source entity * to a desintation entity */ class Factory { /** * Transforms multiple entities to desination entites * @param source The source items which should be converted to desination entites */ entitiesToDto(source) { return source.map(sourceItem => this.entityToDto(sourceItem)); } } exports.Factory = Factory; //# sourceMappingURL=factory.abstract.js.map