- Added new automation-related routes and controllers for managing automations. - Introduced automation nodes in the UI with distinct styles and interactions. - Updated sidebar to include navigation for automations. - Enhanced post creation logic to support automation metadata. - Refactored content type and platform enums into types for better type safety. - Added localization for automation-related terms in English, Spanish, and Portuguese. - Improved error handling in various components to accommodate new features.
26 lines
948 B
PHP
26 lines
948 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Broadcasting\AutomationChannel;
|
|
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('automation.{automation}', AutomationChannel::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);
|