Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
christophrumpel committed Mar 29, 2024
1 parent 28835ef commit 1342100
Show file tree
Hide file tree
Showing 42 changed files with 20,758 additions and 552 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Http\Livewire;
namespace App\Livewire;

use App\Facades\YouTube;
use App\Jobs\ImportYoutubeChannelStreamsJob;
Expand All @@ -14,14 +14,14 @@ class ImportYouTubeChannel extends Component
public string $youTubeChannelId = '';
public string $languageCode = 'en';

public static function getName(): string
public function getName(): string
{
return 'import-youtube-channel';
return 'import-you-tube-channel';
}

public function render(): View
{
return view('livewire.import-youtube-channel');
return view('livewire.import-you-tube-channel');
}

public function importChannel(): void
Expand All @@ -37,7 +37,7 @@ public function importChannel(): void

dispatch(new ImportYoutubeChannelStreamsJob($this->youTubeChannelId, $this->languageCode));

session()->flash('channel-message', 'Channel "'.$this->youTubeChannelId.'" was added successfully.');
session()->flash('channel-message', 'Channel "' . $this->youTubeChannelId . '" was added successfully.');

$this->reset(['youTubeChannelId', 'languageCode']);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Http\Livewire;
namespace App\Livewire;

use App\Actions\ImportVideoAction;
use App\Services\YouTube\YouTubeException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Http\Livewire;
namespace App\Livewire;

use App\Actions\SortStreamsByDateAction;
use App\Models\Stream;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Http\Livewire;
namespace App\Livewire;

use App\Models\Channel;
use App\Models\Stream;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Http\Livewire;
namespace App\Livewire;

use App\Actions\Submission\SubmitStreamAction;
use App\Rules\YouTubeRule;
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
"league/flysystem-ftp": "^3.0",
"livewire/livewire": "^2.11",
"livewire/livewire": "^3.0",
"owenvoke/blade-fontawesome": "^2.2",
"spatie/data-transfer-object": "^3.7",
"spatie/icalendar-generator": "^2.3",
Expand All @@ -30,7 +30,7 @@
},
"require-dev": {
"brianium/paratest": "^6.4",
"christophrumpel/missing-livewire-assertions": "^1.0",
"christophrumpel/missing-livewire-assertions": "^2.0",
"fakerphp/faker": "^1.17",
"friendsofphp/php-cs-fixer": "^3.6",
"laravel/sail": "^1.18",
Expand Down
Loading

0 comments on commit 1342100

Please sign in to comment.