firestore-snapshot-utils
Version:
[](https://github.com/ericvera/firestore-snapshot-utils/blob/master/LICENSE) [ • 418 B
TypeScript
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;