package indexable

import (
	"context"

	"github.com/tech/sendico/pkg/db/repository/builder"
	"go.mongodb.org/mongo-driver/v2/bson"
)

type DB interface {
	Reorder(ctx context.Context, objectRef bson.ObjectID, newIndex int, filter builder.Query) error
}
