Files
firebase-js-sdk/docs-devsite/firestore_.memorylocalcache.md
61f1a10e04 New way to config Firestore SDK Cache. (#7015)
* New way to config Firestore SDK Cache.

* fixups

* Fix some test failures

* Fixing dts file

* Add public comments

* API report

* Create brown-beers-tease.md

* warning messages and more tests

* Addressing comments

* Update API reports

* Fix provider test failure for node w/o indexeddb

* Fix node memory test

* rename cache to localCache

* Update API reports

* Tech writer review

* yarn docgen

* auth change

* Update API reports

* docgen devsite

* Fix changeset

* Another auth change

* more devsite fix

* Update API reports

* Rename indexeddb to persistent

---------

Co-authored-by: wu-hui <[email protected]>
2023-03-15 12:49:25 -04:00

36 lines
937 B
Markdown

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 %}
# MemoryLocalCache interface
Provides an in-memory cache to the SDK. This is the default cache unless explicitly configured otherwise.
To use, create an instance using the factory function , then set the instance to `FirestoreSettings.cache` and call `initializeFirestore` using the settings object.
<b>Signature:</b>
```typescript
export declare interface MemoryLocalCache
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [kind](./firestore_.memorylocalcache.md#memorylocalcachekind) | 'memory' | |
## MemoryLocalCache.kind
<b>Signature:</b>
```typescript
kind: 'memory';
```