Appearance
UpsertWorkCenterDeviceInput
Type: Input
Input for binding a controller device to a work center idempotently. Matches on id when given, otherwise on (workCenterId, deviceId); omitted optional fields keep the existing row's values.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| deviceId | DeviceID! | TypeID (prefix dev) of the controller device to bind it to. | |
| id | WorkCenterDeviceID | ID for update; omit to create or update by (workCenterId, deviceId) | |
| isActive | Boolean | Whether the binding may be used. Omitted: keeps the existing value, or defaults to true when creating. | |
| priority | Int | Preference rank (0 = preferred). Defaults to 0. | |
| workCenterId | WorkCenterID! | TypeID (prefix wcr) of the work center to bind. |