feat(monorepo): migrate to typescript monorepo

This commit is contained in:
2025-11-07 17:09:29 +02:00
committed by BernardNganduDev
parent 3e09956f05
commit 075a388ccb
745 changed files with 2341 additions and 5082 deletions
@@ -0,0 +1,38 @@
<?php
declare(strict_types=1);
namespace Basango\Aggregator\Presentation\WriteModel;
use Basango\Aggregator\Domain\Model\ValueObject\OpenGraph;
use Basango\Aggregator\Domain\Model\ValueObject\TokenStatistics;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Class AddArticleModel.
*
* @author bernard-ng <bernard@devscast.tech>
*/
final class AddArticleModel
{
#[Assert\NotBlank]
public string $title;
#[Assert\NotBlank]
public string $link;
#[Assert\NotBlank]
public string $body;
#[Assert\NotBlank]
public string $source;
#[Assert\NotBlank]
public int $timestamp;
public array $categories = [];
public ?OpenGraph $metadata = null;
public ?TokenStatistics $tokenStatistics = null;
}