<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\OptionsFields\Global;

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

class GlobalShareImageFieldEntity extends ImageFieldEntity
{
  public static string $name = 'aux_share_image';
  protected string $label = 'Default Share Image';
  protected string $instructions = 'Use this image as a preview when sharing a page that does not have a featured image.';
  protected ImageFieldReturnFormatEnum $returnFormat = ImageFieldReturnFormatEnum::Array;
  protected ImageFieldPreviewSizeEnum $previewSize = ImageFieldPreviewSizeEnum::Medium;
  protected string $mimeTypes = FileFieldService::IMAGE_EXTENSIONS;
}
