package httpapi

import (
	"context"

	"github.com/dtoro/oikos/internal/checkdefaults"
	"github.com/google/uuid"
	"github.com/jackc/pgx/v5"
)

func ensureDefaultChecks(ctx context.Context, tx pgx.Tx, entityID uuid.UUID, slug, entityType string, attrsJSON []byte) {
	checkdefaults.Ensure(ctx, tx, entityID, slug, entityType, attrsJSON)
}
