"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toPublicStaffUser = exports.toPublicCustomer = void 0;
const toPublicCustomer = (customer) => ({
    id: customer.id,
    email: customer.email,
    name: customer.name,
    phoneNumber: customer.phoneNumber,
    emailVerifiedAt: customer.emailVerifiedAt,
    createdAt: customer.createdAt,
});
exports.toPublicCustomer = toPublicCustomer;
const toPublicStaffUser = (staff) => ({
    id: staff.id,
    name: staff.name,
    email: staff.email,
    role: staff.role,
    isActive: staff.isActive,
    emailVerifiedAt: staff.emailVerifiedAt,
    createdAt: staff.createdAt,
});
exports.toPublicStaffUser = toPublicStaffUser;
//# sourceMappingURL=authSerializers.js.map