From f97d799fe575415a47411220ce7bd8e3b0cc09a4 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Tue, 8 Dec 2020 09:41:32 -0700 Subject: [PATCH 1/2] Clean up source location --- common/api-review/firestore-exp.api.md | 5 +- common/api-review/firestore-lite.api.md | 4 +- .../firestore_exp_Tests__Emulator__.xml | 19 - ...p_Tests__Emulator_w__Mock_Persistence_.xml | 20 - .../firestore_lite_Tests__Emulator_.xml | 2 +- packages/firestore/exp/dependencies.json | 9309 ----------------- packages/firestore/exp/index.ts | 32 +- packages/firestore/exp/register.ts | 3 +- packages/firestore/export.ts | 4 +- packages/firestore/index.console.ts | 2 +- packages/firestore/index.node.memory.ts | 2 +- packages/firestore/index.node.ts | 2 +- packages/firestore/karma.conf.js | 7 +- packages/firestore/lite/dependencies.json | 3139 ------ packages/firestore/lite/index.ts | 28 +- packages/firestore/lite/register.ts | 3 +- packages/firestore/package.json | 16 +- packages/firestore/src/api/blob.ts | 2 +- packages/firestore/src/api/bundle.ts | 4 +- packages/firestore/src/api/database.ts | 32 +- packages/firestore/src/api/field_path.ts | 5 +- packages/firestore/src/api/geo_point.ts | 80 +- packages/firestore/src/api/observer.ts | 4 - packages/firestore/src/api/timestamp.ts | 167 +- .../firestore/src/api/user_data_reader.ts | 10 +- .../{exp/src/api => src/exp}/bytes.ts | 2 +- .../{exp/src/api => src/exp}/database.ts | 29 +- .../{exp/src/api => src/exp}/field_path.ts | 2 +- .../{exp/src/api => src/exp}/field_value.ts | 2 +- .../src/api => src/exp}/field_value_impl.ts | 2 +- packages/firestore/src/exp/geo_point.ts | 18 + .../{exp/src/api => src/exp}/query.ts | 2 +- .../{exp/src/api => src/exp}/reference.ts | 2 +- .../src/api => src/exp}/reference_impl.ts | 62 +- .../{exp/src/api => src/exp}/settings.ts | 4 +- .../{exp/src/api => src/exp}/snapshot.ts | 27 +- packages/firestore/src/exp/timestamp.ts | 18 + .../{exp/src/api => src/exp}/transaction.ts | 10 +- .../{exp/src/api => src/exp}/write_batch.ts | 4 +- .../{lite/src/api => src/lite}/bytes.ts | 4 +- .../{lite/src/api => src/lite}/components.ts | 14 +- .../{lite/src/api => src/lite}/database.ts | 9 +- .../{lite/src/api => src/lite}/field_path.ts | 4 +- .../{lite/src/api => src/lite}/field_value.ts | 4 +- .../src/api => src/lite}/field_value_impl.ts | 2 +- packages/firestore/src/lite/geo_point.ts | 96 + .../{lite/src/api => src/lite}/query.ts | 31 +- .../{lite/src/api => src/lite}/reference.ts | 14 +- .../src/api => src/lite}/reference_impl.ts | 20 +- .../{lite/src/api => src/lite}/settings.ts | 10 +- .../{lite/src/api => src/lite}/snapshot.ts | 14 +- packages/firestore/src/lite/timestamp.ts | 183 + .../{lite/src/api => src/lite}/transaction.ts | 22 +- .../{lite/src/api => src/lite}/write_batch.ts | 16 +- .../{lite/test => test/lite}/bootstrap.ts | 2 +- .../{lite/test => test/lite}/helpers.ts | 22 +- .../test => test/lite}/integration.test.ts | 40 +- .../test/unit/api/document_change.test.ts | 6 +- packages/firestore/test/util/api_helpers.ts | 28 +- 59 files changed, 595 insertions(+), 13031 deletions(-) delete mode 100644 packages/firestore/.idea/runConfigurations/firestore_exp_Tests__Emulator__.xml delete mode 100644 packages/firestore/.idea/runConfigurations/firestore_exp_Tests__Emulator_w__Mock_Persistence_.xml delete mode 100644 packages/firestore/exp/dependencies.json delete mode 100644 packages/firestore/lite/dependencies.json rename packages/firestore/{exp/src/api => src/exp}/bytes.ts (91%) rename packages/firestore/{exp/src/api => src/exp}/database.ts (94%) rename packages/firestore/{exp/src/api => src/exp}/field_path.ts (89%) rename packages/firestore/{exp/src/api => src/exp}/field_value.ts (90%) rename packages/firestore/{exp/src/api => src/exp}/field_value_impl.ts (93%) create mode 100644 packages/firestore/src/exp/geo_point.ts rename packages/firestore/{exp/src/api => src/exp}/query.ts (95%) rename packages/firestore/{exp/src/api => src/exp}/reference.ts (94%) rename packages/firestore/{exp/src/api => src/exp}/reference_impl.ts (95%) rename packages/firestore/{exp/src/api => src/exp}/settings.ts (87%) rename packages/firestore/{exp/src/api => src/exp}/snapshot.ts (96%) create mode 100644 packages/firestore/src/exp/timestamp.ts rename packages/firestore/{exp/src/api => src/exp}/transaction.ts (89%) rename packages/firestore/{exp/src/api => src/exp}/write_batch.ts (92%) rename packages/firestore/{lite/src/api => src/lite}/bytes.ts (95%) rename packages/firestore/{lite/src/api => src/lite}/components.ts (87%) rename packages/firestore/{lite/src/api => src/lite}/database.ts (96%) rename packages/firestore/{lite/src/api => src/lite}/field_path.ts (95%) rename packages/firestore/{lite/src/api => src/lite}/field_value.ts (88%) rename packages/firestore/{lite/src/api => src/lite}/field_value_impl.ts (98%) create mode 100644 packages/firestore/src/lite/geo_point.ts rename packages/firestore/{lite/src/api => src/lite}/query.ts (97%) rename packages/firestore/{lite/src/api => src/lite}/reference.ts (97%) rename packages/firestore/{lite/src/api => src/lite}/reference_impl.ts (95%) rename packages/firestore/{lite/src/api => src/lite}/settings.ts (91%) rename packages/firestore/{lite/src/api => src/lite}/snapshot.ts (95%) create mode 100644 packages/firestore/src/lite/timestamp.ts rename packages/firestore/{lite/src/api => src/lite}/transaction.ts (94%) rename packages/firestore/{lite/src/api => src/lite}/write_batch.ts (95%) rename packages/firestore/{lite/test => test/lite}/bootstrap.ts (95%) rename packages/firestore/{lite/test => test/lite}/helpers.ts (90%) rename packages/firestore/{lite/test => test/lite}/integration.test.ts (97%) diff --git a/common/api-review/firestore-exp.api.md b/common/api-review/firestore-exp.api.md index 397d8732654..0ad651355a4 100644 --- a/common/api-review/firestore-exp.api.md +++ b/common/api-review/firestore-exp.api.md @@ -11,7 +11,6 @@ import { _FirebaseService } from '@firebase/app-types-exp'; import { LogLevelString as LogLevel } from '@firebase/logger'; import { Provider } from '@firebase/component'; import { SetOptions as SetOptions_2 } from '@firebase/firestore-types'; -import { SnapshotMetadata as SnapshotMetadata_2 } from '@firebase/firestore-types'; // @public export function addDoc(reference: CollectionReference, data: T): Promise>; @@ -440,11 +439,11 @@ export interface SnapshotListenOptions { } // @public -export class SnapshotMetadata implements SnapshotMetadata_2 { +export class SnapshotMetadata { constructor(hasPendingWrites: boolean, fromCache: boolean); readonly fromCache: boolean; readonly hasPendingWrites: boolean; - isEqual(other: SnapshotMetadata_2): boolean; + isEqual(other: SnapshotMetadata): boolean; } // @public diff --git a/common/api-review/firestore-lite.api.md b/common/api-review/firestore-lite.api.md index 96b285fc6c1..20f820e1b71 100644 --- a/common/api-review/firestore-lite.api.md +++ b/common/api-review/firestore-lite.api.md @@ -168,8 +168,10 @@ export abstract class FieldValue { abstract _toFieldTransform(context: ParseContext): FieldTransform | null; } +// Warning: (ae-forgotten-export) The symbol "FirestoreService" needs to be exported by the entry point index.d.ts +// // @public -export class FirebaseFirestore implements _FirebaseService { +export class FirebaseFirestore implements FirestoreService { constructor(databaseIdOrApp: DatabaseId | FirebaseApp, authProvider: Provider); get app(): FirebaseApp; // Warning: (ae-forgotten-export) The symbol "CredentialsProvider" needs to be exported by the entry point index.d.ts diff --git a/packages/firestore/.idea/runConfigurations/firestore_exp_Tests__Emulator__.xml b/packages/firestore/.idea/runConfigurations/firestore_exp_Tests__Emulator__.xml deleted file mode 100644 index 58b30f2d5b5..00000000000 --- a/packages/firestore/.idea/runConfigurations/firestore_exp_Tests__Emulator__.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - project - - $PROJECT_DIR$/../../node_modules/mocha - $PROJECT_DIR$ - true - - - - - - bdd - --require ts-node/register/type-check --require exp/index.ts --timeout 5000 - PATTERN - test/integration/api/*.test.ts - - - \ No newline at end of file diff --git a/packages/firestore/.idea/runConfigurations/firestore_exp_Tests__Emulator_w__Mock_Persistence_.xml b/packages/firestore/.idea/runConfigurations/firestore_exp_Tests__Emulator_w__Mock_Persistence_.xml deleted file mode 100644 index 14ac8e84931..00000000000 --- a/packages/firestore/.idea/runConfigurations/firestore_exp_Tests__Emulator_w__Mock_Persistence_.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - project - - $PROJECT_DIR$/../../node_modules/mocha - $PROJECT_DIR$ - true - - - - - - - bdd - --require ts-node/register/type-check --require exp/index.ts --require test/util/node_persistence.ts --timeout 5000 - PATTERN - test/integration/api/*.test.ts - - - \ No newline at end of file diff --git a/packages/firestore/.idea/runConfigurations/firestore_lite_Tests__Emulator_.xml b/packages/firestore/.idea/runConfigurations/firestore_lite_Tests__Emulator_.xml index 49fe37e3a8f..817282aea02 100644 --- a/packages/firestore/.idea/runConfigurations/firestore_lite_Tests__Emulator_.xml +++ b/packages/firestore/.idea/runConfigurations/firestore_lite_Tests__Emulator_.xml @@ -14,7 +14,7 @@ bdd --require ts-node/register/type-check --require lite/index.ts --timeout 5000 PATTERN - lite/{,!(browser)/**/}*.test.ts + test/lite/{,!(browser)/**/}*.test.ts \ No newline at end of file diff --git a/packages/firestore/exp/dependencies.json b/packages/firestore/exp/dependencies.json deleted file mode 100644 index 01e13786a0d..00000000000 --- a/packages/firestore/exp/dependencies.json +++ /dev/null @@ -1,9309 +0,0 @@ -{ - "Bytes": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "configureFirestore", - "decodeBase64", - "encodeBase64", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "ByteString", - "Bytes", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 20394 - }, - "CollectionReference": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "newQueryForPath", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "DocumentReference", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryImpl", - "ResourcePath", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 23411 - }, - "DocumentReference": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "newQueryForPath", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "DocumentReference", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryImpl", - "ResourcePath", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 23409 - }, - "DocumentSnapshot": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "configureFirestore", - "createError", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "getLocalWriteTime", - "getMessageOrStack", - "getPreviousValue", - "hardAssert", - "isIndexedDbTransactionError", - "isServerTimestamp", - "isValidResourceName", - "logDebug", - "logError", - "newQueryForPath", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "DocumentSnapshot$1", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "OAuthToken", - "Query", - "QueryDocumentSnapshot", - "QueryDocumentSnapshot$1", - "QueryImpl", - "ResourcePath", - "Timestamp", - "User", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 38662 - }, - "FieldPath": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FieldPath", - "FieldPath$2", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User", - "_BaseFieldPath" - ], - "variables": [] - }, - "sizeInBytes": 22332 - }, - "FieldValue": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 18606 - }, - "FirebaseFirestore": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 18564 - }, - "GeoPoint": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 19267 - }, - "Query": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "User" - ], - "variables": [] - }, - "sizeInBytes": 18752 - }, - "QueryConstraint": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "QueryConstraint", - "User" - ], - "variables": [] - }, - "sizeInBytes": 18562 - }, - "QueryDocumentSnapshot": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "configureFirestore", - "createError", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "getLocalWriteTime", - "getMessageOrStack", - "getPreviousValue", - "hardAssert", - "isIndexedDbTransactionError", - "isServerTimestamp", - "isValidResourceName", - "logDebug", - "logError", - "newQueryForPath", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "DocumentSnapshot$1", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "OAuthToken", - "Query", - "QueryDocumentSnapshot", - "QueryDocumentSnapshot$1", - "QueryImpl", - "ResourcePath", - "Timestamp", - "User", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 38672 - }, - "QuerySnapshot": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "changesFromSnapshot", - "configureFirestore", - "createError", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "getLocalWriteTime", - "getMessageOrStack", - "getPreviousValue", - "hardAssert", - "isIndexedDbTransactionError", - "isServerTimestamp", - "isValidResourceName", - "logDebug", - "logError", - "newQueryForPath", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "resultChangeType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "DocumentSnapshot$1", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "OAuthToken", - "Query", - "QueryDocumentSnapshot", - "QueryDocumentSnapshot$1", - "QueryImpl", - "QuerySnapshot", - "ResourcePath", - "SnapshotMetadata", - "Timestamp", - "User", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 41314 - }, - "SnapshotMetadata": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "SnapshotMetadata", - "User" - ], - "variables": [] - }, - "sizeInBytes": 18771 - }, - "Timestamp": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Timestamp", - "User" - ], - "variables": [] - }, - "sizeInBytes": 20157 - }, - "Transaction": { - "dependencies": { - "functions": [ - "applyFirestoreDataConverter", - "argToString", - "arrayEquals", - "binaryStringFromUint8Array", - "blobEquals", - "configureFirestore", - "createError", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldMaskContains", - "fieldPathFromArgument", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getLocalWriteTime", - "getMessageOrStack", - "getPreviousValue", - "hardAssert", - "isEmpty", - "isIndexedDbTransactionError", - "isMapValue", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isValidResourceName", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newQueryForPath", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseSetData", - "parseUpdateData", - "parseUpdateVarargs", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "timestampEquals", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "validateReference", - "valueDescription", - "valueEquals", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DeleteFieldValueImpl", - "Document", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "DocumentSnapshot$1", - "ExponentialBackoff", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldPath$2", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "JsonProtoSerializer", - "MaybeDocument", - "Mutation", - "NoDocument", - "OAuthToken", - "ObjectValue", - "ObjectValueBuilder", - "ParseContext", - "ParsedSetData", - "ParsedUpdateData", - "PatchMutation", - "Precondition", - "Query", - "QueryDocumentSnapshot", - "QueryDocumentSnapshot$1", - "QueryImpl", - "ResourcePath", - "SetMutation", - "SnapshotMetadata", - "Timestamp", - "Transaction$1", - "Transaction$2", - "TransformMutation", - "User", - "UserDataReader", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 63423 - }, - "WriteBatch": { - "dependencies": { - "functions": [ - "applyFirestoreDataConverter", - "argToString", - "arrayEquals", - "binaryStringFromUint8Array", - "blobEquals", - "configureFirestore", - "createError", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldMaskContains", - "fieldPathFromArgument", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getLocalWriteTime", - "getMessageOrStack", - "hardAssert", - "isEmpty", - "isIndexedDbTransactionError", - "isMapValue", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseSetData", - "parseUpdateData", - "parseUpdateVarargs", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "timestampEquals", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "validateReference", - "valueDescription", - "valueEquals", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DeleteFieldValueImpl", - "DeleteMutation", - "ExponentialBackoff", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldPath$2", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "JsonProtoSerializer", - "Mutation", - "OAuthToken", - "ObjectValue", - "ObjectValueBuilder", - "ParseContext", - "ParsedSetData", - "ParsedUpdateData", - "PatchMutation", - "Precondition", - "ResourcePath", - "SetMutation", - "Timestamp", - "TransformMutation", - "User", - "UserDataReader", - "WriteBatch", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 53821 - }, - "addDoc": { - "dependencies": { - "functions": [ - "acknowledgeBatch", - "addDoc", - "addMutationCallback", - "addToWritePipeline", - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyFirestoreDataConverter", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applySuccessfulWrite", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "applyWriteToRemoteDocuments", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canAddToWritePipeline", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "cast", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "disableNetworkInternal", - "disableNetworkUntilRecovery", - "doc", - "documentEntryMap", - "documentKeySet", - "documentMap", - "documentVersionMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "ensureWriteCallbacks", - "ensureWriteStream", - "errorMessage", - "eventManagerOnOnlineStateChange", - "executeWithRecovery", - "executeWrite", - "extractFieldMask", - "extractMutationBaseValue", - "extractTransformMutationBaseValue", - "fail", - "fieldMaskContains", - "fieldPathFromDotSeparatedString", - "fieldTransformEquals", - "fillWritePipeline", - "filterEquals", - "firestoreClientWrite", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fromTimestamp", - "fromVersion", - "fromWriteResult", - "fromWriteResults", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getEncodedDatabaseId", - "getFirstOrderByField", - "getInequalityFilterField", - "getLastRemoteSnapshotVersion", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getSyncEngine", - "handleUserChange", - "handleWriteError", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "ignoreIfPrimaryLeaseLoss", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNegativeZero", - "isNullOrUndefined", - "isNumber", - "isPermanentError", - "isPermanentWriteError", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isWrite", - "loadProtos", - "localTransformResults", - "localWrite", - "logDebug", - "logError", - "logWarn", - "looksLikeJsonObject", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newPersistentWriteStream", - "newQueryComparator", - "newQueryForPath", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "newUserDataReader", - "nextMutationBatch", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "onMutationResult", - "onWriteHandshakeComplete", - "onWriteStreamClose", - "onWriteStreamOpen", - "orderByEquals", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseSetData", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "processUserCallback", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "randomBytes", - "registerFirestore", - "rejectBatch", - "rejectFailedWrite", - "rejectOutstandingPendingWritesCallbacks", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreShutdown", - "removeComponents", - "requireDocument", - "restartNetwork", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "shouldStartWriteStream", - "sortsBeforeDocument", - "startWriteStream", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "syncEngineWrite", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toBytes", - "toDocumentMask", - "toDouble", - "toFieldTransform", - "toInteger", - "toMutation", - "toMutationDocument", - "toName", - "toNumber", - "toPrecondition", - "toResourceName", - "toTimestamp", - "toVersion", - "transformObject", - "transformOperationEquals", - "triggerPendingWritesCallbacks", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateDocumentPath", - "validateIsNotUsedTogether", - "validateNonEmptyArgument", - "validatePlainObject", - "valueCompare", - "valueDescription", - "valueEquals", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DeleteMutation", - "DocReference", - "Document", - "DocumentKey", - "DocumentReference", - "EventManagerImpl", - "ExponentialBackoff", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "MutationBatchResult", - "MutationResult", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "ParseContext", - "ParsedSetData", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "PersistentStream", - "PersistentWriteStream", - "Precondition", - "Query", - "QueryImpl", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteStoreImpl", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetIdGenerator", - "TargetImpl", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "UserDataReader", - "VerifyMutation", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 167263 - }, - "arrayRemove": { - "dependencies": { - "functions": [ - "argToString", - "arrayRemove", - "binaryStringFromUint8Array", - "configureFirestore", - "createError", - "createSentinelChildContext", - "decodeBase64", - "encodeBase64", - "fail", - "forEach", - "formatJSON", - "fullyQualifiedPrefixPath", - "getMessageOrStack", - "hardAssert", - "isEmpty", - "isIndexedDbTransactionError", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "ArrayRemoveFieldValueImpl", - "ArrayRemoveTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FieldTransform", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "OAuthToken", - "ParseContext", - "ResourcePath", - "Timestamp", - "TransformOperation", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 35326 - }, - "arrayUnion": { - "dependencies": { - "functions": [ - "argToString", - "arrayUnion", - "binaryStringFromUint8Array", - "configureFirestore", - "createError", - "createSentinelChildContext", - "decodeBase64", - "encodeBase64", - "fail", - "forEach", - "formatJSON", - "fullyQualifiedPrefixPath", - "getMessageOrStack", - "hardAssert", - "isEmpty", - "isIndexedDbTransactionError", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "ArrayUnionFieldValueImpl", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FieldTransform", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "OAuthToken", - "ParseContext", - "ResourcePath", - "Timestamp", - "TransformOperation", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 35319 - }, - "clearIndexedDbPersistence": { - "dependencies": { - "functions": [ - "argToString", - "checkForAndReportiOSError", - "clearIndexedDbPersistence", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "indexedDbClearPersistence", - "indexedDbStoragePrefix", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable", - "wrapRequest" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "IndexedDbTransactionError", - "IterationController", - "OAuthToken", - "PersistencePromise", - "SimpleDb", - "SimpleDbStore", - "SimpleDbTransaction", - "User" - ], - "variables": [] - }, - "sizeInBytes": 31730 - }, - "collection": { - "dependencies": { - "functions": [ - "argToString", - "collection", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "newQueryForPath", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateCollectionPath", - "validateIsNotUsedTogether", - "validateNonEmptyArgument", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "DocumentReference", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryImpl", - "ResourcePath", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 24624 - }, - "collectionGroup": { - "dependencies": { - "functions": [ - "argToString", - "collectionGroup", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "newQueryForCollectionGroup", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "validateNonEmptyArgument", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryImpl", - "ResourcePath", - "User" - ], - "variables": [] - }, - "sizeInBytes": 22219 - }, - "deleteDoc": { - "dependencies": { - "functions": [ - "acknowledgeBatch", - "addMutationCallback", - "addToWritePipeline", - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applySuccessfulWrite", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "applyWriteToRemoteDocuments", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canAddToWritePipeline", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "cast", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createMetadata", - "debugCast", - "decodeBase64", - "deleteDoc", - "disableNetworkInternal", - "disableNetworkUntilRecovery", - "documentEntryMap", - "documentKeySet", - "documentMap", - "documentVersionMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "ensureWriteCallbacks", - "ensureWriteStream", - "eventManagerOnOnlineStateChange", - "executeWithRecovery", - "executeWrite", - "extractFieldMask", - "extractMutationBaseValue", - "extractTransformMutationBaseValue", - "fail", - "fieldTransformEquals", - "fillWritePipeline", - "filterEquals", - "firestoreClientWrite", - "forEach", - "formatJSON", - "fromTimestamp", - "fromVersion", - "fromWriteResult", - "fromWriteResults", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getEncodedDatabaseId", - "getFirstOrderByField", - "getInequalityFilterField", - "getLastRemoteSnapshotVersion", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getSyncEngine", - "handleUserChange", - "handleWriteError", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "ignoreIfPrimaryLeaseLoss", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNegativeZero", - "isNullOrUndefined", - "isNumber", - "isPermanentError", - "isPermanentWriteError", - "isServerTimestamp", - "loadProtos", - "localTransformResults", - "localWrite", - "logDebug", - "logError", - "logWarn", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newPersistentWriteStream", - "newQueryComparator", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "nextMutationBatch", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "onMutationResult", - "onWriteHandshakeComplete", - "onWriteStreamClose", - "onWriteStreamOpen", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "processUserCallback", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "randomBytes", - "registerFirestore", - "rejectBatch", - "rejectFailedWrite", - "rejectOutstandingPendingWritesCallbacks", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreShutdown", - "removeComponents", - "requireDocument", - "restartNetwork", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "shouldStartWriteStream", - "sortsBeforeDocument", - "startWriteStream", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "syncEngineWrite", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toDocumentMask", - "toDouble", - "toFieldTransform", - "toInteger", - "toMutation", - "toMutationDocument", - "toName", - "toPrecondition", - "toResourceName", - "toTimestamp", - "toVersion", - "transformObject", - "transformOperationEquals", - "triggerPendingWritesCallbacks", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "valueCompare", - "valueDescription", - "valueEquals", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DeleteMutation", - "DocReference", - "Document", - "DocumentKey", - "EventManagerImpl", - "ExponentialBackoff", - "FieldMask", - "FieldPath", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "MutationBatchResult", - "MutationResult", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "PersistentStream", - "PersistentWriteStream", - "Precondition", - "QueryImpl", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteStoreImpl", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetIdGenerator", - "TargetImpl", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "VerifyMutation" - ], - "variables": [] - }, - "sizeInBytes": 151734 - }, - "deleteField": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "deleteField", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DeleteFieldValueImpl", - "ExponentialBackoff", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 19140 - }, - "disableNetwork": { - "dependencies": { - "functions": [ - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createMetadata", - "debugCast", - "decodeBase64", - "disableNetwork", - "disableNetworkInternal", - "documentEntryMap", - "documentKeySet", - "documentMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "eventManagerOnOnlineStateChange", - "fail", - "fieldTransformEquals", - "filterEquals", - "firestoreClientDisableNetwork", - "forEach", - "formatJSON", - "geoPointEquals", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPersistence", - "getPostMutationVersion", - "getRemoteStore", - "handleUserChange", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNegativeZero", - "isNullOrUndefined", - "isNumber", - "isServerTimestamp", - "loadProtos", - "localTransformResults", - "logDebug", - "logError", - "logWarn", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newQueryComparator", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "randomBytes", - "registerFirestore", - "rejectOutstandingPendingWritesCallbacks", - "remoteStoreApplyPrimaryState", - "remoteStoreDisableNetwork", - "remoteStoreHandleCredentialChange", - "remoteStoreShutdown", - "removeComponents", - "requireDocument", - "restartNetwork", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "sortsBeforeDocument", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toDouble", - "toInteger", - "transformObject", - "transformOperationEquals", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "valueCompare", - "valueEquals", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DocReference", - "Document", - "DocumentKey", - "EventManagerImpl", - "ExponentialBackoff", - "FieldPath", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "Precondition", - "QueryImpl", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteStoreImpl", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetIdGenerator", - "TargetImpl", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User" - ], - "variables": [] - }, - "sizeInBytes": 128311 - }, - "doc": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "doc", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "newQueryForPath", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateDocumentPath", - "validateIsNotUsedTogether", - "validateNonEmptyArgument", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "DocumentReference", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryImpl", - "ResourcePath", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 24668 - }, - "documentId": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "documentId", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FieldPath", - "FieldPath$2", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User", - "_BaseFieldPath" - ], - "variables": [] - }, - "sizeInBytes": 22382 - }, - "enableIndexedDbPersistence": { - "dependencies": { - "functions": [ - "acknowledgeBatch", - "addToWritePipeline", - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applySuccessfulWrite", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "applyWriteToRemoteDocuments", - "argToString", - "arrayEquals", - "arrayValueContains", - "asCollectionQueryAtPath", - "asNumber", - "assertPresent", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "bufferEntryComparator", - "canAddToWritePipeline", - "canFallbackFromIndexedDbError", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "checkForAndReportiOSError", - "clientMetadataStore", - "coercedFieldValuesArray", - "collectionParentsStore", - "compareArrays", - "compareBlobs", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createClientMetadataStore", - "createDocumentGlobalStore", - "createMetadata", - "createMutationQueue", - "createPrimaryClientStore", - "createQueryCache", - "createRemoteDocumentCache", - "createRemoteDocumentReadTimeIndex", - "dbDocumentSize", - "dbKey", - "debugCast", - "decodeBase64", - "decodeResourcePath", - "disableNetworkInternal", - "disableNetworkUntilRecovery", - "documentEntryMap", - "documentGlobalStore", - "documentKeySet", - "documentMap", - "documentMutationsStore", - "documentTargetStore", - "documentVersionMap", - "dropQueryCache", - "dropRemoteDocumentChangesStore", - "emitNewSnapsAndNotifyLocalStore", - "enableIndexedDbPersistence", - "enableNetworkInternal", - "encodeBase64", - "encodeResourcePath", - "encodeSegment", - "encodeSeparator", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureWriteCallbacks", - "ensureWriteStream", - "eventManagerOnOnlineStateChange", - "executeWithRecovery", - "extractDocumentKeysFromArrayValue", - "extractLocalPathFromResourceName", - "fail", - "fieldTransformEquals", - "fillWritePipeline", - "filterEquals", - "forEach", - "formatJSON", - "fromCursor", - "fromDbMutationBatch", - "fromDbRemoteDocument", - "fromDbTarget", - "fromDbTimestamp", - "fromDbTimestampKey", - "fromDirection", - "fromDocument", - "fromDocumentMask", - "fromDocumentsTarget", - "fromFieldFilter", - "fromFieldPathReference", - "fromFieldTransform", - "fromFilter", - "fromInt32Proto", - "fromMutation", - "fromName", - "fromOperatorName", - "fromOrder", - "fromPrecondition", - "fromPropertyOrder", - "fromQueryPath", - "fromQueryTarget", - "fromResourceName", - "fromTimestamp", - "fromUnaryFilter", - "fromVersion", - "fromWriteResult", - "fromWriteResults", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getDocument", - "getEncodedDatabaseId", - "getFirstOrderByField", - "getInequalityFilterField", - "getLastRemoteSnapshotVersion", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getWindow", - "globalTargetStore", - "handleUserChange", - "handleWriteError", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "ignoreIfPrimaryLeaseLoss", - "immediateSuccessor", - "indexedDbStoragePrefix", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDocumentQuery$1", - "isDocumentTarget", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNanValue", - "isNegativeZero", - "isNullOrUndefined", - "isNullValue", - "isNumber", - "isPermanentError", - "isPermanentWriteError", - "isServerTimestamp", - "isValidResourceName", - "loadProtos", - "localTransformResults", - "logDebug", - "logError", - "logWarn", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "mutationQueueContainsKey", - "mutationQueuesContainKey", - "mutationQueuesStore", - "mutationsStore", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newIndexedDbRemoteDocumentCache", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newPersistentWriteStream", - "newQuery", - "newQueryComparator", - "newQueryForPath", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "nextMutationBatch", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "onMutationResult", - "onWriteHandshakeComplete", - "onWriteStreamClose", - "onWriteStreamOpen", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primaryClientStore", - "primitiveComparator", - "processUserCallback", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "randomBytes", - "registerFirestore", - "rejectBatch", - "rejectFailedWrite", - "rejectOutstandingPendingWritesCallbacks", - "remoteDocumentCacheGetLastReadTime", - "remoteDocumentsStore", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreShutdown", - "removeComponents", - "removeMutationBatch", - "requireDocument", - "restartNetwork", - "sentinelKey", - "sentinelKey$1", - "sentinelRow", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "setPersistenceProviders", - "shouldStartWriteStream", - "sortsBeforeDocument", - "startWriteStream", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "synchronizeLastDocumentChangeReadTime", - "targetEquals", - "targetIdSet", - "targetsStore", - "timestampEquals", - "toCursor", - "toDbMutationBatch", - "toDbRemoteDocument", - "toDbTarget", - "toDbTimestamp", - "toDbTimestampKey", - "toDirection", - "toDocument", - "toDocumentMask", - "toDocumentsTarget", - "toDouble", - "toFieldPathReference", - "toFieldTransform", - "toFilter", - "toInt32Proto", - "toInteger", - "toMutation", - "toMutationDocument", - "toName", - "toOperatorName", - "toOrder", - "toPrecondition", - "toPropertyOrder", - "toQueryPath", - "toQueryTarget", - "toResourceName", - "toTimestamp", - "toUnaryOrFieldFilter", - "toVersion", - "transformObject", - "transformOperationEquals", - "triggerPendingWritesCallbacks", - "typeOrder", - "uint8ArrayFromBinaryString", - "upgradeMutationBatchSchemaAndMigrateData", - "validateIsNotUsedTogether", - "valueCompare", - "valueEquals", - "verifyNotInitialized", - "wrapInUserErrorIfRecoverable", - "wrapRequest", - "writeEmptyTargetGlobalEntry", - "writeSentinelKey" - ], - "classes": [ - "ArrayContainsAnyFilter", - "ArrayContainsFilter", - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "DbClientMetadata", - "DbCollectionParent", - "DbDocumentMutation", - "DbMutationBatch", - "DbMutationQueue", - "DbNoDocument", - "DbPrimaryClient", - "DbRemoteDocument", - "DbRemoteDocumentGlobal", - "DbTarget", - "DbTargetDocument", - "DbTargetGlobal", - "DbTimestamp", - "DbUnknownDocument", - "Deferred", - "DelayedOperation", - "DeleteMutation", - "DocReference", - "Document", - "DocumentKey", - "EventManagerImpl", - "ExponentialBackoff", - "FieldFilter", - "FieldMask", - "FieldPath", - "FieldTransform", - "Filter", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GrpcConnection", - "InFilter", - "IndexFreeQueryEngine", - "IndexedDbIndexManager", - "IndexedDbLruDelegate", - "IndexedDbMutationQueue", - "IndexedDbOfflineComponentProvider", - "IndexedDbPersistence", - "IndexedDbRemoteDocumentCacheImpl", - "IndexedDbRemoteDocumentChangeBuffer", - "IndexedDbTargetCache", - "IndexedDbTransaction", - "IndexedDbTransactionError", - "IterationController", - "JsonProtoSerializer", - "KeyFieldFilter", - "KeyFieldInFilter", - "KeyFieldNotInFilter", - "LLRBEmptyNode", - "LLRBNode", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalSerializer", - "LocalStoreImpl", - "LocalViewChanges", - "LruGarbageCollector", - "LruParams", - "LruScheduler", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "MutationBatchResult", - "MutationResult", - "NoDocument", - "NoopConnectivityMonitor", - "NotInFilter", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "PersistentStream", - "PersistentWriteStream", - "Precondition", - "QueryImpl", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteStoreImpl", - "ResourcePath", - "RollingSequenceNumberBuffer", - "SchemaConverter", - "ServerTimestampTransform", - "SetMutation", - "SimpleDb", - "SimpleDbStore", - "SimpleDbTransaction", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetData", - "TargetIdGenerator", - "TargetImpl", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "VerifyMutation" - ], - "variables": [] - }, - "sizeInBytes": 239289 - }, - "enableMultiTabIndexedDbPersistence": { - "dependencies": { - "functions": [ - "acknowledgeBatch", - "addToWritePipeline", - "allocateTarget", - "applyActiveTargetsChange", - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyBatchState", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyDocChanges", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applyPrimaryState", - "applyRemoteEvent", - "applyRemoteEventToLocalCache", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applySuccessfulWrite", - "applyTargetState", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "applyWriteToRemoteDocuments", - "argToString", - "arrayEquals", - "arrayValueContains", - "asCollectionQueryAtPath", - "asNumber", - "assertPresent", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "bufferEntryComparator", - "canAddToWritePipeline", - "canFallbackFromIndexedDbError", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "checkForAndReportiOSError", - "cleanUpWatchStreamState", - "clientMetadataStore", - "coercedFieldValuesArray", - "collectionParentsStore", - "compareArrays", - "compareBlobs", - "compareChangeType", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createClientMetadataStore", - "createDocumentGlobalStore", - "createMetadata", - "createMutationQueue", - "createPrimaryClientStore", - "createQueryCache", - "createRemoteDocumentCache", - "createRemoteDocumentReadTimeIndex", - "createWebStorageClientStateKey", - "createWebStorageMutationBatchKey", - "createWebStorageOnlineStateKey", - "createWebStorageQueryTargetMetadataKey", - "createWebStorageSequenceNumberKey", - "dbDocumentSize", - "dbKey", - "debugCast", - "decodeBase64", - "decodeResourcePath", - "disableNetworkInternal", - "disableNetworkUntilRecovery", - "documentEntryMap", - "documentGlobalStore", - "documentKeySet", - "documentMap", - "documentMutationsStore", - "documentTargetMap", - "documentTargetStore", - "documentVersionMap", - "dropQueryCache", - "dropRemoteDocumentChangesStore", - "emitNewSnapsAndNotifyLocalStore", - "enableMultiTabIndexedDbPersistence", - "enableNetworkInternal", - "encodeBase64", - "encodeResourcePath", - "encodeSegment", - "encodeSeparator", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureWatchCallbacks", - "ensureWatchStream", - "ensureWriteCallbacks", - "ensureWriteStream", - "eventManagerOnOnlineStateChange", - "eventManagerOnWatchChange", - "eventManagerOnWatchError", - "executeQuery", - "executeWithRecovery", - "extractDocumentKeysFromArrayValue", - "extractLocalPathFromResourceName", - "fail", - "fieldTransformEquals", - "fillWritePipeline", - "filterEquals", - "forEach", - "formatJSON", - "fromBytes", - "fromCursor", - "fromDbMutationBatch", - "fromDbRemoteDocument", - "fromDbTarget", - "fromDbTimestamp", - "fromDbTimestampKey", - "fromDirection", - "fromDocument", - "fromDocumentMask", - "fromDocumentsTarget", - "fromFieldFilter", - "fromFieldPathReference", - "fromFieldTransform", - "fromFilter", - "fromInt32Proto", - "fromMutation", - "fromName", - "fromOperatorName", - "fromOrder", - "fromPrecondition", - "fromPropertyOrder", - "fromQueryPath", - "fromQueryTarget", - "fromResourceName", - "fromRpcStatus", - "fromTimestamp", - "fromUnaryFilter", - "fromVersion", - "fromWatchChange", - "fromWatchTargetChangeState", - "fromWebStorageSequenceNumber", - "fromWriteResult", - "fromWriteResults", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getActiveClients", - "getActiveClientsFromPersistence", - "getCachedTarget", - "getDocument", - "getEncodedDatabaseId", - "getFirstOrderByField", - "getInequalityFilterField", - "getLastRemoteSnapshotVersion", - "getLocalTargetData", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getNewDocumentChanges", - "getPostMutationVersion", - "getRemoteKeysForTarget", - "getWindow", - "globalTargetStore", - "handleTargetError", - "handleUserChange", - "handleWriteError", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "ignoreIfPrimaryLeaseLoss", - "immediateSuccessor", - "indexedDbStoragePrefix", - "initializeViewAndComputeSnapshot", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDocumentQuery$1", - "isDocumentTarget", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNanValue", - "isNegativeZero", - "isNullOrUndefined", - "isNullValue", - "isNumber", - "isPermanentError", - "isPermanentWriteError", - "isSafeInteger", - "isServerTimestamp", - "isValidResourceName", - "loadProtos", - "localTransformResults", - "logDebug", - "logError", - "logWarn", - "lookupMutationDocuments", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "mutationQueueContainsKey", - "mutationQueuesContainKey", - "mutationQueuesStore", - "mutationsStore", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newIndexedDbRemoteDocumentCache", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newPersistentWatchStream", - "newPersistentWriteStream", - "newQuery", - "newQueryComparator", - "newQueryForPath", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "nextMutationBatch", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "onMutationResult", - "onWatchStreamChange", - "onWatchStreamClose", - "onWatchStreamOpen", - "onWriteHandshakeComplete", - "onWriteStreamClose", - "onWriteStreamOpen", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primaryClientStore", - "primitiveComparator", - "processUserCallback", - "pumpEnqueuedLimboResolutions", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "raiseWatchSnapshot", - "randomBytes", - "registerFirestore", - "rejectBatch", - "rejectFailedWrite", - "rejectListen", - "rejectOutstandingPendingWritesCallbacks", - "releaseTarget", - "remoteDocumentCacheGetLastReadTime", - "remoteDocumentCacheGetNewDocumentChanges", - "remoteDocumentsStore", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreListen", - "remoteStoreShutdown", - "remoteStoreUnlisten", - "removeAndCleanupTarget", - "removeCachedMutationBatchMetadata", - "removeComponents", - "removeLimboTarget", - "removeMutationBatch", - "requireDocument", - "resetLimboDocuments", - "restartNetwork", - "sendUnwatchRequest", - "sendWatchRequest", - "sentinelKey", - "sentinelKey$1", - "sentinelRow", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "setPersistenceProviders", - "shouldPersistTargetData", - "shouldStartWatchStream", - "shouldStartWriteStream", - "snapshotChangesMap", - "sortsBeforeDocument", - "startWatchStream", - "startWriteStream", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "synchronizeLastDocumentChangeReadTime", - "synchronizeQueryViewsAndRaiseSnapshots", - "synchronizeViewAndComputeSnapshot", - "synthesizeTargetToQuery", - "targetEquals", - "targetIdSet", - "targetsStore", - "timestampEquals", - "toBytes", - "toCursor", - "toDbMutationBatch", - "toDbRemoteDocument", - "toDbTarget", - "toDbTimestamp", - "toDbTimestampKey", - "toDirection", - "toDocument", - "toDocumentMask", - "toDocumentsTarget", - "toDouble", - "toFieldPathReference", - "toFieldTransform", - "toFilter", - "toInt32Proto", - "toInteger", - "toLabel", - "toListenRequestLabels", - "toMutation", - "toMutationDocument", - "toName", - "toOperatorName", - "toOrder", - "toPrecondition", - "toPropertyOrder", - "toQueryPath", - "toQueryTarget", - "toResourceName", - "toTarget", - "toTimestamp", - "toUnaryOrFieldFilter", - "toVersion", - "trackLimboChange", - "transformObject", - "transformOperationEquals", - "triggerPendingWritesCallbacks", - "typeOrder", - "uint8ArrayFromBinaryString", - "updateTrackedLimbos", - "upgradeMutationBatchSchemaAndMigrateData", - "validateIsNotUsedTogether", - "valueCompare", - "valueEquals", - "verifyNotInitialized", - "versionFromListenResponse", - "wrapInUserErrorIfRecoverable", - "wrapRequest", - "writeEmptyTargetGlobalEntry", - "writeSentinelKey" - ], - "classes": [ - "AddedLimboDocument", - "ArrayContainsAnyFilter", - "ArrayContainsFilter", - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "DbClientMetadata", - "DbCollectionParent", - "DbDocumentMutation", - "DbMutationBatch", - "DbMutationQueue", - "DbNoDocument", - "DbPrimaryClient", - "DbRemoteDocument", - "DbRemoteDocumentGlobal", - "DbTarget", - "DbTargetDocument", - "DbTargetGlobal", - "DbTimestamp", - "DbUnknownDocument", - "Deferred", - "DelayedOperation", - "DeleteMutation", - "DocReference", - "Document", - "DocumentChangeSet", - "DocumentKey", - "DocumentSet", - "DocumentWatchChange", - "EventManagerImpl", - "ExistenceFilter", - "ExistenceFilterChange", - "ExponentialBackoff", - "FieldFilter", - "FieldMask", - "FieldPath", - "FieldTransform", - "Filter", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GrpcConnection", - "InFilter", - "IndexFreeQueryEngine", - "IndexedDbIndexManager", - "IndexedDbLruDelegate", - "IndexedDbMutationQueue", - "IndexedDbOfflineComponentProvider", - "IndexedDbPersistence", - "IndexedDbRemoteDocumentCacheImpl", - "IndexedDbRemoteDocumentChangeBuffer", - "IndexedDbTargetCache", - "IndexedDbTransaction", - "IndexedDbTransactionError", - "IterationController", - "JsonProtoSerializer", - "KeyFieldFilter", - "KeyFieldInFilter", - "KeyFieldNotInFilter", - "LLRBEmptyNode", - "LLRBNode", - "LimboResolution", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalSerializer", - "LocalStoreImpl", - "LocalViewChanges", - "LruGarbageCollector", - "LruParams", - "LruScheduler", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "MultiTabOfflineComponentProvider", - "Mutation", - "MutationBatch", - "MutationBatchResult", - "MutationMetadata", - "MutationResult", - "NoDocument", - "NoopConnectivityMonitor", - "NotInFilter", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "PersistentListenStream", - "PersistentStream", - "PersistentWriteStream", - "Precondition", - "QueryImpl", - "QueryTargetMetadata", - "QueryView", - "ReferenceSet", - "RemoteClientState", - "RemoteDocumentChangeBuffer", - "RemoteEvent", - "RemoteStoreImpl", - "RemovedLimboDocument", - "ResourcePath", - "RollingSequenceNumberBuffer", - "SchemaConverter", - "ServerTimestampTransform", - "SetMutation", - "SharedOnlineState", - "SimpleDb", - "SimpleDbStore", - "SimpleDbTransaction", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetChange", - "TargetData", - "TargetIdGenerator", - "TargetImpl", - "TargetState", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "VerifyMutation", - "View", - "ViewSnapshot", - "WatchChangeAggregator", - "WatchTargetChange", - "WebStorageSharedClientState" - ], - "variables": [] - }, - "sizeInBytes": 307870 - }, - "enableNetwork": { - "dependencies": { - "functions": [ - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createMetadata", - "debugCast", - "decodeBase64", - "disableNetworkInternal", - "documentEntryMap", - "documentKeySet", - "documentMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetwork", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "eventManagerOnOnlineStateChange", - "fail", - "fieldTransformEquals", - "filterEquals", - "firestoreClientEnableNetwork", - "forEach", - "formatJSON", - "geoPointEquals", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPersistence", - "getPostMutationVersion", - "getRemoteStore", - "handleUserChange", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNegativeZero", - "isNullOrUndefined", - "isNumber", - "isServerTimestamp", - "loadProtos", - "localTransformResults", - "logDebug", - "logError", - "logWarn", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newQueryComparator", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "randomBytes", - "registerFirestore", - "rejectOutstandingPendingWritesCallbacks", - "remoteStoreApplyPrimaryState", - "remoteStoreEnableNetwork", - "remoteStoreHandleCredentialChange", - "remoteStoreShutdown", - "removeComponents", - "requireDocument", - "restartNetwork", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "sortsBeforeDocument", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toDouble", - "toInteger", - "transformObject", - "transformOperationEquals", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "valueCompare", - "valueEquals", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DocReference", - "Document", - "DocumentKey", - "EventManagerImpl", - "ExponentialBackoff", - "FieldPath", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "Precondition", - "QueryImpl", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteStoreImpl", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetIdGenerator", - "TargetImpl", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User" - ], - "variables": [] - }, - "sizeInBytes": 128251 - }, - "endAt": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "configureFirestore", - "createError", - "debugCast", - "decodeBase64", - "encodeBase64", - "endAt", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getMessageOrStack", - "getPreviousValue", - "hardAssert", - "isCollectionGroupQuery", - "isEmpty", - "isIndexedDbTransactionError", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isValidResourceName", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newQueryBoundFromDocOrFields", - "newQueryBoundFromDocument", - "newQueryBoundFromFields", - "newQueryForPath", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "parseArray", - "parseData", - "parseObject", - "parseQueryValue", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "queryOrderBy", - "queryWithEndAt", - "randomBytes", - "refValue", - "registerFirestore", - "removeComponents", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "JsonProtoSerializer", - "OAuthToken", - "OrderBy", - "ParseContext", - "Query", - "QueryConstraint", - "QueryDocumentSnapshot", - "QueryEndAtConstraint", - "QueryImpl", - "ResourcePath", - "Timestamp", - "User", - "UserDataReader", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 51952 - }, - "endBefore": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "configureFirestore", - "createError", - "debugCast", - "decodeBase64", - "encodeBase64", - "endBefore", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getMessageOrStack", - "getPreviousValue", - "hardAssert", - "isCollectionGroupQuery", - "isEmpty", - "isIndexedDbTransactionError", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isValidResourceName", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newQueryBoundFromDocOrFields", - "newQueryBoundFromDocument", - "newQueryBoundFromFields", - "newQueryForPath", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "parseArray", - "parseData", - "parseObject", - "parseQueryValue", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "queryOrderBy", - "queryWithEndAt", - "randomBytes", - "refValue", - "registerFirestore", - "removeComponents", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "JsonProtoSerializer", - "OAuthToken", - "OrderBy", - "ParseContext", - "Query", - "QueryConstraint", - "QueryDocumentSnapshot", - "QueryEndAtConstraint", - "QueryImpl", - "ResourcePath", - "Timestamp", - "User", - "UserDataReader", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 51963 - }, - "getDoc": { - "dependencies": { - "functions": [ - "allocateTarget", - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyDocChanges", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applyRemoteEvent", - "applyRemoteEventToLocalCache", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "assertPresent", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "cast", - "cleanUpWatchStreamState", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareChangeType", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "convertToDocSnapshot", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "disableNetworkInternal", - "disableNetworkUntilRecovery", - "documentEntryMap", - "documentKeySet", - "documentMap", - "documentTargetMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "ensureWatchCallbacks", - "ensureWatchStream", - "errorMessage", - "eventManagerListen", - "eventManagerOnOnlineStateChange", - "eventManagerOnWatchChange", - "eventManagerOnWatchError", - "eventManagerUnlisten", - "executeQuery", - "extractLocalPathFromResourceName", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "fieldTransformEquals", - "filterEquals", - "forEach", - "formatJSON", - "fromBytes", - "fromDotSeparatedString", - "fromName", - "fromResourceName", - "fromRpcStatus", - "fromTimestamp", - "fromVersion", - "fromWatchChange", - "fromWatchTargetChangeState", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getDoc", - "getEncodedDatabaseId", - "getEventManager", - "getFirstOrderByField", - "getInequalityFilterField", - "getLastRemoteSnapshotVersion", - "getLocalTargetData", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getPreviousValue", - "getRemoteKeysForTarget", - "handleTargetError", - "handleUserChange", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "ignoreIfPrimaryLeaseLoss", - "initializeViewAndComputeSnapshot", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDocumentTarget", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNanValue", - "isNegativeZero", - "isNullOrUndefined", - "isNullValue", - "isNumber", - "isServerTimestamp", - "isValidResourceName", - "loadProtos", - "localTransformResults", - "logDebug", - "logError", - "logWarn", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newPersistentWatchStream", - "newQueryComparator", - "newQueryForPath", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "onWatchStreamChange", - "onWatchStreamClose", - "onWatchStreamOpen", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "pumpEnqueuedLimboResolutions", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "raiseWatchSnapshot", - "randomBytes", - "readDocumentViaSnapshotListener", - "registerFirestore", - "rejectListen", - "rejectOutstandingPendingWritesCallbacks", - "releaseTarget", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreListen", - "remoteStoreShutdown", - "remoteStoreUnlisten", - "removeAndCleanupTarget", - "removeComponents", - "removeLimboTarget", - "requireDocument", - "restartNetwork", - "sendUnwatchRequest", - "sendWatchRequest", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "shouldPersistTargetData", - "shouldStartWatchStream", - "snapshotChangesMap", - "sortsBeforeDocument", - "startWatchStream", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "syncEngineListen", - "syncEngineUnlisten", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toBytes", - "toCursor", - "toDirection", - "toDocumentsTarget", - "toDouble", - "toFieldPathReference", - "toFilter", - "toInt32Proto", - "toInteger", - "toLabel", - "toListenRequestLabels", - "toOperatorName", - "toOrder", - "toPropertyOrder", - "toQueryPath", - "toQueryTarget", - "toResourceName", - "toTarget", - "toUnaryOrFieldFilter", - "trackLimboChange", - "transformObject", - "transformOperationEquals", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "updateTrackedLimbos", - "validateIsNotUsedTogether", - "valueCompare", - "valueDescription", - "valueEquals", - "versionFromListenResponse", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AddedLimboDocument", - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncObserver", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DocReference", - "Document", - "DocumentChangeSet", - "DocumentKey", - "DocumentReference", - "DocumentSet", - "DocumentSnapshot", - "DocumentSnapshot$1", - "DocumentWatchChange", - "EventManagerImpl", - "ExistenceFilter", - "ExistenceFilterChange", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "LimboResolution", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "PersistentListenStream", - "PersistentStream", - "Precondition", - "Query", - "QueryDocumentSnapshot", - "QueryDocumentSnapshot$1", - "QueryImpl", - "QueryListener", - "QueryListenersInfo", - "QueryView", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteEvent", - "RemoteStoreImpl", - "RemovedLimboDocument", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotMetadata", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetChange", - "TargetData", - "TargetIdGenerator", - "TargetImpl", - "TargetState", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "UserDataWriter", - "View", - "ViewSnapshot", - "WatchChangeAggregator", - "WatchTargetChange", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 200807 - }, - "getDocFromCache": { - "dependencies": { - "functions": [ - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "cast", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createError", - "debugCast", - "decodeBase64", - "documentEntryMap", - "documentKeySet", - "documentMap", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "fieldTransformEquals", - "filterEquals", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "geoPointEquals", - "getDocFromCache", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalStore", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getPreviousValue", - "handleUserChange", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNegativeZero", - "isNullOrUndefined", - "isNumber", - "isServerTimestamp", - "isValidResourceName", - "localTransformResults", - "logDebug", - "logError", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newQueryComparator", - "newQueryForPath", - "newTarget", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "randomBytes", - "readDocumentFromCache", - "readLocalDocument", - "registerFirestore", - "removeComponents", - "requireDocument", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "sortsBeforeDocument", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toDouble", - "toInteger", - "transformObject", - "transformOperationEquals", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "valueCompare", - "valueDescription", - "valueEquals", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocReference", - "Document", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "DocumentSnapshot$1", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "IndexFreeQueryEngine", - "LLRBEmptyNode", - "LLRBNode", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "NoDocument", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "Precondition", - "Query", - "QueryDocumentSnapshot", - "QueryDocumentSnapshot$1", - "QueryImpl", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotMetadata", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "TargetIdGenerator", - "TargetImpl", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 119465 - }, - "getDocFromServer": { - "dependencies": { - "functions": [ - "allocateTarget", - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyDocChanges", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applyRemoteEvent", - "applyRemoteEventToLocalCache", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "assertPresent", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "cast", - "cleanUpWatchStreamState", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareChangeType", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "convertToDocSnapshot", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "disableNetworkInternal", - "disableNetworkUntilRecovery", - "documentEntryMap", - "documentKeySet", - "documentMap", - "documentTargetMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "ensureWatchCallbacks", - "ensureWatchStream", - "errorMessage", - "eventManagerListen", - "eventManagerOnOnlineStateChange", - "eventManagerOnWatchChange", - "eventManagerOnWatchError", - "eventManagerUnlisten", - "executeQuery", - "extractLocalPathFromResourceName", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "fieldTransformEquals", - "filterEquals", - "forEach", - "formatJSON", - "fromBytes", - "fromDotSeparatedString", - "fromName", - "fromResourceName", - "fromRpcStatus", - "fromTimestamp", - "fromVersion", - "fromWatchChange", - "fromWatchTargetChangeState", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getDocFromServer", - "getEncodedDatabaseId", - "getEventManager", - "getFirstOrderByField", - "getInequalityFilterField", - "getLastRemoteSnapshotVersion", - "getLocalTargetData", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getPreviousValue", - "getRemoteKeysForTarget", - "handleTargetError", - "handleUserChange", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "ignoreIfPrimaryLeaseLoss", - "initializeViewAndComputeSnapshot", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDocumentTarget", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNanValue", - "isNegativeZero", - "isNullOrUndefined", - "isNullValue", - "isNumber", - "isServerTimestamp", - "isValidResourceName", - "loadProtos", - "localTransformResults", - "logDebug", - "logError", - "logWarn", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newPersistentWatchStream", - "newQueryComparator", - "newQueryForPath", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "onWatchStreamChange", - "onWatchStreamClose", - "onWatchStreamOpen", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "pumpEnqueuedLimboResolutions", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "raiseWatchSnapshot", - "randomBytes", - "readDocumentViaSnapshotListener", - "registerFirestore", - "rejectListen", - "rejectOutstandingPendingWritesCallbacks", - "releaseTarget", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreListen", - "remoteStoreShutdown", - "remoteStoreUnlisten", - "removeAndCleanupTarget", - "removeComponents", - "removeLimboTarget", - "requireDocument", - "restartNetwork", - "sendUnwatchRequest", - "sendWatchRequest", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "shouldPersistTargetData", - "shouldStartWatchStream", - "snapshotChangesMap", - "sortsBeforeDocument", - "startWatchStream", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "syncEngineListen", - "syncEngineUnlisten", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toBytes", - "toCursor", - "toDirection", - "toDocumentsTarget", - "toDouble", - "toFieldPathReference", - "toFilter", - "toInt32Proto", - "toInteger", - "toLabel", - "toListenRequestLabels", - "toOperatorName", - "toOrder", - "toPropertyOrder", - "toQueryPath", - "toQueryTarget", - "toResourceName", - "toTarget", - "toUnaryOrFieldFilter", - "trackLimboChange", - "transformObject", - "transformOperationEquals", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "updateTrackedLimbos", - "validateIsNotUsedTogether", - "valueCompare", - "valueDescription", - "valueEquals", - "versionFromListenResponse", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AddedLimboDocument", - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncObserver", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DocReference", - "Document", - "DocumentChangeSet", - "DocumentKey", - "DocumentReference", - "DocumentSet", - "DocumentSnapshot", - "DocumentSnapshot$1", - "DocumentWatchChange", - "EventManagerImpl", - "ExistenceFilter", - "ExistenceFilterChange", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "LimboResolution", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "PersistentListenStream", - "PersistentStream", - "Precondition", - "Query", - "QueryDocumentSnapshot", - "QueryDocumentSnapshot$1", - "QueryImpl", - "QueryListener", - "QueryListenersInfo", - "QueryView", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteEvent", - "RemoteStoreImpl", - "RemovedLimboDocument", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotMetadata", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetChange", - "TargetData", - "TargetIdGenerator", - "TargetImpl", - "TargetState", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "UserDataWriter", - "View", - "ViewSnapshot", - "WatchChangeAggregator", - "WatchTargetChange", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 200826 - }, - "getDocs": { - "dependencies": { - "functions": [ - "allocateTarget", - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyDocChanges", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applyRemoteEvent", - "applyRemoteEventToLocalCache", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "assertPresent", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "cast", - "changesFromSnapshot", - "cleanUpWatchStreamState", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareChangeType", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "disableNetworkInternal", - "disableNetworkUntilRecovery", - "documentEntryMap", - "documentKeySet", - "documentMap", - "documentTargetMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "ensureWatchCallbacks", - "ensureWatchStream", - "errorMessage", - "eventManagerListen", - "eventManagerOnOnlineStateChange", - "eventManagerOnWatchChange", - "eventManagerOnWatchError", - "eventManagerUnlisten", - "executeQuery", - "executeQueryViaSnapshotListener", - "extractLocalPathFromResourceName", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "fieldTransformEquals", - "filterEquals", - "forEach", - "formatJSON", - "fromBytes", - "fromDotSeparatedString", - "fromName", - "fromResourceName", - "fromRpcStatus", - "fromTimestamp", - "fromVersion", - "fromWatchChange", - "fromWatchTargetChangeState", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getDocs", - "getEncodedDatabaseId", - "getEventManager", - "getFirstOrderByField", - "getInequalityFilterField", - "getLastRemoteSnapshotVersion", - "getLocalTargetData", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getPreviousValue", - "getRemoteKeysForTarget", - "handleTargetError", - "handleUserChange", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "ignoreIfPrimaryLeaseLoss", - "initializeViewAndComputeSnapshot", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDocumentTarget", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNanValue", - "isNegativeZero", - "isNullOrUndefined", - "isNullValue", - "isNumber", - "isServerTimestamp", - "isValidResourceName", - "loadProtos", - "localTransformResults", - "logDebug", - "logError", - "logWarn", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newPersistentWatchStream", - "newQueryComparator", - "newQueryForPath", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "onWatchStreamChange", - "onWatchStreamClose", - "onWatchStreamOpen", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "pumpEnqueuedLimboResolutions", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "raiseWatchSnapshot", - "randomBytes", - "registerFirestore", - "rejectListen", - "rejectOutstandingPendingWritesCallbacks", - "releaseTarget", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreListen", - "remoteStoreShutdown", - "remoteStoreUnlisten", - "removeAndCleanupTarget", - "removeComponents", - "removeLimboTarget", - "requireDocument", - "restartNetwork", - "resultChangeType", - "sendUnwatchRequest", - "sendWatchRequest", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "shouldPersistTargetData", - "shouldStartWatchStream", - "snapshotChangesMap", - "sortsBeforeDocument", - "startWatchStream", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "syncEngineListen", - "syncEngineUnlisten", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toBytes", - "toCursor", - "toDirection", - "toDocumentsTarget", - "toDouble", - "toFieldPathReference", - "toFilter", - "toInt32Proto", - "toInteger", - "toLabel", - "toListenRequestLabels", - "toOperatorName", - "toOrder", - "toPropertyOrder", - "toQueryPath", - "toQueryTarget", - "toResourceName", - "toTarget", - "toUnaryOrFieldFilter", - "trackLimboChange", - "transformObject", - "transformOperationEquals", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "updateTrackedLimbos", - "validateHasExplicitOrderByForLimitToLast", - "validateIsNotUsedTogether", - "valueCompare", - "valueDescription", - "valueEquals", - "versionFromListenResponse", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AddedLimboDocument", - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncObserver", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DocReference", - "Document", - "DocumentChangeSet", - "DocumentKey", - "DocumentReference", - "DocumentSet", - "DocumentSnapshot", - "DocumentSnapshot$1", - "DocumentWatchChange", - "EventManagerImpl", - "ExistenceFilter", - "ExistenceFilterChange", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "LimboResolution", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "PersistentListenStream", - "PersistentStream", - "Precondition", - "Query", - "QueryDocumentSnapshot", - "QueryDocumentSnapshot$1", - "QueryImpl", - "QueryListener", - "QueryListenersInfo", - "QuerySnapshot", - "QueryView", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteEvent", - "RemoteStoreImpl", - "RemovedLimboDocument", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotMetadata", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetChange", - "TargetData", - "TargetIdGenerator", - "TargetImpl", - "TargetState", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "UserDataWriter", - "View", - "ViewSnapshot", - "WatchChangeAggregator", - "WatchTargetChange", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 203108 - }, - "getDocsFromCache": { - "dependencies": { - "functions": [ - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "cast", - "changesFromSnapshot", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareChangeType", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createError", - "debugCast", - "decodeBase64", - "documentEntryMap", - "documentKeySet", - "documentMap", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "errorMessage", - "executeQuery", - "executeQueryFromCache", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "fieldTransformEquals", - "filterEquals", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "geoPointEquals", - "getDocsFromCache", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalStore", - "getLocalTargetData", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getPreviousValue", - "handleUserChange", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNegativeZero", - "isNullOrUndefined", - "isNumber", - "isServerTimestamp", - "isValidResourceName", - "localTransformResults", - "logDebug", - "logError", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newQueryComparator", - "newQueryForPath", - "newTarget", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "randomBytes", - "registerFirestore", - "removeComponents", - "requireDocument", - "resultChangeType", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "sortsBeforeDocument", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toDouble", - "toInteger", - "transformObject", - "transformOperationEquals", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "valueCompare", - "valueDescription", - "valueEquals", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AddedLimboDocument", - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocReference", - "Document", - "DocumentChangeSet", - "DocumentKey", - "DocumentReference", - "DocumentSet", - "DocumentSnapshot", - "DocumentSnapshot$1", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "IndexFreeQueryEngine", - "LLRBEmptyNode", - "LLRBNode", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "NoDocument", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "Precondition", - "Query", - "QueryDocumentSnapshot", - "QueryDocumentSnapshot$1", - "QueryImpl", - "QuerySnapshot", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemovedLimboDocument", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotMetadata", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "TargetIdGenerator", - "TargetImpl", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "UserDataWriter", - "View", - "ViewSnapshot", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 132433 - }, - "getDocsFromServer": { - "dependencies": { - "functions": [ - "allocateTarget", - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyDocChanges", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applyRemoteEvent", - "applyRemoteEventToLocalCache", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "assertPresent", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "cast", - "changesFromSnapshot", - "cleanUpWatchStreamState", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareChangeType", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "disableNetworkInternal", - "disableNetworkUntilRecovery", - "documentEntryMap", - "documentKeySet", - "documentMap", - "documentTargetMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "ensureWatchCallbacks", - "ensureWatchStream", - "errorMessage", - "eventManagerListen", - "eventManagerOnOnlineStateChange", - "eventManagerOnWatchChange", - "eventManagerOnWatchError", - "eventManagerUnlisten", - "executeQuery", - "executeQueryViaSnapshotListener", - "extractLocalPathFromResourceName", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "fieldTransformEquals", - "filterEquals", - "forEach", - "formatJSON", - "fromBytes", - "fromDotSeparatedString", - "fromName", - "fromResourceName", - "fromRpcStatus", - "fromTimestamp", - "fromVersion", - "fromWatchChange", - "fromWatchTargetChangeState", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getDocsFromServer", - "getEncodedDatabaseId", - "getEventManager", - "getFirstOrderByField", - "getInequalityFilterField", - "getLastRemoteSnapshotVersion", - "getLocalTargetData", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getPreviousValue", - "getRemoteKeysForTarget", - "handleTargetError", - "handleUserChange", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "ignoreIfPrimaryLeaseLoss", - "initializeViewAndComputeSnapshot", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDocumentTarget", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNanValue", - "isNegativeZero", - "isNullOrUndefined", - "isNullValue", - "isNumber", - "isServerTimestamp", - "isValidResourceName", - "loadProtos", - "localTransformResults", - "logDebug", - "logError", - "logWarn", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newPersistentWatchStream", - "newQueryComparator", - "newQueryForPath", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "onWatchStreamChange", - "onWatchStreamClose", - "onWatchStreamOpen", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "pumpEnqueuedLimboResolutions", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "raiseWatchSnapshot", - "randomBytes", - "registerFirestore", - "rejectListen", - "rejectOutstandingPendingWritesCallbacks", - "releaseTarget", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreListen", - "remoteStoreShutdown", - "remoteStoreUnlisten", - "removeAndCleanupTarget", - "removeComponents", - "removeLimboTarget", - "requireDocument", - "restartNetwork", - "resultChangeType", - "sendUnwatchRequest", - "sendWatchRequest", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "shouldPersistTargetData", - "shouldStartWatchStream", - "snapshotChangesMap", - "sortsBeforeDocument", - "startWatchStream", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "syncEngineListen", - "syncEngineUnlisten", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toBytes", - "toCursor", - "toDirection", - "toDocumentsTarget", - "toDouble", - "toFieldPathReference", - "toFilter", - "toInt32Proto", - "toInteger", - "toLabel", - "toListenRequestLabels", - "toOperatorName", - "toOrder", - "toPropertyOrder", - "toQueryPath", - "toQueryTarget", - "toResourceName", - "toTarget", - "toUnaryOrFieldFilter", - "trackLimboChange", - "transformObject", - "transformOperationEquals", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "updateTrackedLimbos", - "validateIsNotUsedTogether", - "valueCompare", - "valueDescription", - "valueEquals", - "versionFromListenResponse", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AddedLimboDocument", - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncObserver", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DocReference", - "Document", - "DocumentChangeSet", - "DocumentKey", - "DocumentReference", - "DocumentSet", - "DocumentSnapshot", - "DocumentSnapshot$1", - "DocumentWatchChange", - "EventManagerImpl", - "ExistenceFilter", - "ExistenceFilterChange", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "LimboResolution", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "PersistentListenStream", - "PersistentStream", - "Precondition", - "Query", - "QueryDocumentSnapshot", - "QueryDocumentSnapshot$1", - "QueryImpl", - "QueryListener", - "QueryListenersInfo", - "QuerySnapshot", - "QueryView", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteEvent", - "RemoteStoreImpl", - "RemovedLimboDocument", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotMetadata", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetChange", - "TargetData", - "TargetIdGenerator", - "TargetImpl", - "TargetState", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "UserDataWriter", - "View", - "ViewSnapshot", - "WatchChangeAggregator", - "WatchTargetChange", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 202836 - }, - "getFirestore": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getFirestore", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 18632 - }, - "increment": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "increment", - "isIndexedDbTransactionError", - "isNegativeZero", - "isSafeInteger", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "toDouble", - "toInteger", - "toNumber", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FieldTransform", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "NumericIncrementFieldValueImpl", - "NumericIncrementTransformOperation", - "OAuthToken", - "TransformOperation", - "User" - ], - "variables": [] - }, - "sizeInBytes": 20046 - }, - "initializeFirestore": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "initializeFirestore", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "LruParams", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 19962 - }, - "limit": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "limit", - "logDebug", - "logError", - "primitiveComparator", - "queryWithLimit", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "validatePositiveNumber", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryConstraint", - "QueryImpl", - "QueryLimitConstraint", - "User" - ], - "variables": [] - }, - "sizeInBytes": 19951 - }, - "limitToLast": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "limitToLast", - "logDebug", - "logError", - "primitiveComparator", - "queryWithLimit", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "validatePositiveNumber", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryConstraint", - "QueryImpl", - "QueryLimitConstraint", - "User" - ], - "variables": [] - }, - "sizeInBytes": 19975 - }, - "onSnapshot": { - "dependencies": { - "functions": [ - "allocateTarget", - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyDocChanges", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applyRemoteEvent", - "applyRemoteEventToLocalCache", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "assertPresent", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "cast", - "changesFromSnapshot", - "cleanUpWatchStreamState", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareChangeType", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "convertToDocSnapshot", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "disableNetworkInternal", - "disableNetworkUntilRecovery", - "documentEntryMap", - "documentKeySet", - "documentMap", - "documentTargetMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "ensureWatchCallbacks", - "ensureWatchStream", - "errorMessage", - "eventManagerListen", - "eventManagerOnOnlineStateChange", - "eventManagerOnWatchChange", - "eventManagerOnWatchError", - "eventManagerUnlisten", - "executeQuery", - "extractLocalPathFromResourceName", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "fieldTransformEquals", - "filterEquals", - "forEach", - "formatJSON", - "fromBytes", - "fromDotSeparatedString", - "fromName", - "fromResourceName", - "fromRpcStatus", - "fromTimestamp", - "fromVersion", - "fromWatchChange", - "fromWatchTargetChangeState", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getEncodedDatabaseId", - "getEventManager", - "getFirstOrderByField", - "getInequalityFilterField", - "getLastRemoteSnapshotVersion", - "getLocalTargetData", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getPreviousValue", - "getRemoteKeysForTarget", - "handleTargetError", - "handleUserChange", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "ignoreIfPrimaryLeaseLoss", - "implementsAnyMethods", - "initializeViewAndComputeSnapshot", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDocumentTarget", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNanValue", - "isNegativeZero", - "isNullOrUndefined", - "isNullValue", - "isNumber", - "isPartialObserver", - "isServerTimestamp", - "isValidResourceName", - "loadProtos", - "localTransformResults", - "logDebug", - "logError", - "logWarn", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newPersistentWatchStream", - "newQueryComparator", - "newQueryForPath", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "onSnapshot", - "onWatchStreamChange", - "onWatchStreamClose", - "onWatchStreamOpen", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "pumpEnqueuedLimboResolutions", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "raiseWatchSnapshot", - "randomBytes", - "registerFirestore", - "rejectListen", - "rejectOutstandingPendingWritesCallbacks", - "releaseTarget", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreListen", - "remoteStoreShutdown", - "remoteStoreUnlisten", - "removeAndCleanupTarget", - "removeComponents", - "removeLimboTarget", - "requireDocument", - "restartNetwork", - "resultChangeType", - "sendUnwatchRequest", - "sendWatchRequest", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "shouldPersistTargetData", - "shouldStartWatchStream", - "snapshotChangesMap", - "sortsBeforeDocument", - "startWatchStream", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "syncEngineListen", - "syncEngineUnlisten", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toBytes", - "toCursor", - "toDirection", - "toDocumentsTarget", - "toDouble", - "toFieldPathReference", - "toFilter", - "toInt32Proto", - "toInteger", - "toLabel", - "toListenRequestLabels", - "toOperatorName", - "toOrder", - "toPropertyOrder", - "toQueryPath", - "toQueryTarget", - "toResourceName", - "toTarget", - "toUnaryOrFieldFilter", - "trackLimboChange", - "transformObject", - "transformOperationEquals", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "updateTrackedLimbos", - "validateHasExplicitOrderByForLimitToLast", - "validateIsNotUsedTogether", - "valueCompare", - "valueDescription", - "valueEquals", - "versionFromListenResponse", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AddedLimboDocument", - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncObserver", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DocReference", - "Document", - "DocumentChangeSet", - "DocumentKey", - "DocumentReference", - "DocumentSet", - "DocumentSnapshot", - "DocumentSnapshot$1", - "DocumentWatchChange", - "EventManagerImpl", - "ExistenceFilter", - "ExistenceFilterChange", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "LimboResolution", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "PersistentListenStream", - "PersistentStream", - "Precondition", - "Query", - "QueryDocumentSnapshot", - "QueryDocumentSnapshot$1", - "QueryImpl", - "QueryListener", - "QueryListenersInfo", - "QuerySnapshot", - "QueryView", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteEvent", - "RemoteStoreImpl", - "RemovedLimboDocument", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotMetadata", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetChange", - "TargetData", - "TargetIdGenerator", - "TargetImpl", - "TargetState", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "UserDataWriter", - "View", - "ViewSnapshot", - "WatchChangeAggregator", - "WatchTargetChange", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 204215 - }, - "onSnapshotsInSync": { - "dependencies": { - "functions": [ - "addSnapshotsInSyncListener", - "allocateTarget", - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyDocChanges", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applyRemoteEvent", - "applyRemoteEventToLocalCache", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "assertPresent", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "cleanUpWatchStreamState", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareChangeType", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createMetadata", - "debugCast", - "decodeBase64", - "disableNetworkInternal", - "disableNetworkUntilRecovery", - "documentEntryMap", - "documentKeySet", - "documentMap", - "documentTargetMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "ensureWatchCallbacks", - "ensureWatchStream", - "eventManagerOnOnlineStateChange", - "eventManagerOnWatchChange", - "eventManagerOnWatchError", - "executeQuery", - "extractLocalPathFromResourceName", - "fail", - "fieldTransformEquals", - "filterEquals", - "forEach", - "formatJSON", - "fromBytes", - "fromName", - "fromResourceName", - "fromRpcStatus", - "fromTimestamp", - "fromVersion", - "fromWatchChange", - "fromWatchTargetChangeState", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getEncodedDatabaseId", - "getEventManager", - "getFirstOrderByField", - "getInequalityFilterField", - "getLastRemoteSnapshotVersion", - "getLocalTargetData", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getRemoteKeysForTarget", - "handleTargetError", - "handleUserChange", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "ignoreIfPrimaryLeaseLoss", - "implementsAnyMethods", - "initializeViewAndComputeSnapshot", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDocumentTarget", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNanValue", - "isNegativeZero", - "isNullOrUndefined", - "isNullValue", - "isNumber", - "isPartialObserver", - "isServerTimestamp", - "isValidResourceName", - "loadProtos", - "localTransformResults", - "logDebug", - "logError", - "logWarn", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newPersistentWatchStream", - "newQueryComparator", - "newQueryForPath", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "onSnapshotsInSync", - "onWatchStreamChange", - "onWatchStreamClose", - "onWatchStreamOpen", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "pumpEnqueuedLimboResolutions", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "raiseWatchSnapshot", - "randomBytes", - "registerFirestore", - "rejectListen", - "rejectOutstandingPendingWritesCallbacks", - "releaseTarget", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreListen", - "remoteStoreShutdown", - "remoteStoreUnlisten", - "removeAndCleanupTarget", - "removeComponents", - "removeLimboTarget", - "removeSnapshotsInSyncListener", - "requireDocument", - "restartNetwork", - "sendUnwatchRequest", - "sendWatchRequest", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "shouldPersistTargetData", - "shouldStartWatchStream", - "snapshotChangesMap", - "sortsBeforeDocument", - "startWatchStream", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "syncEngineListen", - "syncEngineUnlisten", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toBytes", - "toCursor", - "toDirection", - "toDocumentsTarget", - "toDouble", - "toFieldPathReference", - "toFilter", - "toInt32Proto", - "toInteger", - "toLabel", - "toListenRequestLabels", - "toOperatorName", - "toOrder", - "toPropertyOrder", - "toQueryPath", - "toQueryTarget", - "toResourceName", - "toTarget", - "toUnaryOrFieldFilter", - "trackLimboChange", - "transformObject", - "transformOperationEquals", - "typeOrder", - "uint8ArrayFromBinaryString", - "updateTrackedLimbos", - "validateIsNotUsedTogether", - "valueCompare", - "valueEquals", - "versionFromListenResponse", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AddedLimboDocument", - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncObserver", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DocReference", - "Document", - "DocumentChangeSet", - "DocumentKey", - "DocumentSet", - "DocumentWatchChange", - "EventManagerImpl", - "ExistenceFilter", - "ExistenceFilterChange", - "ExponentialBackoff", - "FieldPath", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "LimboResolution", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "PersistentListenStream", - "PersistentStream", - "Precondition", - "QueryImpl", - "QueryView", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteEvent", - "RemoteStoreImpl", - "RemovedLimboDocument", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetChange", - "TargetData", - "TargetIdGenerator", - "TargetImpl", - "TargetState", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "View", - "ViewSnapshot", - "WatchChangeAggregator", - "WatchTargetChange" - ], - "variables": [] - }, - "sizeInBytes": 185926 - }, - "orderBy": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "createError", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "formatJSON", - "fromDotSeparatedString", - "getFirstOrderByField", - "getInequalityFilterField", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "newQueryOrderBy", - "orderBy", - "primitiveComparator", - "queryWithAddedOrderBy", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "validateNewOrderBy", - "validateOrderByAndInequalityMatch", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "OrderBy", - "Query", - "QueryConstraint", - "QueryImpl", - "QueryOrderByConstraint", - "User", - "_BaseFieldPath" - ], - "variables": [] - }, - "sizeInBytes": 26806 - }, - "query": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "query", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 18657 - }, - "queryEqual": { - "dependencies": { - "functions": [ - "argToString", - "arrayEquals", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "configureFirestore", - "debugCast", - "decodeBase64", - "encodeBase64", - "fail", - "filterEquals", - "formatJSON", - "geoPointEquals", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "isNegativeZero", - "isServerTimestamp", - "logDebug", - "logError", - "newTarget", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "orderByEquals", - "primitiveComparator", - "queryEqual", - "queryEquals", - "queryOrderBy", - "queryToTarget", - "randomBytes", - "registerFirestore", - "removeComponents", - "targetEquals", - "timestampEquals", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "valueEquals", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FieldPath", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "OrderBy", - "Query", - "TargetImpl", - "Timestamp", - "User" - ], - "variables": [] - }, - "sizeInBytes": 33796 - }, - "refEqual": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "newQueryForPath", - "primitiveComparator", - "randomBytes", - "refEqual", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "DocumentReference", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryImpl", - "ResourcePath", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 23696 - }, - "runTransaction": { - "dependencies": { - "functions": [ - "applyFirestoreDataConverter", - "argToString", - "arrayEquals", - "assertPresent", - "binaryStringFromUint8Array", - "blobEquals", - "configureFirestore", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "encodeBase64", - "ensureFirestoreConfigured", - "errorMessage", - "extractLocalPathFromResourceName", - "fail", - "fieldMaskContains", - "fieldPathFromArgument", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fromFound", - "fromMaybeDocument", - "fromMissing", - "fromName", - "fromResourceName", - "fromTimestamp", - "fromVersion", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getDatastore", - "getEncodedDatabaseId", - "getLocalWriteTime", - "getMessageOrStack", - "getPreviousValue", - "hardAssert", - "invokeBatchGetDocumentsRpc", - "invokeCommitRpc", - "isEmpty", - "isIndexedDbTransactionError", - "isMapValue", - "isNegativeZero", - "isNullOrUndefined", - "isPermanentError", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isValidResourceName", - "isWrite", - "loadProtos", - "logDebug", - "logError", - "logWarn", - "looksLikeJsonObject", - "makeDatabaseInfo", - "mapCodeFromRpcCode", - "newConnection", - "newDatastore", - "newQueryForPath", - "newSerializer", - "newUserDataReader", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseSetData", - "parseUpdateData", - "parseUpdateVarargs", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "runTransaction", - "timestampEquals", - "toBytes", - "toDocumentMask", - "toDouble", - "toFieldTransform", - "toInteger", - "toMutation", - "toMutationDocument", - "toName", - "toNumber", - "toPrecondition", - "toResourceName", - "toTimestamp", - "toVersion", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "validateReference", - "valueDescription", - "valueEquals", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DeleteFieldValueImpl", - "DeleteMutation", - "Document", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "DocumentSnapshot$1", - "ExponentialBackoff", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldPath$2", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "JsonProtoSerializer", - "MaybeDocument", - "Mutation", - "NoDocument", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectValue", - "ObjectValueBuilder", - "ParseContext", - "ParsedSetData", - "ParsedUpdateData", - "PatchMutation", - "Precondition", - "Query", - "QueryDocumentSnapshot", - "QueryDocumentSnapshot$1", - "QueryImpl", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotMetadata", - "SnapshotVersion", - "StreamBridge", - "Timestamp", - "Transaction", - "Transaction$1", - "Transaction$2", - "TransactionRunner", - "TransformMutation", - "TransformOperation", - "User", - "UserDataReader", - "UserDataWriter", - "VerifyMutation", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 82843 - }, - "serverTimestamp": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "serverTimestamp$1", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FieldTransform", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "ServerTimestampFieldValueImpl", - "ServerTimestampTransform", - "TransformOperation", - "User" - ], - "variables": [] - }, - "sizeInBytes": 19151 - }, - "setDoc": { - "dependencies": { - "functions": [ - "acknowledgeBatch", - "addMutationCallback", - "addToWritePipeline", - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyFirestoreDataConverter", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applySuccessfulWrite", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "applyWriteToRemoteDocuments", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canAddToWritePipeline", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "cast", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "disableNetworkInternal", - "disableNetworkUntilRecovery", - "documentEntryMap", - "documentKeySet", - "documentMap", - "documentVersionMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "ensureWriteCallbacks", - "ensureWriteStream", - "errorMessage", - "eventManagerOnOnlineStateChange", - "executeWithRecovery", - "executeWrite", - "extractFieldMask", - "extractMutationBaseValue", - "extractTransformMutationBaseValue", - "fail", - "fieldMaskContains", - "fieldPathFromDotSeparatedString", - "fieldTransformEquals", - "fillWritePipeline", - "filterEquals", - "firestoreClientWrite", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fromTimestamp", - "fromVersion", - "fromWriteResult", - "fromWriteResults", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getEncodedDatabaseId", - "getFirstOrderByField", - "getInequalityFilterField", - "getLastRemoteSnapshotVersion", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getSyncEngine", - "handleUserChange", - "handleWriteError", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "ignoreIfPrimaryLeaseLoss", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNegativeZero", - "isNullOrUndefined", - "isNumber", - "isPermanentError", - "isPermanentWriteError", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isWrite", - "loadProtos", - "localTransformResults", - "localWrite", - "logDebug", - "logError", - "logWarn", - "looksLikeJsonObject", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newPersistentWriteStream", - "newQueryComparator", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "newUserDataReader", - "nextMutationBatch", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "onMutationResult", - "onWriteHandshakeComplete", - "onWriteStreamClose", - "onWriteStreamOpen", - "orderByEquals", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseSetData", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "processUserCallback", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "randomBytes", - "registerFirestore", - "rejectBatch", - "rejectFailedWrite", - "rejectOutstandingPendingWritesCallbacks", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreShutdown", - "removeComponents", - "requireDocument", - "restartNetwork", - "serverTimestamp", - "serverTransformResults", - "setDoc", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "shouldStartWriteStream", - "sortsBeforeDocument", - "startWriteStream", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "syncEngineWrite", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toBytes", - "toDocumentMask", - "toDouble", - "toFieldTransform", - "toInteger", - "toMutation", - "toMutationDocument", - "toName", - "toNumber", - "toPrecondition", - "toResourceName", - "toTimestamp", - "toVersion", - "transformObject", - "transformOperationEquals", - "triggerPendingWritesCallbacks", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueCompare", - "valueDescription", - "valueEquals", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DeleteMutation", - "DocReference", - "Document", - "DocumentKey", - "EventManagerImpl", - "ExponentialBackoff", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "MutationBatchResult", - "MutationResult", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "ParseContext", - "ParsedSetData", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "PersistentStream", - "PersistentWriteStream", - "Precondition", - "QueryImpl", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteStoreImpl", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetIdGenerator", - "TargetImpl", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "UserDataReader", - "VerifyMutation", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 164628 - }, - "setLogLevel": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "setLogLevel", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 18598 - }, - "snapshotEqual": { - "dependencies": { - "functions": [ - "argToString", - "arrayEquals", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "changesFromSnapshot", - "configureFirestore", - "createError", - "debugCast", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "filterEquals", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "geoPointEquals", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getMessageOrStack", - "getPreviousValue", - "hardAssert", - "isIndexedDbTransactionError", - "isNegativeZero", - "isServerTimestamp", - "isValidResourceName", - "logDebug", - "logError", - "newQueryForPath", - "newTarget", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "orderByEquals", - "primitiveComparator", - "queryEqual", - "queryEquals", - "queryOrderBy", - "queryToTarget", - "randomBytes", - "registerFirestore", - "removeComponents", - "resultChangeType", - "snapshotEqual", - "targetEquals", - "timestampEquals", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "valueEquals", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "DocumentSnapshot$1", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "OAuthToken", - "OrderBy", - "Query", - "QueryDocumentSnapshot", - "QueryDocumentSnapshot$1", - "QueryImpl", - "QuerySnapshot", - "ResourcePath", - "SnapshotMetadata", - "TargetImpl", - "Timestamp", - "User", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 48658 - }, - "startAfter": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "configureFirestore", - "createError", - "debugCast", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getMessageOrStack", - "getPreviousValue", - "hardAssert", - "isCollectionGroupQuery", - "isEmpty", - "isIndexedDbTransactionError", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isValidResourceName", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newQueryBoundFromDocOrFields", - "newQueryBoundFromDocument", - "newQueryBoundFromFields", - "newQueryForPath", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "parseArray", - "parseData", - "parseObject", - "parseQueryValue", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "queryOrderBy", - "queryWithStartAt", - "randomBytes", - "refValue", - "registerFirestore", - "removeComponents", - "startAfter", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "JsonProtoSerializer", - "OAuthToken", - "OrderBy", - "ParseContext", - "Query", - "QueryConstraint", - "QueryDocumentSnapshot", - "QueryImpl", - "QueryStartAtConstraint", - "ResourcePath", - "Timestamp", - "User", - "UserDataReader", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 51973 - }, - "startAt": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "configureFirestore", - "createError", - "debugCast", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getMessageOrStack", - "getPreviousValue", - "hardAssert", - "isCollectionGroupQuery", - "isEmpty", - "isIndexedDbTransactionError", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isValidResourceName", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newQueryBoundFromDocOrFields", - "newQueryBoundFromDocument", - "newQueryBoundFromFields", - "newQueryForPath", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "parseArray", - "parseData", - "parseObject", - "parseQueryValue", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "queryOrderBy", - "queryWithStartAt", - "randomBytes", - "refValue", - "registerFirestore", - "removeComponents", - "startAt", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "ExponentialBackoff", - "FieldPath", - "FieldPath$1", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "JsonProtoSerializer", - "OAuthToken", - "OrderBy", - "ParseContext", - "Query", - "QueryConstraint", - "QueryDocumentSnapshot", - "QueryImpl", - "QueryStartAtConstraint", - "ResourcePath", - "Timestamp", - "User", - "UserDataReader", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 51963 - }, - "terminate": { - "dependencies": { - "functions": [ - "argToString", - "configureFirestore", - "fail", - "formatJSON", - "getMessageOrStack", - "hardAssert", - "isIndexedDbTransactionError", - "logDebug", - "logError", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "terminate", - "validateIsNotUsedTogether", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "AsyncQueue", - "AutoId", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "ExponentialBackoff", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 18667 - }, - "updateDoc": { - "dependencies": { - "functions": [ - "acknowledgeBatch", - "addMutationCallback", - "addToWritePipeline", - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applySuccessfulWrite", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "applyWriteToRemoteDocuments", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canAddToWritePipeline", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "cast", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "disableNetworkInternal", - "disableNetworkUntilRecovery", - "documentEntryMap", - "documentKeySet", - "documentMap", - "documentVersionMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "ensureWriteCallbacks", - "ensureWriteStream", - "errorMessage", - "eventManagerOnOnlineStateChange", - "executeWithRecovery", - "executeWrite", - "extractFieldMask", - "extractMutationBaseValue", - "extractTransformMutationBaseValue", - "fail", - "fieldMaskContains", - "fieldPathFromArgument", - "fieldPathFromDotSeparatedString", - "fieldTransformEquals", - "fillWritePipeline", - "filterEquals", - "firestoreClientWrite", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fromTimestamp", - "fromVersion", - "fromWriteResult", - "fromWriteResults", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getEncodedDatabaseId", - "getFirstOrderByField", - "getInequalityFilterField", - "getLastRemoteSnapshotVersion", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getSyncEngine", - "handleUserChange", - "handleWriteError", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "ignoreIfPrimaryLeaseLoss", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNegativeZero", - "isNullOrUndefined", - "isNumber", - "isPermanentError", - "isPermanentWriteError", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isWrite", - "loadProtos", - "localTransformResults", - "localWrite", - "logDebug", - "logError", - "logWarn", - "looksLikeJsonObject", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newPersistentWriteStream", - "newQueryComparator", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "newUserDataReader", - "nextMutationBatch", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "onMutationResult", - "onWriteHandshakeComplete", - "onWriteStreamClose", - "onWriteStreamOpen", - "orderByEquals", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseUpdateData", - "parseUpdateVarargs", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "processUserCallback", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "randomBytes", - "registerFirestore", - "rejectBatch", - "rejectFailedWrite", - "rejectOutstandingPendingWritesCallbacks", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreShutdown", - "removeComponents", - "requireDocument", - "restartNetwork", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "shouldStartWriteStream", - "sortsBeforeDocument", - "startWriteStream", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "syncEngineWrite", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toBytes", - "toDocumentMask", - "toDouble", - "toFieldTransform", - "toInteger", - "toMutation", - "toMutationDocument", - "toName", - "toNumber", - "toPrecondition", - "toResourceName", - "toTimestamp", - "toVersion", - "transformObject", - "transformOperationEquals", - "triggerPendingWritesCallbacks", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "updateDoc", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueCompare", - "valueDescription", - "valueEquals", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DeleteFieldValueImpl", - "DeleteMutation", - "DocReference", - "Document", - "DocumentKey", - "EventManagerImpl", - "ExponentialBackoff", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldPath$2", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "MutationBatchResult", - "MutationResult", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "ParseContext", - "ParsedUpdateData", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "PersistentStream", - "PersistentWriteStream", - "Precondition", - "QueryImpl", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteStoreImpl", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetIdGenerator", - "TargetImpl", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "UserDataReader", - "VerifyMutation", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 166060 - }, - "waitForPendingWrites": { - "dependencies": { - "functions": [ - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createMetadata", - "debugCast", - "decodeBase64", - "disableNetworkInternal", - "documentEntryMap", - "documentKeySet", - "documentMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "eventManagerOnOnlineStateChange", - "fail", - "fieldTransformEquals", - "filterEquals", - "firestoreClientWaitForPendingWrites", - "forEach", - "formatJSON", - "geoPointEquals", - "getFirstOrderByField", - "getHighestUnacknowledgedBatchId", - "getInequalityFilterField", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getSyncEngine", - "handleUserChange", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNegativeZero", - "isNullOrUndefined", - "isNumber", - "isServerTimestamp", - "loadProtos", - "localTransformResults", - "logDebug", - "logError", - "logWarn", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newQueryComparator", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "orderByEquals", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "randomBytes", - "registerFirestore", - "registerPendingWritesCallback", - "rejectOutstandingPendingWritesCallbacks", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreShutdown", - "removeComponents", - "requireDocument", - "restartNetwork", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "sortsBeforeDocument", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toDouble", - "toInteger", - "transformObject", - "transformOperationEquals", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "valueCompare", - "valueEquals", - "waitForPendingWrites", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DocReference", - "Document", - "DocumentKey", - "EventManagerImpl", - "ExponentialBackoff", - "FieldPath", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "Precondition", - "QueryImpl", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteStoreImpl", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetIdGenerator", - "TargetImpl", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User" - ], - "variables": [] - }, - "sizeInBytes": 129030 - }, - "where": { - "dependencies": { - "functions": [ - "argToString", - "arrayEquals", - "arrayValueContains", - "binaryStringFromUint8Array", - "blobEquals", - "compareArrays", - "compareBlobs", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "configureFirestore", - "conflictingOps", - "createError", - "decodeBase64", - "encodeBase64", - "errorMessage", - "extractDocumentKeysFromArrayValue", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "findFilterOperator", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getMessageOrStack", - "hardAssert", - "isArray", - "isCollectionGroupQuery", - "isEmpty", - "isIndexedDbTransactionError", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newQueryFilter", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "parseArray", - "parseData", - "parseDocumentIdValue", - "parseObject", - "parseQueryValue", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "queryWithAddedFilter", - "randomBytes", - "refValue", - "registerFirestore", - "removeComponents", - "timestampEquals", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateDisjunctiveFilterElements", - "validateIsNotUsedTogether", - "validateNewFilter", - "validateOrderByAndInequalityMatch", - "validatePlainObject", - "valueCompare", - "valueDescription", - "valueEquals", - "where", - "wrapInUserErrorIfRecoverable" - ], - "classes": [ - "ArrayContainsAnyFilter", - "ArrayContainsFilter", - "AsyncQueue", - "AutoId", - "BasePath", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Deferred", - "DelayedOperation", - "DocumentKey", - "ExponentialBackoff", - "FieldFilter", - "FieldPath", - "FieldPath$1", - "FieldValue", - "Filter", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "InFilter", - "JsonProtoSerializer", - "KeyFieldFilter", - "KeyFieldInFilter", - "KeyFieldNotInFilter", - "NotInFilter", - "OAuthToken", - "ParseContext", - "Query", - "QueryConstraint", - "QueryFilterConstraint", - "QueryImpl", - "ResourcePath", - "Timestamp", - "User", - "UserDataReader", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 57038 - }, - "writeBatch": { - "dependencies": { - "functions": [ - "acknowledgeBatch", - "addMutationCallback", - "addToWritePipeline", - "applyArrayRemoveTransformOperation", - "applyArrayUnionTransformOperation", - "applyDeleteMutationToLocalView", - "applyDeleteMutationToRemoteDocument", - "applyFirestoreDataConverter", - "applyMutationToLocalView", - "applyMutationToRemoteDocument", - "applyNumericIncrementTransformOperationToLocalView", - "applyOnlineStateChange", - "applyPatchMutationToLocalView", - "applyPatchMutationToRemoteDocument", - "applySetMutationToLocalView", - "applySetMutationToRemoteDocument", - "applySuccessfulWrite", - "applyTransformMutationToLocalView", - "applyTransformMutationToRemoteDocument", - "applyTransformOperationToLocalView", - "applyTransformOperationToRemoteDocument", - "applyWriteToRemoteDocuments", - "argToString", - "arrayEquals", - "asCollectionQueryAtPath", - "asNumber", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "canAddToWritePipeline", - "canUseNetwork", - "canonicalId", - "canonifyArray", - "canonifyBound", - "canonifyByteString", - "canonifyFilter", - "canonifyGeoPoint", - "canonifyMap", - "canonifyOrderBy", - "canonifyQuery", - "canonifyReference", - "canonifyTarget", - "canonifyTimestamp", - "canonifyValue", - "coercedFieldValuesArray", - "compareArrays", - "compareBlobs", - "compareDocs", - "compareDocumentsByField", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "computeTransformOperationBaseValue", - "configureFirestore", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "disableNetworkInternal", - "disableNetworkUntilRecovery", - "documentEntryMap", - "documentKeySet", - "documentMap", - "documentVersionMap", - "emitNewSnapsAndNotifyLocalStore", - "enableNetworkInternal", - "encodeBase64", - "ensureFirestoreConfigured", - "ensureOfflineComponents", - "ensureOnlineComponents", - "ensureWriteCallbacks", - "ensureWriteStream", - "errorMessage", - "eventManagerOnOnlineStateChange", - "executeWithRecovery", - "executeWrite", - "extractFieldMask", - "extractMutationBaseValue", - "extractTransformMutationBaseValue", - "fail", - "fieldMaskContains", - "fieldPathFromArgument", - "fieldPathFromDotSeparatedString", - "fieldTransformEquals", - "fillWritePipeline", - "filterEquals", - "firestoreClientWrite", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fromTimestamp", - "fromVersion", - "fromWriteResult", - "fromWriteResults", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getEncodedDatabaseId", - "getFirstOrderByField", - "getInequalityFilterField", - "getLastRemoteSnapshotVersion", - "getLocalWriteTime", - "getLogLevel", - "getMessageOrStack", - "getPostMutationVersion", - "getSyncEngine", - "handleUserChange", - "handleWriteError", - "hardAssert", - "hasLimitToFirst", - "hasLimitToLast", - "ignoreIfPrimaryLeaseLoss", - "isArray", - "isCollectionGroupQuery", - "isDocumentQuery", - "isDouble", - "isEmpty", - "isIndexedDbTransactionError", - "isInteger", - "isMapValue", - "isNegativeZero", - "isNullOrUndefined", - "isNumber", - "isPermanentError", - "isPermanentWriteError", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isWrite", - "loadProtos", - "localTransformResults", - "localWrite", - "logDebug", - "logError", - "logWarn", - "looksLikeJsonObject", - "mapCodeFromRpcCode", - "matchesAllDocuments", - "maybeDocumentMap", - "mutationEquals", - "newConnection", - "newConnectivityMonitor", - "newDatastore", - "newEventManager", - "newLocalStore", - "newMemoryRemoteDocumentCache", - "newPersistentWriteStream", - "newQueryComparator", - "newRemoteStore", - "newSerializer", - "newSyncEngine", - "newTarget", - "newUserDataReader", - "nextMutationBatch", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "notifyLocalViewChanges", - "nullableMaybeDocumentMap", - "numberEquals", - "objectEquals", - "objectSize", - "onMutationResult", - "onWriteHandshakeComplete", - "onWriteStreamClose", - "onWriteStreamOpen", - "orderByEquals", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseSetData", - "parseUpdateData", - "parseUpdateVarargs", - "patchDocument", - "patchObject", - "preconditionIsValidForDocument", - "primitiveComparator", - "processUserCallback", - "queryEquals", - "queryMatches", - "queryMatchesBounds", - "queryMatchesFilters", - "queryMatchesOrderBy", - "queryMatchesPathAndCollectionGroup", - "queryOrderBy", - "queryToTarget", - "raiseSnapshotsInSyncEvent", - "randomBytes", - "registerFirestore", - "rejectBatch", - "rejectFailedWrite", - "rejectOutstandingPendingWritesCallbacks", - "remoteStoreApplyPrimaryState", - "remoteStoreHandleCredentialChange", - "remoteStoreShutdown", - "removeComponents", - "requireDocument", - "restartNetwork", - "serverTimestamp", - "serverTransformResults", - "setOfflineComponentProvider", - "setOnlineComponentProvider", - "shouldStartWriteStream", - "sortsBeforeDocument", - "startWriteStream", - "stringifyFilter", - "stringifyOrderBy", - "stringifyQuery", - "stringifyTarget", - "syncEngineHandleCredentialChange", - "syncEngineWrite", - "targetEquals", - "targetIdSet", - "timestampEquals", - "toBytes", - "toDocumentMask", - "toDouble", - "toFieldTransform", - "toInteger", - "toMutation", - "toMutationDocument", - "toName", - "toNumber", - "toPrecondition", - "toResourceName", - "toTimestamp", - "toVersion", - "transformObject", - "transformOperationEquals", - "triggerPendingWritesCallbacks", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "validateReference", - "valueCompare", - "valueDescription", - "valueEquals", - "wrapInUserErrorIfRecoverable", - "writeBatch" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "AutoId", - "BasePath", - "Bound", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DeleteFieldValueImpl", - "DeleteMutation", - "DocReference", - "Document", - "DocumentKey", - "EventManagerImpl", - "ExponentialBackoff", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldPath$2", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirebaseFirestore$1", - "FirestoreClient", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "IndexFreeQueryEngine", - "JsonProtoSerializer", - "LLRBEmptyNode", - "LLRBNode", - "ListenSequence", - "LocalClientState", - "LocalDocumentsView", - "LocalStoreImpl", - "LocalViewChanges", - "MaybeDocument", - "MemoryCollectionParentIndex", - "MemoryEagerDelegate", - "MemoryIndexManager", - "MemoryMutationQueue", - "MemoryOfflineComponentProvider", - "MemoryPersistence", - "MemoryRemoteDocumentCacheImpl", - "MemoryRemoteDocumentChangeBuffer", - "MemorySharedClientState", - "MemoryTargetCache", - "MemoryTransaction", - "Mutation", - "MutationBatch", - "MutationBatchResult", - "MutationResult", - "NoDocument", - "NoopConnectivityMonitor", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectMap", - "ObjectValue", - "ObjectValueBuilder", - "OnlineComponentProvider", - "OnlineStateTracker", - "OrderBy", - "ParseContext", - "ParsedSetData", - "ParsedUpdateData", - "PatchMutation", - "PersistencePromise", - "PersistenceTransaction", - "PersistentStream", - "PersistentWriteStream", - "Precondition", - "QueryImpl", - "ReferenceSet", - "RemoteDocumentChangeBuffer", - "RemoteStoreImpl", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotVersion", - "SortedMap", - "SortedMapIterator", - "SortedSet", - "SortedSetIterator", - "StreamBridge", - "SyncEngineImpl", - "TargetIdGenerator", - "TargetImpl", - "Timestamp", - "TransformMutation", - "TransformOperation", - "UnknownDocument", - "User", - "UserDataReader", - "VerifyMutation", - "WriteBatch", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 169242 - } -} \ No newline at end of file diff --git a/packages/firestore/exp/index.ts b/packages/firestore/exp/index.ts index 00062bdb70a..208ba6a766e 100644 --- a/packages/firestore/exp/index.ts +++ b/packages/firestore/exp/index.ts @@ -19,7 +19,7 @@ import { registerFirestore } from './register'; registerFirestore(); -export { FieldPath, documentId } from './src/api/field_path'; +export { FieldPath, documentId } from '../src/exp/field_path'; export { FirebaseFirestore, @@ -32,9 +32,9 @@ export { disableNetwork, enableNetwork, terminate -} from './src/api/database'; +} from '../src/exp/database'; -export { Settings, PersistenceSettings } from './src/api/settings'; +export { Settings, PersistenceSettings } from '../src/exp/settings'; export { DocumentChange, @@ -46,7 +46,7 @@ export { FirestoreDataConverter, DocumentChangeType, SnapshotMetadata -} from './src/api/snapshot'; +} from '../src/exp/snapshot'; export { DocumentReference, @@ -60,7 +60,7 @@ export { UpdateData, refEqual, queryEqual -} from './src/api/reference'; +} from '../src/exp/reference'; export { endAt, @@ -76,11 +76,11 @@ export { QueryConstraintType, OrderByDirection, WhereFilterOp -} from './src/api/query'; +} from '../src/exp/query'; -export { Unsubscribe } from '../src/api/observer'; +export { Unsubscribe } from '../src/exp/reference_impl'; -export { runTransaction, Transaction } from './src/api/transaction'; +export { runTransaction, Transaction } from '../src/exp/transaction'; export { SnapshotListenOptions, @@ -96,9 +96,9 @@ export { updateDoc, deleteDoc, addDoc -} from './src/api/reference_impl'; +} from '../src/exp/reference_impl'; -export { FieldValue } from './src/api/field_value'; +export { FieldValue } from '../src/exp/field_value'; export { increment, @@ -106,18 +106,18 @@ export { arrayUnion, serverTimestamp, deleteField -} from './src/api/field_value_impl'; +} from '../src/exp/field_value_impl'; export { setLogLevel, LogLevelString as LogLevel } from '../src/util/log'; -export { Bytes } from './src/api/bytes'; +export { Bytes } from '../src/exp/bytes'; -export { WriteBatch, writeBatch } from './src/api/write_batch'; +export { WriteBatch, writeBatch } from '../src/exp/write_batch'; -export { GeoPoint } from '../src/api/geo_point'; +export { GeoPoint } from '../src/exp/geo_point'; -export { Timestamp } from '../src/api/timestamp'; +export { Timestamp } from '../src/exp/timestamp'; -export { CACHE_SIZE_UNLIMITED } from './src/api/database'; +export { CACHE_SIZE_UNLIMITED } from '../src/exp/database'; export { FirestoreErrorCode, FirestoreError } from '../src/util/error'; diff --git a/packages/firestore/exp/register.ts b/packages/firestore/exp/register.ts index e5e26007e81..005b9c1b745 100644 --- a/packages/firestore/exp/register.ts +++ b/packages/firestore/exp/register.ts @@ -19,8 +19,7 @@ import { _registerComponent, registerVersion } from '@firebase/app-exp'; import { Component, ComponentType } from '@firebase/component'; import { version } from '../package.json'; - -import { FirebaseFirestore } from './src/api/database'; +import { FirebaseFirestore } from '../src/exp/database'; declare module '@firebase/component' { interface NameServiceMapping { diff --git a/packages/firestore/export.ts b/packages/firestore/export.ts index 97c195c4adb..09796e78c3c 100644 --- a/packages/firestore/export.ts +++ b/packages/firestore/export.ts @@ -30,10 +30,10 @@ export { WriteBatch, setLogLevel } from './src/api/database'; -export { CACHE_SIZE_UNLIMITED } from './exp/src/api/database'; +export { CACHE_SIZE_UNLIMITED } from './src/exp/database'; export { GeoPoint } from './src/api/geo_point'; export { FieldPath } from './src/api/field_path'; export { FieldValue } from './src/api/field_value'; export { Timestamp } from './src/api/timestamp'; -export { FirebaseFirestore as ExpFirebaseFirestore } from './exp/src/api/database'; +export { FirebaseFirestore as ExpFirebaseFirestore } from './src/exp/database'; export { loadBundle, namedQuery } from './src/api/bundle'; diff --git a/packages/firestore/index.console.ts b/packages/firestore/index.console.ts index 49c87a86099..b93a346feff 100644 --- a/packages/firestore/index.console.ts +++ b/packages/firestore/index.console.ts @@ -18,12 +18,12 @@ import { FirebaseAuthInternalName } from '@firebase/auth-interop-types'; import { Provider } from '@firebase/component'; -import { FirebaseFirestore as FirestoreExp } from './exp/src/api/database'; import { Firestore as FirestoreCompat, MemoryPersistenceProvider } from './src/api/database'; import { DatabaseId } from './src/core/database_info'; +import { FirebaseFirestore as FirestoreExp } from './src/exp/database'; import { Code, FirestoreError } from './src/util/error'; export { CollectionReference, diff --git a/packages/firestore/index.node.memory.ts b/packages/firestore/index.node.memory.ts index 71e8f0d72c6..1f1023847d1 100644 --- a/packages/firestore/index.node.memory.ts +++ b/packages/firestore/index.node.memory.ts @@ -18,10 +18,10 @@ import firebase from '@firebase/app'; import { FirebaseNamespace } from '@firebase/app-types'; -import { FirebaseFirestore } from './exp/src/api/database'; import { name, version } from './package.json'; import { Firestore, MemoryPersistenceProvider } from './src/api/database'; import { configureForFirebase } from './src/config'; +import { FirebaseFirestore } from './src/exp/database'; import './register-module'; diff --git a/packages/firestore/index.node.ts b/packages/firestore/index.node.ts index e966bcc5dbe..0cf9ebe41bb 100644 --- a/packages/firestore/index.node.ts +++ b/packages/firestore/index.node.ts @@ -17,10 +17,10 @@ import firebase from '@firebase/app'; import { FirebaseNamespace } from '@firebase/app-types'; -import { FirebaseFirestore as ExpFirebaseFirestore } from './exp/src/api/database'; import { name, version } from './package.json'; import { Firestore, IndexedDbPersistenceProvider } from './src/api/database'; import { configureForFirebase } from './src/config'; +import { FirebaseFirestore as ExpFirebaseFirestore } from './src/exp/database'; import './register-module'; diff --git a/packages/firestore/karma.conf.js b/packages/firestore/karma.conf.js index 5c32e76f546..15b6cdce68a 100644 --- a/packages/firestore/karma.conf.js +++ b/packages/firestore/karma.conf.js @@ -24,8 +24,6 @@ module.exports = function (config) { files: getTestFiles(argv), preprocessors: { - 'exp/test/**/*.ts': ['webpack', 'sourcemap'], - 'lite/test/**/*.ts': ['webpack', 'sourcemap'], 'test/**/*.ts': ['webpack', 'sourcemap'] }, @@ -48,8 +46,7 @@ module.exports = function (config) { function getTestFiles(argv) { const unitTests = 'test/unit/bootstrap.ts'; const legcayIntegrationTests = 'test/integration/bootstrap.ts'; - const liteIntegrationTests = 'lite/test/bootstrap.ts'; - const expIntegrationTests = 'exp/test/bootstrap.ts'; + const liteIntegrationTests = 'test/lite/bootstrap.ts'; if (argv.unit) { return [unitTests]; } else if (argv.integration) { @@ -57,8 +54,6 @@ function getTestFiles(argv) { } else if (argv.lite) { process.env.TEST_PLATFORM = 'browser_lite'; return [liteIntegrationTests]; - } else if (argv.exp) { - return [expIntegrationTests]; } else { // Note that we cannot include both the firestore-exp and the legacy SDK // as the test runners modify the global namespace cannot be both included diff --git a/packages/firestore/lite/dependencies.json b/packages/firestore/lite/dependencies.json deleted file mode 100644 index a7511b2eb37..00000000000 --- a/packages/firestore/lite/dependencies.json +++ /dev/null @@ -1,3139 +0,0 @@ -{ - "Bytes": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "decodeBase64", - "encodeBase64", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether" - ], - "classes": [ - "ByteString", - "Bytes", - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 11267 - }, - "CollectionReference": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "newQueryForPath", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "BasePath", - "CollectionReference", - "DatabaseId", - "DocumentKey", - "DocumentReference", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryImpl", - "ResourcePath", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 14284 - }, - "DocumentReference": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "newQueryForPath", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "BasePath", - "CollectionReference", - "DatabaseId", - "DocumentKey", - "DocumentReference", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryImpl", - "ResourcePath", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 14282 - }, - "DocumentSnapshot": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "createError", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "getLocalWriteTime", - "getPreviousValue", - "hardAssert", - "isServerTimestamp", - "isValidResourceName", - "logDebug", - "logError", - "newQueryForPath", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether" - ], - "classes": [ - "BasePath", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "OAuthToken", - "Query", - "QueryDocumentSnapshot", - "QueryImpl", - "ResourcePath", - "Timestamp", - "User", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 28090 - }, - "FieldPath": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "BasePath", - "DatabaseId", - "FieldPath", - "FieldPath$2", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User", - "_BaseFieldPath" - ], - "variables": [] - }, - "sizeInBytes": 13205 - }, - "FieldValue": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 9479 - }, - "FirebaseFirestore": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 9414 - }, - "GeoPoint": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 10140 - }, - "Query": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "User" - ], - "variables": [] - }, - "sizeInBytes": 9625 - }, - "QueryConstraint": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "QueryConstraint", - "User" - ], - "variables": [] - }, - "sizeInBytes": 9435 - }, - "QueryDocumentSnapshot": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "createError", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "getLocalWriteTime", - "getPreviousValue", - "hardAssert", - "isServerTimestamp", - "isValidResourceName", - "logDebug", - "logError", - "newQueryForPath", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether" - ], - "classes": [ - "BasePath", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "OAuthToken", - "Query", - "QueryDocumentSnapshot", - "QueryImpl", - "ResourcePath", - "Timestamp", - "User", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 28095 - }, - "QuerySnapshot": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "QuerySnapshot", - "User" - ], - "variables": [] - }, - "sizeInBytes": 9663 - }, - "Timestamp": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Timestamp", - "User" - ], - "variables": [] - }, - "sizeInBytes": 11030 - }, - "Transaction": { - "dependencies": { - "functions": [ - "applyFirestoreDataConverter", - "argToString", - "arrayEquals", - "binaryStringFromUint8Array", - "blobEquals", - "createError", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldMaskContains", - "fieldPathFromArgument", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getLocalWriteTime", - "getPreviousValue", - "hardAssert", - "isEmpty", - "isMapValue", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isValidResourceName", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newQueryForPath", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseSetData", - "parseUpdateData", - "parseUpdateVarargs", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "timestampEquals", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "validateReference", - "valueDescription", - "valueEquals" - ], - "classes": [ - "BasePath", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DeleteFieldValueImpl", - "Document", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldPath$2", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "JsonProtoSerializer", - "MaybeDocument", - "Mutation", - "NoDocument", - "OAuthToken", - "ObjectValue", - "ObjectValueBuilder", - "ParseContext", - "ParsedSetData", - "ParsedUpdateData", - "PatchMutation", - "Precondition", - "Query", - "QueryDocumentSnapshot", - "QueryImpl", - "ResourcePath", - "SetMutation", - "Timestamp", - "Transaction$1", - "TransformMutation", - "User", - "UserDataReader", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 52241 - }, - "WriteBatch": { - "dependencies": { - "functions": [ - "applyFirestoreDataConverter", - "argToString", - "arrayEquals", - "binaryStringFromUint8Array", - "blobEquals", - "createError", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldMaskContains", - "fieldPathFromArgument", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getLocalWriteTime", - "hardAssert", - "isEmpty", - "isMapValue", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseSetData", - "parseUpdateData", - "parseUpdateVarargs", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "timestampEquals", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "validateReference", - "valueDescription", - "valueEquals" - ], - "classes": [ - "BasePath", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "DeleteFieldValueImpl", - "DeleteMutation", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldPath$2", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "JsonProtoSerializer", - "Mutation", - "OAuthToken", - "ObjectValue", - "ObjectValueBuilder", - "ParseContext", - "ParsedSetData", - "ParsedUpdateData", - "PatchMutation", - "Precondition", - "ResourcePath", - "SetMutation", - "Timestamp", - "TransformMutation", - "User", - "UserDataReader", - "WriteBatch", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 44694 - }, - "addDoc": { - "dependencies": { - "functions": [ - "addDoc", - "applyFirestoreDataConverter", - "argToString", - "arrayEquals", - "binaryStringFromUint8Array", - "blobEquals", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "doc", - "encodeBase64", - "errorMessage", - "fail", - "fieldMaskContains", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getDatastore", - "getEncodedDatabaseId", - "getLocalWriteTime", - "hardAssert", - "invokeCommitRpc", - "isEmpty", - "isMapValue", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isWrite", - "loadProtos", - "logDebug", - "logError", - "logWarn", - "looksLikeJsonObject", - "makeDatabaseInfo", - "mapCodeFromRpcCode", - "newConnection", - "newDatastore", - "newQueryForPath", - "newSerializer", - "newUserDataReader", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseSetData", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "timestampEquals", - "toBytes", - "toDocumentMask", - "toDouble", - "toFieldTransform", - "toInteger", - "toMutation", - "toMutationDocument", - "toName", - "toNumber", - "toPrecondition", - "toResourceName", - "toTimestamp", - "toVersion", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateDocumentPath", - "validateIsNotUsedTogether", - "validateNonEmptyArgument", - "validatePlainObject", - "valueDescription", - "valueEquals" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AutoId", - "BasePath", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DeleteMutation", - "DocumentKey", - "DocumentReference", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "JsonProtoSerializer", - "Mutation", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectValue", - "ParseContext", - "ParsedSetData", - "PatchMutation", - "Precondition", - "Query", - "QueryImpl", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "StreamBridge", - "Timestamp", - "TransformMutation", - "TransformOperation", - "User", - "UserDataReader", - "VerifyMutation", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 54194 - }, - "arrayRemove": { - "dependencies": { - "functions": [ - "argToString", - "arrayRemove", - "binaryStringFromUint8Array", - "createError", - "createSentinelChildContext", - "decodeBase64", - "encodeBase64", - "fail", - "forEach", - "formatJSON", - "fullyQualifiedPrefixPath", - "hardAssert", - "isEmpty", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription" - ], - "classes": [ - "ArrayRemoveFieldValueImpl", - "ArrayRemoveTransformOperation", - "BasePath", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "FieldTransform", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "OAuthToken", - "ParseContext", - "ResourcePath", - "Timestamp", - "TransformOperation", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 26199 - }, - "arrayUnion": { - "dependencies": { - "functions": [ - "argToString", - "arrayUnion", - "binaryStringFromUint8Array", - "createError", - "createSentinelChildContext", - "decodeBase64", - "encodeBase64", - "fail", - "forEach", - "formatJSON", - "fullyQualifiedPrefixPath", - "hardAssert", - "isEmpty", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription" - ], - "classes": [ - "ArrayUnionFieldValueImpl", - "ArrayUnionTransformOperation", - "BasePath", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "FieldTransform", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "OAuthToken", - "ParseContext", - "ResourcePath", - "Timestamp", - "TransformOperation", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 26192 - }, - "collection": { - "dependencies": { - "functions": [ - "argToString", - "collection", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "newQueryForPath", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateCollectionPath", - "validateIsNotUsedTogether", - "validateNonEmptyArgument" - ], - "classes": [ - "BasePath", - "CollectionReference", - "DatabaseId", - "DocumentKey", - "DocumentReference", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryImpl", - "ResourcePath", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 15497 - }, - "collectionGroup": { - "dependencies": { - "functions": [ - "argToString", - "collectionGroup", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "newQueryForCollectionGroup", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "validateNonEmptyArgument" - ], - "classes": [ - "BasePath", - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryImpl", - "ResourcePath", - "User" - ], - "variables": [] - }, - "sizeInBytes": 13092 - }, - "deleteDoc": { - "dependencies": { - "functions": [ - "argToString", - "createMetadata", - "debugCast", - "deleteDoc", - "fail", - "formatJSON", - "fullyQualifiedPrefixPath", - "getDatastore", - "getEncodedDatabaseId", - "hardAssert", - "invokeCommitRpc", - "loadProtos", - "logDebug", - "logError", - "logWarn", - "makeDatabaseInfo", - "mapCodeFromRpcCode", - "newConnection", - "newDatastore", - "newSerializer", - "nodePromise", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "toDocumentMask", - "toFieldTransform", - "toMutation", - "toMutationDocument", - "toName", - "toPrecondition", - "toResourceName", - "toTimestamp", - "toVersion", - "validateIsNotUsedTogether" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "BasePath", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DeleteMutation", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GrpcConnection", - "JsonProtoSerializer", - "Mutation", - "NumericIncrementTransformOperation", - "OAuthToken", - "PatchMutation", - "Precondition", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "StreamBridge", - "TransformMutation", - "TransformOperation", - "User", - "VerifyMutation" - ], - "variables": [] - }, - "sizeInBytes": 25758 - }, - "deleteField": { - "dependencies": { - "functions": [ - "argToString", - "deleteField", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "DeleteFieldValueImpl", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 10013 - }, - "doc": { - "dependencies": { - "functions": [ - "argToString", - "doc", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "newQueryForPath", - "primitiveComparator", - "randomBytes", - "registerFirestore", - "removeComponents", - "validateDocumentPath", - "validateIsNotUsedTogether", - "validateNonEmptyArgument" - ], - "classes": [ - "AutoId", - "BasePath", - "CollectionReference", - "DatabaseId", - "DocumentKey", - "DocumentReference", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryImpl", - "ResourcePath", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 16042 - }, - "documentId": { - "dependencies": { - "functions": [ - "argToString", - "documentId", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "BasePath", - "DatabaseId", - "FieldPath", - "FieldPath$2", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User", - "_BaseFieldPath" - ], - "variables": [] - }, - "sizeInBytes": 13255 - }, - "endAt": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "createError", - "debugCast", - "decodeBase64", - "encodeBase64", - "endAt", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getPreviousValue", - "hardAssert", - "isCollectionGroupQuery", - "isEmpty", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isValidResourceName", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newQueryBoundFromDocOrFields", - "newQueryBoundFromDocument", - "newQueryBoundFromFields", - "newQueryForPath", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "parseArray", - "parseData", - "parseObject", - "parseQueryValue", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "queryOrderBy", - "queryWithEndAt", - "refValue", - "registerFirestore", - "removeComponents", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription" - ], - "classes": [ - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "FieldPath", - "FieldPath$1", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "JsonProtoSerializer", - "OAuthToken", - "OrderBy", - "ParseContext", - "Query", - "QueryConstraint", - "QueryDocumentSnapshot", - "QueryEndAtConstraint", - "QueryImpl", - "ResourcePath", - "Timestamp", - "User", - "UserDataReader", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 42825 - }, - "endBefore": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "createError", - "debugCast", - "decodeBase64", - "encodeBase64", - "endBefore", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getPreviousValue", - "hardAssert", - "isCollectionGroupQuery", - "isEmpty", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isValidResourceName", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newQueryBoundFromDocOrFields", - "newQueryBoundFromDocument", - "newQueryBoundFromFields", - "newQueryForPath", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "parseArray", - "parseData", - "parseObject", - "parseQueryValue", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "queryOrderBy", - "queryWithEndAt", - "refValue", - "registerFirestore", - "removeComponents", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription" - ], - "classes": [ - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "FieldPath", - "FieldPath$1", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "JsonProtoSerializer", - "OAuthToken", - "OrderBy", - "ParseContext", - "Query", - "QueryConstraint", - "QueryDocumentSnapshot", - "QueryEndAtConstraint", - "QueryImpl", - "ResourcePath", - "Timestamp", - "User", - "UserDataReader", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 42836 - }, - "getDoc": { - "dependencies": { - "functions": [ - "argToString", - "arrayEquals", - "assertPresent", - "binaryStringFromUint8Array", - "blobEquals", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "encodeBase64", - "errorMessage", - "extractLocalPathFromResourceName", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fromFound", - "fromMaybeDocument", - "fromMissing", - "fromName", - "fromResourceName", - "fromTimestamp", - "fromVersion", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getDatastore", - "getDoc", - "getEncodedDatabaseId", - "getLocalWriteTime", - "getPreviousValue", - "hardAssert", - "invokeBatchGetDocumentsRpc", - "isMapValue", - "isNegativeZero", - "isServerTimestamp", - "isValidResourceName", - "loadProtos", - "logDebug", - "logError", - "logWarn", - "makeDatabaseInfo", - "mapCodeFromRpcCode", - "newConnection", - "newDatastore", - "newQueryForPath", - "newSerializer", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "timestampEquals", - "toName", - "toResourceName", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "valueEquals" - ], - "classes": [ - "BasePath", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "Document", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "JsonProtoSerializer", - "MaybeDocument", - "NoDocument", - "OAuthToken", - "ObjectValue", - "Query", - "QueryDocumentSnapshot", - "QueryImpl", - "ResourcePath", - "SnapshotVersion", - "StreamBridge", - "Timestamp", - "User", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 44891 - }, - "getDocs": { - "dependencies": { - "functions": [ - "argToString", - "arrayEquals", - "binaryStringFromUint8Array", - "blobEquals", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "encodeBase64", - "errorMessage", - "extractLocalPathFromResourceName", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDocument", - "fromDotSeparatedString", - "fromName", - "fromResourceName", - "fromTimestamp", - "fromVersion", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getDatastore", - "getDocs", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getPreviousValue", - "hardAssert", - "hasLimitToLast", - "invokeRunQueryRpc", - "isMapValue", - "isNanValue", - "isNegativeZero", - "isNullOrUndefined", - "isNullValue", - "isServerTimestamp", - "isValidResourceName", - "loadProtos", - "logDebug", - "logError", - "logWarn", - "makeDatabaseInfo", - "mapCodeFromRpcCode", - "newConnection", - "newDatastore", - "newQueryForPath", - "newSerializer", - "newTarget", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "primitiveComparator", - "queryOrderBy", - "queryToTarget", - "registerFirestore", - "removeComponents", - "timestampEquals", - "toCursor", - "toDirection", - "toFieldPathReference", - "toFilter", - "toInt32Proto", - "toOperatorName", - "toOrder", - "toPropertyOrder", - "toQueryPath", - "toQueryTarget", - "toResourceName", - "toUnaryOrFieldFilter", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateHasExplicitOrderByForLimitToLast", - "validateIsNotUsedTogether", - "valueEquals" - ], - "classes": [ - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "Document", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "JsonProtoSerializer", - "MaybeDocument", - "OAuthToken", - "ObjectValue", - "OrderBy", - "Query", - "QueryDocumentSnapshot", - "QueryImpl", - "QuerySnapshot", - "ResourcePath", - "SnapshotVersion", - "StreamBridge", - "TargetImpl", - "Timestamp", - "User", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 49735 - }, - "getFirestore": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "getFirestore", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 9506 - }, - "increment": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "increment", - "isNegativeZero", - "isSafeInteger", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "toDouble", - "toInteger", - "toNumber", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FieldTransform", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "NumericIncrementFieldValueImpl", - "NumericIncrementTransformOperation", - "OAuthToken", - "TransformOperation", - "User" - ], - "variables": [] - }, - "sizeInBytes": 10919 - }, - "initializeFirestore": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "initializeFirestore", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 9588 - }, - "limit": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "limit", - "logDebug", - "logError", - "primitiveComparator", - "queryWithLimit", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "validatePositiveNumber" - ], - "classes": [ - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryConstraint", - "QueryImpl", - "QueryLimitConstraint", - "User" - ], - "variables": [] - }, - "sizeInBytes": 10824 - }, - "limitToLast": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "limitToLast", - "logDebug", - "logError", - "primitiveComparator", - "queryWithLimit", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "validatePositiveNumber" - ], - "classes": [ - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryConstraint", - "QueryImpl", - "QueryLimitConstraint", - "User" - ], - "variables": [] - }, - "sizeInBytes": 10848 - }, - "orderBy": { - "dependencies": { - "functions": [ - "argToString", - "createError", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "formatJSON", - "fromDotSeparatedString", - "getFirstOrderByField", - "getInequalityFilterField", - "hardAssert", - "logDebug", - "logError", - "newQueryOrderBy", - "orderBy", - "primitiveComparator", - "queryWithAddedOrderBy", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether", - "validateNewOrderBy", - "validateOrderByAndInequalityMatch" - ], - "classes": [ - "BasePath", - "DatabaseId", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "OrderBy", - "Query", - "QueryConstraint", - "QueryImpl", - "QueryOrderByConstraint", - "User", - "_BaseFieldPath" - ], - "variables": [] - }, - "sizeInBytes": 17679 - }, - "query": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "query", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 9530 - }, - "queryEqual": { - "dependencies": { - "functions": [ - "argToString", - "arrayEquals", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "debugCast", - "decodeBase64", - "encodeBase64", - "fail", - "filterEquals", - "formatJSON", - "geoPointEquals", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "hardAssert", - "isNegativeZero", - "isServerTimestamp", - "logDebug", - "logError", - "newTarget", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "orderByEquals", - "primitiveComparator", - "queryEqual", - "queryEquals", - "queryOrderBy", - "queryToTarget", - "registerFirestore", - "removeComponents", - "targetEquals", - "timestampEquals", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "valueEquals" - ], - "classes": [ - "BasePath", - "Bound", - "ByteString", - "DatabaseId", - "FieldPath", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "OrderBy", - "Query", - "TargetImpl", - "Timestamp", - "User" - ], - "variables": [] - }, - "sizeInBytes": 24669 - }, - "refEqual": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "newQueryForPath", - "primitiveComparator", - "refEqual", - "registerFirestore", - "removeComponents", - "validateIsNotUsedTogether" - ], - "classes": [ - "BasePath", - "CollectionReference", - "DatabaseId", - "DocumentKey", - "DocumentReference", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "Query", - "QueryImpl", - "ResourcePath", - "User", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 14569 - }, - "runTransaction": { - "dependencies": { - "functions": [ - "applyFirestoreDataConverter", - "argToString", - "arrayEquals", - "assertPresent", - "binaryStringFromUint8Array", - "blobEquals", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "encodeBase64", - "errorMessage", - "extractLocalPathFromResourceName", - "fail", - "fieldMaskContains", - "fieldPathFromArgument", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fromFound", - "fromMaybeDocument", - "fromMissing", - "fromName", - "fromResourceName", - "fromTimestamp", - "fromVersion", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getDatastore", - "getEncodedDatabaseId", - "getLocalWriteTime", - "getMessageOrStack", - "getPreviousValue", - "hardAssert", - "invokeBatchGetDocumentsRpc", - "invokeCommitRpc", - "isEmpty", - "isIndexedDbTransactionError", - "isMapValue", - "isNegativeZero", - "isNullOrUndefined", - "isPermanentError", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isValidResourceName", - "isWrite", - "loadProtos", - "logDebug", - "logError", - "logWarn", - "looksLikeJsonObject", - "makeDatabaseInfo", - "mapCodeFromRpcCode", - "newConnection", - "newDatastore", - "newQueryForPath", - "newSerializer", - "newUserDataReader", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseSetData", - "parseUpdateData", - "parseUpdateVarargs", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "runTransaction", - "timestampEquals", - "toBytes", - "toDocumentMask", - "toDouble", - "toFieldTransform", - "toInteger", - "toMutation", - "toMutationDocument", - "toName", - "toNumber", - "toPrecondition", - "toResourceName", - "toTimestamp", - "toVersion", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "validateReference", - "valueDescription", - "valueEquals" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "AsyncQueue", - "BasePath", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DelayedOperation", - "DeleteFieldValueImpl", - "DeleteMutation", - "Document", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "ExponentialBackoff", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldPath$2", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "JsonProtoSerializer", - "MaybeDocument", - "Mutation", - "NoDocument", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectValue", - "ObjectValueBuilder", - "ParseContext", - "ParsedSetData", - "ParsedUpdateData", - "PatchMutation", - "Precondition", - "Query", - "QueryDocumentSnapshot", - "QueryImpl", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "SnapshotVersion", - "StreamBridge", - "Timestamp", - "Transaction", - "Transaction$1", - "TransactionRunner", - "TransformMutation", - "TransformOperation", - "User", - "UserDataReader", - "UserDataWriter", - "VerifyMutation", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 77542 - }, - "serverTimestamp": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "serverTimestamp", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FieldTransform", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "ServerTimestampFieldValueImpl", - "ServerTimestampTransform", - "TransformOperation", - "User" - ], - "variables": [] - }, - "sizeInBytes": 10001 - }, - "setDoc": { - "dependencies": { - "functions": [ - "applyFirestoreDataConverter", - "argToString", - "arrayEquals", - "binaryStringFromUint8Array", - "blobEquals", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldMaskContains", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getDatastore", - "getEncodedDatabaseId", - "getLocalWriteTime", - "hardAssert", - "invokeCommitRpc", - "isEmpty", - "isMapValue", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isWrite", - "loadProtos", - "logDebug", - "logError", - "logWarn", - "looksLikeJsonObject", - "makeDatabaseInfo", - "mapCodeFromRpcCode", - "newConnection", - "newDatastore", - "newSerializer", - "newUserDataReader", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseSetData", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "setDoc", - "timestampEquals", - "toBytes", - "toDocumentMask", - "toDouble", - "toFieldTransform", - "toInteger", - "toMutation", - "toMutationDocument", - "toName", - "toNumber", - "toPrecondition", - "toResourceName", - "toTimestamp", - "toVersion", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription", - "valueEquals" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "BasePath", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DeleteMutation", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "JsonProtoSerializer", - "Mutation", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectValue", - "ParseContext", - "ParsedSetData", - "PatchMutation", - "Precondition", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "StreamBridge", - "Timestamp", - "TransformMutation", - "TransformOperation", - "User", - "UserDataReader", - "VerifyMutation", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 50000 - }, - "setLogLevel": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "setLogLevel", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 9471 - }, - "snapshotEqual": { - "dependencies": { - "functions": [ - "argToString", - "arrayEquals", - "binaryStringFromUint8Array", - "blobEquals", - "boundEquals", - "createError", - "debugCast", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "filterEquals", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "geoPointEquals", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getPreviousValue", - "hardAssert", - "isNegativeZero", - "isServerTimestamp", - "isValidResourceName", - "logDebug", - "logError", - "newQueryForPath", - "newTarget", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "orderByEquals", - "primitiveComparator", - "queryEqual", - "queryEquals", - "queryOrderBy", - "queryToTarget", - "registerFirestore", - "removeComponents", - "snapshotEqual", - "targetEquals", - "timestampEquals", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "valueEquals" - ], - "classes": [ - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "DatabaseId", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "FieldPath", - "FieldPath$1", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "OAuthToken", - "OrderBy", - "Query", - "QueryDocumentSnapshot", - "QueryImpl", - "QuerySnapshot", - "ResourcePath", - "TargetImpl", - "Timestamp", - "User", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 35613 - }, - "startAfter": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "createError", - "debugCast", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getPreviousValue", - "hardAssert", - "isCollectionGroupQuery", - "isEmpty", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isValidResourceName", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newQueryBoundFromDocOrFields", - "newQueryBoundFromDocument", - "newQueryBoundFromFields", - "newQueryForPath", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "parseArray", - "parseData", - "parseObject", - "parseQueryValue", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "queryOrderBy", - "queryWithStartAt", - "refValue", - "registerFirestore", - "removeComponents", - "startAfter", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription" - ], - "classes": [ - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "FieldPath", - "FieldPath$1", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "JsonProtoSerializer", - "OAuthToken", - "OrderBy", - "ParseContext", - "Query", - "QueryConstraint", - "QueryDocumentSnapshot", - "QueryImpl", - "QueryStartAtConstraint", - "ResourcePath", - "Timestamp", - "User", - "UserDataReader", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 42846 - }, - "startAt": { - "dependencies": { - "functions": [ - "argToString", - "binaryStringFromUint8Array", - "createError", - "debugCast", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "getPreviousValue", - "hardAssert", - "isCollectionGroupQuery", - "isEmpty", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isValidResourceName", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newQueryBoundFromDocOrFields", - "newQueryBoundFromDocument", - "newQueryBoundFromFields", - "newQueryForPath", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "parseArray", - "parseData", - "parseObject", - "parseQueryValue", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "queryOrderBy", - "queryWithStartAt", - "refValue", - "registerFirestore", - "removeComponents", - "startAt", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription" - ], - "classes": [ - "BasePath", - "Bound", - "ByteString", - "Bytes", - "CollectionReference", - "Compat", - "DatabaseId", - "DocumentKey", - "DocumentReference", - "DocumentSnapshot", - "FieldPath", - "FieldPath$1", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "JsonProtoSerializer", - "OAuthToken", - "OrderBy", - "ParseContext", - "Query", - "QueryConstraint", - "QueryDocumentSnapshot", - "QueryImpl", - "QueryStartAtConstraint", - "ResourcePath", - "Timestamp", - "User", - "UserDataReader", - "UserDataWriter", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 42836 - }, - "terminate": { - "dependencies": { - "functions": [ - "argToString", - "fail", - "formatJSON", - "hardAssert", - "logDebug", - "logError", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "terminate", - "validateIsNotUsedTogether" - ], - "classes": [ - "DatabaseId", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "OAuthToken", - "User" - ], - "variables": [] - }, - "sizeInBytes": 9541 - }, - "updateDoc": { - "dependencies": { - "functions": [ - "argToString", - "arrayEquals", - "binaryStringFromUint8Array", - "blobEquals", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldMaskContains", - "fieldPathFromArgument", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getDatastore", - "getEncodedDatabaseId", - "getLocalWriteTime", - "hardAssert", - "invokeCommitRpc", - "isEmpty", - "isMapValue", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isWrite", - "loadProtos", - "logDebug", - "logError", - "logWarn", - "looksLikeJsonObject", - "makeDatabaseInfo", - "mapCodeFromRpcCode", - "newConnection", - "newDatastore", - "newSerializer", - "newUserDataReader", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseUpdateData", - "parseUpdateVarargs", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "timestampEquals", - "toBytes", - "toDocumentMask", - "toDouble", - "toFieldTransform", - "toInteger", - "toMutation", - "toMutationDocument", - "toName", - "toNumber", - "toPrecondition", - "toResourceName", - "toTimestamp", - "toVersion", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "updateDoc", - "validateIsNotUsedTogether", - "validatePlainObject", - "valueDescription", - "valueEquals" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "BasePath", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DeleteFieldValueImpl", - "DeleteMutation", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldPath$2", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "JsonProtoSerializer", - "Mutation", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectValue", - "ObjectValueBuilder", - "ParseContext", - "ParsedUpdateData", - "PatchMutation", - "Precondition", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "StreamBridge", - "Timestamp", - "TransformMutation", - "TransformOperation", - "User", - "UserDataReader", - "VerifyMutation", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 53042 - }, - "where": { - "dependencies": { - "functions": [ - "argToString", - "arrayEquals", - "arrayValueContains", - "binaryStringFromUint8Array", - "blobEquals", - "compareArrays", - "compareBlobs", - "compareGeoPoints", - "compareMaps", - "compareNumbers", - "compareReferences", - "compareTimestamps", - "conflictingOps", - "createError", - "decodeBase64", - "encodeBase64", - "errorMessage", - "extractDocumentKeysFromArrayValue", - "fail", - "fieldPathFromArgument$1", - "fieldPathFromDotSeparatedString", - "findFilterOperator", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getFirstOrderByField", - "getInequalityFilterField", - "getLocalWriteTime", - "hardAssert", - "isArray", - "isCollectionGroupQuery", - "isEmpty", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isWrite", - "logDebug", - "logError", - "looksLikeJsonObject", - "newQueryFilter", - "newSerializer", - "newUserDataReader", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "parseArray", - "parseData", - "parseDocumentIdValue", - "parseObject", - "parseQueryValue", - "parseScalarValue", - "parseSentinelFieldValue", - "primitiveComparator", - "queryWithAddedFilter", - "refValue", - "registerFirestore", - "removeComponents", - "timestampEquals", - "toBytes", - "toDouble", - "toInteger", - "toNumber", - "toResourceName", - "toTimestamp", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateDisjunctiveFilterElements", - "validateIsNotUsedTogether", - "validateNewFilter", - "validateOrderByAndInequalityMatch", - "validatePlainObject", - "valueCompare", - "valueDescription", - "valueEquals", - "where" - ], - "classes": [ - "ArrayContainsAnyFilter", - "ArrayContainsFilter", - "BasePath", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "DocumentKey", - "FieldFilter", - "FieldPath", - "FieldPath$1", - "FieldValue", - "Filter", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "InFilter", - "JsonProtoSerializer", - "KeyFieldFilter", - "KeyFieldInFilter", - "KeyFieldNotInFilter", - "NotInFilter", - "OAuthToken", - "ParseContext", - "Query", - "QueryConstraint", - "QueryFilterConstraint", - "QueryImpl", - "ResourcePath", - "Timestamp", - "User", - "UserDataReader", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 47911 - }, - "writeBatch": { - "dependencies": { - "functions": [ - "applyFirestoreDataConverter", - "argToString", - "arrayEquals", - "binaryStringFromUint8Array", - "blobEquals", - "createError", - "createMetadata", - "debugCast", - "decodeBase64", - "encodeBase64", - "errorMessage", - "fail", - "fieldMaskContains", - "fieldPathFromArgument", - "fieldPathFromDotSeparatedString", - "forEach", - "formatJSON", - "fromDotSeparatedString", - "fullyQualifiedPrefixPath", - "geoPointEquals", - "getDatastore", - "getEncodedDatabaseId", - "getLocalWriteTime", - "hardAssert", - "invokeCommitRpc", - "isEmpty", - "isMapValue", - "isNegativeZero", - "isPlainObject", - "isSafeInteger", - "isServerTimestamp", - "isWrite", - "loadProtos", - "logDebug", - "logError", - "logWarn", - "looksLikeJsonObject", - "makeDatabaseInfo", - "mapCodeFromRpcCode", - "newConnection", - "newDatastore", - "newSerializer", - "newUserDataReader", - "nodePromise", - "normalizeByteString", - "normalizeNumber", - "normalizeTimestamp", - "numberEquals", - "objectEquals", - "objectSize", - "parseArray", - "parseData", - "parseObject", - "parseScalarValue", - "parseSentinelFieldValue", - "parseSetData", - "parseUpdateData", - "parseUpdateVarargs", - "primitiveComparator", - "registerFirestore", - "removeComponents", - "timestampEquals", - "toBytes", - "toDocumentMask", - "toDouble", - "toFieldTransform", - "toInteger", - "toMutation", - "toMutationDocument", - "toName", - "toNumber", - "toPrecondition", - "toResourceName", - "toTimestamp", - "toVersion", - "tryGetCustomObjectType", - "typeOrder", - "uint8ArrayFromBinaryString", - "validateIsNotUsedTogether", - "validatePlainObject", - "validateReference", - "valueDescription", - "valueEquals", - "writeBatch" - ], - "classes": [ - "ArrayRemoveTransformOperation", - "ArrayUnionTransformOperation", - "BasePath", - "ByteString", - "Bytes", - "Compat", - "DatabaseId", - "DatabaseInfo", - "Datastore", - "DatastoreImpl", - "Deferred", - "DeleteFieldValueImpl", - "DeleteMutation", - "FieldMask", - "FieldPath", - "FieldPath$1", - "FieldPath$2", - "FieldValue", - "FirebaseCredentialsProvider", - "FirebaseFirestore", - "FirestoreError", - "FirestoreSettings", - "GeoPoint", - "GrpcConnection", - "JsonProtoSerializer", - "Mutation", - "NumericIncrementTransformOperation", - "OAuthToken", - "ObjectValue", - "ObjectValueBuilder", - "ParseContext", - "ParsedSetData", - "ParsedUpdateData", - "PatchMutation", - "Precondition", - "ResourcePath", - "ServerTimestampTransform", - "SetMutation", - "StreamBridge", - "Timestamp", - "TransformMutation", - "TransformOperation", - "User", - "UserDataReader", - "VerifyMutation", - "WriteBatch", - "_BaseFieldPath", - "_DocumentKeyReference" - ], - "variables": [] - }, - "sizeInBytes": 56682 - } -} \ No newline at end of file diff --git a/packages/firestore/lite/index.ts b/packages/firestore/lite/index.ts index 7bd4a191b4f..e1e14d580db 100644 --- a/packages/firestore/lite/index.ts +++ b/packages/firestore/lite/index.ts @@ -18,14 +18,14 @@ import { registerFirestore } from './register'; registerFirestore(); -export { Settings } from './src/api/settings'; +export { Settings } from '../src/lite/settings'; export { FirebaseFirestore, initializeFirestore, getFirestore, terminate -} from './src/api/database'; +} from '../src/lite/database'; export { SetOptions, @@ -39,7 +39,7 @@ export { doc, refEqual, queryEqual -} from './src/api/reference'; +} from '../src/lite/reference'; export { endAt, @@ -55,7 +55,7 @@ export { query, QueryConstraint, QueryConstraintType -} from './src/api/query'; +} from '../src/lite/query'; export { addDoc, @@ -64,13 +64,13 @@ export { setDoc, getDoc, getDocs -} from './src/api/reference_impl'; +} from '../src/lite/reference_impl'; // TOOD(firestorelite): Add tests when Queries are usable -export { FieldPath, documentId } from './src/api/field_path'; +export { FieldPath, documentId } from '../src/lite/field_path'; // TOOD(firestorelite): Add tests when setDoc() is available -export { FieldValue } from './src/api/field_value'; +export { FieldValue } from '../src/lite/field_value'; export { increment, @@ -78,7 +78,7 @@ export { arrayUnion, serverTimestamp, deleteField -} from './src/api/field_value_impl'; +} from '../src/lite/field_value_impl'; export { FirestoreDataConverter, @@ -86,18 +86,18 @@ export { QueryDocumentSnapshot, QuerySnapshot, snapshotEqual -} from './src/api/snapshot'; +} from '../src/lite/snapshot'; -export { WriteBatch, writeBatch } from './src/api/write_batch'; +export { WriteBatch, writeBatch } from '../src/lite/write_batch'; -export { Transaction, runTransaction } from './src/api/transaction'; +export { Transaction, runTransaction } from '../src/lite/transaction'; export { setLogLevel, LogLevelString as LogLevel } from '../src/util/log'; -export { Bytes } from './src/api/bytes'; +export { Bytes } from '../src/lite/bytes'; -export { GeoPoint } from '../src/api/geo_point'; +export { GeoPoint } from '../src/lite/geo_point'; -export { Timestamp } from '../src/api/timestamp'; +export { Timestamp } from '../src/lite/timestamp'; export { FirestoreErrorCode, FirestoreError } from '../src/util/error'; diff --git a/packages/firestore/lite/register.ts b/packages/firestore/lite/register.ts index 4c094937919..2fa6f9c6a64 100644 --- a/packages/firestore/lite/register.ts +++ b/packages/firestore/lite/register.ts @@ -19,8 +19,7 @@ import { _registerComponent, registerVersion } from '@firebase/app-exp'; import { Component, ComponentType } from '@firebase/component'; import { version } from '../package.json'; - -import { FirebaseFirestore } from './src/api/database'; +import { FirebaseFirestore } from '../src/lite/database'; declare module '@firebase/component' { interface NameServiceMapping { diff --git a/packages/firestore/package.json b/packages/firestore/package.json index a51f77afac0..36ff1722cc7 100644 --- a/packages/firestore/package.json +++ b/packages/firestore/package.json @@ -28,11 +28,11 @@ "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'", "prettier": "prettier --write '*.js' '*.ts' '@(lite|exp|src|test)/**/*.ts'", "pregendeps:exp": "yarn api-report:exp && node scripts/build-bundle.js --input ./exp/index.ts --output ./dist/exp/tmp.js", - "gendeps:exp": "../../scripts/exp/extract-deps.sh --types ./dist/exp/index.d.ts --bundle ./dist/exp/tmp.js --output ./exp/dependencies.json", + "gendeps:exp": "../../scripts/exp/extract-deps.sh --types ./dist/exp/index.d.ts --bundle ./dist/exp/tmp.js --output ./dist/exp/dependencies.json", "pregendeps:lite": "yarn api-report:lite && node scripts/build-bundle.js --input ./lite/index.ts --output ./dist/lite/tmp.js", - "gendeps:lite": "../../scripts/exp/extract-deps.sh --types ./dist/lite/index.d.ts --bundle ./dist/lite/tmp.js --output ./lite/dependencies.json", - "test:lite": "node ./scripts/run-tests.js --emulator --platform node_lite --main=lite/index.ts 'lite/test/**/*.test.ts'", - "test:lite:prod": "node ./scripts/run-tests.js --platform node_lite --main=lite/index.ts 'lite/test/**/*.test.ts'", + "gendeps:lite": "../../scripts/exp/extract-deps.sh --types ./dist/lite/index.d.ts --bundle ./dist/lite/tmp.js --output ./dist/lite/dependencies.json", + "test:lite": "node ./scripts/run-tests.js --emulator --platform node_lite --main=lite/index.ts 'test/lite/**/*.test.ts'", + "test:lite:prod": "node ./scripts/run-tests.js --platform node_lite --main=lite/index.ts 'test/lite/**/*.test.ts'", "test:lite:browser": "karma start --single-run --lite", "test:lite:browser:debug": "karma start --browsers=Chrome --lite --auto-watch", "test": "run-s lint test:all", @@ -40,10 +40,10 @@ "test:all": "run-p test:browser test:lite:browser test:travis test:minified", "test:browser": "karma start --single-run", "test:browser:debug": "karma start --browsers=Chrome --auto-watch", - "test:node": "node ./scripts/run-tests.js --main=index.node.ts --emulator 'test/{,!(browser)/**/}*.test.ts'", - "test:node:prod": "node ./scripts/run-tests.js --main=index.node.ts 'test/{,!(browser)/**/}*.test.ts'", - "test:node:persistence": "node ./scripts/run-tests.js --main=index.node.ts --persistence --emulator 'test/{,!(browser)/**/}*.test.ts'", - "test:node:persistence:prod": "node ./scripts/run-tests.js --main=index.node.ts --persistence 'test/{,!(browser)/**/}*.test.ts'", + "test:node": "node ./scripts/run-tests.js --main=index.node.ts --emulator 'test/{,!(browser|lite)/**/}*.test.ts'", + "test:node:prod": "node ./scripts/run-tests.js --main=index.node.ts 'test/{,!(browser|lite)/**/}*.test.ts'", + "test:node:persistence": "node ./scripts/run-tests.js --main=index.node.ts --persistence --emulator 'test/{,!(browser|lite)/**/}*.test.ts'", + "test:node:persistence:prod": "node ./scripts/run-tests.js --main=index.node.ts --persistence 'test/{,!(browser|lite)/**/}*.test.ts'", "test:travis": "ts-node --compiler-options='{\"module\":\"commonjs\"}' ../../scripts/emulator-testing/firestore-test-runner.ts", "test:minified": "(cd ../../integration/firestore ; yarn test)", "prepare": "yarn build:release", diff --git a/packages/firestore/src/api/blob.ts b/packages/firestore/src/api/blob.ts index 08ca8fc81a4..4d60975031c 100644 --- a/packages/firestore/src/api/blob.ts +++ b/packages/firestore/src/api/blob.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { Bytes } from '../../lite/src/api/bytes'; +import { Bytes } from '../lite/bytes'; import { isBase64Available } from '../platform/base64'; import { Code, FirestoreError } from '../util/error'; diff --git a/packages/firestore/src/api/bundle.ts b/packages/firestore/src/api/bundle.ts index d4d2eefb781..16a666eebde 100644 --- a/packages/firestore/src/api/bundle.ts +++ b/packages/firestore/src/api/bundle.ts @@ -20,8 +20,8 @@ import { LoadBundleTaskProgress } from '@firebase/firestore-types'; -import { ensureFirestoreConfigured } from '../../exp/src/api/database'; -import { Query as ExpQuery } from '../../exp/src/api/reference'; +import { ensureFirestoreConfigured } from '../../src/exp/database'; +import { Query as ExpQuery } from '../../src/exp/reference'; import { firestoreClientGetNamedQuery, firestoreClientLoadBundle diff --git a/packages/firestore/src/api/database.ts b/packages/firestore/src/api/database.ts index efe8eb2d20a..bb928ed618c 100644 --- a/packages/firestore/src/api/database.ts +++ b/packages/firestore/src/api/database.ts @@ -45,6 +45,8 @@ import { WriteBatch as PublicWriteBatch } from '@firebase/firestore-types'; +import { DatabaseId } from '../core/database_info'; +import { Bytes } from '../exp/bytes'; import { clearIndexedDbPersistence, disableNetwork, @@ -54,7 +56,8 @@ import { ensureFirestoreConfigured, FirebaseFirestore as ExpFirebaseFirestore, waitForPendingWrites -} from '../../exp/src/api/database'; +} from '../exp/database'; +import { FieldPath as ExpFieldPath } from '../exp/field_path'; import { limit, limitToLast, @@ -65,7 +68,7 @@ import { query, endBefore, endAt -} from '../../exp/src/api/query'; +} from '../exp/query'; import { doc, collection, @@ -73,8 +76,9 @@ import { queryEqual, Query as ExpQuery, CollectionReference as ExpCollectionReference, - DocumentReference as ExpDocumentReference -} from '../../exp/src/api/reference'; + DocumentReference as ExpDocumentReference, + refEqual +} from '../exp/reference'; import { addDoc, deleteDoc, @@ -88,25 +92,22 @@ import { onSnapshot, onSnapshotsInSync, setDoc, - updateDoc -} from '../../exp/src/api/reference_impl'; + updateDoc, + Unsubscribe +} from '../exp/reference_impl'; +import { DEFAULT_HOST } from '../exp/settings'; import { DocumentChange as ExpDocumentChange, DocumentSnapshot as ExpDocumentSnapshot, QuerySnapshot as ExpQuerySnapshot, snapshotEqual, SnapshotMetadata -} from '../../exp/src/api/snapshot'; +} from '../exp/snapshot'; import { runTransaction, Transaction as ExpTransaction -} from '../../exp/src/api/transaction'; -import { WriteBatch as ExpWriteBatch } from '../../exp/src/api/write_batch'; -import { Bytes } from '../../lite/src/api/bytes'; -import { FieldPath as ExpFieldPath } from '../../lite/src/api/field_path'; -import { refEqual } from '../../lite/src/api/reference'; -import { DEFAULT_HOST } from '../../lite/src/api/settings'; -import { DatabaseId } from '../core/database_info'; +} from '../exp/transaction'; +import { WriteBatch as ExpWriteBatch } from '../exp/write_batch'; import { DocumentKey } from '../model/document_key'; import { FieldPath, ResourcePath } from '../model/path'; import { debugAssert } from '../util/assert'; @@ -127,8 +128,7 @@ import { ErrorFn, isPartialObserver, NextFn, - PartialObserver, - Unsubscribe + PartialObserver } from './observer'; import { UntypedFirestoreDataConverter } from './user_data_reader'; import { AbstractUserDataWriter } from './user_data_writer'; diff --git a/packages/firestore/src/api/field_path.ts b/packages/firestore/src/api/field_path.ts index c72de287acc..e94d389f6c6 100644 --- a/packages/firestore/src/api/field_path.ts +++ b/packages/firestore/src/api/field_path.ts @@ -17,10 +17,11 @@ import { FieldPath as PublicFieldPath } from '@firebase/firestore-types'; -import { FieldPath as ExpFieldPath } from '../../lite/src/api/field_path'; -import { Compat } from '../api/compat'; +import { FieldPath as ExpFieldPath } from '../exp/field_path'; import { FieldPath as InternalFieldPath } from '../model/path'; +import { Compat } from './compat'; + // The objects that are a part of this API are exposed to third-parties as // compiled javascript so we want to flag our private members with a leading // underscore to discourage their use. diff --git a/packages/firestore/src/api/geo_point.ts b/packages/firestore/src/api/geo_point.ts index 48e394221af..3812004d27a 100644 --- a/packages/firestore/src/api/geo_point.ts +++ b/packages/firestore/src/api/geo_point.ts @@ -15,82 +15,4 @@ * limitations under the License. */ -import { Code, FirestoreError } from '../util/error'; -import { primitiveComparator } from '../util/misc'; - -/** - * An immutable object representing a geographic location in Firestore. The - * location is represented as latitude/longitude pair. - * - * Latitude values are in the range of [-90, 90]. - * Longitude values are in the range of [-180, 180]. - */ -export class GeoPoint { - // Prefix with underscore to signal this is a private variable in JS and - // prevent it showing up for autocompletion when typing latitude or longitude. - private _lat: number; - private _long: number; - - /** - * Creates a new immutable `GeoPoint` object with the provided latitude and - * longitude values. - * @param latitude - The latitude as number between -90 and 90. - * @param longitude - The longitude as number between -180 and 180. - */ - constructor(latitude: number, longitude: number) { - if (!isFinite(latitude) || latitude < -90 || latitude > 90) { - throw new FirestoreError( - Code.INVALID_ARGUMENT, - 'Latitude must be a number between -90 and 90, but was: ' + latitude - ); - } - if (!isFinite(longitude) || longitude < -180 || longitude > 180) { - throw new FirestoreError( - Code.INVALID_ARGUMENT, - 'Longitude must be a number between -180 and 180, but was: ' + longitude - ); - } - - this._lat = latitude; - this._long = longitude; - } - - /** - * The latitude of this `GeoPoint` instance. - */ - get latitude(): number { - return this._lat; - } - - /** - * The longitude of this `GeoPoint` instance. - */ - get longitude(): number { - return this._long; - } - - /** - * Returns true if this `GeoPoint` is equal to the provided one. - * - * @param other - The `GeoPoint` to compare against. - * @returns true if this `GeoPoint` is equal to the provided one. - */ - isEqual(other: GeoPoint): boolean { - return this._lat === other._lat && this._long === other._long; - } - - toJSON(): { latitude: number; longitude: number } { - return { latitude: this._lat, longitude: this._long }; - } - - /** - * Actually private to JS consumers of our API, so this function is prefixed - * with an underscore. - */ - _compareTo(other: GeoPoint): number { - return ( - primitiveComparator(this._lat, other._lat) || - primitiveComparator(this._long, other._long) - ); - } -} +export { GeoPoint } from '../exp/geo_point'; diff --git a/packages/firestore/src/api/observer.ts b/packages/firestore/src/api/observer.ts index a724f1e96e1..006b73d66e8 100644 --- a/packages/firestore/src/api/observer.ts +++ b/packages/firestore/src/api/observer.ts @@ -32,10 +32,6 @@ export interface PartialObserver { complete?: CompleteFn; } -export interface Unsubscribe { - (): void; -} - export function isPartialObserver(obj: unknown): obj is PartialObserver { return implementsAnyMethods(obj, ['next', 'error', 'complete']); } diff --git a/packages/firestore/src/api/timestamp.ts b/packages/firestore/src/api/timestamp.ts index 30f92291763..d8fac3fc3f6 100644 --- a/packages/firestore/src/api/timestamp.ts +++ b/packages/firestore/src/api/timestamp.ts @@ -15,169 +15,4 @@ * limitations under the License. */ -import { Code, FirestoreError } from '../util/error'; -import { primitiveComparator } from '../util/misc'; - -// The earlist date supported by Firestore timestamps (0001-01-01T00:00:00Z). -const MIN_SECONDS = -62135596800; - -/** - * A `Timestamp` represents a point in time independent of any time zone or - * calendar, represented as seconds and fractions of seconds at nanosecond - * resolution in UTC Epoch time. - * - * It is encoded using the Proleptic Gregorian Calendar which extends the - * Gregorian calendar backwards to year one. It is encoded assuming all minutes - * are 60 seconds long, i.e. leap seconds are "smeared" so that no leap second - * table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59.999999999Z. - * - * @see https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto - */ -export class Timestamp { - /** - * Creates a new timestamp with the current date, with millisecond precision. - * - * @returns a new timestamp representing the current date. - */ - static now(): Timestamp { - return Timestamp.fromMillis(Date.now()); - } - - /** - * Creates a new timestamp from the given date. - * - * @param date - The date to initialize the `Timestamp` from. - * @returns A new `Timestamp` representing the same point in time as the given - * date. - */ - static fromDate(date: Date): Timestamp { - return Timestamp.fromMillis(date.getTime()); - } - - /** - * Creates a new timestamp from the given number of milliseconds. - * - * @param milliseconds - Number of milliseconds since Unix epoch - * 1970-01-01T00:00:00Z. - * @returns A new `Timestamp` representing the same point in time as the given - * number of milliseconds. - */ - static fromMillis(milliseconds: number): Timestamp { - const seconds = Math.floor(milliseconds / 1000); - const nanos = (milliseconds - seconds * 1000) * 1e6; - return new Timestamp(seconds, nanos); - } - - /** - * Creates a new timestamp. - * - * @param seconds - The number of seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - * @param nanoseconds - The non-negative fractions of a second at nanosecond - * resolution. Negative second values with fractions must still have - * non-negative nanoseconds values that count forward in time. Must be - * from 0 to 999,999,999 inclusive. - */ - constructor(readonly seconds: number, readonly nanoseconds: number) { - if (nanoseconds < 0) { - throw new FirestoreError( - Code.INVALID_ARGUMENT, - 'Timestamp nanoseconds out of range: ' + nanoseconds - ); - } - if (nanoseconds >= 1e9) { - throw new FirestoreError( - Code.INVALID_ARGUMENT, - 'Timestamp nanoseconds out of range: ' + nanoseconds - ); - } - if (seconds < MIN_SECONDS) { - throw new FirestoreError( - Code.INVALID_ARGUMENT, - 'Timestamp seconds out of range: ' + seconds - ); - } - // This will break in the year 10,000. - if (seconds >= 253402300800) { - throw new FirestoreError( - Code.INVALID_ARGUMENT, - 'Timestamp seconds out of range: ' + seconds - ); - } - } - - /** - * Converts a `Timestamp` to a JavaScript `Date` object. This conversion causes - * a loss of precision since `Date` objects only support millisecond precision. - * - * @returns JavaScript `Date` object representing the same point in time as - * this `Timestamp`, with millisecond precision. - */ - toDate(): Date { - return new Date(this.toMillis()); - } - - /** - * Converts a `Timestamp` to a numeric timestamp (in milliseconds since - * epoch). This operation causes a loss of precision. - * - * @returns The point in time corresponding to this timestamp, represented as - * the number of milliseconds since Unix epoch 1970-01-01T00:00:00Z. - */ - toMillis(): number { - return this.seconds * 1000 + this.nanoseconds / 1e6; - } - - _compareTo(other: Timestamp): number { - if (this.seconds === other.seconds) { - return primitiveComparator(this.nanoseconds, other.nanoseconds); - } - return primitiveComparator(this.seconds, other.seconds); - } - - /** - * Returns true if this `Timestamp` is equal to the provided one. - * - * @param other - The `Timestamp` to compare against. - * @returns true if this `Timestamp` is equal to the provided one. - */ - isEqual(other: Timestamp): boolean { - return ( - other.seconds === this.seconds && other.nanoseconds === this.nanoseconds - ); - } - - toString(): string { - return ( - 'Timestamp(seconds=' + - this.seconds + - ', nanoseconds=' + - this.nanoseconds + - ')' - ); - } - - toJSON(): { seconds: number; nanoseconds: number } { - return { seconds: this.seconds, nanoseconds: this.nanoseconds }; - } - - /** - * Converts this object to a primitive string, which allows Timestamp objects to be compared - * using the `>`, `<=`, `>=` and `>` operators. - */ - valueOf(): string { - // This method returns a string of the form . where is - // translated to have a non-negative value and both and are left-padded - // with zeroes to be a consistent length. Strings with this format then have a lexiographical - // ordering that matches the expected ordering. The translation is done to avoid - // having a leading negative sign (i.e. a leading '-' character) in its string representation, - // which would affect its lexiographical ordering. - const adjustedSeconds = this.seconds - MIN_SECONDS; - // Note: Up to 12 decimal digits are required to represent all valid 'seconds' values. - const formattedSeconds = String(adjustedSeconds).padStart(12, '0'); - const formattedNanoseconds = String(this.nanoseconds).padStart(9, '0'); - return formattedSeconds + '.' + formattedNanoseconds; - } -} +export { Timestamp } from '../exp/timestamp'; diff --git a/packages/firestore/src/api/user_data_reader.ts b/packages/firestore/src/api/user_data_reader.ts index 5ec851383cf..c58da2e4209 100644 --- a/packages/firestore/src/api/user_data_reader.ts +++ b/packages/firestore/src/api/user_data_reader.ts @@ -21,12 +21,12 @@ import { SetOptions } from '@firebase/firestore-types'; -import { Bytes } from '../../lite/src/api/bytes'; -import { FirebaseFirestore } from '../../lite/src/api/database'; -import { FieldPath } from '../../lite/src/api/field_path'; -import { FieldValue } from '../../lite/src/api/field_value'; -import { DocumentReference } from '../../lite/src/api/reference'; import { DatabaseId } from '../core/database_info'; +import { Bytes } from '../lite/bytes'; +import { FirebaseFirestore } from '../lite/database'; +import { FieldPath } from '../lite/field_path'; +import { FieldValue } from '../lite/field_value'; +import { DocumentReference } from '../lite/reference'; import { DocumentKey } from '../model/document_key'; import { FieldMask } from '../model/field_mask'; import { diff --git a/packages/firestore/exp/src/api/bytes.ts b/packages/firestore/src/exp/bytes.ts similarity index 91% rename from packages/firestore/exp/src/api/bytes.ts rename to packages/firestore/src/exp/bytes.ts index 97cb7c8fee3..d9d2b9d47fd 100644 --- a/packages/firestore/exp/src/api/bytes.ts +++ b/packages/firestore/src/exp/bytes.ts @@ -15,4 +15,4 @@ * limitations under the License. */ -export { Bytes } from '../../../lite/src/api/bytes'; +export { Bytes } from '../lite/bytes'; diff --git a/packages/firestore/exp/src/api/database.ts b/packages/firestore/src/exp/database.ts similarity index 94% rename from packages/firestore/exp/src/api/database.ts rename to packages/firestore/src/exp/database.ts index 4583565ed65..8c6e41a2c87 100644 --- a/packages/firestore/exp/src/api/database.ts +++ b/packages/firestore/src/exp/database.ts @@ -15,20 +15,19 @@ * limitations under the License. */ +// eslint-disable-next-line import/no-extraneous-dependencies import { _getProvider, _removeServiceInstance } from '@firebase/app-exp'; import { FirebaseApp } from '@firebase/app-types-exp'; import { FirebaseAuthInternalName } from '@firebase/auth-interop-types'; import { Provider } from '@firebase/component'; -import { makeDatabaseInfo } from '../../../lite/src/api/components'; -import { FirebaseFirestore as LiteFirestore } from '../../../lite/src/api/database'; import { IndexedDbOfflineComponentProvider, MultiTabOfflineComponentProvider, OfflineComponentProvider, OnlineComponentProvider -} from '../../../src/core/component_provider'; -import { DatabaseId } from '../../../src/core/database_info'; +} from '../core/component_provider'; +import { DatabaseId } from '../core/database_info'; import { FirestoreClient, firestoreClientDisableNetwork, @@ -36,19 +35,21 @@ import { firestoreClientWaitForPendingWrites, setOfflineComponentProvider, setOnlineComponentProvider -} from '../../../src/core/firestore_client'; +} from '../core/firestore_client'; +import { makeDatabaseInfo } from '../lite/components'; +import { FirebaseFirestore as LiteFirestore } from '../lite/database'; import { indexedDbClearPersistence, indexedDbStoragePrefix -} from '../../../src/local/indexeddb_persistence'; -import { LRU_COLLECTION_DISABLED } from '../../../src/local/lru_garbage_collector'; -import { LRU_MINIMUM_CACHE_SIZE_BYTES } from '../../../src/local/lru_garbage_collector_impl'; -import { debugAssert } from '../../../src/util/assert'; -import { AsyncQueue } from '../../../src/util/async_queue'; -import { newAsyncQueue } from '../../../src/util/async_queue_impl'; -import { Code, FirestoreError } from '../../../src/util/error'; -import { cast } from '../../../src/util/input_validation'; -import { Deferred } from '../../../src/util/promise'; +} from '../local/indexeddb_persistence'; +import { LRU_COLLECTION_DISABLED } from '../local/lru_garbage_collector'; +import { LRU_MINIMUM_CACHE_SIZE_BYTES } from '../local/lru_garbage_collector_impl'; +import { debugAssert } from '../util/assert'; +import { AsyncQueue } from '../util/async_queue'; +import { newAsyncQueue } from '../util/async_queue_impl'; +import { Code, FirestoreError } from '../util/error'; +import { cast } from '../util/input_validation'; +import { Deferred } from '../util/promise'; import { PersistenceSettings, Settings } from './settings'; diff --git a/packages/firestore/exp/src/api/field_path.ts b/packages/firestore/src/exp/field_path.ts similarity index 89% rename from packages/firestore/exp/src/api/field_path.ts rename to packages/firestore/src/exp/field_path.ts index 26abcdc42ba..04047bfa792 100644 --- a/packages/firestore/exp/src/api/field_path.ts +++ b/packages/firestore/src/exp/field_path.ts @@ -15,4 +15,4 @@ * limitations under the License. */ -export { FieldPath, documentId } from '../../../lite/src/api/field_path'; +export { FieldPath, documentId } from '../lite/field_path'; diff --git a/packages/firestore/exp/src/api/field_value.ts b/packages/firestore/src/exp/field_value.ts similarity index 90% rename from packages/firestore/exp/src/api/field_value.ts rename to packages/firestore/src/exp/field_value.ts index 7a22851b0d9..9ebc601869c 100644 --- a/packages/firestore/exp/src/api/field_value.ts +++ b/packages/firestore/src/exp/field_value.ts @@ -15,4 +15,4 @@ * limitations under the License. */ -export { FieldValue } from '../../../lite/src/api/field_value'; +export { FieldValue } from '../lite/field_value'; diff --git a/packages/firestore/exp/src/api/field_value_impl.ts b/packages/firestore/src/exp/field_value_impl.ts similarity index 93% rename from packages/firestore/exp/src/api/field_value_impl.ts rename to packages/firestore/src/exp/field_value_impl.ts index cd1a4bade84..0259fdd8e13 100644 --- a/packages/firestore/exp/src/api/field_value_impl.ts +++ b/packages/firestore/src/exp/field_value_impl.ts @@ -21,4 +21,4 @@ export { arrayUnion, serverTimestamp, deleteField -} from '../../../lite/src/api/field_value_impl'; +} from '../lite/field_value_impl'; diff --git a/packages/firestore/src/exp/geo_point.ts b/packages/firestore/src/exp/geo_point.ts new file mode 100644 index 00000000000..ffcd008a807 --- /dev/null +++ b/packages/firestore/src/exp/geo_point.ts @@ -0,0 +1,18 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export { GeoPoint } from '../lite/geo_point'; diff --git a/packages/firestore/exp/src/api/query.ts b/packages/firestore/src/exp/query.ts similarity index 95% rename from packages/firestore/exp/src/api/query.ts rename to packages/firestore/src/exp/query.ts index 71dbf6a3861..6ba2d791075 100644 --- a/packages/firestore/exp/src/api/query.ts +++ b/packages/firestore/src/exp/query.ts @@ -29,4 +29,4 @@ export { query, QueryConstraint, QueryConstraintType -} from '../../../lite/src/api/query'; +} from '../lite/query'; diff --git a/packages/firestore/exp/src/api/reference.ts b/packages/firestore/src/exp/reference.ts similarity index 94% rename from packages/firestore/exp/src/api/reference.ts rename to packages/firestore/src/exp/reference.ts index 180d4eda2ac..64e4155a2b7 100644 --- a/packages/firestore/exp/src/api/reference.ts +++ b/packages/firestore/src/exp/reference.ts @@ -27,4 +27,4 @@ export { DocumentData, UpdateData, refEqual -} from '../../../lite/src/api/reference'; +} from '../lite/reference'; diff --git a/packages/firestore/exp/src/api/reference_impl.ts b/packages/firestore/src/exp/reference_impl.ts similarity index 95% rename from packages/firestore/exp/src/api/reference_impl.ts rename to packages/firestore/src/exp/reference_impl.ts index 0f01ca6d3a8..9982c85198f 100644 --- a/packages/firestore/exp/src/api/reference_impl.ts +++ b/packages/firestore/src/exp/reference_impl.ts @@ -15,35 +15,22 @@ * limitations under the License. */ -import { Bytes } from '../../../lite/src/api/bytes'; -import { FieldPath } from '../../../lite/src/api/field_path'; -import { validateHasExplicitOrderByForLimitToLast } from '../../../lite/src/api/query'; -import { - CollectionReference, - doc, - DocumentReference, - Query, - SetOptions, - UpdateData -} from '../../../lite/src/api/reference'; -import { applyFirestoreDataConverter } from '../../../lite/src/api/reference_impl'; -import { Compat } from '../../../src/api/compat'; +import { Compat } from '../api/compat'; import { CompleteFn, ErrorFn, isPartialObserver, NextFn, - PartialObserver, - Unsubscribe -} from '../../../src/api/observer'; + PartialObserver +} from '../api/observer'; import { newUserDataReader, ParsedUpdateData, parseSetData, parseUpdateData, parseUpdateVarargs -} from '../../../src/api/user_data_reader'; -import { AbstractUserDataWriter } from '../../../src/api/user_data_writer'; +} from '../api/user_data_reader'; +import { AbstractUserDataWriter } from '../api/user_data_writer'; import { firestoreClientAddSnapshotsInSyncListener, firestoreClientGetDocumentFromLocalCache, @@ -52,22 +39,27 @@ import { firestoreClientGetDocumentViaSnapshotListener, firestoreClientListen, firestoreClientWrite -} from '../../../src/core/firestore_client'; -import { - newQueryForPath, - Query as InternalQuery -} from '../../../src/core/query'; -import { ViewSnapshot } from '../../../src/core/view_snapshot'; -import { Document } from '../../../src/model/document'; +} from '../core/firestore_client'; +import { newQueryForPath, Query as InternalQuery } from '../core/query'; +import { ViewSnapshot } from '../core/view_snapshot'; +import { Bytes } from '../lite/bytes'; +import { FieldPath } from '../lite/field_path'; +import { validateHasExplicitOrderByForLimitToLast } from '../lite/query'; import { - DeleteMutation, - Mutation, - Precondition -} from '../../../src/model/mutation'; -import { debugAssert } from '../../../src/util/assert'; -import { ByteString } from '../../../src/util/byte_string'; -import { FirestoreError } from '../../../src/util/error'; -import { cast } from '../../../src/util/input_validation'; + CollectionReference, + doc, + DocumentReference, + Query, + SetOptions, + UpdateData +} from '../lite/reference'; +import { applyFirestoreDataConverter } from '../lite/reference_impl'; +import { Document } from '../model/document'; +import { DeleteMutation, Mutation, Precondition } from '../model/mutation'; +import { debugAssert } from '../util/assert'; +import { ByteString } from '../util/byte_string'; +import { FirestoreError } from '../util/error'; +import { cast } from '../util/input_validation'; import { ensureFirestoreConfigured, FirebaseFirestore } from './database'; import { DocumentSnapshot, QuerySnapshot, SnapshotMetadata } from './snapshot'; @@ -427,6 +419,10 @@ export function addDoc( return executeWrite(firestore, [mutation]).then(() => docRef); } +export interface Unsubscribe { + (): void; +} + // TODO(firestorexp): Make sure these overloads are tested via the Firestore // integration tests diff --git a/packages/firestore/exp/src/api/settings.ts b/packages/firestore/src/exp/settings.ts similarity index 87% rename from packages/firestore/exp/src/api/settings.ts rename to packages/firestore/src/exp/settings.ts index f568101cf2c..0a3b1c81875 100644 --- a/packages/firestore/exp/src/api/settings.ts +++ b/packages/firestore/src/exp/settings.ts @@ -15,7 +15,9 @@ * limitations under the License. */ -import { Settings as LiteSettings } from '../../../lite/src/api/settings'; +import { Settings as LiteSettings } from '../lite/settings'; + +export { DEFAULT_HOST } from '../lite/settings'; export interface PersistenceSettings { forceOwnership?: boolean; diff --git a/packages/firestore/exp/src/api/snapshot.ts b/packages/firestore/src/exp/snapshot.ts similarity index 96% rename from packages/firestore/exp/src/api/snapshot.ts rename to packages/firestore/src/exp/snapshot.ts index 367034c31d4..bda734a8ecb 100644 --- a/packages/firestore/exp/src/api/snapshot.ts +++ b/packages/firestore/src/exp/snapshot.ts @@ -15,26 +15,21 @@ * limitations under the License. */ -import { FieldPath } from '../../../lite/src/api/field_path'; -import { - DocumentData, - Query, - queryEqual, - SetOptions -} from '../../../lite/src/api/reference'; +import { UntypedFirestoreDataConverter } from '../api/user_data_reader'; +import { AbstractUserDataWriter } from '../api/user_data_writer'; +import { newQueryComparator } from '../core/query'; +import { ChangeType, ViewSnapshot } from '../core/view_snapshot'; +import { FieldPath } from '../lite/field_path'; +import { DocumentData, Query, queryEqual, SetOptions } from '../lite/reference'; import { DocumentSnapshot as LiteDocumentSnapshot, fieldPathFromArgument, FirestoreDataConverter as LiteFirestoreDataConverter -} from '../../../lite/src/api/snapshot'; -import { UntypedFirestoreDataConverter } from '../../../src/api/user_data_reader'; -import { AbstractUserDataWriter } from '../../../src/api/user_data_writer'; -import { newQueryComparator } from '../../../src/core/query'; -import { ChangeType, ViewSnapshot } from '../../../src/core/view_snapshot'; -import { Document } from '../../../src/model/document'; -import { DocumentKey } from '../../../src/model/document_key'; -import { debugAssert, fail } from '../../../src/util/assert'; -import { Code, FirestoreError } from '../../../src/util/error'; +} from '../lite/snapshot'; +import { Document } from '../model/document'; +import { DocumentKey } from '../model/document_key'; +import { debugAssert, fail } from '../util/assert'; +import { Code, FirestoreError } from '../util/error'; import { FirebaseFirestore } from './database'; import { SnapshotListenOptions } from './reference_impl'; diff --git a/packages/firestore/src/exp/timestamp.ts b/packages/firestore/src/exp/timestamp.ts new file mode 100644 index 00000000000..f0de0029048 --- /dev/null +++ b/packages/firestore/src/exp/timestamp.ts @@ -0,0 +1,18 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export { Timestamp } from '../lite/timestamp'; diff --git a/packages/firestore/exp/src/api/transaction.ts b/packages/firestore/src/exp/transaction.ts similarity index 89% rename from packages/firestore/exp/src/api/transaction.ts rename to packages/firestore/src/exp/transaction.ts index bda92933ea4..c1790b472fd 100644 --- a/packages/firestore/exp/src/api/transaction.ts +++ b/packages/firestore/src/exp/transaction.ts @@ -15,11 +15,11 @@ * limitations under the License. */ -import { DocumentReference } from '../../../lite/src/api/reference'; -import { Transaction as LiteTransaction } from '../../../lite/src/api/transaction'; -import { validateReference } from '../../../lite/src/api/write_batch'; -import { firestoreClientTransaction } from '../../../src/core/firestore_client'; -import { Transaction as InternalTransaction } from '../../../src/core/transaction'; +import { firestoreClientTransaction } from '../core/firestore_client'; +import { Transaction as InternalTransaction } from '../core/transaction'; +import { DocumentReference } from '../lite/reference'; +import { Transaction as LiteTransaction } from '../lite/transaction'; +import { validateReference } from '../lite/write_batch'; import { ensureFirestoreConfigured, FirebaseFirestore } from './database'; import { ExpUserDataWriter } from './reference_impl'; diff --git a/packages/firestore/exp/src/api/write_batch.ts b/packages/firestore/src/exp/write_batch.ts similarity index 92% rename from packages/firestore/exp/src/api/write_batch.ts rename to packages/firestore/src/exp/write_batch.ts index 9f47de906b1..66a9d4f6f81 100644 --- a/packages/firestore/exp/src/api/write_batch.ts +++ b/packages/firestore/src/exp/write_batch.ts @@ -15,8 +15,8 @@ * limitations under the License. */ -import { WriteBatch } from '../../../lite/src/api/write_batch'; -import { cast } from '../../../src/util/input_validation'; +import { WriteBatch } from '../lite/write_batch'; +import { cast } from '../util/input_validation'; import { ensureFirestoreConfigured, FirebaseFirestore } from './database'; import { executeWrite } from './reference_impl'; diff --git a/packages/firestore/lite/src/api/bytes.ts b/packages/firestore/src/lite/bytes.ts similarity index 95% rename from packages/firestore/lite/src/api/bytes.ts rename to packages/firestore/src/lite/bytes.ts index 9a3df91fa50..ef16bc54463 100644 --- a/packages/firestore/lite/src/api/bytes.ts +++ b/packages/firestore/src/lite/bytes.ts @@ -15,8 +15,8 @@ * limitations under the License. */ -import { ByteString } from '../../../src/util/byte_string'; -import { Code, FirestoreError } from '../../../src/util/error'; +import { ByteString } from '../util/byte_string'; +import { Code, FirestoreError } from '../util/error'; /** * An immutable object representing an array of bytes. diff --git a/packages/firestore/lite/src/api/components.ts b/packages/firestore/src/lite/components.ts similarity index 87% rename from packages/firestore/lite/src/api/components.ts rename to packages/firestore/src/lite/components.ts index 11014ba5129..962c5c974d0 100644 --- a/packages/firestore/lite/src/api/components.ts +++ b/packages/firestore/src/lite/components.ts @@ -17,13 +17,13 @@ import { _FirebaseService } from '@firebase/app-types-exp'; -import { CredentialsProvider } from '../../../src/api/credentials'; -import { DatabaseId, DatabaseInfo } from '../../../src/core/database_info'; -import { newConnection } from '../../../src/platform/connection'; -import { newSerializer } from '../../../src/platform/serializer'; -import { Datastore, newDatastore } from '../../../src/remote/datastore'; -import { Code, FirestoreError } from '../../../src/util/error'; -import { logDebug } from '../../../src/util/log'; +import { CredentialsProvider } from '../api/credentials'; +import { DatabaseId, DatabaseInfo } from '../core/database_info'; +import { newConnection } from '../platform/connection'; +import { newSerializer } from '../platform/serializer'; +import { Datastore, newDatastore } from '../remote/datastore'; +import { Code, FirestoreError } from '../util/error'; +import { logDebug } from '../util/log'; import { FirestoreSettings } from './settings'; diff --git a/packages/firestore/lite/src/api/database.ts b/packages/firestore/src/lite/database.ts similarity index 96% rename from packages/firestore/lite/src/api/database.ts rename to packages/firestore/src/lite/database.ts index eb9f4d7d56c..1558960c241 100644 --- a/packages/firestore/lite/src/api/database.ts +++ b/packages/firestore/src/lite/database.ts @@ -15,6 +15,7 @@ * limitations under the License. */ +// eslint-disable-next-line import/no-extraneous-dependencies import { _getProvider, _removeServiceInstance } from '@firebase/app-exp'; import { FirebaseApp } from '@firebase/app-types-exp'; import { FirebaseAuthInternalName } from '@firebase/auth-interop-types'; @@ -25,10 +26,10 @@ import { EmptyCredentialsProvider, FirebaseCredentialsProvider, makeCredentialsProvider -} from '../../../src/api/credentials'; -import { DatabaseId } from '../../../src/core/database_info'; -import { Code, FirestoreError } from '../../../src/util/error'; -import { cast } from '../../../src/util/input_validation'; +} from '../api/credentials'; +import { DatabaseId } from '../core/database_info'; +import { Code, FirestoreError } from '../util/error'; +import { cast } from '../util/input_validation'; import { FirestoreService, removeComponents } from './components'; import { FirestoreSettings, PrivateSettings, Settings } from './settings'; diff --git a/packages/firestore/lite/src/api/field_path.ts b/packages/firestore/src/lite/field_path.ts similarity index 95% rename from packages/firestore/lite/src/api/field_path.ts rename to packages/firestore/src/lite/field_path.ts index fcbfc1b1df9..24a0a36d65a 100644 --- a/packages/firestore/lite/src/api/field_path.ts +++ b/packages/firestore/src/lite/field_path.ts @@ -18,8 +18,8 @@ import { DOCUMENT_KEY_NAME, FieldPath as InternalFieldPath -} from '../../../src/model/path'; -import { Code, FirestoreError } from '../../../src/util/error'; +} from '../model/path'; +import { Code, FirestoreError } from '../util/error'; /** * A `FieldPath` refers to a field in a document. The path may consist of a diff --git a/packages/firestore/lite/src/api/field_value.ts b/packages/firestore/src/lite/field_value.ts similarity index 88% rename from packages/firestore/lite/src/api/field_value.ts rename to packages/firestore/src/lite/field_value.ts index c009c6d764d..99b493d4bc1 100644 --- a/packages/firestore/lite/src/api/field_value.ts +++ b/packages/firestore/src/lite/field_value.ts @@ -15,8 +15,8 @@ * limitations under the License. */ -import { ParseContext } from '../../../src/api/parse_context'; -import { FieldTransform } from '../../../src/model/mutation'; +import { ParseContext } from '../api/parse_context'; +import { FieldTransform } from '../model/mutation'; /** * Sentinel values that can be used when writing document fields with `set()` diff --git a/packages/firestore/lite/src/api/field_value_impl.ts b/packages/firestore/src/lite/field_value_impl.ts similarity index 98% rename from packages/firestore/lite/src/api/field_value_impl.ts rename to packages/firestore/src/lite/field_value_impl.ts index 86789bae636..a7f1d549a56 100644 --- a/packages/firestore/lite/src/api/field_value_impl.ts +++ b/packages/firestore/src/lite/field_value_impl.ts @@ -21,7 +21,7 @@ import { DeleteFieldValueImpl, NumericIncrementFieldValueImpl, ServerTimestampFieldValueImpl -} from '../../../src/api/user_data_reader'; +} from '../api/user_data_reader'; import { FieldValue } from './field_value'; diff --git a/packages/firestore/src/lite/geo_point.ts b/packages/firestore/src/lite/geo_point.ts new file mode 100644 index 00000000000..48e394221af --- /dev/null +++ b/packages/firestore/src/lite/geo_point.ts @@ -0,0 +1,96 @@ +/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { Code, FirestoreError } from '../util/error'; +import { primitiveComparator } from '../util/misc'; + +/** + * An immutable object representing a geographic location in Firestore. The + * location is represented as latitude/longitude pair. + * + * Latitude values are in the range of [-90, 90]. + * Longitude values are in the range of [-180, 180]. + */ +export class GeoPoint { + // Prefix with underscore to signal this is a private variable in JS and + // prevent it showing up for autocompletion when typing latitude or longitude. + private _lat: number; + private _long: number; + + /** + * Creates a new immutable `GeoPoint` object with the provided latitude and + * longitude values. + * @param latitude - The latitude as number between -90 and 90. + * @param longitude - The longitude as number between -180 and 180. + */ + constructor(latitude: number, longitude: number) { + if (!isFinite(latitude) || latitude < -90 || latitude > 90) { + throw new FirestoreError( + Code.INVALID_ARGUMENT, + 'Latitude must be a number between -90 and 90, but was: ' + latitude + ); + } + if (!isFinite(longitude) || longitude < -180 || longitude > 180) { + throw new FirestoreError( + Code.INVALID_ARGUMENT, + 'Longitude must be a number between -180 and 180, but was: ' + longitude + ); + } + + this._lat = latitude; + this._long = longitude; + } + + /** + * The latitude of this `GeoPoint` instance. + */ + get latitude(): number { + return this._lat; + } + + /** + * The longitude of this `GeoPoint` instance. + */ + get longitude(): number { + return this._long; + } + + /** + * Returns true if this `GeoPoint` is equal to the provided one. + * + * @param other - The `GeoPoint` to compare against. + * @returns true if this `GeoPoint` is equal to the provided one. + */ + isEqual(other: GeoPoint): boolean { + return this._lat === other._lat && this._long === other._long; + } + + toJSON(): { latitude: number; longitude: number } { + return { latitude: this._lat, longitude: this._long }; + } + + /** + * Actually private to JS consumers of our API, so this function is prefixed + * with an underscore. + */ + _compareTo(other: GeoPoint): number { + return ( + primitiveComparator(this._lat, other._lat) || + primitiveComparator(this._long, other._long) + ); + } +} diff --git a/packages/firestore/lite/src/api/query.ts b/packages/firestore/src/lite/query.ts similarity index 97% rename from packages/firestore/lite/src/api/query.ts rename to packages/firestore/src/lite/query.ts index 6fb78afa0e1..b148b5a942e 100644 --- a/packages/firestore/lite/src/api/query.ts +++ b/packages/firestore/src/lite/query.ts @@ -15,13 +15,13 @@ * limitations under the License. */ -import { Compat } from '../../../src/api/compat'; +import { Compat } from '../api/compat'; import { newUserDataReader, parseQueryValue, UserDataReader -} from '../../../src/api/user_data_reader'; -import { DatabaseId } from '../../../src/core/database_info'; +} from '../api/user_data_reader'; +import { DatabaseId } from '../core/database_info'; import { findFilterOperator, getFirstOrderByField, @@ -36,7 +36,7 @@ import { queryWithEndAt, queryWithLimit, queryWithStartAt -} from '../../../src/core/query'; +} from '../core/query'; import { Bound, Direction, @@ -44,22 +44,19 @@ import { Filter, Operator, OrderBy -} from '../../../src/core/target'; -import { Document } from '../../../src/model/document'; -import { DocumentKey } from '../../../src/model/document_key'; -import { - FieldPath as InternalFieldPath, - ResourcePath -} from '../../../src/model/path'; -import { isServerTimestamp } from '../../../src/model/server_timestamps'; -import { refValue } from '../../../src/model/values'; -import { Value as ProtoValue } from '../../../src/protos/firestore_proto_api'; -import { debugAssert } from '../../../src/util/assert'; -import { Code, FirestoreError } from '../../../src/util/error'; +} from '../core/target'; +import { Document } from '../model/document'; +import { DocumentKey } from '../model/document_key'; +import { FieldPath as InternalFieldPath, ResourcePath } from '../model/path'; +import { isServerTimestamp } from '../model/server_timestamps'; +import { refValue } from '../model/values'; +import { Value as ProtoValue } from '../protos/firestore_proto_api'; +import { debugAssert } from '../util/assert'; +import { Code, FirestoreError } from '../util/error'; import { validatePositiveNumber, valueDescription -} from '../../../src/util/input_validation'; +} from '../util/input_validation'; import { FieldPath } from './field_path'; import { DocumentReference, Query } from './reference'; diff --git a/packages/firestore/lite/src/api/reference.ts b/packages/firestore/src/lite/reference.ts similarity index 97% rename from packages/firestore/lite/src/api/reference.ts rename to packages/firestore/src/lite/reference.ts index 842ba0403c4..9d07479c904 100644 --- a/packages/firestore/lite/src/api/reference.ts +++ b/packages/firestore/src/lite/reference.ts @@ -15,23 +15,23 @@ * limitations under the License. */ -import { Compat } from '../../../src/api/compat'; +import { Compat } from '../api/compat'; import { newQueryForCollectionGroup, newQueryForPath, Query as InternalQuery, queryEquals -} from '../../../src/core/query'; -import { DocumentKey } from '../../../src/model/document_key'; -import { ResourcePath } from '../../../src/model/path'; -import { Code, FirestoreError } from '../../../src/util/error'; +} from '../core/query'; +import { DocumentKey } from '../model/document_key'; +import { ResourcePath } from '../model/path'; +import { Code, FirestoreError } from '../util/error'; import { cast, validateCollectionPath, validateDocumentPath, validateNonEmptyArgument -} from '../../../src/util/input_validation'; -import { AutoId } from '../../../src/util/misc'; +} from '../util/input_validation'; +import { AutoId } from '../util/misc'; import { FirebaseFirestore } from './database'; import { FieldPath } from './field_path'; diff --git a/packages/firestore/lite/src/api/reference_impl.ts b/packages/firestore/src/lite/reference_impl.ts similarity index 95% rename from packages/firestore/lite/src/api/reference_impl.ts rename to packages/firestore/src/lite/reference_impl.ts index 9314faa2a9b..f4e46c39d51 100644 --- a/packages/firestore/lite/src/api/reference_impl.ts +++ b/packages/firestore/src/lite/reference_impl.ts @@ -20,7 +20,7 @@ import { SetOptions as PublicSetOptions } from '@firebase/firestore-types'; -import { Compat } from '../../../src/api/compat'; +import { Compat } from '../api/compat'; import { newUserDataReader, ParsedUpdateData, @@ -28,19 +28,19 @@ import { parseUpdateData, parseUpdateVarargs, UntypedFirestoreDataConverter -} from '../../../src/api/user_data_reader'; -import { AbstractUserDataWriter } from '../../../src/api/user_data_writer'; -import { hasLimitToLast } from '../../../src/core/query'; -import { Document } from '../../../src/model/document'; -import { DeleteMutation, Precondition } from '../../../src/model/mutation'; +} from '../api/user_data_reader'; +import { AbstractUserDataWriter } from '../api/user_data_writer'; +import { hasLimitToLast } from '../core/query'; +import { Document } from '../model/document'; +import { DeleteMutation, Precondition } from '../model/mutation'; import { invokeBatchGetDocumentsRpc, invokeCommitRpc, invokeRunQueryRpc -} from '../../../src/remote/datastore'; -import { hardAssert } from '../../../src/util/assert'; -import { ByteString } from '../../../src/util/byte_string'; -import { cast } from '../../../src/util/input_validation'; +} from '../remote/datastore'; +import { hardAssert } from '../util/assert'; +import { ByteString } from '../util/byte_string'; +import { cast } from '../util/input_validation'; import { Bytes } from './bytes'; import { getDatastore } from './components'; diff --git a/packages/firestore/lite/src/api/settings.ts b/packages/firestore/src/lite/settings.ts similarity index 91% rename from packages/firestore/lite/src/api/settings.ts rename to packages/firestore/src/lite/settings.ts index 1a6f8558f2c..d721ae156a4 100644 --- a/packages/firestore/lite/src/api/settings.ts +++ b/packages/firestore/src/lite/settings.ts @@ -15,14 +15,14 @@ * limitations under the License. */ -import { CredentialsSettings } from '../../../src/api/credentials'; +import { CredentialsSettings } from '../api/credentials'; import { LRU_COLLECTION_DISABLED, LRU_DEFAULT_CACHE_SIZE_BYTES -} from '../../../src/local/lru_garbage_collector'; -import { LRU_MINIMUM_CACHE_SIZE_BYTES } from '../../../src/local/lru_garbage_collector_impl'; -import { Code, FirestoreError } from '../../../src/util/error'; -import { validateIsNotUsedTogether } from '../../../src/util/input_validation'; +} from '../local/lru_garbage_collector'; +import { LRU_MINIMUM_CACHE_SIZE_BYTES } from '../local/lru_garbage_collector_impl'; +import { Code, FirestoreError } from '../util/error'; +import { validateIsNotUsedTogether } from '../util/input_validation'; // settings() defaults: export const DEFAULT_HOST = 'firestore.googleapis.com'; diff --git a/packages/firestore/lite/src/api/snapshot.ts b/packages/firestore/src/lite/snapshot.ts similarity index 95% rename from packages/firestore/lite/src/api/snapshot.ts rename to packages/firestore/src/lite/snapshot.ts index 75c1f3ce2e2..5aeef50947c 100644 --- a/packages/firestore/lite/src/api/snapshot.ts +++ b/packages/firestore/src/lite/snapshot.ts @@ -15,16 +15,16 @@ * limitations under the License. */ -import { Compat } from '../../../src/api/compat'; +import { Compat } from '../api/compat'; import { fieldPathFromDotSeparatedString, UntypedFirestoreDataConverter -} from '../../../src/api/user_data_reader'; -import { AbstractUserDataWriter } from '../../../src/api/user_data_writer'; -import { Document } from '../../../src/model/document'; -import { DocumentKey } from '../../../src/model/document_key'; -import { FieldPath as InternalFieldPath } from '../../../src/model/path'; -import { arrayEquals } from '../../../src/util/misc'; +} from '../api/user_data_reader'; +import { AbstractUserDataWriter } from '../api/user_data_writer'; +import { Document } from '../model/document'; +import { DocumentKey } from '../model/document_key'; +import { FieldPath as InternalFieldPath } from '../model/path'; +import { arrayEquals } from '../util/misc'; import { FirebaseFirestore } from './database'; import { FieldPath } from './field_path'; diff --git a/packages/firestore/src/lite/timestamp.ts b/packages/firestore/src/lite/timestamp.ts new file mode 100644 index 00000000000..b897377ea06 --- /dev/null +++ b/packages/firestore/src/lite/timestamp.ts @@ -0,0 +1,183 @@ +/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { Code, FirestoreError } from '../util/error'; +import { primitiveComparator } from '../util/misc'; + +// The earliest date supported by Firestore timestamps (0001-01-01T00:00:00Z). +const MIN_SECONDS = -62135596800; + +/** + * A `Timestamp` represents a point in time independent of any time zone or + * calendar, represented as seconds and fractions of seconds at nanosecond + * resolution in UTC Epoch time. + * + * It is encoded using the Proleptic Gregorian Calendar which extends the + * Gregorian calendar backwards to year one. It is encoded assuming all minutes + * are 60 seconds long, i.e. leap seconds are "smeared" so that no leap second + * table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to + * 9999-12-31T23:59:59.999999999Z. + * + * @see https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto + */ +export class Timestamp { + /** + * Creates a new timestamp with the current date, with millisecond precision. + * + * @returns a new timestamp representing the current date. + */ + static now(): Timestamp { + return Timestamp.fromMillis(Date.now()); + } + + /** + * Creates a new timestamp from the given date. + * + * @param date - The date to initialize the `Timestamp` from. + * @returns A new `Timestamp` representing the same point in time as the given + * date. + */ + static fromDate(date: Date): Timestamp { + return Timestamp.fromMillis(date.getTime()); + } + + /** + * Creates a new timestamp from the given number of milliseconds. + * + * @param milliseconds - Number of milliseconds since Unix epoch + * 1970-01-01T00:00:00Z. + * @returns A new `Timestamp` representing the same point in time as the given + * number of milliseconds. + */ + static fromMillis(milliseconds: number): Timestamp { + const seconds = Math.floor(milliseconds / 1000); + const nanos = (milliseconds - seconds * 1000) * 1e6; + return new Timestamp(seconds, nanos); + } + + /** + * Creates a new timestamp. + * + * @param seconds - The number of seconds of UTC time since Unix epoch + * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to + * 9999-12-31T23:59:59Z inclusive. + * @param nanoseconds - The non-negative fractions of a second at nanosecond + * resolution. Negative second values with fractions must still have + * non-negative nanoseconds values that count forward in time. Must be + * from 0 to 999,999,999 inclusive. + */ + constructor(readonly seconds: number, readonly nanoseconds: number) { + if (nanoseconds < 0) { + throw new FirestoreError( + Code.INVALID_ARGUMENT, + 'Timestamp nanoseconds out of range: ' + nanoseconds + ); + } + if (nanoseconds >= 1e9) { + throw new FirestoreError( + Code.INVALID_ARGUMENT, + 'Timestamp nanoseconds out of range: ' + nanoseconds + ); + } + if (seconds < MIN_SECONDS) { + throw new FirestoreError( + Code.INVALID_ARGUMENT, + 'Timestamp seconds out of range: ' + seconds + ); + } + // This will break in the year 10,000. + if (seconds >= 253402300800) { + throw new FirestoreError( + Code.INVALID_ARGUMENT, + 'Timestamp seconds out of range: ' + seconds + ); + } + } + + /** + * Converts a `Timestamp` to a JavaScript `Date` object. This conversion causes + * a loss of precision since `Date` objects only support millisecond precision. + * + * @returns JavaScript `Date` object representing the same point in time as + * this `Timestamp`, with millisecond precision. + */ + toDate(): Date { + return new Date(this.toMillis()); + } + + /** + * Converts a `Timestamp` to a numeric timestamp (in milliseconds since + * epoch). This operation causes a loss of precision. + * + * @returns The point in time corresponding to this timestamp, represented as + * the number of milliseconds since Unix epoch 1970-01-01T00:00:00Z. + */ + toMillis(): number { + return this.seconds * 1000 + this.nanoseconds / 1e6; + } + + _compareTo(other: Timestamp): number { + if (this.seconds === other.seconds) { + return primitiveComparator(this.nanoseconds, other.nanoseconds); + } + return primitiveComparator(this.seconds, other.seconds); + } + + /** + * Returns true if this `Timestamp` is equal to the provided one. + * + * @param other - The `Timestamp` to compare against. + * @returns true if this `Timestamp` is equal to the provided one. + */ + isEqual(other: Timestamp): boolean { + return ( + other.seconds === this.seconds && other.nanoseconds === this.nanoseconds + ); + } + + toString(): string { + return ( + 'Timestamp(seconds=' + + this.seconds + + ', nanoseconds=' + + this.nanoseconds + + ')' + ); + } + + toJSON(): { seconds: number; nanoseconds: number } { + return { seconds: this.seconds, nanoseconds: this.nanoseconds }; + } + + /** + * Converts this object to a primitive string, which allows Timestamp objects to be compared + * using the `>`, `<=`, `>=` and `>` operators. + */ + valueOf(): string { + // This method returns a string of the form . where is + // translated to have a non-negative value and both and are left-padded + // with zeroes to be a consistent length. Strings with this format then have a lexiographical + // ordering that matches the expected ordering. The translation is done to avoid + // having a leading negative sign (i.e. a leading '-' character) in its string representation, + // which would affect its lexiographical ordering. + const adjustedSeconds = this.seconds - MIN_SECONDS; + // Note: Up to 12 decimal digits are required to represent all valid 'seconds' values. + const formattedSeconds = String(adjustedSeconds).padStart(12, '0'); + const formattedNanoseconds = String(this.nanoseconds).padStart(9, '0'); + return formattedSeconds + '.' + formattedNanoseconds; + } +} diff --git a/packages/firestore/lite/src/api/transaction.ts b/packages/firestore/src/lite/transaction.ts similarity index 94% rename from packages/firestore/lite/src/api/transaction.ts rename to packages/firestore/src/lite/transaction.ts index 7f324ff6a12..bf283ff9e08 100644 --- a/packages/firestore/lite/src/api/transaction.ts +++ b/packages/firestore/src/lite/transaction.ts @@ -15,25 +15,21 @@ * limitations under the License. */ -import { Compat } from '../../../src/api/compat'; +import { Compat } from '../api/compat'; import { newUserDataReader, parseSetData, parseUpdateData, parseUpdateVarargs, UserDataReader -} from '../../../src/api/user_data_reader'; -import { Transaction as InternalTransaction } from '../../../src/core/transaction'; -import { TransactionRunner } from '../../../src/core/transaction_runner'; -import { - Document, - MaybeDocument, - NoDocument -} from '../../../src/model/document'; -import { fail } from '../../../src/util/assert'; -import { newAsyncQueue } from '../../../src/util/async_queue_impl'; -import { cast } from '../../../src/util/input_validation'; -import { Deferred } from '../../../src/util/promise'; +} from '../api/user_data_reader'; +import { Transaction as InternalTransaction } from '../core/transaction'; +import { TransactionRunner } from '../core/transaction_runner'; +import { Document, MaybeDocument, NoDocument } from '../model/document'; +import { fail } from '../util/assert'; +import { newAsyncQueue } from '../util/async_queue_impl'; +import { cast } from '../util/input_validation'; +import { Deferred } from '../util/promise'; import { getDatastore } from './components'; import { FirebaseFirestore } from './database'; diff --git a/packages/firestore/lite/src/api/write_batch.ts b/packages/firestore/src/lite/write_batch.ts similarity index 95% rename from packages/firestore/lite/src/api/write_batch.ts rename to packages/firestore/src/lite/write_batch.ts index 2b58be0a198..2709c5c5e00 100644 --- a/packages/firestore/lite/src/api/write_batch.ts +++ b/packages/firestore/src/lite/write_batch.ts @@ -15,22 +15,18 @@ * limitations under the License. */ -import { Compat } from '../../../src/api/compat'; +import { Compat } from '../api/compat'; import { newUserDataReader, parseSetData, parseUpdateData, parseUpdateVarargs, UserDataReader -} from '../../../src/api/user_data_reader'; -import { - DeleteMutation, - Mutation, - Precondition -} from '../../../src/model/mutation'; -import { invokeCommitRpc } from '../../../src/remote/datastore'; -import { Code, FirestoreError } from '../../../src/util/error'; -import { cast } from '../../../src/util/input_validation'; +} from '../api/user_data_reader'; +import { DeleteMutation, Mutation, Precondition } from '../model/mutation'; +import { invokeCommitRpc } from '../remote/datastore'; +import { Code, FirestoreError } from '../util/error'; +import { cast } from '../util/input_validation'; import { getDatastore } from './components'; import { FirebaseFirestore } from './database'; diff --git a/packages/firestore/lite/test/bootstrap.ts b/packages/firestore/test/lite/bootstrap.ts similarity index 95% rename from packages/firestore/lite/test/bootstrap.ts rename to packages/firestore/test/lite/bootstrap.ts index 1006e69195a..2b4a4c59296 100644 --- a/packages/firestore/lite/test/bootstrap.ts +++ b/packages/firestore/test/lite/bootstrap.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { registerFirestore } from '../register'; +import { registerFirestore } from '../../lite/register'; registerFirestore(); /** * This will include all of the test files and compile them as needed diff --git a/packages/firestore/lite/test/helpers.ts b/packages/firestore/test/lite/helpers.ts similarity index 90% rename from packages/firestore/lite/test/helpers.ts rename to packages/firestore/test/lite/helpers.ts index 425969cc301..42cadc7bde5 100644 --- a/packages/firestore/lite/test/helpers.ts +++ b/packages/firestore/test/lite/helpers.ts @@ -15,16 +15,14 @@ * limitations under the License. */ +// eslint-disable-next-line import/no-extraneous-dependencies import { initializeApp } from '@firebase/app-exp'; import { expect } from 'chai'; -import { Settings } from '../../exp/src/api/settings'; -import { AutoId } from '../../src/util/misc'; import { - DEFAULT_PROJECT_ID, - DEFAULT_SETTINGS -} from '../../test/integration/util/settings'; -import { initializeFirestore, FirebaseFirestore } from '../src/api/database'; + initializeFirestore, + FirebaseFirestore +} from '../../src/lite/database'; import { doc, collection, @@ -32,9 +30,15 @@ import { CollectionReference, DocumentReference, SetOptions -} from '../src/api/reference'; -import { setDoc } from '../src/api/reference_impl'; -import { QueryDocumentSnapshot } from '../src/api/snapshot'; +} from '../../src/lite/reference'; +import { setDoc } from '../../src/lite/reference_impl'; +import { Settings } from '../../src/lite/settings'; +import { QueryDocumentSnapshot } from '../../src/lite/snapshot'; +import { AutoId } from '../../src/util/misc'; +import { + DEFAULT_PROJECT_ID, + DEFAULT_SETTINGS +} from '../integration/util/settings'; let appCount = 0; diff --git a/packages/firestore/lite/test/integration.test.ts b/packages/firestore/test/lite/integration.test.ts similarity index 97% rename from packages/firestore/lite/test/integration.test.ts rename to packages/firestore/test/lite/integration.test.ts index c0ed79942dd..7eaed9b0692 100644 --- a/packages/firestore/lite/test/integration.test.ts +++ b/packages/firestore/test/lite/integration.test.ts @@ -15,32 +15,27 @@ * limitations under the License. */ +// eslint-disable-next-line import/no-extraneous-dependencies import { initializeApp } from '@firebase/app-exp'; import { expect, use } from 'chai'; import * as chaiAsPromised from 'chai-as-promised'; -import { Timestamp } from '../../src/api/timestamp'; -import { - DEFAULT_PROJECT_ID, - DEFAULT_SETTINGS -} from '../../test/integration/util/settings'; -import { expectEqual, expectNotEqual } from '../../test/util/helpers'; -import { Bytes } from '../src/api/bytes'; +import { Bytes } from '../../src/lite/bytes'; import { FirebaseFirestore, getFirestore, initializeFirestore, terminate -} from '../src/api/database'; -import { FieldPath } from '../src/api/field_path'; -import { FieldValue } from '../src/api/field_value'; +} from '../../src/lite/database'; +import { FieldPath } from '../../src/lite/field_path'; +import { FieldValue } from '../../src/lite/field_value'; import { arrayRemove, arrayUnion, deleteField, increment, serverTimestamp -} from '../src/api/field_value_impl'; +} from '../../src/lite/field_value_impl'; import { endAt, endBefore, @@ -51,7 +46,7 @@ import { startAfter, startAt, where -} from '../src/api/query'; +} from '../../src/lite/query'; import { collection, CollectionReference, @@ -63,7 +58,7 @@ import { SetOptions, UpdateData, DocumentData -} from '../src/api/reference'; +} from '../../src/lite/reference'; import { addDoc, deleteDoc, @@ -71,10 +66,15 @@ import { getDocs, setDoc, updateDoc -} from '../src/api/reference_impl'; -import { snapshotEqual, QuerySnapshot } from '../src/api/snapshot'; -import { runTransaction } from '../src/api/transaction'; -import { writeBatch } from '../src/api/write_batch'; +} from '../../src/lite/reference_impl'; +import { snapshotEqual, QuerySnapshot } from '../../src/lite/snapshot'; +import { Timestamp } from '../../src/lite/timestamp'; +import { runTransaction } from '../../src/lite/transaction'; +import { writeBatch } from '../../src/lite/write_batch'; +import { + DEFAULT_PROJECT_ID, + DEFAULT_SETTINGS +} from '../integration/util/settings'; import { Post, @@ -764,9 +764,9 @@ describe('deleteDoc()', () => { describe('FieldValue', () => { it('support equality checking with isEqual()', () => { - expectEqual(deleteField(), deleteField()); - expectEqual(serverTimestamp(), serverTimestamp()); - expectNotEqual(deleteField(), serverTimestamp()); + expect(deleteField().isEqual(deleteField())).to.be.true; + expect(serverTimestamp().isEqual(serverTimestamp())).to.be.true; + expect(deleteField().isEqual(serverTimestamp())).to.be.false; }); it('support instanceof checks', () => { diff --git a/packages/firestore/test/unit/api/document_change.test.ts b/packages/firestore/test/unit/api/document_change.test.ts index 090bee4768f..c1aaf8f9bd4 100644 --- a/packages/firestore/test/unit/api/document_change.test.ts +++ b/packages/firestore/test/unit/api/document_change.test.ts @@ -17,11 +17,11 @@ import { expect } from 'chai'; -import { Query } from '../../../exp/src/api/reference'; -import { ExpUserDataWriter } from '../../../exp/src/api/reference_impl'; -import { QuerySnapshot } from '../../../exp/src/api/snapshot'; import { Query as InternalQuery } from '../../../src/core/query'; import { View } from '../../../src/core/view'; +import { Query } from '../../../src/exp/reference'; +import { ExpUserDataWriter } from '../../../src/exp/reference_impl'; +import { QuerySnapshot } from '../../../src/exp/snapshot'; import { documentKeySet } from '../../../src/model/collections'; import { Document } from '../../../src/model/document'; import { DocumentKey } from '../../../src/model/document_key'; diff --git a/packages/firestore/test/util/api_helpers.ts b/packages/firestore/test/util/api_helpers.ts index 1d411539918..b7ff7f0e11f 100644 --- a/packages/firestore/test/util/api_helpers.ts +++ b/packages/firestore/test/util/api_helpers.ts @@ -20,20 +20,6 @@ import { Provider, ComponentContainer } from '@firebase/component'; -import { - ensureFirestoreConfigured, - FirebaseFirestore -} from '../../exp/src/api/database'; -import { - Query as ExpQuery, - CollectionReference as ExpCollectionReference -} from '../../exp/src/api/reference'; -import { ExpUserDataWriter } from '../../exp/src/api/reference_impl'; -import { - QuerySnapshot as ExpQuerySnapshot, - DocumentSnapshot as ExpDocumentSnapshot, - SnapshotMetadata -} from '../../exp/src/api/snapshot'; import { CollectionReference, DocumentReference, @@ -51,6 +37,20 @@ import { DocumentViewChange, ViewSnapshot } from '../../src/core/view_snapshot'; +import { + ensureFirestoreConfigured, + FirebaseFirestore +} from '../../src/exp/database'; +import { + Query as ExpQuery, + CollectionReference as ExpCollectionReference +} from '../../src/exp/reference'; +import { ExpUserDataWriter } from '../../src/exp/reference_impl'; +import { + QuerySnapshot as ExpQuerySnapshot, + DocumentSnapshot as ExpDocumentSnapshot, + SnapshotMetadata +} from '../../src/exp/snapshot'; import { DocumentKeySet } from '../../src/model/collections'; import { Document } from '../../src/model/document'; import { DocumentSet } from '../../src/model/document_set'; From 9195a407598a2bcecd49b38353f0f5c8e22db2c2 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Tue, 8 Dec 2020 17:12:11 -0700 Subject: [PATCH 2/2] Update Scripts --- packages/firestore/scripts/build-bundle.js | 2 +- packages/firestore/scripts/extract-api.js | 2 +- packages/firestore/scripts/run-tests.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/firestore/scripts/build-bundle.js b/packages/firestore/scripts/build-bundle.js index 7ee0453d8a7..e7d1fdf5145 100644 --- a/packages/firestore/scripts/build-bundle.js +++ b/packages/firestore/scripts/build-bundle.js @@ -14,4 +14,4 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P((function(resolve){resolve(value)}))}return new(P||(P=Promise))((function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator["throw"](value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())}))};var __generator=this&&this.__generator||function(thisArg,body){var _={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},f,y,t,g;return g={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");while(_)try{if(f=1,y&&(t=op[0]&2?y["return"]:op[0]?y["throw"]||((t=y["return"])&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;if(y=0,t)op=[op[0]&2,t.value];switch(op[0]){case 0:case 1:t=op;break;case 4:_.label++;return{value:op[1],done:false};case 5:_.label++;y=op[1];op=[0];continue;case 7:op=_.ops.pop();_.trys.pop();continue;default:if(!(t=_.trys,t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]