(code, message string, data any)
| 472 | } |
| 473 | |
| 474 | func responseSuccessWith(code, message string, data any) { |
| 475 | responseWith(cliResponse{ |
| 476 | Success: true, |
| 477 | Code: code, |
| 478 | Message: message, |
| 479 | SchemaVersion: action.SchemaVersion, |
| 480 | Status: action.StatusCompleted, |
| 481 | Retryable: false, |
| 482 | Data: data, |
| 483 | }) |
| 484 | } |
| 485 | |
| 486 | func responseActionRequiredWith(code, message string, data any) { |
| 487 | responseWith(cliResponse{ |