<?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 MediaFeatureVideoFileFieldEntity extends FileFieldEntity
{
  public static string $name = 'media_feature_video_file';
  protected string $label = 'Video';
  protected string $mimeTypes = FileFieldService::VIDEO_EXTENSIONS;

  protected array $initConditionalLogic = [
    [[ MediaFeatureVideoSwitchFieldEntity::class, OperatorEnum::EQUALS, 'internal' ]],
  ];
}
