Files
Mangarr/src/Domain/Setting/Application/Command/UpsertContentSourceCommand.php
ext.jeremy.guillot@maxicoffee.domains 795cbeccc3 feat(setting): étendre ContentSource avec champs de test et domain model
- Ajouter testSlug, testChapterNumber, baseUrl sur ContentSource (entité, domain model, migration)
- Exposer ces champs dans les Resources, Processors, Providers et Mapper
- Mettre à jour store Pinia, repository API et composants Vue (form, card, liste)
2026-03-16 00:11:17 +01:00

20 lines
519 B
PHP

<?php
namespace App\Domain\Setting\Application\Command;
readonly class UpsertContentSourceCommand
{
public function __construct(
public ?int $id,
public string $baseUrl,
public string $chapterUrlFormat,
public string $scrapingType,
public ?string $imageSelector = null,
public ?string $nextPageSelector = null,
public ?string $chapterSelector = null,
public ?string $testSlug = null,
public ?float $testChapterNumber = null,
) {
}
}