Como trabalhar com o `Cloud Functions shell` com o Firestore

Corrida:

firebase experimental:functions:shell

Quando tento chamar minha função da seguinte maneira:

sendEmail('data', {params: 'commentId:12'})

Eu recebo:

Info: Function crashed TypeError: Cannot use 'in' operator to search for 'exists' in data

Como iniciar o novo onWrite em umFirestore função de nuvem acionada

questionAnswers(1)

yourAnswerToTheQuestion