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