<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\MediaFeature;

use AuxCF\Entities\Field\FileFieldEntity;
use AuxCF\Entities\Settings\Enum\OperatorEnum;
use AuxCF\Services\FileFieldService;

class MediaFeatureImageFileFieldEntity extends FileFieldEntity
{
  public static string $name = 'media_feature_image_file';
  protected string $label = 'Image';
  protected string $mimeTypes = FileFieldService::IMAGE_EXTENSIONS;

  protected array $initConditionalLogic = [
    [[ MediaFeatureMediaSwitchFieldEntity::class, OperatorEnum::EQUALS, 'image' ]],
  ];
}
