|
1 | | -// This file is part of arduino-flasher-cli. |
2 | | -// |
3 | | -// Copyright 2025 ARDUINO SA (http://www.arduino.cc/) |
4 | | -// |
5 | | -// This software is released under the GNU General Public License version 3, |
6 | | -// which covers the main part of arduino-flasher-cli. |
7 | | -// The terms of this license can be found at: |
8 | | -// https://www.gnu.org/licenses/gpl-3.0.en.html |
9 | | -// |
10 | | -// You can be released from the requirements of the above licenses by purchasing |
11 | | -// a commercial license. Buying such a license is mandatory if you want to |
12 | | -// modify or otherwise use the software for commercial activities involving the |
13 | | -// Arduino software without disclosing the source code of your own applications. |
14 | | -// To purchase a commercial license, send an email to license@arduino.cc. |
15 | | - |
16 | | -syntax = "proto3"; |
17 | | - |
18 | | -package cc.arduino.flasher.v1; |
19 | | - |
20 | | -option go_package = "github.com/arduino/arduino-flasher-cli/rpc/cc/arduino/flasher/v1;flasher"; |
21 | | - |
22 | | -service Flasher { |
23 | | - rpc List(ListRequest) returns (ListResponse) {}; |
24 | | -} |
25 | | - |
26 | | -message ListRequest {} |
27 | | - |
28 | | -message ListResponse { |
29 | | - repeated Release releases = 1; |
30 | | -} |
31 | | - |
32 | | -message Release { |
33 | | - string build_id = 1; |
34 | | - bool latest = 2; |
35 | | -} |
| 1 | +// This file is part of arduino-flasher-cli. |
| 2 | +// |
| 3 | +// Copyright 2025 ARDUINO SA (http://www.arduino.cc/) |
| 4 | +// |
| 5 | +// This software is released under the GNU General Public License version 3, |
| 6 | +// which covers the main part of arduino-flasher-cli. |
| 7 | +// The terms of this license can be found at: |
| 8 | +// https://www.gnu.org/licenses/gpl-3.0.en.html |
| 9 | +// |
| 10 | +// You can be released from the requirements of the above licenses by purchasing |
| 11 | +// a commercial license. Buying such a license is mandatory if you want to |
| 12 | +// modify or otherwise use the software for commercial activities involving the |
| 13 | +// Arduino software without disclosing the source code of your own applications. |
| 14 | +// To purchase a commercial license, send an email to license@arduino.cc. |
| 15 | + |
| 16 | +syntax = "proto3"; |
| 17 | + |
| 18 | +package cc.arduino.flasher.v1; |
| 19 | + |
| 20 | +option go_package = "github.com/arduino/arduino-flasher-cli/rpc/cc/arduino/flasher/v1;flasher"; |
| 21 | + |
| 22 | +service Flasher { |
| 23 | + rpc List(ListRequest) returns (ListResponse) {}; |
| 24 | +} |
| 25 | + |
| 26 | +message ListRequest {} |
| 27 | + |
| 28 | +message ListResponse { |
| 29 | + repeated Release releases = 1; |
| 30 | +} |
| 31 | + |
| 32 | +message Release { |
| 33 | + string build_id = 1; |
| 34 | + bool latest = 2; |
| 35 | +} |
0 commit comments