FirestoreProviderOptionsinterface

{
	readonly project: string;
	readonly database?: string | undefined;
	readonly host?: string | undefined;
	readonly token?: (() => string | PromiseLike<string>) | undefined;
	readonly fetch?: ((input: string, init: RequestInit) => Promise<Response>) | undefined;
}
PropertyType
.projectstring
Google Cloud project id. required readonly
.databasestring
Firestore database id. Defaults to "(default)" readonly
.hoststring
Base URL of the Firestore API, e.g. "http://127.0.0.1:8080" for the Firestore emulator. Defaults to "https://firestore.googleapis.com" readonly
.token(() => string
PromiseLike<string>)
Return an OAuth2 access token for each request, e.g. from google-auth-library or a hand-rolled service-account JWT exchange.
- Omit to send no Authorization header (correct for the Firestore emulator). readonly
.fetch((input: string, init: RequestInit) => Promise<Response>)
Fetch implementation to use for requests (defaults to the global fetch). readonly

Options for FirestoreProvider.