feat(ocme): added in ocme with endpoints base

This commit is contained in:
2025-03-07 13:39:32 -06:00
parent a1c9ad65b8
commit ef26b6aa79
11 changed files with 1596 additions and 15 deletions

View File

@@ -0,0 +1,13 @@
export const postLabelData = async (data: any) => {
// if we have sscc we will do everything here and ignore the rn even it its sent over
if (data.sscc) {
return {success: true, message: "sscc sent over", data: data};
}
if (data.runningNr) {
return {success: true, message: "runningNr sent over", data: data};
} else {
throw Error("Improper data was sent over");
}
};