Files
firebase-js-sdk/docs-devsite/firestore_pipelines.firestore.md
wu-huiandGitHub 4703c99e12 merge off pipeline into main (#9929)
* 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
2026-06-05 10:28:06 -04:00

1.8 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