- 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)
20 lines
519 B
PHP
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,
|
|
) {
|
|
}
|
|
}
|