types.ts — Types

Shared TypeScript types used across the frontend.

Sample — represents a single science sample collected by the rover. Contains location name, coordinates, before/after image paths, measurement, weight, and a set of boolean _check flags tracking which fields have been filled in. The all_check flag is true when all required fields are complete.

Waypoint — a map waypoint with an id, lat, and lng. Used for start point, end point, and the waypoints list in the map store.

Probe — a probe location with an id, lat, lng, and timestamp. Used in the probing task to record where soil probes were taken.


Revision #1
Created 2026-04-14 13:48:20 UTC by Candela Cimadevilla Gonzalez
Updated 2026-04-14 13:49:20 UTC by Candela Cimadevilla Gonzalez