UNPKG

firestore-snapshot-utils

Version:
8 lines (7 loc) 367 B
import type { Query, QueryDocumentSnapshot } from 'firebase-admin/firestore'; /** * Returns all documents in a flat list from the provided DB queries. * @param queries - The DB queries to get the documents from. Can be a single * query or an array of queries. */ export declare const getDBSnapshot: (queries: Query | Query[]) => Promise<QueryDocumentSnapshot[]>;