mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
* chore(ci): make all firestore integration tests optional * fix: align expressions and pipelines, address review comments, update yarn.lock, and fix package versions * chore: update yarn.lock after merge * fix: restore firestore package version and devDependencies to 4.15.0
1.7 KiB
1.7 KiB
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
Firestore class
The Cloud Firestore service interface.
Do not call this constructor directly. Instead, use getFirestore().
Signature:
export declare class Firestore
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| app | FirebaseApp | The FirebaseApp associated with this Firestore service instance. |
|
| type | 'firestore-lite' | 'firestore' | Whether it's a Firestore or Firestore Lite instance. |
Methods
| Method | Modifiers | Description |
|---|---|---|
| toJSON() | Returns a JSON-serializable representation of this Firestore instance. |
Firestore.app
The FirebaseApp associated with this Firestore service instance.
Signature:
get app(): FirebaseApp;
Firestore.type
Whether it's a Firestore or Firestore Lite instance.
Signature:
type: 'firestore-lite' | 'firestore';
Firestore.toJSON()
Returns a JSON-serializable representation of this Firestore instance.
Signature:
toJSON(): object;
Returns:
object