File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ type Index struct {
40
40
type IndexBoard struct {
41
41
Fqbn string `json:"fqbn,required"`
42
42
Firmwares []* IndexFirmware `json:"firmware,required"`
43
- LoaderSketch * IndexLoaderSketch `json:"loader_sketch,required"`
43
+ LoaderSketch * IndexSketch `json:"loader_sketch,required"`
44
+ VersionSketch * IndexSketch `json:"version_sketch"`
44
45
Module string `json:"module,required"`
45
46
Name string `json:"name,required"`
46
47
Uploader string `json:"uploader,required"`
@@ -65,8 +66,8 @@ type IndexFirmware struct {
65
66
Module string `json:"module,required"`
66
67
}
67
68
68
- // IndexLoaderSketch represents the sketch used to upload the new firmware on a board.
69
- type IndexLoaderSketch struct {
69
+ // IndexSketch represents the sketch used to upload the new firmware on a board.
70
+ type IndexSketch struct {
70
71
URL string `json:"url,required"`
71
72
Checksum string `json:"checksum,required"`
72
73
Size json.Number `json:"size,required"`
You can’t perform that action at this time.
0 commit comments