mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-06 04:54:29 +08:00
Add AppDeploymentUpdated
protobuf message (#2971)
This commit is contained in:
parent
edabdf9d84
commit
e52ed86aee
4 changed files with 17 additions and 0 deletions
|
@ -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
|
||||
|
|
5
proto/lib/livebook_proto/app_deployment_updated.pb.ex
Normal file
5
proto/lib/livebook_proto/app_deployment_updated.pb.ex
Normal 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
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue