import { UMB_DOCUMENT_PROPERTY_VALUE_USER_PERMISSION_TYPE } from '../user-permission.js';
import { UmbControllerBase } from '../../../../../../libs/class-api/index.js';
export class UmbDocumentPropertyValueUserPermissionFromManagementApiDataMapping extends UmbControllerBase {
    async map(data) {
        return {
            $type: data.$type,
            userPermissionType: UMB_DOCUMENT_PROPERTY_VALUE_USER_PERMISSION_TYPE,
            documentType: {
                unique: data.documentType.id,
            },
            propertyType: {
                unique: data.propertyType.id,
            },
            verbs: data.verbs,
        };
    }
}
export { UmbDocumentPropertyValueUserPermissionFromManagementApiDataMapping as api };
