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)
This commit is contained in:
parent
71d6bb5ee9
commit
734dea569c
@@ -26,6 +26,8 @@ readonly class UpsertContentSourceCommandHandler
|
||||
imageSelector: $command->imageSelector,
|
||||
nextPageSelector: $command->nextPageSelector,
|
||||
chapterSelector: $command->chapterSelector,
|
||||
testSlug: $command->testSlug,
|
||||
testChapterNumber: $command->testChapterNumber,
|
||||
);
|
||||
$this->contentSourceRepository->save($contentSource);
|
||||
}
|
||||
@@ -38,6 +40,8 @@ readonly class UpsertContentSourceCommandHandler
|
||||
imageSelector: $command->imageSelector,
|
||||
nextPageSelector: $command->nextPageSelector,
|
||||
chapterSelector: $command->chapterSelector,
|
||||
testSlug: $command->testSlug,
|
||||
testChapterNumber: $command->testChapterNumber,
|
||||
);
|
||||
$this->contentSourceRepository->save($contentSource);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user