

# FirestoreAdapterType

<div class="api-docs__separator" data-reactroot="">

---

</div><div class="api-docs__import" data-reactroot="">

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

</div><div class="api-docs__section">

## Description

</div><div class="api-docs__description"><span class="api-docs__do-not-parse">



</span></div><p class="api-docs__definition">

Defined in [adapter/types/adapter.firestore.types.ts:12](https://github.com/BetterTyped/hyper-fetch/blob/c3e2c45/packages/adapter-firebase/src/adapter/types/adapter.firestore.types.ts#L12)

</p><div class="api-docs__section">

## Preview

</div><div class="api-docs__preview type single">

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

</div><div class="api-docs__section">

## Structure

</div><div class="api-docs__returns">

```ts
AdapterType<[object Object], onSnapshot, FirestoreStatuses, FirestoreOnSnapshotExtra, FirestoreQueryParams> | AdapterType<Record<string, never>, getDoc, FirestoreStatuses, FirestoreExtra, FirestoreQueryParams> | AdapterType<Record<string, never>, getDocs, FirestoreStatuses, FirestoreGetDocsExtra, FirestoreQueryParams> | AdapterType<[object Object], setDoc, FirestoreStatuses, FirestoreGetDocsExtra, Record<string, never>> | AdapterType<Record<string, never>, updateDoc | addDoc | deleteDoc, FirestoreStatuses, FirestoreRefOnlyExtra, Record<string, never>>
```

</div>