Skip to content
1 viewer
View

Fabrication reference

1 page, 7 routes, 7 connections and 4 CLI commands, generated from the declarations of Fabrication without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Pages · 1

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Fabricationfabrication.workbench/view/fabrication/workbenchin navigation
1 row

Connections · 7

Fabrication.Complete

Complete a queued job: produce the item, record provenance, land stock.

Fabrication.Complete input
FieldTypeRequiredDescriptionAllowed
job_idrequired
1 row
Calls and output
  • Output keyfabrication.result
  • Classificationreal
  • POST /fabrication/completeHTTP route

Fabrication.Fail

Mark a job failed with a reason.

Fabrication.Fail input
FieldTypeRequiredDescriptionAllowed
job_idrequired
1 row
Calls and output
  • Output keyfabrication.result
  • Classificationreal
  • POST /fabrication/failHTTP route

Fabrication.Get

Fetch one fabrication job.

Fabrication.Get input
FieldTypeRequiredDescriptionAllowed
job_idrequired
1 row
Calls and output
  • Output keyfabrication.result
  • Classificationroute_handler
  • POST /fabrication/getHTTP route

Fabrication.List

List fabrication jobs (newest first).

Calls and output

Fabrication.Run

Submit and immediately complete a job — produces the item (Item.Upsert), records provenance (Manufacture.StepCreate), and lands stock (Inventory.Receive).

Fabrication.Run input
FieldTypeRequiredDescriptionAllowed
device_refrequired
item_namerequired
location_refrequired
3 rows
Calls and output

Fabrication.Submit

Queue a fabrication job (device_ref + item_name + location_ref; optional gcode program_ref).

Fabrication.Submit input
FieldTypeRequiredDescriptionAllowed
device_refrequired
item_namerequired
location_refrequired
3 rows
Calls and output

Fabrication.Verify

Proof-of-Make: recompute a produced item's provenance witness and confirm (or reject tampering). Look up by job_id or item_ref.

Fabrication.Verify input
FieldTypeRequiredDescriptionAllowed
job_idoptional
item_refoptional
2 rows
Calls and output

CLI commands · 4

fabrication list

List fabrication jobs (newest first)

fabrication list

fabrication run

Run a device job: produce an item and land it as stock

fabrication run {"device_ref":"device:printer-com3","item_name":"Bracket v2","location_ref":"outlet:oak","quantity":4}

fabrication submit

Queue a fabrication job

fabrication submit {"device_ref":"device:printer-com3","item_name":"Bracket v2","location_ref":"outlet:oak","program_ref":"gcode:bracket-v2"}

fabrication verify

Proof-of-Make: verify a produced item's provenance witness (by item_ref or job_id)

fabrication verify {"item_ref":"item-..."}

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
Hyper vertex kinds read
  • FabricationJob
Hyper vertex kinds written
  • FabricationJob
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Protocol