• "providers/firestore"

Index

Type aliases

DocumentSnapshot

QueryDocumentSnapshot

QueryDocumentSnapshot: firebase.firestore.QueryDocumentSnapshot

Variables

Let firestoreInstance

firestoreInstance: any

Functions

_getValueProto

  • _getValueProto(data: any, resource: string, valueFieldName: string): string | { createTime: { nanos: number; seconds: number }; fields: any; name: any; updateTime: { nanos: number; seconds: number } }
  • Parameters

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

    Returns string | { createTime: { nanos: number; seconds: number }; fields: any; name: any; updateTime: { nanos: number; seconds: number } }

changeConstructor

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