Files
sendico/api/pkg/messaging/notifications/object/handler/interface.go
2026-01-31 00:26:42 +01:00

17 lines
343 B
Go

package notifications
import (
"context"
nm "github.com/tech/sendico/pkg/model/notification"
"github.com/tech/sendico/pkg/mservice"
"go.mongodb.org/mongo-driver/v2/bson"
)
type ObjectUpdateHandler = func(
ctx context.Context,
objectType mservice.Type,
objectRef, actorAccountRef bson.ObjectID,
action nm.NotificationAction,
) error