• "providers/firestore"

Index

Type aliases

DocumentSnapshot

Variables

Let firestoreInstance

firestoreInstance: any

Functions

_getValueProto

  • _getValueProto(data: any, resource: string, valueFieldName: string): string | object
  • Parameters

    • data: any
    • resource: string
    • valueFieldName: string

    Returns string | object

changeConstructor

  • changeConstructor(raw: Event): Change<DocumentSnapshot>
  • Parameters

    • raw: Event

    Returns Change<DocumentSnapshot>

document

  • Select the Firestore document to listen to for events.

    Parameters

    • path: string

      Full database path to listen to. This includes the name of the collection that the document is a part of. For example, if the collection is named "users" and the document is named "Ada", then the path is "/users/Ada".

    Returns DocumentBuilder