Add AppDeploymentUpdated protobuf message (#2971)

This commit is contained in:
Alexandre de Souza 2025-03-25 11:09:46 -03:00 committed by GitHub
parent edabdf9d84
commit e52ed86aee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 0 deletions

View file

@ -12,4 +12,5 @@ defmodule LivebookProto.AppDeployment do
field :multi_session, 9, type: :bool, json_name: "multiSession"
field :access_type, 10, type: :string, json_name: "accessType"
field :version, 11, type: :string
field :identity_groups, 12, repeated: true, type: :string, json_name: "identityGroups"
end

View file

@ -0,0 +1,5 @@
defmodule LivebookProto.AppDeploymentUpdated do
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"
field :app_deployment, 1, type: LivebookProto.AppDeployment, json_name: "appDeployment"
end

View file

@ -73,4 +73,9 @@ defmodule LivebookProto.Event do
oneof: 0
field :org_updated, 17, type: LivebookProto.OrgUpdated, json_name: "orgUpdated", oneof: 0
field :app_deployment_updated, 18,
type: LivebookProto.AppDeploymentUpdated,
json_name: "appDeploymentUpdated",
oneof: 0
end

View file

@ -137,6 +137,7 @@ message AppDeployment {
bool multi_session = 9;
string access_type = 10;
string version = 11;
repeated string identity_groups = 12;
}
message AppDeploymentStarted {
@ -147,6 +148,10 @@ message AppDeploymentStopped {
string id = 1;
}
message AppDeploymentUpdated {
AppDeployment app_deployment = 1;
}
message UserDeleted {
string id = 1;
}
@ -218,6 +223,7 @@ message Event {
AgentLeft agent_left = 15;
AppDeploymentStopped app_deployment_stopped = 16;
OrgUpdated org_updated = 17;
AppDeploymentUpdated app_deployment_updated = 18;
}
}