From 4d148ed5cb325838a40bd4531c2229d004d6dafa Mon Sep 17 00:00:00 2001 From: Anton Sattarov <dirty.mew@gmail.com> Date: Tue, 21 Nov 2023 17:47:17 +0100 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D0=B8?= =?UTF-8?q?=20=D1=82=D1=80=D0=B0=D0=BD=D1=81=D0=BB=D1=8F=D1=86=D0=B8=D0=B8?= =?UTF-8?q?=20=D1=81=D1=82=D1=80=D1=83=D0=BA=D1=82=D1=83=D1=80=20=D0=B2/?= =?UTF-8?q?=D0=B8=D0=B7=20proto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/extension/action.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkg/extension/action.go b/pkg/extension/action.go index 5d115679..90889fe5 100644 --- a/pkg/extension/action.go +++ b/pkg/extension/action.go @@ -173,7 +173,11 @@ func ActionResponseToPB(out *ActionResponse) *pb.ActionResponse { return &pb.ActionResponse{ State: out.State, + Format: out.Format, + Target: out.Target, Msg: out.Msg, + Title: out.Title, + Image: out.Image, Error: out.Error, Next: next, Metadata: out.Metadata, @@ -193,7 +197,11 @@ func ActionResponseFromPB(out *pb.ActionResponse) *ActionResponse { return &ActionResponse{ State: out.State, + Format: out.Format, + Target: out.Target, Msg: out.Msg, + Title: out.Title, + Image: out.Image, Error: out.Error, Next: next, Metadata: out.Metadata, @@ -234,6 +242,8 @@ func ActionToPB(a *Action) *pb.Action { return &pb.Action{ Extension: a.Extension, Action: a.Action, + Target: a.Target, + Parent: a.Parent, Name: a.Name, Description: a.Description, Icon: a.Icon, @@ -246,5 +256,7 @@ func ActionToPB(a *Action) *pb.Action { Request: ActionRequestToPB(a.Request), NavigationAction: a.NavigationAction, NavigationRoute: a.NavigationRoute, + Autorun: a.Autorun, + Confirm: a.Confirm, } } -- GitLab