donmahallem/TrapezeClientNg

View on GitHub
src/app/models/index.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { ITripPassages, IVehicleLocation } from '@donmahallem/trapeze-api-types';

export type TripPassagesLocation = ITripPassages & {
    location: ITimestampVehicleLocation,
};

export interface ITimestampVehicleLocation {
    /**
     * Timestamp of last checkup
     */
    timestamp: number;
    /**
     * Vehicle location
     */
    vehicle: IVehicleLocation;
}