fase(4): crawling infrastructure with migrated code

This commit is contained in:
debian
2026-03-05 03:08:48 -05:00
parent 39c5313ba5
commit 96bf6e5097
16 changed files with 1105 additions and 3 deletions

View File

@@ -11,6 +11,10 @@ class CrawlSession extends AggregateRoot_1.AggregateRoot {
constructor(props, id) {
super(props, id);
}
/** Reconstruct from persistence without emitting domain events */
static reconstitute(props, id) {
return new CrawlSession(props, id);
}
static create(request) {
const urlResult = Url_1.Url.create(request.url);
if (!urlResult.ok) {