From 025f2a1037582da7d1afeb7a4d143cb7a154ec9d Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Thu, 18 Jul 2024 16:53:00 -0400
Subject: [PATCH] Spelling (#8280)
Numerous fixes to spelling across the SDK.
---
.changeset/late-humans-tan.md | 9 ++++++
.editorconfig | 2 +-
.github/ISSUE_TEMPLATE/bug_report_v2.yaml | 2 +-
.github/workflows/release-prod.yml | 2 +-
.github/workflows/test-all.yml | 2 +-
.github/workflows/test-changed-auth.yml | 2 +-
README.md | 2 +-
config/api-extractor.json | 2 +-
config/karma.saucelabs.js | 2 +-
docs-devsite/auth.githubauthprovider.md | 10 +++----
docs-devsite/database.md | 4 +--
docs-devsite/firestore_.md | 20 ++++++-------
.../firestore_.persistentsingletabmanager.md | 2 +-
.../firestore_lite.firestoredataconverter.md | 8 +++---
docs-devsite/firestore_lite.md | 18 ++++++------
docs-devsite/performance.performancetrace.md | 2 +-
docs-devsite/remote-config.value.md | 4 +--
docs-devsite/storage.fullmetadata.md | 4 +--
docs-devsite/storage.md | 4 +--
docs-devsite/vertexai-preview.chatsession.md | 4 +--
.../vertexai-preview.functiondeclaration.md | 4 +--
packages/analytics/src/errors.ts | 2 +-
packages/analytics/src/helpers.ts | 2 +-
packages/app-check-compat/src/service.ts | 2 +-
packages/app-check/src/api.test.ts | 2 +-
packages/app-check/src/storage.ts | 2 +-
packages/app-compat/src/firebaseApp.ts | 2 +-
packages/app-compat/src/public-types.ts | 4 +--
packages/app/src/api.test.ts | 10 +++----
packages/app/src/firebaseServerApp.ts | 2 +-
packages/app/src/heartbeatService.ts | 2 +-
packages/auth-compat/CHANGELOG.md | 2 +-
packages/auth-compat/demo/public/index.html | 2 +-
.../auth-compat/demo/public/manifest.json | 2 +-
packages/auth-compat/demo/public/script.js | 2 +-
packages/auth-compat/demo/public/style.css | 2 +-
packages/auth-compat/karma.conf.js | 2 +-
packages/auth-compat/src/auth.test.ts | 2 +-
.../integration/webdriver/static/index.html | 2 +-
packages/auth/cordova/demo/www/index.html | 2 +-
packages/auth/cordova/demo/www/style.css | 2 +-
packages/auth/demo/public/index.html | 2 +-
packages/auth/demo/public/manifest.json | 2 +-
packages/auth/demo/public/style.css | 2 +-
packages/auth/demo/src/index.js | 4 +--
packages/auth/index.ts | 2 +-
packages/auth/karma.conf.js | 2 +-
.../auth/src/api/authentication/mfa.test.ts | 2 +-
packages/auth/src/api/index.test.ts | 4 +--
packages/auth/src/core/auth/auth_impl.ts | 2 +-
packages/auth/src/core/errors.ts | 2 +-
.../persistence_user_manager.test.ts | 2 +-
packages/auth/src/core/providers/github.ts | 8 +++---
.../src/core/strategies/email_link.test.ts | 2 +-
.../auth/src/core/user/reauthenticate.test.ts | 2 +-
.../auth/src/core/user/token_manager.test.ts | 4 +--
packages/auth/src/core/util/handler.ts | 2 +-
.../auth/src/platform_browser/iframe/gapi.ts | 2 +-
.../messagechannel/promise.test.ts | 2 +-
.../messagechannel/receiver.ts | 4 +--
.../persistence/indexed_db.test.ts | 2 +-
.../recaptcha/recaptcha_loader.ts | 2 +-
.../platform_browser/strategies/phone.test.ts | 4 +--
.../platform_cordova/popup_redirect/events.ts | 6 ++--
.../platform_cordova/popup_redirect/utils.ts | 4 +--
.../persistence/react_native.ts | 2 +-
.../flows/firebaseserverapp.test.ts | 4 +--
.../auth/test/integration/flows/totp.test.ts | 2 +-
.../test/integration/webdriver/popup.test.ts | 10 +++----
.../integration/webdriver/redirect.test.ts | 10 +++----
.../integration/webdriver/static/index.html | 2 +-
.../integration/webdriver/util/auth_driver.ts | 2 +-
.../integration/webdriver/util/idp_page.ts | 4 +--
packages/component/CHANGELOG.md | 2 +-
packages/component/src/provider.test.ts | 16 +++++------
packages/component/src/provider.ts | 6 ++--
packages/component/src/types.ts | 2 +-
.../database-compat/test/helpers/events.ts | 2 +-
packages/database-compat/test/helpers/util.ts | 2 +-
packages/database-compat/test/info.test.ts | 2 +-
packages/database-compat/test/promise.test.ts | 8 +++---
packages/database-compat/test/query.test.ts | 2 +-
.../database-compat/test/transaction.test.ts | 2 +-
packages/database/CHANGELOG.md | 2 +-
packages/database/src/api/Database.ts | 7 ++---
packages/database/src/api/Reference_impl.ts | 8 +++---
.../src/core/AppCheckTokenProvider.ts | 2 +-
.../database/src/core/AuthTokenProvider.ts | 2 +-
packages/database/src/core/WriteTree.ts | 2 +-
packages/database/src/core/util/NextPushId.ts | 2 +-
packages/database/src/core/util/Tree.ts | 2 +-
packages/database/src/core/util/util.ts | 4 +--
.../src/realtime/BrowserPollConnection.ts | 2 +-
.../database/test/helpers/syncPointSpec.json | 16 +++++------
packages/firebase/CHANGELOG.md | 4 +--
packages/firebase/compat/index.d.ts | 20 ++++++-------
packages/firebase/compat/index.ts | 2 +-
packages/firestore-compat/test/bundle.test.ts | 2 +-
.../firestore-compat/test/database.test.ts | 2 +-
.../firestore-compat/test/get_options.test.ts | 28 +++++++++----------
.../test/transactions.test.ts | 6 ++--
packages/firestore/CHANGELOG.md | 18 ++++++------
packages/firestore/karma.conf.js | 6 ++--
packages/firestore/lite/index.ts | 4 +--
packages/firestore/rollup.config.lite.js | 8 +++---
packages/firestore/rollup.shared.js | 2 +-
packages/firestore/scripts/build-bundle.ts | 2 +-
.../firestore/scripts/rename-internals.ts | 2 +-
packages/firestore/src/api/aggregate.ts | 2 +-
packages/firestore/src/api/cache_config.ts | 12 ++++----
packages/firestore/src/api/transaction.ts | 4 +--
packages/firestore/src/lite-api/reference.ts | 8 +++---
.../firestore/src/lite-api/reference_impl.ts | 2 +-
packages/firestore/src/lite-api/snapshot.ts | 4 +--
packages/firestore/src/lite-api/timestamp.ts | 4 +--
.../firestore/src/lite-api/transaction.ts | 4 +--
.../src/lite-api/user_data_reader.ts | 2 +-
.../firestore/src/local/index_backfiller.ts | 6 ++--
.../firestore/src/local/indexeddb_schema.ts | 2 +-
.../src/local/memory_mutation_queue.ts | 4 +--
.../src/local/memory_remote_document_cache.ts | 2 +-
.../src/local/memory_target_cache.ts | 4 +--
packages/firestore/src/local/simple_db.ts | 4 +--
packages/firestore/src/model/document.ts | 2 +-
packages/firestore/src/model/path.ts | 2 +-
.../google/firestore/v1/firestore.proto | 2 +-
.../protos/google/firestore/v1/write.proto | 2 +-
packages/firestore/src/remote/remote_store.ts | 2 +-
packages/firestore/src/remote/rpc_error.ts | 2 +-
packages/firestore/src/util/array.ts | 2 +-
packages/firestore/src/util/async_queue.ts | 2 +-
.../firestore/src/util/async_queue_impl.ts | 2 +-
packages/firestore/src/util/error.ts | 2 +-
.../test/integration/api/aggregation.test.ts | 6 ++--
.../test/integration/api/bundle.test.ts | 2 +-
.../test/integration/api/database.test.ts | 2 +-
.../test/integration/api/get_options.test.ts | 28 +++++++++----------
.../api/numeric_transforms.test.ts | 4 +--
.../test/integration/api/query.test.ts | 2 +-
...st.ts => snapshot_listener_source.test.ts} | 0
.../test/integration/api/transactions.test.ts | 8 +++---
.../firestore/test/lite/integration.test.ts | 6 ++--
.../firestore/test/unit/api/database.test.ts | 2 +-
.../test/unit/lite-api/types.test.ts | 2 +-
.../test/unit/local/bundle_cache.test.ts | 2 +-
.../unit/local/indexeddb_persistence.test.ts | 2 +-
.../test/unit/local/mutation_queue.test.ts | 4 +--
.../unit/local/persistence_test_helpers.ts | 2 +-
.../test/unit/local/target_cache.test.ts | 2 +-
.../unit/model/target_index_matcher.test.ts | 2 +-
.../test/unit/remote/bloom_filter.test.ts | 4 +--
.../test/unit/remote/serializer.helper.ts | 2 +-
.../unit/specs/existence_filter_spec.test.ts | 2 +-
packages/functions/CHANGELOG.md | 2 +-
packages/functions/karma.conf.js | 2 +-
packages/installations-types/index.d.ts | 2 +-
.../helpers/get-installation-entry.test.ts | 2 +-
.../src/helpers/get-installation-entry.ts | 2 +-
packages/installations/src/util/errors.ts | 2 +-
.../src/testing/fakes/service-worker.ts | 2 +-
.../src/performance.test.ts | 2 +-
packages/performance-types/index.d.ts | 2 +-
packages/performance/src/public_types.ts | 2 +-
packages/performance/src/resources/trace.ts | 2 +-
.../performance/src/services/api_service.ts | 2 +-
.../src/services/iid_service.test.ts | 2 +-
.../services/initialization_service.test.ts | 4 +--
.../services/oob_resources_service.test.ts | 2 +-
.../src/services/oob_resources_service.ts | 2 +-
.../performance/src/services/perf_logger.ts | 4 +--
.../services/remote_config_service.test.ts | 8 +++---
.../src/services/remote_config_service.ts | 2 +-
.../src/services/transport_service.test.ts | 2 +-
.../src/utils/metric_utils.test.ts | 6 ++--
packages/remote-config-types/index.d.ts | 2 +-
packages/remote-config/CHANGELOG.md | 2 +-
packages/remote-config/src/public_types.ts | 2 +-
.../test/client/rest_client.test.ts | 2 +-
.../src/impl/test_environment.ts | 2 +-
.../src/public_types/index.ts | 2 +-
packages/rules-unit-testing/src/util.ts | 2 +-
packages/storage-compat/src/reference.ts | 2 +-
packages/storage/CHANGELOG.md | 6 ++--
packages/storage/src/api.ts | 2 +-
.../storage/src/implementation/connection.ts | 2 +-
packages/storage/src/public-types.ts | 2 +-
packages/storage/src/reference.ts | 2 +-
packages/storage/test/unit/requests.test.ts | 2 +-
packages/template/README.md | 2 +-
packages/template/src/index.test.ts | 2 +-
packages/util/CHANGELOG.md | 2 +-
packages/util/src/deferred.ts | 2 +-
packages/util/src/errors.ts | 2 +-
packages/util/src/json.ts | 2 +-
packages/util/src/subscribe.ts | 2 +-
packages/util/src/utf8.ts | 2 +-
packages/util/test/subscribe.test.ts | 2 +-
packages/vertexai/src/methods/chat-session.ts | 4 +--
packages/vertexai/src/types/enums.ts | 2 +-
packages/vertexai/src/types/requests.ts | 2 +-
.../src/documenters/IConfigFile.ts | 2 +-
repo-scripts/prune-dts/extract-public-api.ts | 8 +++---
repo-scripts/prune-dts/prune-dts.ts | 10 +++----
.../prune-dts/tests/firestore.input.d.ts | 12 ++++----
.../prune-dts/tests/firestore.output.d.ts | 8 +++---
...s-generics-through-inheritance.input.d.ts} | 0
repo-scripts/size-analysis/README.md | 4 +--
repo-scripts/size-analysis/bundle-analysis.ts | 2 +-
.../size-analysis/package-analysis.ts | 2 +-
.../size-analysis/test/size-analysis.test.ts | 12 ++++----
.../size-analysis/test/test-inputs/bar.ts | 2 +-
.../size-analysis/test/test-inputs/far.ts | 2 +-
.../size-analysis/test/test-inputs/index.ts | 4 +--
scripts/ci-test/tasks.ts | 4 +--
scripts/ci-test/testConfig.ts | 4 +--
scripts/ci/check_changeset.ts | 4 +--
.../docgen-compat/content-sources/js/HOME.md | 2 +-
scripts/docgen-compat/generate-docs.js | 2 +-
.../docgen-compat/theme/assets/css/main.css | 2 +-
scripts/extract-deps/extract-deps.helpers.ts | 2 +-
scripts/release/cli.ts | 4 +--
scripts/release/release.ts | 4 +--
scripts/size_report/report_binary_size.ts | 2 +-
223 files changed, 426 insertions(+), 418 deletions(-)
create mode 100644 .changeset/late-humans-tan.md
rename packages/firestore/test/integration/api/{snasphot_listener_source.test.ts => snapshot_listener_source.test.ts} (100%)
rename repo-scripts/prune-dts/tests/{resolves-generics-through-inheritence.input.d.ts => resolves-generics-through-inheritance.input.d.ts} (100%)
diff --git a/.changeset/late-humans-tan.md b/.changeset/late-humans-tan.md
new file mode 100644
index 00000000000..b40ddf46eee
--- /dev/null
+++ b/.changeset/late-humans-tan.md
@@ -0,0 +1,9 @@
+---
+'@firebase/firestore-compat': patch
+'@firebase/database-compat': patch
+'@firebase/auth-compat': patch
+'@firebase/app-compat': patch
+'@firebase/firestore': patch
+'@firebase/database': patch
+'firebase': patch
+'@firebase/auth': patch
diff --git a/.editorconfig b/.editorconfig
index f4d80702c64..83abd4e12b5 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -11,7 +11,7 @@ root = true
end_of_line = lf
insert_final_newline = true
-# Javascript and Typescript look like Google-style
+# JavaScript and TypeScript look like Google-style
[*.{js,json,ts}]
charset = utf-8
indent_style = space
diff --git a/.github/ISSUE_TEMPLATE/bug_report_v2.yaml b/.github/ISSUE_TEMPLATE/bug_report_v2.yaml
index 30041068b61..289ab8125b0 100644
--- a/.github/ISSUE_TEMPLATE/bug_report_v2.yaml
+++ b/.github/ISSUE_TEMPLATE/bug_report_v2.yaml
@@ -22,7 +22,7 @@ body:
attributes:
value: |
*[READ THIS]:* to evaluate if you are in the right place?
- - For issues or feature requests related to __the code in this repository__, file a Github issue.
+ - For issues or feature requests related to __the code in this repository__, file a GitHub issue.
- If this is a __feature request__, make sure the issue title starts with "FR:".
- For general technical questions, post a question on [StackOverflow](http://stackoverflow.com/) with the firebase tag.
- For general Firebase discussion, use the [firebase-talk](https://groups.google.com/forum/#!forum/firebase-talk) google group.
diff --git a/.github/workflows/release-prod.yml b/.github/workflows/release-prod.yml
index 426991d2e6c..3c5b3380fcf 100644
--- a/.github/workflows/release-prod.yml
+++ b/.github/workflows/release-prod.yml
@@ -120,7 +120,7 @@ jobs:
curl -X POST -H "Content-Type:application/json" \
-d "{\"version\":\"$BASE_VERSION\",\"date\":\"$DATE\"}" \
$RELEASE_TRACKER_URL/logProduction
- - name: Create Github release
+ - name: Create GitHub release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml
index 3b431328658..cecfff0154e 100644
--- a/.github/workflows/test-all.yml
+++ b/.github/workflows/test-all.yml
@@ -20,7 +20,7 @@ env:
# make chromedriver detect installed Chrome version and download the corresponding driver
DETECT_CHROMEDRIVER_VERSION: true
# The default behavior of chromedriver uses the older Chrome download URLs. We need to override
- # the beahvior to use the new URLs.
+ # the behavior to use the new URLs.
CHROMEDRIVER_CDNURL: https://googlechromelabs.github.io/
CHROMEDRIVER_CDNBINARIESURL: https://storage.googleapis.com/chrome-for-testing-public
CHROME_VALIDATED_VERSION: linux-120.0.6099.71
diff --git a/.github/workflows/test-changed-auth.yml b/.github/workflows/test-changed-auth.yml
index 03674485c7f..3c0ba9d02e4 100644
--- a/.github/workflows/test-changed-auth.yml
+++ b/.github/workflows/test-changed-auth.yml
@@ -20,7 +20,7 @@ env:
# make chromedriver detect installed Chrome version and download the corresponding driver
DETECT_CHROMEDRIVER_VERSION: true
# The default behavior of chromedriver uses the older Chrome download URLs. We need to override
- # the beahvior to use the new URLs.
+ # the behavior to use the new URLs.
CHROMEDRIVER_CDNURL: https://googlechromelabs.github.io/
CHROMEDRIVER_CDNBINARIESURL: https://storage.googleapis.com/chrome-for-testing-public
CHROME_VALIDATED_VERSION: linux-120.0.6099.71
diff --git a/README.md b/README.md
index cbac0a604d4..bedc25c3fb7 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Firebase Javascript SDK
+# Firebase JavaScript SDK
![Build Status](https://img.shields.io/github/actions/workflow/status/firebase/firebase-js-sdk/test-all.yml)
diff --git a/config/api-extractor.json b/config/api-extractor.json
index 1e9d03986ff..3dd3d985f81 100644
--- a/config/api-extractor.json
+++ b/config/api-extractor.json
@@ -289,7 +289,7 @@
*/
"default": {
/**
- * Specifies whether the message should be written to the the tool's output log. Note that
+ * Specifies whether the message should be written to the tool's output log. Note that
* the "addToApiReportFile" property may supersede this option.
*
* Possible values: "error", "warning", "none"
diff --git a/config/karma.saucelabs.js b/config/karma.saucelabs.js
index 4517d5b6ee1..b6572d9eace 100644
--- a/config/karma.saucelabs.js
+++ b/config/karma.saucelabs.js
@@ -105,7 +105,7 @@ function getPackageLabels() {
/**
* Gets a list of file patterns for test, defined individually
- * in karma.conf.js in each package under worksapce packages or
+ * in karma.conf.js in each package under workspace packages or
* integration.
*/
function getTestFiles() {
diff --git a/docs-devsite/auth.githubauthprovider.md b/docs-devsite/auth.githubauthprovider.md
index 6d143b28beb..b5d5bc17776 100644
--- a/docs-devsite/auth.githubauthprovider.md
+++ b/docs-devsite/auth.githubauthprovider.md
@@ -38,7 +38,7 @@ export declare class GithubAuthProvider extends BaseOAuthProvider
| Method | Modifiers | Description |
| --- | --- | --- |
-| [credential(accessToken)](./auth.githubauthprovider.md#githubauthprovidercredential) | static
| Creates a credential for Github. |
+| [credential(accessToken)](./auth.githubauthprovider.md#githubauthprovidercredential) | static
| Creates a credential for GitHub. |
| [credentialFromError(error)](./auth.githubauthprovider.md#githubauthprovidercredentialfromerror) | static
| Used to extract the underlying [OAuthCredential](./auth.oauthcredential.md#oauthcredential_class) from a [AuthError](./auth.autherror.md#autherror_interface) which was thrown during a sign-in, link, or reauthenticate operation. |
| [credentialFromResult(userCredential)](./auth.githubauthprovider.md#githubauthprovidercredentialfromresult) | static
| Used to extract the underlying [OAuthCredential](./auth.oauthcredential.md#oauthcredential_class) from a [UserCredential](./auth.usercredential.md#usercredential_interface). |
@@ -74,7 +74,7 @@ static readonly PROVIDER_ID: 'github.com';
## GithubAuthProvider.credential()
-Creates a credential for Github.
+Creates a credential for GitHub.
Signature:
@@ -86,7 +86,7 @@ static credential(accessToken: string): OAuthCredential;
| Parameter | Type | Description |
| --- | --- | --- |
-| accessToken | string | Github access token. |
+| accessToken | string | GitHub access token. |
Returns:
@@ -148,7 +148,7 @@ const result = await getRedirectResult(auth);
if (result) {
// This is the signed-in user
const user = result.user;
- // This gives you a Github Access Token.
+ // This gives you a GitHub Access Token.
const credential = GithubAuthProvider.credentialFromResult(result);
const token = credential.accessToken;
}
@@ -166,7 +166,7 @@ const result = await signInWithPopup(auth, provider);
// The signed-in user info.
const user = result.user;
-// This gives you a Github Access Token.
+// This gives you a GitHub Access Token.
const credential = GithubAuthProvider.credentialFromResult(result);
const token = credential.accessToken;
diff --git a/docs-devsite/database.md b/docs-devsite/database.md
index 8ce96aa34d4..e6c6c4af8c6 100644
--- a/docs-devsite/database.md
+++ b/docs-devsite/database.md
@@ -17,7 +17,7 @@ Firebase Realtime Database
| Function | Description |
| --- | --- |
| function(app, ...) |
-| [getDatabase(app, url)](./database.md#getdatabase_d9cea01) | Returns the instance of the Realtime Database SDK that is associated with the provided [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface). Initializes a new instance with with default settings if no instance exists or if the existing instance uses a custom database URL. |
+| [getDatabase(app, url)](./database.md#getdatabase_d9cea01) | Returns the instance of the Realtime Database SDK that is associated with the provided [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface). Initializes a new instance with default settings if no instance exists or if the existing instance uses a custom database URL. |
| function(db, ...) |
| [connectDatabaseEmulator(db, host, port, options)](./database.md#connectdatabaseemulator_27b9e93) | Modify the provided instance to communicate with the Realtime Database emulator.
Note: This method must be called before performing any other operation. |
| [goOffline(db)](./database.md#gooffline_732b338) | Disconnects from the server (all Database operations will be completed offline).The client automatically maintains a persistent connection to the Database server, which will remain active indefinitely and reconnect when disconnected. However, the goOffline()
and goOnline()
methods may be used to control the client connection in cases where a persistent connection is undesirable.While offline, the client will no longer receive data updates from the Database. However, all Database operations performed locally will continue to immediately fire events, allowing your application to continue behaving normally. Additionally, each operation performed locally will automatically be queued and retried upon reconnection to the Database server.To reconnect to the Database and begin receiving remote events, see goOnline()
. |
@@ -112,7 +112,7 @@ Firebase Realtime Database
### getDatabase(app, url) {:#getdatabase_d9cea01}
-Returns the instance of the Realtime Database SDK that is associated with the provided [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface). Initializes a new instance with with default settings if no instance exists or if the existing instance uses a custom database URL.
+Returns the instance of the Realtime Database SDK that is associated with the provided [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface). Initializes a new instance with default settings if no instance exists or if the existing instance uses a custom database URL.
Signature:
diff --git a/docs-devsite/firestore_.md b/docs-devsite/firestore_.md
index 74a0c356523..145793a3f04 100644
--- a/docs-devsite/firestore_.md
+++ b/docs-devsite/firestore_.md
@@ -98,8 +98,8 @@ https://github.com/firebase/firebase-js-sdk
| [or(queryConstraints)](./firestore_.md#or_e72c712) | Creates a new [QueryCompositeFilterConstraint](./firestore_.querycompositefilterconstraint.md#querycompositefilterconstraint_class) that is a disjunction of the given filter constraints. A disjunction filter includes a document if it satisfies any of the given filters. |
| function(reference, ...) |
| [addDoc(reference, data)](./firestore_.md#adddoc_6e783ff) | Add a new document to specified CollectionReference
with the given data, assigning it a document ID automatically. |
-| [collection(reference, path, pathSegments)](./firestore_.md#collection_568f98d) | Gets a CollectionReference
instance that refers to a subcollection of reference
at the the specified relative path. |
-| [collection(reference, path, pathSegments)](./firestore_.md#collection_70b4396) | Gets a CollectionReference
instance that refers to a subcollection of reference
at the the specified relative path. |
+| [collection(reference, path, pathSegments)](./firestore_.md#collection_568f98d) | Gets a CollectionReference
instance that refers to a subcollection of reference
at the specified relative path. |
+| [collection(reference, path, pathSegments)](./firestore_.md#collection_70b4396) | Gets a CollectionReference
instance that refers to a subcollection of reference
at the specified relative path. |
| [deleteDoc(reference)](./firestore_.md#deletedoc_4569087) | Deletes the document referred to by the specified DocumentReference
. |
| [doc(reference, path, pathSegments)](./firestore_.md#doc_568f98d) | Gets a DocumentReference
instance that refers to a document within reference
at the specified relative path. If no path is specified, an automatically-generated unique ID will be used for the returned DocumentReference
. |
| [doc(reference, path, pathSegments)](./firestore_.md#doc_70b4396) | Gets a DocumentReference
instance that refers to a document within reference
at the specified relative path. |
@@ -179,7 +179,7 @@ https://github.com/firebase/firebase-js-sdk
| [PersistentCacheSettings](./firestore_.persistentcachesettings.md#persistentcachesettings_interface) | An settings object to configure an PersistentLocalCache
instance.Persistent cache cannot be used in a Node.js environment. |
| [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 FirestoreSettings.cache
and call initializeFirestore
using the settings object. |
| [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. |
-| [PersistentSingleTabManager](./firestore_.persistentsingletabmanager.md#persistentsingletabmanager_interface) | A tab manager supportting only one tab, no synchronization will be performed across tabs. |
+| [PersistentSingleTabManager](./firestore_.persistentsingletabmanager.md#persistentsingletabmanager_interface) | A tab manager supporting only one tab, no synchronization will be performed across tabs. |
| [PersistentSingleTabManagerSettings](./firestore_.persistentsingletabmanagersettings.md#persistentsingletabmanagersettings_interface) | Type to configure an PersistentSingleTabManager
instance. |
| [SnapshotListenOptions](./firestore_.snapshotlistenoptions.md#snapshotlistenoptions_interface) | An options object that can be passed to [onSnapshot()](./firestore_.md#onsnapshot_0312fd7) and [QuerySnapshot.docChanges()](./firestore_.querysnapshot.md#querysnapshotdocchanges) to control which types of changes to include in the result set. |
| [SnapshotOptions](./firestore_.snapshotoptions.md#snapshotoptions_interface) | Options that configure how data is retrieved from a DocumentSnapshot
(for example the desired behavior for server timestamps that have not yet been set to their final value). |
@@ -205,10 +205,10 @@ https://github.com/firebase/firebase-js-sdk
| [FirestoreErrorCode](./firestore_.md#firestoreerrorcode) | The set of Firestore status codes. The codes are the same at the ones exposed by gRPC here: https://github.com/grpc/grpc/blob/master/doc/statuscodes.mdPossible values: - 'cancelled': The operation was cancelled (typically by the caller). - 'unknown': Unknown error or an error from a different error domain. - 'invalid-argument': Client specified an invalid argument. Note that this differs from 'failed-precondition'. 'invalid-argument' indicates arguments that are problematic regardless of the state of the system (e.g. an invalid field name). - 'deadline-exceeded': Deadline expired before operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. - 'not-found': Some requested document was not found. - 'already-exists': Some document that we attempted to create already exists. - 'permission-denied': The caller does not have permission to execute the specified operation. - 'resource-exhausted': Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. - 'failed-precondition': Operation was rejected because the system is not in a state required for the operation's execution. - 'aborted': The operation was aborted, typically due to a concurrency issue like transaction aborts, etc. - 'out-of-range': Operation was attempted past the valid range. - 'unimplemented': Operation is not implemented or not supported/enabled. - 'internal': Internal errors. Means some invariants expected by underlying system has been broken. If you see one of these errors, something is very broken. - 'unavailable': The service is currently unavailable. This is most likely a transient condition and may be corrected by retrying with a backoff. - 'data-loss': Unrecoverable data loss or corruption. - 'unauthenticated': The request does not have valid authentication credentials for the operation. |
| [FirestoreLocalCache](./firestore_.md#firestorelocalcache) | Union type from all supported SDK cache layer. |
| [ListenSource](./firestore_.md#listensource) | Describe the source a query listens to.Set to default
to listen to both cache and server changes. Set to cache
to listen to changes in cache only. |
-| [MemoryGarbageCollector](./firestore_.md#memorygarbagecollector) | Union type from all support gabage collectors for memory local cache. |
+| [MemoryGarbageCollector](./firestore_.md#memorygarbagecollector) | Union type from all support garbage collectors for memory local cache. |
| [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 |
| [OrderByDirection](./firestore_.md#orderbydirection) | The direction of a [orderBy()](./firestore_.md#orderby_006d61f) clause is specified as 'desc' or 'asc' (descending or ascending). |
-| [PartialWithFieldValue](./firestore_.md#partialwithfieldvalue) | Similar to Typescript's Partial<T>
, but allows nested fields to be omitted and FieldValues to be passed in as property values. |
+| [PartialWithFieldValue](./firestore_.md#partialwithfieldvalue) | Similar to TypeScript's Partial<T>
, but allows nested fields to be omitted and FieldValues to be passed in as property values. |
| [PersistentTabManager](./firestore_.md#persistenttabmanager) | A union of all available tab managers. |
| [Primitive](./firestore_.md#primitive) | Primitive types. |
| [QueryConstraintType](./firestore_.md#queryconstrainttype) | Describes the different query constraints available in this SDK. |
@@ -1863,7 +1863,7 @@ A `Promise` resolved with a `DocumentReference` pointing to the newly created do
### collection(reference, path, pathSegments) {:#collection_568f98d}
-Gets a `CollectionReference` instance that refers to a subcollection of `reference` at the the specified relative path.
+Gets a `CollectionReference` instance that refers to a subcollection of `reference` at the specified relative path.
Signature:
@@ -1891,7 +1891,7 @@ If the final path has an even number of segments and does not point to a collect
### collection(reference, path, pathSegments) {:#collection_70b4396}
-Gets a `CollectionReference` instance that refers to a subcollection of `reference` at the the specified relative path.
+Gets a `CollectionReference` instance that refers to a subcollection of `reference` at the specified relative path.
Signature:
@@ -1954,7 +1954,7 @@ export declare function docsnapshot.data()
.Generally, the data returned from snapshot.data()
can be cast to DbModelType
; however, this is not guaranteed because Firestore does not enforce a schema on the database. For example, writes from a previous version of the application or writes from another client that did not use a type converter could have written data with different properties and/or property types. The implementation will need to choose whether to gracefully recover from non-conforming data or throw an error. |
-| [toFirestore(modelObject)](./firestore_lite.firestoredataconverter.md#firestoredataconvertertofirestore) | Called by the Firestore SDK to convert a custom model object of type AppModelType
into a plain Javascript object (suitable for writing directly to the Firestore database) of type DbModelType
. Used with [setDoc()](./firestore_lite.md#setdoc_ee215ad), and .The WithFieldValue<T>
type extends T
to also allow FieldValues such as [deleteField()](./firestore_.md#deletefield) to be used as property values. |
-| [toFirestore(modelObject, options)](./firestore_lite.firestoredataconverter.md#firestoredataconvertertofirestore) | Called by the Firestore SDK to convert a custom model object of type AppModelType
into a plain Javascript object (suitable for writing directly to the Firestore database) of type DbModelType
. Used with [setDoc()](./firestore_lite.md#setdoc_ee215ad), and with merge:true
or mergeFields
.The PartialWithFieldValue<T>
type extends Partial<T>
to allow FieldValues such as [arrayUnion()](./firestore_.md#arrayunion_7d853aa) to be used as property values. It also supports nested Partial
by allowing nested fields to be omitted. |
+| [toFirestore(modelObject)](./firestore_lite.firestoredataconverter.md#firestoredataconvertertofirestore) | Called by the Firestore SDK to convert a custom model object of type AppModelType
into a plain JavaScript object (suitable for writing directly to the Firestore database) of type DbModelType
. Used with [setDoc()](./firestore_lite.md#setdoc_ee215ad), and .The WithFieldValue<T>
type extends T
to also allow FieldValues such as [deleteField()](./firestore_.md#deletefield) to be used as property values. |
+| [toFirestore(modelObject, options)](./firestore_lite.firestoredataconverter.md#firestoredataconvertertofirestore) | Called by the Firestore SDK to convert a custom model object of type AppModelType
into a plain JavaScript object (suitable for writing directly to the Firestore database) of type DbModelType
. Used with [setDoc()](./firestore_lite.md#setdoc_ee215ad), and with merge:true
or mergeFields
.The PartialWithFieldValue<T>
type extends Partial<T>
to allow FieldValues such as [arrayUnion()](./firestore_.md#arrayunion_7d853aa) to be used as property values. It also supports nested Partial
by allowing nested fields to be omitted. |
## FirestoreDataConverter.fromFirestore()
@@ -54,7 +54,7 @@ AppModelType
## FirestoreDataConverter.toFirestore()
-Called by the Firestore SDK to convert a custom model object of type `AppModelType` into a plain Javascript object (suitable for writing directly to the Firestore database) of type `DbModelType`. Used with [setDoc()](./firestore_lite.md#setdoc_ee215ad), and .
+Called by the Firestore SDK to convert a custom model object of type `AppModelType` into a plain JavaScript object (suitable for writing directly to the Firestore database) of type `DbModelType`. Used with [setDoc()](./firestore_lite.md#setdoc_ee215ad), and .
The `WithFieldValueCollectionReference
with the given data, assigning it a document ID automatically.The result of this write will only be reflected in document reads that occur after the returned promise resolves. If the client is offline, the write fails. If you would like to see local modifications or buffer writes until the client is online, use the full Firestore SDK. |
-| [collection(reference, path, pathSegments)](./firestore_lite.md#collection_568f98d) | Gets a CollectionReference
instance that refers to a subcollection of reference
at the the specified relative path. |
-| [collection(reference, path, pathSegments)](./firestore_lite.md#collection_70b4396) | Gets a CollectionReference
instance that refers to a subcollection of reference
at the the specified relative path. |
+| [collection(reference, path, pathSegments)](./firestore_lite.md#collection_568f98d) | Gets a CollectionReference
instance that refers to a subcollection of reference
at the specified relative path. |
+| [collection(reference, path, pathSegments)](./firestore_lite.md#collection_70b4396) | Gets a CollectionReference
instance that refers to a subcollection of reference
at the specified relative path. |
| [deleteDoc(reference)](./firestore_lite.md#deletedoc_4569087) | Deletes the document referred to by the specified DocumentReference
.The deletion will only be reflected in document reads that occur after the returned promise resolves. If the client is offline, the delete fails. If you would like to see local modifications or buffer writes until the client is online, use the full Firestore SDK. |
| [doc(reference, path, pathSegments)](./firestore_lite.md#doc_568f98d) | Gets a DocumentReference
instance that refers to a document within reference
at the specified relative path. If no path is specified, an automatically-generated unique ID will be used for the returned DocumentReference
. |
| [doc(reference, path, pathSegments)](./firestore_lite.md#doc_70b4396) | Gets a DocumentReference
instance that refers to a document within reference
at the specified relative path. |
@@ -141,7 +141,7 @@ https://github.com/firebase/firebase-js-sdk
| [FirestoreErrorCode](./firestore_lite.md#firestoreerrorcode) | The set of Firestore status codes. The codes are the same at the ones exposed by gRPC here: https://github.com/grpc/grpc/blob/master/doc/statuscodes.mdPossible values: - 'cancelled': The operation was cancelled (typically by the caller). - 'unknown': Unknown error or an error from a different error domain. - 'invalid-argument': Client specified an invalid argument. Note that this differs from 'failed-precondition'. 'invalid-argument' indicates arguments that are problematic regardless of the state of the system (e.g. an invalid field name). - 'deadline-exceeded': Deadline expired before operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. - 'not-found': Some requested document was not found. - 'already-exists': Some document that we attempted to create already exists. - 'permission-denied': The caller does not have permission to execute the specified operation. - 'resource-exhausted': Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. - 'failed-precondition': Operation was rejected because the system is not in a state required for the operation's execution. - 'aborted': The operation was aborted, typically due to a concurrency issue like transaction aborts, etc. - 'out-of-range': Operation was attempted past the valid range. - 'unimplemented': Operation is not implemented or not supported/enabled. - 'internal': Internal errors. Means some invariants expected by underlying system has been broken. If you see one of these errors, something is very broken. - 'unavailable': The service is currently unavailable. This is most likely a transient condition and may be corrected by retrying with a backoff. - 'data-loss': Unrecoverable data loss or corruption. - 'unauthenticated': The request does not have valid authentication credentials for the operation. |
| [NestedUpdateFields](./firestore_lite.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 |
| [OrderByDirection](./firestore_lite.md#orderbydirection) | The direction of a [orderBy()](./firestore_.md#orderby_006d61f) clause is specified as 'desc' or 'asc' (descending or ascending). |
-| [PartialWithFieldValue](./firestore_lite.md#partialwithfieldvalue) | Similar to Typescript's Partial<T>
, but allows nested fields to be omitted and FieldValues to be passed in as property values. |
+| [PartialWithFieldValue](./firestore_lite.md#partialwithfieldvalue) | Similar to TypeScript's Partial<T>
, but allows nested fields to be omitted and FieldValues to be passed in as property values. |
| [Primitive](./firestore_lite.md#primitive) | Primitive types. |
| [QueryConstraintType](./firestore_lite.md#queryconstrainttype) | Describes the different query constraints available in this SDK. |
| [QueryFilterConstraint](./firestore_lite.md#queryfilterconstraint) | QueryFilterConstraint
is a helper union type that represents [QueryFieldFilterConstraint](./firestore_.queryfieldfilterconstraint.md#queryfieldfilterconstraint_class) and [QueryCompositeFilterConstraint](./firestore_.querycompositefilterconstraint.md#querycompositefilterconstraint_class). |
@@ -1049,7 +1049,7 @@ A Promise that will be resolved with the count; the count can be retrieved from
Executes the query and returns the results as a [QuerySnapshot](./firestore_.querysnapshot.md#querysnapshot_class).
-All queries are executed directly by the server, even if the the query was previously executed. Recent modifications are only reflected in the retrieved results if they have already been applied by the backend. If the client is offline, the operation fails. To see previously cached result and local modifications, use the full Firestore SDK.
+All queries are executed directly by the server, even if the query was previously executed. Recent modifications are only reflected in the retrieved results if they have already been applied by the backend. If the client is offline, the operation fails. To see previously cached result and local modifications, use the full Firestore SDK.
Signature:
@@ -1199,7 +1199,7 @@ Error - If the provided input is not a valid Firestore document.
### collection(reference, path, pathSegments) {:#collection_568f98d}
-Gets a `CollectionReference` instance that refers to a subcollection of `reference` at the the specified relative path.
+Gets a `CollectionReference` instance that refers to a subcollection of `reference` at the specified relative path.
Signature:
@@ -1227,7 +1227,7 @@ If the final path has an even number of segments and does not point to a collect
### collection(reference, path, pathSegments) {:#collection_70b4396}
-Gets a `CollectionReference` instance that refers to a subcollection of `reference` at the the specified relative path.
+Gets a `CollectionReference` instance that refers to a subcollection of `reference` at the specified relative path.
Signature:
@@ -1292,7 +1292,7 @@ export declare function docNumber(value) \|\| 0
. |
| [asString()](./remote-config.value.md#valueasstring) | Gets the value as a string. |
| [getSource()](./remote-config.value.md#valuegetsource) | Gets the [ValueSource](./remote-config.md#valuesource) for the given key. |
@@ -31,7 +31,7 @@ export interface Value
Gets the value as a boolean.
-The following values (case insensitive) are interpreted as true: "1", "true", "t", "yes", "y", "on". Other values are interpreted as false.
+The following values (case-insensitive) are interpreted as true: "1", "true", "t", "yes", "y", "on". Other values are interpreted as false.
Signature:
diff --git a/docs-devsite/storage.fullmetadata.md b/docs-devsite/storage.fullmetadata.md
index ca8d66e08d5..a2cedeb525e 100644
--- a/docs-devsite/storage.fullmetadata.md
+++ b/docs-devsite/storage.fullmetadata.md
@@ -24,7 +24,7 @@ export interface FullMetadata extends UploadMetadata
| Property | Type | Description |
| --- | --- | --- |
| [bucket](./storage.fullmetadata.md#fullmetadatabucket) | string | The bucket this object is contained in. |
-| [downloadTokens](./storage.fullmetadata.md#fullmetadatadownloadtokens) | string\[\] \| undefined | Tokens to allow access to the downloatd URL. |
+| [downloadTokens](./storage.fullmetadata.md#fullmetadatadownloadtokens) | string\[\] \| undefined | Tokens to allow access to the download URL. |
| [fullPath](./storage.fullmetadata.md#fullmetadatafullpath) | string | The full path of this object. |
| [generation](./storage.fullmetadata.md#fullmetadatageneration) | string | The object's generation. [https://cloud.google.com/storage/docs/metadata\#generation-number](https://cloud.google.com/storage/docs/metadata#generation-number) |
| [metageneration](./storage.fullmetadata.md#fullmetadatametageneration) | string | The object's metageneration. [https://cloud.google.com/storage/docs/metadata\#generation-number](https://cloud.google.com/storage/docs/metadata#generation-number) |
@@ -46,7 +46,7 @@ bucket: string;
## FullMetadata.downloadTokens
-Tokens to allow access to the downloatd URL.
+Tokens to allow access to the download URL.
Signature:
diff --git a/docs-devsite/storage.md b/docs-devsite/storage.md
index ec2a408a8c8..e929246b5b9 100644
--- a/docs-devsite/storage.md
+++ b/docs-devsite/storage.md
@@ -26,7 +26,7 @@ Cloud Storage for Firebase
| [getBlob(ref, maxDownloadSizeBytes)](./storage.md#getblob_1c7a935) | Downloads the data at the object's location. Returns an error if the object is not found.To use this functionality, you have to whitelist your app's origin in your Cloud Storage bucket. See also https://cloud.google.com/storage/docs/configuring-corsThis API is not available in Node. |
| [getBytes(ref, maxDownloadSizeBytes)](./storage.md#getbytes_1c7a935) | Downloads the data at the object's location. Returns an error if the object is not found.To use this functionality, you have to whitelist your app's origin in your Cloud Storage bucket. See also https://cloud.google.com/storage/docs/configuring-cors |
| [getDownloadURL(ref)](./storage.md#getdownloadurl_30df0b2) | Returns the download URL for the given [StorageReference](./storage.storagereference.md#storagereference_interface). |
-| [getMetadata(ref)](./storage.md#getmetadata_30df0b2) | A Promise
that resolves with the metadata for this object. If this object doesn't exist or metadata cannot be retreived, the promise is rejected. |
+| [getMetadata(ref)](./storage.md#getmetadata_30df0b2) | A Promise
that resolves with the metadata for this object. If this object doesn't exist or metadata cannot be retrieved, the promise is rejected. |
| [getStream(ref, maxDownloadSizeBytes)](./storage.md#getstream_1c7a935) | Downloads the data at the object's location. Raises an error event if the object is not found.This API is only available in Node. |
| [list(ref, options)](./storage.md#list_36af757) | List items (files) and prefixes (folders) under this storage reference.List API is only available for Firebase Rules Version 2.GCS is a key-blob store. Firebase Storage imposes the semantic of '/' delimited folder structure. Refer to GCS's List API if you want to learn more.To adhere to Firebase Rules's Semantics, Firebase Storage does not support objects whose paths end with "/" or contain two consecutive "/"s. Firebase Storage List API will filter these unsupported objects. list() may fail if there are too many unsupported objects in the bucket. |
| [listAll(ref)](./storage.md#listall_30df0b2) | List all items (files) and prefixes (folders) under this storage reference.This is a helper method for calling list() repeatedly until there are no more results. The default pagination size is 1000.Note: The results may not be consistent if objects are changed while this operation is running.Warning: listAll
may potentially consume too many resources if there are too many results. |
@@ -252,7 +252,7 @@ A `Promise` that resolves with the download URL for this object.
### getMetadata(ref) {:#getmetadata_30df0b2}
-A `Promise` that resolves with the metadata for this object. If this object doesn't exist or metadata cannot be retreived, the promise is rejected.
+A `Promise` that resolves with the metadata for this object. If this object doesn't exist or metadata cannot be retrieved, the promise is rejected.
Signature:
diff --git a/docs-devsite/vertexai-preview.chatsession.md b/docs-devsite/vertexai-preview.chatsession.md
index 3d78bab3745..d8dc691d186 100644
--- a/docs-devsite/vertexai-preview.chatsession.md
+++ b/docs-devsite/vertexai-preview.chatsession.md
@@ -36,7 +36,7 @@ export declare class ChatSession
| Method | Modifiers | Description |
| --- | --- | --- |
-| [getHistory()](./vertexai-preview.chatsession.md#chatsessiongethistory) | | Gets the chat history so far. Blocked prompts are not added to history. Blocked candidates are not added to history, nor are the prompts that generated them. |
+| [getHistory()](./vertexai-preview.chatsession.md#chatsessiongethistory) | | Gets the chat history so far. Blocked prompts are not added to history. Neither blocked candidates nor the prompts that generated them are added to history. |
| [sendMessage(request)](./vertexai-preview.chatsession.md#chatsessionsendmessage) | | Sends a chat message and receives a non-streaming [GenerateContentResult](./vertexai-preview.generatecontentresult.md#generatecontentresult_interface) |
| [sendMessageStream(request)](./vertexai-preview.chatsession.md#chatsessionsendmessagestream) | | Sends a chat message and receives the response as a [GenerateContentStreamResult](./vertexai-preview.generatecontentstreamresult.md#generatecontentstreamresult_interface) containing an iterable stream and a response promise. |
@@ -85,7 +85,7 @@ requestOptions?: RequestOptions | undefined;
## ChatSession.getHistory()
-Gets the chat history so far. Blocked prompts are not added to history. Blocked candidates are not added to history, nor are the prompts that generated them.
+Gets the chat history so far. Blocked prompts are not added to history. Neither blocked candidates nor the prompts that generated them are added to history.
Signature:
diff --git a/docs-devsite/vertexai-preview.functiondeclaration.md b/docs-devsite/vertexai-preview.functiondeclaration.md
index e725b9557e1..e178c7e8bc3 100644
--- a/docs-devsite/vertexai-preview.functiondeclaration.md
+++ b/docs-devsite/vertexai-preview.functiondeclaration.md
@@ -24,7 +24,7 @@ export declare interface FunctionDeclaration
| --- | --- | --- |
| [description](./vertexai-preview.functiondeclaration.md#functiondeclarationdescription) | string | Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. |
| [name](./vertexai-preview.functiondeclaration.md#functiondeclarationname) | string | The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a max length of 64. |
-| [parameters](./vertexai-preview.functiondeclaration.md#functiondeclarationparameters) | [FunctionDeclarationSchema](./vertexai-preview.functiondeclarationschema.md#functiondeclarationschema_interface) | Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. Parameter names are case sensitive. For a function with no parameters, this can be left unset. |
+| [parameters](./vertexai-preview.functiondeclaration.md#functiondeclarationparameters) | [FunctionDeclarationSchema](./vertexai-preview.functiondeclarationschema.md#functiondeclarationschema_interface) | Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. Parameter names are case-sensitive. For a function with no parameters, this can be left unset. |
## FunctionDeclaration.description
@@ -48,7 +48,7 @@ name: string;
## FunctionDeclaration.parameters
-Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. Parameter names are case sensitive. For a function with no parameters, this can be left unset.
+Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. Parameter names are case-sensitive. For a function with no parameters, this can be left unset.
Signature:
diff --git a/packages/analytics/src/errors.ts b/packages/analytics/src/errors.ts
index 278fa7ba137..56c0ffe066c 100644
--- a/packages/analytics/src/errors.ts
+++ b/packages/analytics/src/errors.ts
@@ -41,7 +41,7 @@ const ERRORS: ErrorMap