feat(integrations): align linear parity

This commit is contained in:
2026-06-06 17:09:15 +08:00
parent 7b28f9227d
commit a6f97c8bbc
9 changed files with 739 additions and 112 deletions
@@ -14,6 +14,11 @@ type IntegrationHookRepo struct {
db *gorm.DB
}
// DB returns the underlying gorm.DB for services that need adjacent models.
func (r *IntegrationHookRepo) DB() *gorm.DB {
return r.db
}
// NewIntegrationHookRepo creates a new IntegrationHook repository.
func NewIntegrationHookRepo(db *gorm.DB) *IntegrationHookRepo {
return &IntegrationHookRepo{db: db}