Skip to content

Commit

Permalink
Add [jstype = JS_STRING] field option in admin.proto (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
chacha912 authored Aug 5, 2022
1 parent 79702a8 commit 9a7bacb
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 59 deletions.
112 changes: 56 additions & 56 deletions api/admin.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions api/admin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ message GetDocumentResponse {
message GetSnapshotMetaRequest {
string project_name = 1;
string document_key = 2;
uint64 server_seq = 3;
uint64 server_seq = 3 [jstype = JS_STRING];
}

message GetSnapshotMetaResponse {
bytes snapshot = 1;
uint64 lamport = 2;
uint64 lamport = 2 [jstype = JS_STRING];
}

message SearchDocumentsRequest {
Expand All @@ -131,7 +131,7 @@ message SearchDocumentsResponse {
message ListChangesRequest {
string project_name = 1;
string document_key = 2;
uint64 previous_seq = 3;
uint64 previous_seq = 3 [jstype = JS_STRING];
int32 page_size = 4;
bool is_forward = 5;
}
Expand Down

0 comments on commit 9a7bacb

Please sign in to comment.