Skip to main content
Version: 5.x.x

FirestoreOnSnapshotExtra


import { FirestoreOnSnapshotExtra } from "@hyper-fetch/firebase"

Description

Defined in adapter/types/adapter.firestore.types.ts:62

Preview

type FirestoreOnSnapshotExtra = {
groupedResult: { added: DocumentSnapshot[]; modified: DocumentSnapshot[]; removed: DocumentSnapshot[] };
ref: DocumentReference | CollectionReference;
snapshot: DocumentSnapshot;
unsubscribe: FirestoreUnsubscribe;
}

Structure

{
groupedResult: {
added: DocumentSnapshot[];
modified: DocumentSnapshot[];
removed: DocumentSnapshot[];
};
ref: DocumentReference | CollectionReference;
snapshot: DocumentSnapshot;
unsubscribe: FirestoreUnsubscribe;
}