Skip to content

Commit 3a7e58d

Browse files
committed
Added Category field to Platform gRPC struct
1 parent aa41d72 commit 3a7e58d

File tree

3 files changed

+36
-22
lines changed

3 files changed

+36
-22
lines changed

Diff for: commands/core.go

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ func PlatformReleaseToRPC(platformRelease *cores.PlatformRelease) *rpc.Platform
6060
Latest: platformRelease.Version.String(),
6161
ManuallyInstalled: platformRelease.Platform.ManuallyInstalled,
6262
Deprecated: platformRelease.Platform.Deprecated,
63+
Category: platformRelease.Platform.Category,
6364
}
6465

6566
return result

Diff for: rpc/cc/arduino/cli/commands/v1/common.pb.go

+33-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: rpc/cc/arduino/cli/commands/v1/common.proto

+2
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ message Platform {
8080
bool manually_installed = 9;
8181
// If true this Platform has been deprecated
8282
bool deprecated = 10;
83+
// Category of the platform.
84+
string category = 11;
8385
}
8486

8587
message InstalledPlatformReference {

0 commit comments

Comments
 (0)