UNPKG

fleeta-components

Version:

A comprehensive React component library for fleet management applications

43 lines 1.18 kB
/** * GPS parsing status enumeration * Indicates the current state of GPS data parsing */ export declare enum GpsParsingStatus { NOT_STARTED = "NOT_STARTED", SUCCESS = "SUCCESS", NO_DATA = "NO_DATA", INVALID_FORMAT = "INVALID_FORMAT", DECODE_ERROR = "DECODE_ERROR", ERROR = "ERROR" } /** * GPS data point interface * Represents a single GPS coordinate with timestamp and movement data */ export interface GpsPoint { /** Absolute timestamp in seconds */ timestamp: number; /** Latitude coordinate */ lat: number | null; /** Longitude coordinate */ lng: number | null; /** Time relative to recording start */ relativeTime: number; /** Speed in knots */ speedKnots: number | null; /** Speed in kilometers per hour */ speedKmh: number | null; /** Heading direction in degrees */ course: number | null; } /** * GPS parsing result interface * Contains parsing status and extracted GPS points */ export interface GpsParsingResult { /** Parsing operation status */ status: GpsParsingStatus; /** Array of extracted GPS points */ points: GpsPoint[]; } //# sourceMappingURL=types.d.ts.map