File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
packages/firestore/src/protos Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,12 @@ message BundleMetadata {
91
91
92
92
// The schema version of the bundle.
93
93
uint32 version = 3 ;
94
+
95
+ // The number of documents in the bundle.
96
+ uint32 total_documents = 4 ;
97
+
98
+ // The size of the bundle in bytes, excluding this `BundleMetadata`.
99
+ uint64 total_bytes = 5 ;
94
100
}
95
101
96
102
// A Firestore bundle is a length-prefixed stream of JSON representations of
Original file line number Diff line number Diff line change @@ -68,6 +68,12 @@ interface BundleMetadata {
68
68
69
69
/** BundleMetadata version */
70
70
version ?: number | null ;
71
+
72
+ /** BundleMetadata totalDocuments */
73
+ totalDocuments ?: number | null ;
74
+
75
+ /** BundleMetadata totalBytes */
76
+ totalBytes ?: number | null ;
71
77
}
72
78
73
79
/** Properties of a BundleElement. */
You can’t perform that action at this time.
0 commit comments