feat(message_gateway): expose PushRegistry contract

This commit is contained in:
ryan
2026-08-30 11:23:01 +08:00
parent 177d771acf
commit 9a5c2fa643
4 changed files with 107 additions and 1 deletions
@@ -231,8 +231,9 @@ func (p *Plugin) Apply(ctx *core.Context) error {
return nil
})
// 9. Register built-in domain events
// 9. Register built-in domain events and provide PushRegistry
service.RegisterCustomEvents()
core.Provide[contracts.PushRegistry](ctx, service.PushRegistryAdapter{})
// 10. Register Settings Schemas
ctx.Settings().Register(extpoints.SettingSchema{