import { UMB_MEMBER_TYPE_PROPERTY_TYPE_ENTITY_TYPE } from './entity.js';
import { UmbControllerBase } from '../../../../libs/class-api/index.js';
export class UmbMemberTypePropertyTypeReferenceResponseManagementApiDataMapping extends UmbControllerBase {
    async map(data) {
        return {
            alias: data.alias,
            memberType: {
                alias: data.memberType.alias,
                icon: data.memberType.icon,
                name: data.memberType.name,
                unique: data.memberType.id,
            },
            entityType: UMB_MEMBER_TYPE_PROPERTY_TYPE_ENTITY_TYPE,
            name: data.name,
            unique: data.id,
        };
    }
}
export { UmbMemberTypePropertyTypeReferenceResponseManagementApiDataMapping as api };
