forked from Silverfish/proton-bridge
feat(GODT-3121): added gRPC call and event for KB suggestions.
This commit is contained in:
@ -58,6 +58,7 @@ service Bridge {
|
||||
rpc ReportBug(ReportBugRequest) returns (google.protobuf.Empty);
|
||||
rpc ForceLauncher(google.protobuf.StringValue) returns (google.protobuf.Empty);
|
||||
rpc SetMainExecutable(google.protobuf.StringValue) returns (google.protobuf.Empty);
|
||||
rpc RequestKnowledgeBaseSuggestions(google.protobuf.StringValue) returns (google.protobuf.Empty);
|
||||
|
||||
// login
|
||||
rpc Login(LoginRequest) returns (google.protobuf.Empty);
|
||||
@ -269,6 +270,7 @@ message AppEvent {
|
||||
CertificateInstallSuccessEvent certificateInstallSuccess = 9;
|
||||
CertificateInstallCanceledEvent certificateInstallCanceled = 10;
|
||||
CertificateInstallFailedEvent certificateInstallFailed = 11;
|
||||
KnowledgeBaseSuggestionsEvent knowledgeBaseSuggestions = 12;
|
||||
}
|
||||
}
|
||||
|
||||
@ -287,6 +289,15 @@ message CertificateInstallSuccessEvent {}
|
||||
message CertificateInstallCanceledEvent {}
|
||||
message CertificateInstallFailedEvent {}
|
||||
|
||||
message KnowledgeBaseSuggestion {
|
||||
string url = 1;
|
||||
string title = 2;
|
||||
}
|
||||
|
||||
message KnowledgeBaseSuggestionsEvent {
|
||||
repeated KnowledgeBaseSuggestion suggestions = 1;
|
||||
}
|
||||
|
||||
//**********************************************************
|
||||
// Login related events
|
||||
//**********************************************************
|
||||
@ -478,6 +489,7 @@ message UserEvent {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
message ToggleSplitModeFinishedEvent {
|
||||
string userID = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user