Let users adjust AI-generated slides in place via async job and Echo, while applying workspace brand, background, and text colors to image prompts. Autofill swaps site text/background colors for the image palette, and regeneration is blocked on finalized posts with safer job cleanup. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
834 B
PHP
23 lines
834 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Broadcasting\PostChannel;
|
|
use App\Broadcasting\UserAiCreationChannel;
|
|
use App\Broadcasting\UserAiGenerationChannel;
|
|
use App\Broadcasting\UserAiMediaRegenerationChannel;
|
|
use App\Broadcasting\WorkspaceChannel;
|
|
use App\Broadcasting\WorkspaceUserChannel;
|
|
use Illuminate\Support\Facades\Broadcast;
|
|
|
|
Broadcast::channel('post.{post}', PostChannel::class);
|
|
|
|
Broadcast::channel('workspace.{workspace}', WorkspaceChannel::class);
|
|
|
|
Broadcast::channel('workspace.{workspace}.user.{owner}', WorkspaceUserChannel::class);
|
|
|
|
Broadcast::channel('user.{owner}.ai-gen.{generationId}', UserAiGenerationChannel::class);
|
|
|
|
Broadcast::channel('user.{owner}.ai-creation.{creationId}', UserAiCreationChannel::class);
|
|
|
|
Broadcast::channel('user.{owner}.ai-media.{regenerationId}', UserAiMediaRegenerationChannel::class);
|