@crossworks/client-types 0.500.23 → 0.500.30

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/client-types",
3
- "version": "0.500.23",
3
+ "version": "0.500.30",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -2,19 +2,20 @@
2
2
  * @mantle/client-types · present checks
3
3
  *
4
4
  * The image check overview of a traced P&ID canvas (DWG bones phase 6):
5
- * GET /api/presents/:id/checks. The brain reads the circuit and drawing
6
- * tables the canvas's data names (circuit_trace writes them) and returns
7
- * the latest sealed answer of each guess from those tables' Checks tabs.
5
+ * GET /api/presents/:id/checks. The brain reads the circuit and drawings
6
+ * the canvas's data names (circuit_trace writes them) and returns the latest
7
+ * sealed answer of each guess from those drawings' file rows.
8
8
  * The app shows it beside the canvas, outside its frame. An image check is
9
9
  * a help, not a guarantee: `note` says so in one line, and the panel shows
10
10
  * it. Crops are ordinary Files ids, opened with the viewer's own rights;
11
11
  * no image bytes are inlined.
12
12
  */
13
13
 
14
- /** One answered guess: the latest sealed Checks row of its key. */
14
+ /** One answered guess: the latest sealed answer of its key. */
15
15
  export type PresentCheckItemDTO = {
16
16
  kind: 'join' | 'end' | 'link' | 'valve';
17
- /** The drawing table it was asked on (its title is the sheet's). */
17
+ /** The drawing it was asked on (the file's id; a key for the client, the
18
+ * name kept from when it was a table's). */
18
19
  tableId: string;
19
20
  sheet: string;
20
21
  question: string;
@@ -37,7 +38,7 @@ export type PresentCircuitChecksDTO = {
37
38
  circuit: string;
38
39
  counts: { checked: number; no: number; unsure: number };
39
40
  items: PresentCheckItemDTO[];
40
- /** More answers than `items` carries (the rest are in the Checks tabs). */
41
+ /** More answers than `items` carries (the rest are on the drawings' files). */
41
42
  more?: number;
42
43
  };
43
44
 
package/src/dto/shell.ts CHANGED
@@ -46,6 +46,10 @@ export type Shell = {
46
46
  assetToken?: string;
47
47
  /** The streamed upload cap, in bytes. */
48
48
  maxUploadBytes: number;
49
+ /** The box has MANTLE_NO_AUTO_TABLES: an upload in Files makes no Table, so
50
+ * the upload dock may say a Table comes from Import on the Tables screen.
51
+ * Absent from a brain before it: no hint. */
52
+ noAutoTables?: boolean;
49
53
  displayName: string | null;
50
54
  email: string | null;
51
55
  /** The login's starred screens. [] when none. */