TYPE REFERENCE
MachineConnection
Referenced by 1 generated operations.
Documented fields
The rows on this page, in order.
Example:
[{"cursor":"WyJkcmlsbCBwcmVzcyAxIiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDQwMDA2Il0","node":{"id":"0192f0c1-0000-7000-8000-000000d40006","name":"Drill Press 1","kind":"Drill press","status":"IDLE","currentAssignment":null}},{"cursor":"WyJncmluZGVyIDEiLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDBkNDAwMDciXQ","node":{"id":"0192f0c1-0000-7000-8000-000000d40007","name":"Grinder 1","kind":"Cylindrical grinder","status":"MAINTENANCE","currentAssignment":null}},{"cursor":"WyJsYXRoZSAxIiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDQwMDAxIl0","node":{"id":"0192f0c1-0000-7000-8000-000000d40001","name":"Lathe 1","kind":"CNC lathe","status":"RUNNING","currentAssignment":{"qrValue":"JC-00002","operationName":"Milling","startedAt":"2026-10-11T23:30:00.000Z"}}},{"cursor":"WyJsYXRoZSAyIiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDQwMDAyIl0","node":{"id":"0192f0c1-0000-7000-8000-000000d40002","name":"Lathe 2","kind":"CNC lathe","status":"RUNNING","currentAssignment":{"qrValue":"JC-00003","operationName":"Deburring","startedAt":"2026-10-10T19:30:00.000Z"}}}]Show children
Opaque position of this row in the list.
Example:
"WyJkcmlsbCBwcmVzcyAxIiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDQwMDA2Il0"The Machine.
Example:
{"id":"0192f0c1-0000-7000-8000-000000d40006","name":"Drill Press 1","kind":"Drill press","status":"IDLE","currentAssignment":null}Show children
code machine detail.
UTC time the machine was added.
The open assignment, or null when the machine is not running a job.
Example:
nullShow children
Stable id (UUIDv7).
The job card it belongs to.
The step being run (
JobOperation.id).What the step does.
That job card’s QR text.
UTC time the machine was assigned.
Current work, or null.
Stable id (UUIDv7).
Example:
"0192f0c1-0000-7000-8000-000000d40006"What sort of machine it is, such as “CNC lathe”.
Example:
"Drill press"location machine detail.
model machine detail.
The name the shop calls it, such as “Lathe 3”.
Example:
"Drill Press 1"notes machine detail.
What it is doing.
Example:
"IDLE"IDLEFree to take a job operation.MAINTENANCEOut of service. It cannot be assigned work.RUNNINGHas an open assignment. Set byassignMachineandreleaseMachine, never by hand.
Machine category.
CNC_LATHECNC lathe.CNC_MILLCNC mill.INSPECTIONInspection.LATHELathe.PACKINGPacking.WELDINGWelding.
UTC time of the last change.
Whether more pages exist, and the cursors to reach them.
Example:
{"hasNextPage":true,"hasPreviousPage":false,"endCursor":"WyJsYXRoZSAyIiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDQwMDAyIl0"}Show children
Cursor of the last row; pass it as
afterto get the next page. Null when the page is empty.Example:
"WyJsYXRoZSAyIiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDQwMDAyIl0"Whether another page follows this one.
Example:
trueWhether another page comes before this one.
Example:
falseCursor of the first row; pass it as
beforeto page backwards. Null when the page is empty.
All rows matching the filter and search, not just this page.
Example:
7
Used by
- machinesMock