Skip to main content
Version: 5.x.x

FirestoreAdapterType


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

Description

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

Preview

type FirestoreAdapterType = AdapterType<Record<string, never>, getDoc, FirestoreStatuses, FirestoreExtra, FirestoreQueryParams> | AdapterType<Record<string, never>, getDocs, FirestoreStatuses, FirestoreGetDocsExtra, FirestoreQueryParams> | AdapterType<{ merge: boolean }, setDoc, FirestoreStatuses, FirestoreRefOnlyExtra, Record<string, never>> | AdapterType<Record<string, never>, updateDoc | addDoc | deleteDoc | setDoc, FirestoreStatuses, FirestoreRefOnlyExtra, Record<string, never>>;

Structure

(request: RequestInstance, requestId: string, DO_NOT_USE?: [object Object]) => Promise<ResponseReturnType<any, any, any>> | (request: RequestInstance, requestId: string, DO_NOT_USE?: [object Object]) => Promise<ResponseReturnType<any, any, any>> | (request: RequestInstance, requestId: string, DO_NOT_USE?: [object Object]) => Promise<ResponseReturnType<any, any, any>> | (request: RequestInstance, requestId: string, DO_NOT_USE?: [object Object]) => Promise<ResponseReturnType<any, any, any>>