storing changes, starting history list

This commit is contained in:
2025-09-15 10:27:31 +01:00
parent 7588326cbe
commit c414342515
12 changed files with 129 additions and 107 deletions

View File

@@ -71,35 +71,36 @@ export type HotlistUploadType = {
};
export type SightingWidgetType = {
debug: string;
SaFID: string;
ref: number; // unique, increasing
idx?: number; // client-side slot index
vrm: string;
vrmSecondary?: string; // empty string means missing
countryCode?: string;
timeStamp?: string; // formatted 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;
seenCount: string;
charHeight: string;
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][];
metadata?: Metadata;
// list of rects normalized 0..1
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][];
metadata: Metadata;
};
export type VersionFieldType = {