Pole przyrostu Firestore
const userRef = db.collection('documents').doc('document_id');
const increment = firebase.firestore.FieldValue.increment(1);
userRef.update({ FieldToIncrease: increment });
ChernobylBob