@robotical/webapp-types 3.25.14 → 3.25.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marty-web-app",
3
- "version": "3.25.14",
3
+ "version": "3.25.15",
4
4
  "private": true,
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -12,8 +12,10 @@ declare const colourDiagnosticsEnglish: {
12
12
  yellow: string;
13
13
  blue: string;
14
14
  red: string;
15
+ white: string;
15
16
  air: string;
16
17
  prompt: string;
18
+ whitePrompt: string;
17
19
  airPrompt: string;
18
20
  result: string;
19
21
  confidence: string;
@@ -1,14 +1,15 @@
1
1
  var colourDiagnosticsEnglish = {
2
2
  title: "Colour sensor diagnostics",
3
- instructions: "Rest Marty's sensor flat on each card, then take a snapshot with Marty lifted in the air. Keep the lighting steady and hold still until the capture finishes. Sensor setup is read automatically before two seconds of readings are collected.",
3
+ instructions: "Rest Marty's sensor flat on each colour card and a white surface, then take a snapshot with Marty lifted in the air. Keep the lighting steady and hold still until the capture finishes. Sensor setup is read automatically before two seconds of readings are collected.",
4
4
  sessionId: "Session ID",
5
5
  copyId: "Copy ID",
6
6
  copied: "Copied",
7
7
  sensor: "Colour sensor",
8
8
  selectSensor: "Select a sensor",
9
9
  connect: "Connect and verify Marty with a colour sensor attached to begin.",
10
- green: "green", purple: "purple", yellow: "yellow", blue: "blue", red: "red", air: "in air",
10
+ green: "green", purple: "purple", yellow: "yellow", blue: "blue", red: "red", white: "white", air: "in air",
11
11
  prompt: "Place the selected sensor on the {{colour}} card.",
12
+ whitePrompt: "Place the selected sensor flat on a white card or sheet of paper.",
12
13
  airPrompt: "Lift Marty so both feet are at least 10 cm above any card or surface, with the sensors facing down and uncovered. Keep the lighting the same and hold still.",
13
14
  result: "Blocks interpretation: {{result}}",
14
15
  confidence: "Confidence {{score}}/100",
@@ -29,7 +30,7 @@ var colourDiagnosticsEnglish = {
29
30
  capturing: "Capturing… Hold still",
30
31
  uploading: "Uploading…",
31
32
  saved: "{{saved}} snapshots uploaded · {{pending}} waiting to upload",
32
- complete: "All five cards and the air check captured. You can take more snapshots of any step.",
33
+ complete: "All five colour cards, white and air checks captured. You can take more snapshots of any step.",
33
34
  setupIncomplete: "Some extra sensor details could not be read. The available readings are saved. Keep Marty connected and take another snapshot to retry collecting those details.",
34
35
  wrapperUpdate: "Extra sensor details need an updated phone app. The normal colour readings are saved. You can also collect the full data using the updated browser app.",
35
36
  extraCollected: "Sensor settings and {{count}} raw readings collected.",
@@ -7,7 +7,7 @@ import type { RestMessageOptions } from "../types/communication-between-apps/wra
7
7
  import { SensorRead, RawColourFrame, ColourSensorSetup } from "./colour-sensor-registers";
8
8
  export declare const CARD_COLOURS: readonly ["green", "purple", "yellow", "blue", "red"];
9
9
  export type CardColour = typeof CARD_COLOURS[number];
10
- export declare const CAPTURE_TARGETS: readonly ["green", "purple", "yellow", "blue", "red", "air"];
10
+ export declare const CAPTURE_TARGETS: readonly ["green", "purple", "yellow", "blue", "red", "white", "air"];
11
11
  export type CaptureTarget = typeof CAPTURE_TARGETS[number];
12
12
  export declare const COLOUR_DATABASE_URL = "https://platforms-error-logging-default-rtdb.europe-west1.firebasedatabase.app";
13
13
  export declare const BLOCKS_COLOUR_BOUNDARIES: {
@@ -78,7 +78,7 @@ import { lockColourSensorOperation, waitForColourProfileRead } from "./colour-se
78
78
  import { getPendingColourCalibration } from "./colour-calibration-reconnect";
79
79
  import { collectColourSensorSetup, readRawColourSensor } from "./colour-sensor-registers";
80
80
  export var CARD_COLOURS = ["green", "purple", "yellow", "blue", "red"];
81
- export var CAPTURE_TARGETS = __spreadArray(__spreadArray([], CARD_COLOURS, true), ["air"], false);
81
+ export var CAPTURE_TARGETS = __spreadArray(__spreadArray([], CARD_COLOURS, true), ["white", "air"], false);
82
82
  export var COLOUR_DATABASE_URL = "https://platforms-error-logging-default-rtdb.europe-west1.firebasedatabase.app";
83
83
  var STORAGE_KEY = "marty-colour-diagnostics-v1";
84
84
  var CAPTURE_INTERVAL_MS = 200;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robotical/webapp-types",
3
- "version": "3.25.14",
3
+ "version": "3.25.15",
4
4
  "description": "Type definitions for the Application Manager",
5
5
  "main": "dist/application-manager.d.ts",
6
6
  "types": "dist/application-manager.d.ts",