<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\OptionsFields\PostType;

use AuxCF\Entities\Field\Enum\ImageFieldPreviewSizeEnum;
use AuxCF\Entities\Field\Enum\ImageFieldReturnFormatEnum;
use AuxCF\Entities\Field\ImageFieldEntity;
use AuxCF\Services\FileFieldService;

class PostTypeOptionsFeaturedImageFieldEntity extends ImageFieldEntity
{
  public static string $namePattern = 'aux_archive_%s_featured_image';
  public static string $nickname = 'featured_image';
  protected string $label = 'Featured Image';
  protected ImageFieldReturnFormatEnum $returnFormat = ImageFieldReturnFormatEnum::Array;
  protected ImageFieldPreviewSizeEnum $previewSize = ImageFieldPreviewSizeEnum::Medium;
  protected string $mimeTypes = FileFieldService::IMAGE_EXTENSIONS;
}
