5 Commits
Author SHA1 Message Date
DellaBittaandGitHub ffb88d05b6 Feat(Firestore) JSON serialization of types to improve SSR support. (#8926)
Support the ability to resume `onSnapshot` listeners in the CSR phase based on serialized `DataSnapshot`s and `QuerySnapshot`s built in the SSR phase. Allow Firestore result types to be serialized with `toJSON` and then deserialized with `fromJSON` methods on the objects.

`DocumentSnapshot` and `QuerySnapshot` deserialization methods will be standalone, tree-shakable functions `dataSnapshotFromJSON` and `querySnapshotFromJSON`.
2025-06-23 14:57:19 -04:00
Mark DuckworthandGitHub 017073ed9b Fix documentation links for function overloads and improve readability of function headings (#7864)
* Support function links to function overloads.

* Improve readability of headings for functions.
2023-12-15 16:17:10 -07:00
a537d88829 types(firestore): make withConverter retro compatible (#7441)
* types(firestore): make `withConverter` retro compatible

* style: format

* changeset added

* reference.ts: add default DocumentData parameter type for NewDbModelType to the other withConverter() functions

* add tests

* database.test.ts: move an inline comment to be above the appropriate line

* yarn docgen devsite

---------

Co-authored-by: Denver Coneybeare <[email protected]>
2023-09-29 12:31:58 -04:00
Denver ConeybeareandGitHub 1b4ba9cf27 Firestore: Fix the updateDoc() incorrect parameter type issue (#7310) 2023-06-30 14:04:55 -04:00
Christina HollandandGitHub 013938a4b2 Check in generated docs to git (#7025) 2023-02-10 14:58:50 -08:00