@@ -137,7 +137,7 @@ export interface DocumentOptions<Document extends string = string> extends Event
137
137
}
138
138
139
139
/**
140
- * Event handler which triggers when a document is created, updated, or deleted in Firestore.
140
+ * Event handler that triggers when a document is created, updated, or deleted in Firestore.
141
141
*
142
142
* @param document - The Firestore document path to trigger on.
143
143
* @param handler - Event handler which is run every time a Firestore create, update, or delete occurs.
@@ -150,7 +150,7 @@ export function onDocumentWritten<Document extends string>(
150
150
) : CloudFunction < FirestoreEvent < Change < DocumentSnapshot > | undefined , ParamsOf < Document > > > ;
151
151
152
152
/**
153
- * Event handler which triggers when a document is created, updated, or deleted in Firestore.
153
+ * Event handler that triggers when a document is created, updated, or deleted in Firestore.
154
154
*
155
155
* @param opts - Options that can be set on an individual event-handling function.
156
156
* @param handler - Event handler which is run every time a Firestore create, update, or delete occurs.
@@ -163,7 +163,7 @@ export function onDocumentWritten<Document extends string>(
163
163
) : CloudFunction < FirestoreEvent < Change < DocumentSnapshot > | undefined , ParamsOf < Document > > > ;
164
164
165
165
/**
166
- * Event handler which triggers when a document is created, updated, or deleted in Firestore.
166
+ * Event handler that triggers when a document is created, updated, or deleted in Firestore.
167
167
*
168
168
* @param documentOrOpts - Options or a string document path.
169
169
* @param handler - Event handler which is run every time a Firestore create, update, or delete occurs.
@@ -178,7 +178,7 @@ export function onDocumentWritten<Document extends string>(
178
178
}
179
179
180
180
/**
181
- * Event handler which triggers when a document is created, updated, or deleted in Firestore.
181
+ * Event handler that triggers when a document is created, updated, or deleted in Firestore.
182
182
* This trigger will also provide the authentication context of the principal who triggered the event.
183
183
*
184
184
* @param document - The Firestore document path to trigger on.
@@ -192,7 +192,7 @@ export function onDocumentWrittenWithAuthContext<Document extends string>(
192
192
) : CloudFunction < FirestoreEvent < Change < DocumentSnapshot > | undefined , ParamsOf < Document > > > ;
193
193
194
194
/**
195
- * Event handler which triggers when a document is created, updated, or deleted in Firestore.
195
+ * Event handler that triggers when a document is created, updated, or deleted in Firestore.
196
196
* This trigger will also provide the authentication context of the principal who triggered the event.
197
197
*
198
198
* @param opts - Options that can be set on an individual event-handling function.
@@ -206,7 +206,7 @@ export function onDocumentWrittenWithAuthContext<Document extends string>(
206
206
) : CloudFunction < FirestoreEvent < Change < DocumentSnapshot > | undefined , ParamsOf < Document > > > ;
207
207
208
208
/**
209
- * Event handler which triggers when a document is created, updated, or deleted in Firestore.
209
+ * Event handler that triggers when a document is created, updated, or deleted in Firestore.
210
210
* This trigger will also provide the authentication context of the principal who triggered the event.
211
211
*
212
212
* @param opts - Options or a string document path.
@@ -222,7 +222,7 @@ export function onDocumentWrittenWithAuthContext<Document extends string>(
222
222
}
223
223
224
224
/**
225
- * Event handler which triggers when a document is created in Firestore.
225
+ * Event handler that triggers when a document is created in Firestore.
226
226
*
227
227
* @param document - The Firestore document path to trigger on.
228
228
* @param handler - Event handler which is run every time a Firestore create occurs.
@@ -235,7 +235,7 @@ export function onDocumentCreated<Document extends string>(
235
235
) : CloudFunction < FirestoreEvent < QueryDocumentSnapshot | undefined , ParamsOf < Document > > > ;
236
236
237
237
/**
238
- * Event handler which triggers when a document is created in Firestore.
238
+ * Event handler that triggers when a document is created in Firestore.
239
239
*
240
240
* @param opts - Options that can be set on an individual event-handling function.
241
241
* @param handler - Event handler which is run every time a Firestore create occurs.
@@ -248,7 +248,7 @@ export function onDocumentCreated<Document extends string>(
248
248
) : CloudFunction < FirestoreEvent < QueryDocumentSnapshot | undefined , ParamsOf < Document > > > ;
249
249
250
250
/**
251
- * Event handler which triggers when a document is created in Firestore.
251
+ * Event handler that triggers when a document is created in Firestore.
252
252
*
253
253
* @param documentOrOpts - Options or a string document path.
254
254
* @param handler - Event handler which is run every time a Firestore create occurs.
@@ -263,7 +263,7 @@ export function onDocumentCreated<Document extends string>(
263
263
}
264
264
265
265
/**
266
- * Event handler which triggers when a document is created in Firestore.
266
+ * Event handler that triggers when a document is created in Firestore.
267
267
* This trigger will also provide the authentication context of the principal who triggered the event.
268
268
*
269
269
* @param document - The Firestore document path to trigger on.
@@ -277,7 +277,7 @@ export function onDocumentCreatedWithAuthContext<Document extends string>(
277
277
) : CloudFunction < FirestoreEvent < QueryDocumentSnapshot | undefined , ParamsOf < Document > > > ;
278
278
279
279
/**
280
- * Event handler which triggers when a document is created in Firestore.
280
+ * Event handler that triggers when a document is created in Firestore.
281
281
* This trigger will also provide the authentication context of the principal who triggered the event.
282
282
*
283
283
* @param opts - Options that can be set on an individual event-handling function.
@@ -291,7 +291,7 @@ export function onDocumentCreatedWithAuthContext<Document extends string>(
291
291
) : CloudFunction < FirestoreEvent < QueryDocumentSnapshot | undefined , ParamsOf < Document > > > ;
292
292
293
293
/**
294
- * Event handler which triggers when a document is created in Firestore.
294
+ * Event handler that triggers when a document is created in Firestore.
295
295
*
296
296
* @param documentOrOpts - Options or a string document path.
297
297
* @param handler - Event handler which is run every time a Firestore create occurs.
@@ -306,7 +306,7 @@ export function onDocumentCreatedWithAuthContext<Document extends string>(
306
306
}
307
307
308
308
/**
309
- * Event handler which triggers when a document is updated in Firestore.
309
+ * Event handler that triggers when a document is updated in Firestore.
310
310
*
311
311
* @param document - The Firestore document path to trigger on.
312
312
* @param handler - Event handler which is run every time a Firestore update occurs.
@@ -318,7 +318,7 @@ export function onDocumentUpdated<Document extends string>(
318
318
) => any | Promise < any >
319
319
) : CloudFunction < FirestoreEvent < Change < QueryDocumentSnapshot > | undefined , ParamsOf < Document > > > ;
320
320
/**
321
- * Event handler which triggers when a document is updated in Firestore.
321
+ * Event handler that triggers when a document is updated in Firestore.
322
322
*
323
323
* @param opts - Options that can be set on an individual event-handling function.
324
324
* @param handler - Event handler which is run every time a Firestore update occurs.
@@ -331,7 +331,7 @@ export function onDocumentUpdated<Document extends string>(
331
331
) : CloudFunction < FirestoreEvent < Change < QueryDocumentSnapshot > | undefined , ParamsOf < Document > > > ;
332
332
333
333
/**
334
- * Event handler which triggers when a document is updated in Firestore.
334
+ * Event handler that triggers when a document is updated in Firestore.
335
335
*
336
336
* @param documentOrOpts - Options or a string document path.
337
337
* @param handler - Event handler which is run every time a Firestore update occurs.
@@ -346,7 +346,7 @@ export function onDocumentUpdated<Document extends string>(
346
346
}
347
347
348
348
/**
349
- * Event handler which triggers when a document is updated in Firestore.
349
+ * Event handler that triggers when a document is updated in Firestore.
350
350
* This trigger will also provide the authentication context of the principal who triggered the event.
351
351
*
352
352
* @param document - The Firestore document path to trigger on.
@@ -359,7 +359,7 @@ export function onDocumentUpdatedWithAuthContext<Document extends string>(
359
359
) => any | Promise < any >
360
360
) : CloudFunction < FirestoreEvent < Change < QueryDocumentSnapshot > | undefined , ParamsOf < Document > > > ;
361
361
/**
362
- * Event handler which triggers when a document is updated in Firestore.
362
+ * Event handler that triggers when a document is updated in Firestore.
363
363
* This trigger will also provide the authentication context of the principal who triggered the event.
364
364
*
365
365
* @param opts - Options that can be set on an individual event-handling function.
@@ -373,7 +373,7 @@ export function onDocumentUpdatedWithAuthContext<Document extends string>(
373
373
) : CloudFunction < FirestoreEvent < Change < QueryDocumentSnapshot > | undefined , ParamsOf < Document > > > ;
374
374
375
375
/**
376
- * Event handler which triggers when a document is updated in Firestore.
376
+ * Event handler that triggers when a document is updated in Firestore.
377
377
*
378
378
* @param documentOrOpts - Options or a string document path.
379
379
* @param handler - Event handler which is run every time a Firestore update occurs.
@@ -388,7 +388,7 @@ export function onDocumentUpdatedWithAuthContext<Document extends string>(
388
388
}
389
389
390
390
/**
391
- * Event handler which triggers when a document is deleted in Firestore.
391
+ * Event handler that triggers when a document is deleted in Firestore.
392
392
*
393
393
* @param document - The Firestore document path to trigger on.
394
394
* @param handler - Event handler which is run every time a Firestore delete occurs.
@@ -401,7 +401,7 @@ export function onDocumentDeleted<Document extends string>(
401
401
) : CloudFunction < FirestoreEvent < QueryDocumentSnapshot | undefined , ParamsOf < Document > > > ;
402
402
403
403
/**
404
- * Event handler which triggers when a document is deleted in Firestore.
404
+ * Event handler that triggers when a document is deleted in Firestore.
405
405
*
406
406
* @param opts - Options that can be set on an individual event-handling function.
407
407
* @param handler - Event handler which is run every time a Firestore delete occurs.
@@ -414,7 +414,7 @@ export function onDocumentDeleted<Document extends string>(
414
414
) : CloudFunction < FirestoreEvent < QueryDocumentSnapshot | undefined , ParamsOf < Document > > > ;
415
415
416
416
/**
417
- * Event handler which triggers when a document is deleted in Firestore.
417
+ * Event handler that triggers when a document is deleted in Firestore.
418
418
*
419
419
* @param documentOrOpts - Options or a string document path.
420
420
* @param handler - Event handler which is run every time a Firestore delete occurs.
@@ -429,7 +429,7 @@ export function onDocumentDeleted<Document extends string>(
429
429
}
430
430
431
431
/**
432
- * Event handler which triggers when a document is deleted in Firestore.
432
+ * Event handler that triggers when a document is deleted in Firestore.
433
433
* This trigger will also provide the authentication context of the principal who triggered the event.
434
434
*
435
435
* @param document - The Firestore document path to trigger on.
@@ -443,7 +443,7 @@ export function onDocumentDeletedWithAuthContext<Document extends string>(
443
443
) : CloudFunction < FirestoreEvent < QueryDocumentSnapshot | undefined , ParamsOf < Document > > > ;
444
444
445
445
/**
446
- * Event handler which triggers when a document is deleted in Firestore.
446
+ * Event handler that triggers when a document is deleted in Firestore.
447
447
* This trigger will also provide the authentication context of the principal who triggered the event.
448
448
*
449
449
* @param opts - Options that can be set on an individual event-handling function.
@@ -457,7 +457,7 @@ export function onDocumentDeletedWithAuthContext<Document extends string>(
457
457
) : CloudFunction < FirestoreEvent < QueryDocumentSnapshot | undefined , ParamsOf < Document > > > ;
458
458
459
459
/**
460
- * Event handler which triggers when a document is deleted in Firestore.
460
+ * Event handler that triggers when a document is deleted in Firestore.
461
461
*
462
462
* @param documentOrOpts - Options or a string document path.
463
463
* @param handler - Event handler which is run every time a Firestore delete occurs.
0 commit comments