Skip to content

Commit 8c9f8c8

Browse files
authored
Update firestore docs for typos (#7173)
* Update firestore docs for typos * Revert auth change
1 parent a8d6499 commit 8c9f8c8

7 files changed

+13
-13
lines changed

docs-devsite/firestore_.firestoresettings.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export declare interface FirestoreSettings
2727
| [experimentalForceLongPolling](./firestore_.firestoresettings.md#firestoresettingsexperimentalforcelongpolling) | boolean | Forces the SDKs underlying network transport (WebChannel) to use long-polling. Each response from the backend will be closed immediately after the backend sends data (by default responses are kept open in case the backend has more data to send). This avoids incompatibility issues with certain proxies, antivirus software, etc. that incorrectly buffer traffic indefinitely. Use of this option will cause some performance degradation though.<!-- -->This setting cannot be used with <code>experimentalAutoDetectLongPolling</code> and may be removed in a future release. If you find yourself using it to work around a specific network reliability issue, please tell us about it in https://github.com/firebase/firebase-js-sdk/issues/1674. |
2828
| [host](./firestore_.firestoresettings.md#firestoresettingshost) | string | The hostname to connect to. |
2929
| [ignoreUndefinedProperties](./firestore_.firestoresettings.md#firestoresettingsignoreundefinedproperties) | boolean | Whether to skip nested properties that are set to <code>undefined</code> during object serialization. If set to <code>true</code>, these properties are skipped and not written to Firestore. If set to <code>false</code> or omitted, the SDK throws an exception when it encounters properties of type <code>undefined</code>. |
30-
| [localCache](./firestore_.firestoresettings.md#firestoresettingslocalcache) | [FirestoreLocalCache](./firestore_.md#firestorelocalcache) | Specifies the cache used by the SDK. Availabe options are <code>MemoryLocalCache</code> and <code>IndexedDbLocalCache</code>, each with different configuration options.<!-- -->When unspecified, <code>MemoryLocalCache</code> will be used by default.<!-- -->NOTE: setting this field and <code>cacheSizeBytes</code> at the same time will throw exception during SDK initialization. Instead, using the configuration in the <code>FirestoreLocalCache</code> object to specify the cache size. |
30+
| [localCache](./firestore_.firestoresettings.md#firestoresettingslocalcache) | [FirestoreLocalCache](./firestore_.md#firestorelocalcache) | Specifies the cache used by the SDK. Available options are <code>MemoryLocalCache</code> and <code>IndexedDbLocalCache</code>, each with different configuration options.<!-- -->When unspecified, <code>MemoryLocalCache</code> will be used by default.<!-- -->NOTE: setting this field and <code>cacheSizeBytes</code> at the same time will throw exception during SDK initialization. Instead, using the configuration in the <code>FirestoreLocalCache</code> object to specify the cache size. |
3131
| [ssl](./firestore_.firestoresettings.md#firestoresettingsssl) | boolean | Whether to use SSL when connecting. |
3232

3333
## FirestoreSettings.cacheSizeBytes
@@ -90,7 +90,7 @@ ignoreUndefinedProperties?: boolean;
9090

9191
## FirestoreSettings.localCache
9292

93-
Specifies the cache used by the SDK. Availabe options are `MemoryLocalCache` and `IndexedDbLocalCache`<!-- -->, each with different configuration options.
93+
Specifies the cache used by the SDK. Available options are `MemoryLocalCache` and `IndexedDbLocalCache`<!-- -->, each with different configuration options.
9494

9595
When unspecified, `MemoryLocalCache` will be used by default.
9696

docs-devsite/firestore_.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ https://github.com/firebase/firebase-js-sdk
157157
| [PersistenceSettings](./firestore_.persistencesettings.md#persistencesettings_interface) | Settings that can be passed to <code>enableIndexedDbPersistence()</code> to configure Firestore persistence. |
158158
| [PersistentCacheSettings](./firestore_.persistentcachesettings.md#persistentcachesettings_interface) | An settings object to configure an <code>PersistentLocalCache</code> instance. |
159159
| [PersistentLocalCache](./firestore_.persistentlocalcache.md#persistentlocalcache_interface) | Provides a persistent cache backed by IndexedDb to the SDK.<!-- -->To use, create an instance using the factory function , then set the instance to <code>FirestoreSettings.cache</code> and call <code>initializeFirestore</code> using the settings object. |
160-
| [PersistentMultipleTabManager](./firestore_.persistentmultipletabmanager.md#persistentmultipletabmanager_interface) | A tab manager supportting multiple tabs. SDK will synchronize queries and mutations done across all tabs using the SDK. |
160+
| [PersistentMultipleTabManager](./firestore_.persistentmultipletabmanager.md#persistentmultipletabmanager_interface) | A tab manager supporting multiple tabs. SDK will synchronize queries and mutations done across all tabs using the SDK. |
161161
| [PersistentSingleTabManager](./firestore_.persistentsingletabmanager.md#persistentsingletabmanager_interface) | A tab manager supportting only one tab, no synchronization will be performed across tabs. |
162-
| [PersistentSingleTabManagerSettings](./firestore_.persistentsingletabmanagersettings.md#persistentsingletabmanagersettings_interface) | Type to configure an <code>PersistentSingleTabManager</code> instace. |
162+
| [PersistentSingleTabManagerSettings](./firestore_.persistentsingletabmanagersettings.md#persistentsingletabmanagersettings_interface) | Type to configure an <code>PersistentSingleTabManager</code> instance. |
163163
| [SnapshotListenOptions](./firestore_.snapshotlistenoptions.md#snapshotlistenoptions_interface) | An options object that can be passed to [onSnapshot()](./firestore_.md#onsnapshot) and [QuerySnapshot.docChanges()](./firestore_.querysnapshot.md#querysnapshotdocchanges) to control which types of changes to include in the result set. |
164164
| [SnapshotOptions](./firestore_.snapshotoptions.md#snapshotoptions_interface) | Options that configure how data is retrieved from a <code>DocumentSnapshot</code> (for example the desired behavior for server timestamps that have not yet been set to their final value). |
165165
| [TransactionOptions](./firestore_.transactionoptions.md#transactionoptions_interface) | Options to customize transaction behavior. |
@@ -185,7 +185,7 @@ https://github.com/firebase/firebase-js-sdk
185185
| [NestedUpdateFields](./firestore_.md#nestedupdatefields) | For each field (e.g. 'bar'), find all nested keys (e.g. {<!-- -->'bar.baz': T1, 'bar.qux': T2<!-- -->}<!-- -->). Intersect them together to make a single map containing all possible keys that are all marked as optional |
186186
| [OrderByDirection](./firestore_.md#orderbydirection) | The direction of a [orderBy()](./firestore_.md#orderby) clause is specified as 'desc' or 'asc' (descending or ascending). |
187187
| [PartialWithFieldValue](./firestore_.md#partialwithfieldvalue) | Similar to Typescript's <code>Partial&lt;T&gt;</code>, but allows nested fields to be omitted and FieldValues to be passed in as property values. |
188-
| [PersistentTabManager](./firestore_.md#persistenttabmanager) | A union of all avaialbe tab managers. |
188+
| [PersistentTabManager](./firestore_.md#persistenttabmanager) | A union of all available tab managers. |
189189
| [Primitive](./firestore_.md#primitive) | Primitive types. |
190190
| [QueryConstraintType](./firestore_.md#queryconstrainttype) | Describes the different query constraints available in this SDK. |
191191
| [QueryFilterConstraint](./firestore_.md#queryfilterconstraint) | <code>QueryFilterConstraint</code> is a helper union type that represents [QueryFieldFilterConstraint](./firestore_.queryfieldfilterconstraint.md#queryfieldfilterconstraint_class) and [QueryCompositeFilterConstraint](./firestore_.querycompositefilterconstraint.md#querycompositefilterconstraint_class)<!-- -->. |
@@ -2208,7 +2208,7 @@ export declare type PartialWithFieldValue<T> = Partial<T> | (T extends Primitive
22082208

22092209
## PersistentTabManager
22102210

2211-
A union of all avaialbe tab managers.
2211+
A union of all available tab managers.
22122212

22132213
<b>Signature:</b>
22142214

docs-devsite/firestore_.persistentmultipletabmanager.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ https://github.com/firebase/firebase-js-sdk
1010
{% endcomment %}
1111

1212
# PersistentMultipleTabManager interface
13-
A tab manager supportting multiple tabs. SDK will synchronize queries and mutations done across all tabs using the SDK.
13+
A tab manager supporting multiple tabs. SDK will synchronize queries and mutations done across all tabs using the SDK.
1414

1515
<b>Signature:</b>
1616

docs-devsite/firestore_.persistentsingletabmanagersettings.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ https://github.com/firebase/firebase-js-sdk
1010
{% endcomment %}
1111

1212
# PersistentSingleTabManagerSettings interface
13-
Type to configure an `PersistentSingleTabManager` instace.
13+
Type to configure an `PersistentSingleTabManager` instance.
1414

1515
<b>Signature:</b>
1616

packages/auth/api-extractor.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
"untrimmedFilePath": "<projectFolder>/dist/<unscopedPackageName>.d.ts",
77
"publicTrimmedFilePath": "<projectFolder>/dist/<unscopedPackageName>-public.d.ts"
88
}
9-
}
9+
}

packages/firestore/src/api/cache_config.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ class SingleTabManagerImpl implements PersistentSingleTabManager {
214214
}
215215

216216
/**
217-
* A tab manager supportting multiple tabs. SDK will synchronize queries and
217+
* A tab manager supporting multiple tabs. SDK will synchronize queries and
218218
* mutations done across all tabs using the SDK.
219219
*/
220220
export type PersistentMultipleTabManager = {
@@ -265,14 +265,14 @@ class MultiTabManagerImpl implements PersistentMultipleTabManager {
265265
}
266266

267267
/**
268-
* A union of all avaialbe tab managers.
268+
* A union of all available tab managers.
269269
*/
270270
export type PersistentTabManager =
271271
| PersistentSingleTabManager
272272
| PersistentMultipleTabManager;
273273

274274
/**
275-
* Type to configure an `PersistentSingleTabManager` instace.
275+
* Type to configure an `PersistentSingleTabManager` instance.
276276
*/
277277
export type PersistentSingleTabManagerSettings = {
278278
/**

packages/firestore/src/api/settings.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface FirestoreSettings extends LiteSettings {
5656
cacheSizeBytes?: number;
5757

5858
/**
59-
* Specifies the cache used by the SDK. Availabe options are `MemoryLocalCache`
59+
* Specifies the cache used by the SDK. Available options are `MemoryLocalCache`
6060
* and `IndexedDbLocalCache`, each with different configuration options.
6161
*
6262
* When unspecified, `MemoryLocalCache` will be used by default.

0 commit comments

Comments
 (0)