using e_suite.API.Common.models;
using e_suite.Database.Audit;
using e_suite.Database.Core.Tables.CustomFields;

namespace e_suite.API.Common;

public interface ICustomFieldValidator
{
    Task<IEnumerable<ValidatedCustomFieldValue>> ValidateFields(AuditUserDetails auditUserDetails, IEnumerable<CustomFieldValues> customFieldValues,
        IReadOnlyCollection<CustomField> customFields, CancellationToken cancellationToken);
}