- added functionality to push to backend

- improved responsiveness
- added reset functionality
This commit is contained in:
2026-01-14 14:50:24 +00:00
parent 1c24b726b0
commit 256330f892
5 changed files with 126 additions and 24 deletions

View File

@@ -118,6 +118,9 @@ export type CameraSettingsAction =
| {
type: "SET_BRUSH_SIZE";
payload: number;
}
| {
type: "RESET_REGION_PAINTER";
};
export type CameraStatus = {
@@ -141,3 +144,12 @@ export type StoreData = {
sanityCheck: boolean;
sanityCheckFormula: string;
};
export type ColourData = {
id: string | number;
cells: number[][];
};
export type ColourDetectionPayload = {
regions: ColourData[];
};