// Package webhooks owns app webhook/provider-watch persistence helpers.
package webhooks

import "github.com/tidbcloud/AgentTeam/internal/coredb"

// Store owns webhook/provider-watch persistence helpers. The parent app.Store
// remains responsible for provider config lookups, credential decryption,
// webhook handler orchestration, and message/subscription side effects.
type Store struct {
	db coredb.Queryer
}

// New constructs a webhooks Store.
func New(db coredb.Queryer) *Store {
	return &Store{db: db}
}
