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
2025-09-22 09:44:30 +02:00
parent 3cc2426b9a
commit 4f71d14d39
3 changed files with 104 additions and 5 deletions

View File

@@ -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()
{