UNPKG

graphdb-workbench

Version:
15 lines (14 loc) 511 B
import { Mapper } from '../../../providers/mapper/mapper'; import { License } from '../../../models/license'; /** * Mapper for Graph DB license object. Maps the API JSON response to {@link License} */ export declare class LicenseMapper extends Mapper<License> { /** * Map to {@link License} object * * @param {Partial<License>} data - The raw representation of the license object * @returns {License} - A new License instance */ mapToModel(data: Partial<License>): License; }