<?php

declare(strict_types=1);

namespace App\Services\Sitemaps;

final class SitemapTarget
{
    public const TYPE_INDEX = 'index';
    public const TYPE_URLSET = 'urlset';
    public const TYPE_GOOGLE_NEWS = 'google-news';

    public function __construct(
        public readonly string $requestedName,
        public readonly string $documentName,
        public readonly string $baseName,
        public readonly string $type,
        public readonly SitemapBuilder $builder,
        public readonly ?int $shardNumber = null,
        public readonly int $totalShards = 1,
    ) {
    }
}