UNPKG

@react-firebase/firestore

Version:

Efficiently Render & mutate Firestore data in your react(or react-native) app.

22 lines (21 loc) 1.59 kB
/// <reference path="../../node_modules/@types/lodash/common/common.d.ts" /> /// <reference path="../../node_modules/@types/lodash/common/array.d.ts" /> /// <reference path="../../node_modules/@types/lodash/common/collection.d.ts" /> /// <reference path="../../node_modules/@types/lodash/common/date.d.ts" /> /// <reference path="../../node_modules/@types/lodash/common/function.d.ts" /> /// <reference path="../../node_modules/@types/lodash/common/lang.d.ts" /> /// <reference path="../../node_modules/@types/lodash/common/math.d.ts" /> /// <reference path="../../node_modules/@types/lodash/common/number.d.ts" /> /// <reference path="../../node_modules/@types/lodash/common/object.d.ts" /> /// <reference path="../../node_modules/@types/lodash/common/seq.d.ts" /> /// <reference path="../../node_modules/@types/lodash/common/string.d.ts" /> /// <reference path="../../node_modules/@types/lodash/common/util.d.ts" /> import * as firebase from "firebase/app"; import "firebase/firestore"; export declare const initFirebase: () => void; export declare const getFirestore: ((conf?: any) => firebase.firestore.Firestore) & import("_").MemoizedFunction; export declare const deleteValueAtPath: (path: string) => Promise<string>; export declare const getValueAtPath: (path: string) => Promise<FirebaseFirestore.DocumentData | undefined>; export declare const setValueAtPath: (path: string, value: any) => Promise<FirebaseFirestore.WriteResult>; export declare const before: (path?: string) => Promise<void>; export declare const after: (path?: string) => Promise<void>;