package indexable

import (
	"context"

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

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