<?php

declare(strict_types=1);

namespace App\Support\OpsUx;

use App\Models\OperationRun;
use App\Models\ManagedEnvironment;
use App\Support\OperationRunLinks;

final class OperationRunUrl
{
    public static function view(OperationRun $run, ManagedEnvironment $tenant): string
    {
        return OperationRunLinks::view($run, $tenant);
    }

    public static function index(ManagedEnvironment $tenant): string
    {
        return OperationRunLinks::index($tenant);
    }
}
