UNPKG

firestore-snapshot-utils

Version:
7 lines (6 loc) 418 B
import type { QueryDocumentSnapshot } from 'firebase-admin/firestore'; import type { DBSnapshotChanges } from './internal/DocumentChangeSnapshot.js'; export interface DebugOptions { logTimestamps?: boolean; } export declare const getDBSnapshotChanges: (beforeDocs: QueryDocumentSnapshot[], afterDocs: QueryDocumentSnapshot[], maskKeys?: Record<string, string[]>, debugOptions?: DebugOptions) => DBSnapshotChanges;