solvice-vrp-components
Version:
React components library for visualizing VRP problems in Mintlify documentation
18 lines (16 loc) • 469 B
TypeScript
import { VRPJobsResponse } from '../types/api';
export interface UseVRPJobsOptions {
page?: number;
pageSize?: number;
apiKey?: string;
refreshInterval?: number;
enabled?: boolean;
}
export interface UseVRPJobsResult {
data: VRPJobsResponse | undefined;
error: Error | undefined;
isLoading: boolean;
isValidating: boolean;
mutate: () => void;
}
export declare function useVRPJobs(options?: UseVRPJobsOptions): UseVRPJobsResult;