feat(event): introduce ApplicationConfigurationChanged event to handle team-specific configuration updates and broadcast changes

feat(envs): Generate hash from secrets to invalidate docker layers
This commit is contained in:
Andras Bacsai committed 2025-09-22 09:44:30 +02:00
1 parent 3cc2426b9a
commit 4f71d14d39
3 files changed
+104 -5

No files matched your search

@@ -20,7 +20,15 @@ class ConfigurationChecker extends Component
public Application|Service|StandaloneRedis|StandalonePostgresql|StandaloneMongodb|StandaloneMysql|StandaloneMariadb|StandaloneKeydb|StandaloneDragonfly|StandaloneClickhouse $resource;
protected $listeners = ['configurationChanged'];
public function getListeners()
{
$teamId = auth()->user()->currentTeam()->id;
return [
"echo-private:team.{$teamId},ApplicationConfigurationChanged" => 'configurationChanged',
'configurationChanged' => 'configurationChanged',
];
}
public function mount()
{