The Functions interface for events that change state, such as Realtime Database or Cloud Firestore onWrite and onUpdate.

For more information about the format used to construct Change objects, see cloud-functions.ChangeJson.

Type parameters

  • T

Index

Constructors

Properties

Constructors

constructor

  • new Change(before: T, after: T): Change
  • Parameters

    • before: T
    • after: T

    Returns Change

Properties

after

after: T

before

before: T