File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
packages/firestore/src/protos Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -391,6 +391,7 @@ export declare namespace firestoreV1ApiClientInterfaces {
391
391
verify ?: string ;
392
392
transform ?: DocumentTransform ;
393
393
updateMask ?: DocumentMask ;
394
+ updateTransform ?: FieldTransform [ ] ;
394
395
currentDocument ?: Precondition ;
395
396
}
396
397
interface WriteRequest {
Original file line number Diff line number Diff line change @@ -66,6 +66,13 @@ message Write {
66
66
// The field paths in this mask must not contain a reserved field name.
67
67
DocumentMask update_mask = 3 ;
68
68
69
+ // The transforms to perform after update.
70
+ //
71
+ // This field can be set only when the operation is `update`. If present, this
72
+ // write is equivalent to performing `update` and `transform` to the same
73
+ // document atomically and in order.
74
+ repeated DocumentTransform.FieldTransform update_transforms = 7 ;
75
+
69
76
// An optional precondition on the document.
70
77
//
71
78
// The write will fail if this is set and not met by the target document.
You can’t perform that action at this time.
0 commit comments