Add ams_slot to start_print
This commit is contained in:
@@ -131,6 +131,14 @@ export const PrinterCommandSchema = Type.Union([
|
||||
* may wait days and the URL would be long expired.
|
||||
*/
|
||||
url: Type.String({ format: "uri" }),
|
||||
/**
|
||||
* Use this AMS slot (0-based, across all units: AMS1 slot 4 is 3)
|
||||
* instead of the one the project's own filament colour would pick.
|
||||
* Only valid for a single-filament project, and the slot must hold the
|
||||
* same material type; the gateway refuses otherwise. Absent: map by the
|
||||
* project's filament.
|
||||
*/
|
||||
ams_slot: Type.Optional(Type.Integer({ minimum: 0, maximum: 15 })),
|
||||
}, { additionalProperties: false }),
|
||||
Type.Object({
|
||||
action: Type.Literal("set_fan_speed"),
|
||||
|
||||
Reference in New Issue
Block a user