updated NPED code

This commit is contained in:
2025-08-29 10:07:59 +01:00
parent 5ededd8e05
commit d2b8827987
16 changed files with 285 additions and 150 deletions

View File

@@ -59,9 +59,11 @@ export type InitialValuesForm = {
};
export type NPEDFieldType = {
frontId: string;
username: string;
password: string;
clientId: string;
rearId: string;
};
export type HotlistUploadType = {
@@ -97,3 +99,15 @@ export type SightingWidgetType = {
overviewPlateRect?: [number, number, number, number]; // [x,y,w,h] normalized 0..1
plateTrack?: [number, number, number, number][]; // list of rects normalized 0..1
};
export type NPEDUser = {
username: string;
clientId: string;
password?: string;
};
export type NPEDErrorValues = {
username?: string | undefined;
password?: string | undefined;
clientId?: string | undefined;
};