refactor: edit capabilities

This commit is contained in:
2026-05-25 15:25:38 +03:00
parent dff83c6b60
commit 07669d43c8
10 changed files with 1396 additions and 903 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
syntax = "proto3";
import "google/protobuf/empty.proto";
import "api/proto/homeops/register.proto";
import "api/proto/homeops/stream.proto";
import "homeops/register.proto";
import "homeops/stream.proto";
option go_package = "github.com/lorsanstand/HomeOps-Hub/api/gen/homeops;homeops";
+3
View File
@@ -1,5 +1,7 @@
syntax = "proto3";
option go_package = "github.com/lorsanstand/HomeOps-Hub/api/gen/homeops;homeops";
message PongResponse {
string pong = 1;
}
@@ -32,6 +34,7 @@ message CapabilityCommand {
repeated CommandsArgs req_args = 3; // обязательные переменные
string version = 4; // версия команды
string description = 5; // описание команды для документации
string type_output = 7;
}
message CommandsArgs {
+2
View File
@@ -1,5 +1,7 @@
syntax = "proto3";
option go_package = "github.com/lorsanstand/HomeOps-Hub/api/gen/homeops;homeops";
message ServerCommandRequest {
string request_id = 1;
string name = 2;