Files
Mav-Mobile-UI/src/types/types.ts

60 lines
1.2 KiB
TypeScript
Raw Normal View History

export type SightingType = {
2025-08-13 14:23:48 +01:00
ref: number;
SaFID: string;
overviewUrl: string;
plateUrlInfrared: string;
plateUrlColour: string;
vrm: string;
vrmSecondary: string;
countryCode: string;
timeStamp: string;
detailsUrl: string;
overviewPlateRect: number[];
plateTrack: Array<number[]>;
make: string;
model: string;
color: string;
category: string;
charHeight: string;
seenCount: string;
timeStampMillis: number;
motion: string;
debug: string;
srcCam: number;
locationName: string;
laneID: string;
plateSize: string;
overviewSize: string;
radarSpeed: string;
trackSpeed: string;
};
export type CameraSettingValues = {
friendlyName: string;
cameraAddress: string;
userName: string;
password: string;
setupCamera: number;
};
export type CameraSettingErrorValues = Partial<
Record<keyof CameraSettingValues, string>
>;
2025-08-18 12:53:30 +01:00
export type BearerTypeFieldType = {
format: string;
enabled: boolean;
verbose: boolean;
};
export type InitialValuesForm = {
format: string;
enabled: boolean;
verbose: boolean;
backOfficeURL: string;
username: string;
password: string;
connectTimeoutSeconds: number;
readTimeoutSeconds: number;
};