added sighting feed

This commit is contained in:
2025-08-20 08:27:05 +01:00
parent 9288540957
commit 44af1b21b7
17 changed files with 621 additions and 47 deletions

View File

@@ -67,3 +67,33 @@ export type NPEDFieldType = {
export type HotlistUploadType = {
file: string | null;
};
export type SightingWidgetType = {
ref: number; // unique, increasing
idx?: number; // client-side slot index
vrm: string;
vrmSecondary?: string; // empty string means missing
countryCode?: string;
timeStamp?: string; // formatted string
timeStampMillis: number; // epoch millis
motion: string; // e.g., "AWAY" or "TOWARDS"
seenCount: number;
charHeight: string | number;
overviewUrl: string;
detailsUrl?: string;
make?: string;
model?: string;
color?: string;
category?: string;
plateSize?: string | number;
overviewSize?: string | number;
locationName?: string;
laneID?: string | number;
radarSpeed?: string | number;
trackSpeed?: string | number;
srcCam?: 0 | 1;
plateUrlInfrared?: string;
plateUrlColour?: string;
overviewPlateRect?: [number, number, number, number]; // [x,y,w,h] normalized 0..1
plateTrack?: [number, number, number, number][]; // list of rects normalized 0..1
};