solvice-vrp-components
Version:
React components library for visualizing VRP problems in Mintlify documentation
20 lines (19 loc) • 437 B
TypeScript
export interface VRPJob {
id: string;
status: 'QUEUED' | 'SOLVING' | 'SOLVED' | 'ERROR' | null | undefined;
solveDuration?: number | null;
errors?: Array<{
code: string;
message: string;
}> | null;
warnings?: Array<{
code: string;
message: string;
}> | null;
}
export interface VRPJobsResponse {
jobs: VRPJob[];
total: number;
page: number;
pageSize: number;
}