Update machine-api spec (#3585)

* YOYO NEW API SPEC!

* New machine-api types

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
zoo-github-actions-auth[bot]
2024-08-20 17:13:18 -07:00
committed by GitHub
parent 9d148938a2
commit a0dc5f4a89
2 changed files with 73 additions and 4 deletions

View File

@ -271,7 +271,7 @@ export interface components {
* Format: int64
* @description The error number.
*/
errorno: number
errorno?: number | null
/** @description The reason for the message. */
reason?: components['schemas']['Reason'] | null
/** @description The result of the command. */
@ -282,7 +282,7 @@ export interface components {
* Format: int64
* @description The target temperature.
*/
tar_temp: number
tar_temp?: number | null
/**
* Format: int64
* @description The target.
@ -523,6 +523,22 @@ export interface components {
} & {
[key: string]: unknown
})
| ({
/** @enum {string} */
command: 'gcode_file'
/** @description The param. */
param?: string | null
/** @description The print type. */
print_type?: string | null
/** @description The reason for the message. */
reason: components['schemas']['Reason']
/** @description The result of the command. */
result: components['schemas']['Result']
/** @description The sequence id. */
sequence_id: components['schemas']['SequenceId']
} & {
[key: string]: unknown
})
| ({
/** @enum {string} */
command: 'project_file'