props.onSelect && props.onSelect(props.value || "")}>
+ onClick={() => props.onSelect && props.onSelect()}>
{props.label}
diff --git a/src/services/apiTypes.ts b/src/services/apiTypes.ts
new file mode 100644
index 0000000..e2786e4
--- /dev/null
+++ b/src/services/apiTypes.ts
@@ -0,0 +1,10 @@
+export interface Rail {
+ id: number;
+ code: string;
+ name: string;
+}
+
+export interface Calibration {
+ id: number;
+ name: string;
+}
diff --git a/src/services/calibration/calibration.ts b/src/services/calibration/calibration.ts
new file mode 100644
index 0000000..471f953
--- /dev/null
+++ b/src/services/calibration/calibration.ts
@@ -0,0 +1,16 @@
+import { Calibration } from "../apiTypes";
+import httpRequest, { BaseResponse } from "../httpRequest";
+
+export function getCalibrationTypes() {
+ return httpRequest