Implement creator studio and upload updates

This commit is contained in:
2026-04-04 10:12:02 +02:00
parent 1da7d3bf88
commit 0b216b7ecd
15107 changed files with 31206 additions and 626514 deletions

View File

@@ -25,13 +25,26 @@ final class GenerateDerivativesJob implements ShouldQueue
private readonly string $sessionId,
private readonly string $hash,
private readonly int $artworkId,
private readonly ?string $originalFileName = null
private readonly ?string $originalFileName = null,
private readonly ?string $archiveSessionId = null,
private readonly ?string $archiveHash = null,
private readonly ?string $archiveOriginalFileName = null,
private readonly array $additionalScreenshotSessions = []
) {
}
public function handle(UploadPipelineService $pipeline): void
{
$pipeline->processAndPublish($this->sessionId, $this->hash, $this->artworkId, $this->originalFileName);
$pipeline->processAndPublish(
$this->sessionId,
$this->hash,
$this->artworkId,
$this->originalFileName,
$this->archiveSessionId,
$this->archiveHash,
$this->archiveOriginalFileName,
$this->additionalScreenshotSessions
);
// Auto-tagging is async and must never block publish.
AutoTagArtworkJob::dispatch($this->artworkId, $this->hash)->afterCommit();