- refactor: replace Output component with OutputForms and update related hooks and types
This commit is contained in:
@@ -57,7 +57,33 @@ export type InitialValuesFormErrors = {
|
||||
};
|
||||
|
||||
export type FormTypes = BearerTypeFields & OptionalConstants & OptionalLaneIDs;
|
||||
type FieldProperty = {
|
||||
datatype: string;
|
||||
value: string;
|
||||
};
|
||||
export type OutputDataResponse = {
|
||||
id: string;
|
||||
configHash: string;
|
||||
} & Record<string, FieldProperty>;
|
||||
|
||||
export type PaintedCell = {
|
||||
colour: string;
|
||||
};
|
||||
|
||||
export type DispatcherConfig = {
|
||||
format: string;
|
||||
enabled: boolean;
|
||||
};
|
||||
|
||||
export type OptionalBOF2Constants = {
|
||||
FFID?: string;
|
||||
SCID?: string;
|
||||
timestampSource?: string;
|
||||
GPSFormat?: string;
|
||||
};
|
||||
export type OptionalBOF2LaneIDs = {
|
||||
laneId?: string;
|
||||
LID1?: string;
|
||||
LID2?: string;
|
||||
LID3?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user