File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Firestore/Protos/protos/firestore/local Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,22 @@ message NoDocument {
20
20
google.protobuf.Timestamp read_time = 2 ;
21
21
}
22
22
23
- // Represents either an existing document or the explicitly known absence of a
24
- // document.
23
+ // Represents either an existing document, the explicitly known absence of a document, or a document
24
+ // that is known to exist (at some version) but whose contents are unknown
25
25
message MaybeDocument {
26
26
oneof document_type {
27
27
// Used if the document is known to not exist.
28
28
NoDocument no_document = 1 ;
29
29
30
30
// The document (if it exists).
31
31
google.firestore.v1beta1.Document document = 2 ;
32
+
33
+ // Used if the document is known to exist but its data is unknown
34
+ UnknownDocument unknown_document = 3 ;
32
35
}
36
+
37
+ // `hasCommittedMutations` marks documents that were written to the remote socument store based
38
+ // on a write acknowledgment. These documents are potentially inconsistent with the backend's
39
+ // copy and use the write's commit version as their document version.
40
+ bool hasCommittedMutations = 4 ;
33
41
}
You can’t perform that action at this time.
0 commit comments