@skbkontur/cassandra-distributed-task-queue-ui
Version:
.NET library implementing distributed task queue machinery using Apache Cassandra
13 lines (12 loc) • 622 B
TypeScript
import { ReactElement } from "react";
import { Location } from "react-router-dom";
import { RtqMonitoringTaskModel } from "../../Domain/Api/RtqMonitoringTaskModel";
export interface TaskDetailsPageProps {
parentLocation: string;
taskDetails: Nullable<RtqMonitoringTaskModel>;
getTaskLocation: (id: string) => string | Partial<Location>;
allowRerunOrCancel: boolean;
onRerun: (id: string) => void;
onCancel: (id: string) => void;
}
export declare function TaskDetailsPage({ parentLocation, taskDetails, getTaskLocation, allowRerunOrCancel, onRerun, onCancel, }: TaskDetailsPageProps): ReactElement;