"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.presentCustomer = presentCustomer; exports.presentCustomerList = presentCustomerList; const storage_1 = require("../../lib/storage"); function presentCustomer(customer) { return { ...customer, licenseImageUrl: customer?.licenseImageUrl ? (0, storage_1.getProtectedCustomerLicenseImageUrl)(customer.id) : null, }; } function presentCustomerList(customers, meta) { return { data: customers, ...meta }; } //# sourceMappingURL=customer.presenter.js.map