Complete browser extension gRPC flow
This commit is contained in:
@@ -58,12 +58,14 @@ func (*GetSessionStatusRequest) Descriptor() ([]byte, []int) {
|
||||
}
|
||||
|
||||
type GetSessionStatusResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Locked bool `protobuf:"varint,1,opt,name=locked,proto3" json:"locked,omitempty"`
|
||||
Dirty bool `protobuf:"varint,2,opt,name=dirty,proto3" json:"dirty,omitempty"`
|
||||
EntryCount uint32 `protobuf:"varint,3,opt,name=entry_count,json=entryCount,proto3" json:"entry_count,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Locked bool `protobuf:"varint,1,opt,name=locked,proto3" json:"locked,omitempty"`
|
||||
Dirty bool `protobuf:"varint,2,opt,name=dirty,proto3" json:"dirty,omitempty"`
|
||||
EntryCount uint32 `protobuf:"varint,3,opt,name=entry_count,json=entryCount,proto3" json:"entry_count,omitempty"`
|
||||
PendingApprovalCount uint32 `protobuf:"varint,4,opt,name=pending_approval_count,json=pendingApprovalCount,proto3" json:"pending_approval_count,omitempty"`
|
||||
TokenPendingApprovalCount uint32 `protobuf:"varint,5,opt,name=token_pending_approval_count,json=tokenPendingApprovalCount,proto3" json:"token_pending_approval_count,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *GetSessionStatusResponse) Reset() {
|
||||
@@ -117,6 +119,20 @@ func (x *GetSessionStatusResponse) GetEntryCount() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *GetSessionStatusResponse) GetPendingApprovalCount() uint32 {
|
||||
if x != nil {
|
||||
return x.PendingApprovalCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *GetSessionStatusResponse) GetTokenPendingApprovalCount() uint32 {
|
||||
if x != nil {
|
||||
return x.TokenPendingApprovalCount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type OpenVaultRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||||
@@ -2738,12 +2754,14 @@ var File_proto_keepassgo_v1_keepassgo_proto protoreflect.FileDescriptor
|
||||
const file_proto_keepassgo_v1_keepassgo_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\"proto/keepassgo/v1/keepassgo.proto\x12\fkeepassgo.v1\"\x19\n" +
|
||||
"\x17GetSessionStatusRequest\"i\n" +
|
||||
"\x17GetSessionStatusRequest\"\xe0\x01\n" +
|
||||
"\x18GetSessionStatusResponse\x12\x16\n" +
|
||||
"\x06locked\x18\x01 \x01(\bR\x06locked\x12\x14\n" +
|
||||
"\x05dirty\x18\x02 \x01(\bR\x05dirty\x12\x1f\n" +
|
||||
"\ventry_count\x18\x03 \x01(\rR\n" +
|
||||
"entryCount\"f\n" +
|
||||
"entryCount\x124\n" +
|
||||
"\x16pending_approval_count\x18\x04 \x01(\rR\x14pendingApprovalCount\x12?\n" +
|
||||
"\x1ctoken_pending_approval_count\x18\x05 \x01(\rR\x19tokenPendingApprovalCount\"f\n" +
|
||||
"\x10OpenVaultRequest\x12\x12\n" +
|
||||
"\x04path\x18\x01 \x01(\tR\x04path\x12\x1a\n" +
|
||||
"\bpassword\x18\x02 \x01(\tR\bpassword\x12\"\n" +
|
||||
|
||||
@@ -41,6 +41,8 @@ message GetSessionStatusResponse {
|
||||
bool locked = 1;
|
||||
bool dirty = 2;
|
||||
uint32 entry_count = 3;
|
||||
uint32 pending_approval_count = 4;
|
||||
uint32 token_pending_approval_count = 5;
|
||||
}
|
||||
|
||||
message OpenVaultRequest {
|
||||
|
||||
Reference in New Issue
Block a user