cbl-ionic 0.2.6 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/CblIonic.podspec +1 -1
  2. package/README.md +12 -0
  3. package/android/build.gradle +1 -1
  4. package/android/src/main/java/cbl/js/kotiln/DatabaseManager.kt +19 -6
  5. package/android/src/main/java/cbl/js/kotiln/URLEndpointListenerManager.kt +143 -0
  6. package/android/src/main/java/com/couchbase/ionic/CblIonicPluginPlugin.kt +186 -30
  7. package/android/src/main/java/com/couchbase/ionic/PluginHelper.kt +27 -38
  8. package/android/src/main/java/com/couchbase/ionic/QueryHelper.kt +14 -4
  9. package/android/src/main/java/com/couchbase/ionic/ReplicatorHelper.kt +33 -11
  10. package/dist/esm/cblite-js/cblite/core-types.d.ts +148 -5
  11. package/dist/esm/cblite-js/cblite/src/collection-config.d.ts +34 -0
  12. package/dist/esm/cblite-js/cblite/src/collection-config.js +40 -0
  13. package/dist/esm/cblite-js/cblite/src/collection-config.js.map +1 -1
  14. package/dist/esm/cblite-js/cblite/src/collection.d.ts +1 -2
  15. package/dist/esm/cblite-js/cblite/src/collection.js +17 -17
  16. package/dist/esm/cblite-js/cblite/src/collection.js.map +1 -1
  17. package/dist/esm/cblite-js/cblite/src/database-logging.js +1 -1
  18. package/dist/esm/cblite-js/cblite/src/database-logging.js.map +1 -1
  19. package/dist/esm/cblite-js/cblite/src/database.d.ts +13 -2
  20. package/dist/esm/cblite-js/cblite/src/database.js +50 -34
  21. package/dist/esm/cblite-js/cblite/src/database.js.map +1 -1
  22. package/dist/esm/cblite-js/cblite/src/document.d.ts +3 -4
  23. package/dist/esm/cblite-js/cblite/src/document.js +6 -6
  24. package/dist/esm/cblite-js/cblite/src/document.js.map +1 -1
  25. package/dist/esm/cblite-js/cblite/src/index.d.ts +1 -0
  26. package/dist/esm/cblite-js/cblite/src/index.js +1 -0
  27. package/dist/esm/cblite-js/cblite/src/index.js.map +1 -1
  28. package/dist/esm/cblite-js/cblite/src/query.js +6 -11
  29. package/dist/esm/cblite-js/cblite/src/query.js.map +1 -1
  30. package/dist/esm/cblite-js/cblite/src/replicated-document.js +2 -2
  31. package/dist/esm/cblite-js/cblite/src/replicated-document.js.map +1 -1
  32. package/dist/esm/cblite-js/cblite/src/replicator-configuration.d.ts +2 -1
  33. package/dist/esm/cblite-js/cblite/src/replicator-configuration.js +29 -3
  34. package/dist/esm/cblite-js/cblite/src/replicator-configuration.js.map +1 -1
  35. package/dist/esm/cblite-js/cblite/src/replicator.js +8 -5
  36. package/dist/esm/cblite-js/cblite/src/replicator.js.map +1 -1
  37. package/dist/esm/cblite-js/cblite/src/scope.js +2 -2
  38. package/dist/esm/cblite-js/cblite/src/scope.js.map +1 -1
  39. package/dist/esm/cblite-js/cblite/src/url-endpoint-listener.d.ts +84 -0
  40. package/dist/esm/cblite-js/cblite/src/url-endpoint-listener.js +109 -0
  41. package/dist/esm/cblite-js/cblite/src/url-endpoint-listener.js.map +1 -0
  42. package/dist/esm/couchbase-lite/capacitor-engine.d.ts +17 -2
  43. package/dist/esm/couchbase-lite/capacitor-engine.js +19 -1
  44. package/dist/esm/couchbase-lite/capacitor-engine.js.map +1 -1
  45. package/dist/plugin.cjs.js +288 -82
  46. package/dist/plugin.cjs.js.map +1 -1
  47. package/dist/plugin.js +288 -82
  48. package/dist/plugin.js.map +1 -1
  49. package/ios/Plugin/CblIonicPlugin.swift +120 -7
  50. package/ios/Plugin/CblIonicPluginPlugin.m +7 -0
  51. package/ios/Plugin/cbl-js-swift/CollectionManager.swift +24 -3
  52. package/ios/Plugin/cbl-js-swift/DatabaseManager.swift +29 -13
  53. package/ios/Plugin/cbl-js-swift/FileSystemHelper.swift +0 -2
  54. package/ios/Plugin/cbl-js-swift/IndexHelper.swift +0 -2
  55. package/ios/Plugin/cbl-js-swift/LoggingManager.swift +0 -2
  56. package/ios/Plugin/cbl-js-swift/MapHelper.swift +0 -25
  57. package/ios/Plugin/cbl-js-swift/QueryHelper.swift +0 -2
  58. package/ios/Plugin/cbl-js-swift/README.md +12 -0
  59. package/ios/Plugin/cbl-js-swift/ReplicatorHelper.swift +116 -5
  60. package/ios/Plugin/cbl-js-swift/ReplicatorManager.swift +0 -2
  61. package/ios/Plugin/cbl-js-swift/URLEndpointListenerManager.swift +154 -0
  62. package/package.json +8 -3
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.cjs.js","sources":["esm/cblite-js/cblite/src/abstract-index.js","esm/cblite-js/cblite/src/authenticator.js","esm/cblite-js/cblite/src/collection-config.js","esm/cblite-js/cblite/src/replicator-configuration.js","esm/cblite-js/cblite/src/basic-authenticator.js","esm/cblite-js/cblite/src/blob.js","esm/cblite-js/cblite/src/collation.js","esm/cblite-js/cblite/src/engine-locator.js","esm/cblite-js/cblite/src/scope.js","esm/cblite-js/cblite/src/document.js","esm/cblite-js/cblite/src/collection.js","esm/cblite-js/cblite/src/concurrency-control.js","esm/cblite-js/cblite/src/couchbase-lite-exception.js","esm/cblite-js/cblite/src/database-configuration.js","esm/cblite-js/cblite/src/database-logging.js","esm/cblite-js/cblite/src/parameter.js","esm/cblite-js/cblite/src/parameters.js","esm/cblite-js/cblite/src/query.js","esm/cblite-js/cblite/src/database.js","esm/cblite-js/cblite/src/replicated-document.js","esm/cblite-js/cblite/src/document-replication.js","esm/cblite-js/cblite/src/expression.js","esm/cblite-js/cblite/src/file-system.js","esm/cblite-js/cblite/src/full-text-expression.js","esm/cblite-js/cblite/src/full-text-index.js","esm/cblite-js/cblite/src/value-index.js","esm/cblite-js/cblite/src/index-builder.js","esm/cblite-js/cblite/src/meta-expression.js","esm/cblite-js/cblite/src/meta.js","esm/cblite-js/cblite/src/mutable-document.js","esm/cblite-js/cblite/src/ordering.js","esm/cblite-js/cblite/src/replicator-status.js","esm/cblite-js/cblite/src/replicator-progress.js","esm/cblite-js/cblite/src/replicator.js","esm/cblite-js/cblite/src/replicator-activity-level.js","esm/cblite-js/cblite/src/replicator-change.js","esm/cblite-js/cblite/src/session-authenticator.js","esm/cblite-js/cblite/src/url-endpoint.js","esm/cblite-js/cblite/src/variable-expression.js","esm/ionic-couchbase-lite.js","../node_modules/uuid/dist/esm-browser/rng.js","../node_modules/uuid/dist/esm-browser/stringify.js","../node_modules/uuid/dist/esm-browser/native.js","../node_modules/uuid/dist/esm-browser/v4.js","esm/couchbase-lite/capacitor-engine.js"],"sourcesContent":["export var IndexType;\n(function (IndexType) {\n // eslint-disable-next-line\n IndexType[IndexType[\"Value\"] = 0] = \"Value\";\n // eslint-disable-next-line\n IndexType[IndexType[\"FullText\"] = 1] = \"FullText\";\n // eslint-disable-next-line\n IndexType[IndexType[\"Geo\"] = 2] = \"Geo\";\n})(IndexType || (IndexType = {}));\nexport class AbstractIndex {\n}\n//# sourceMappingURL=abstract-index.js.map","export class Authenticator {\n}\n//# sourceMappingURL=authenticator.js.map","export class CollectionConfig {\n /**\n * The collection configuration that can be configured specifically for the replication.\n */\n constructor(channels, documentIds) {\n this.channels = channels ?? [];\n this.documentIds = documentIds ?? [];\n }\n /**\n * An array of Sync Gateway/App Services channel names to pull from. Ignored for push replication. If unset, all accessible channels will be pulled. Note: channels that are not accessible to the user will be ignored by Sync Gateway.\n * @param {string[]} channels - Array of channel names to configure for the collection\n * @example\n * const config = new CollectionConfig();\n * config.setChannels(['channel1', 'channel2']);\n */\n setChannels(channels) {\n this.channels = channels;\n }\n /**\n * A set of document IDs to filter by: if given, only documents with these IDs will be pushed and/or pulled.\n * @param {string[]} documentIds - Array of document IDs to include in replication\n * @example\n * const config = new CollectionConfig();\n * config.setDocumentIDs(['doc1', 'doc2', 'doc3']);\n */\n setDocumentIDs(documentIds) {\n this.documentIds = documentIds;\n }\n}\n//# sourceMappingURL=collection-config.js.map","import { CollectionConfig } from './collection-config';\nexport var ReplicatorType;\n(function (ReplicatorType) {\n ReplicatorType[\"PUSH_AND_PULL\"] = \"PUSH_AND_PULL\";\n ReplicatorType[\"PUSH\"] = \"PUSH\";\n ReplicatorType[\"PULL\"] = \"PULL\";\n})(ReplicatorType || (ReplicatorType = {}));\nexport class ReplicatorConfiguration {\n constructor(target) {\n this.target = target;\n this.replicatorType = ReplicatorType.PUSH_AND_PULL;\n this.target = target;\n this.collections = new Map();\n this.continuous = ReplicatorConfiguration.defaultContinuous;\n this.autoPurgeEnabled = ReplicatorConfiguration.defaultEnableAutoPurge;\n this.heartbeat = ReplicatorConfiguration.defaultHeartbeat;\n this.acceptOnlySelfSignedCerts =\n ReplicatorConfiguration.defaultSelfSignedCertificateOnly;\n this.acceptParentDomainCookies =\n ReplicatorConfiguration.defaultAcceptParentDomainCookies;\n this.allowReplicatingInBackground =\n ReplicatorConfiguration.defaultAllowReplicatingInBackground;\n this.maxAttempts = ReplicatorConfiguration.defaultMaxAttemptsSingleShot;\n this.maxAttemptWaitTime =\n ReplicatorConfiguration.defaultMaxAttemptsWaitTime;\n this.authenticator = undefined;\n this.headers = undefined;\n this.pinnedServerCertificate = undefined;\n }\n // eslint-disable-next-line no-dupe-class-members\n addCollection(collection, config) {\n const cols = [];\n cols.push(collection);\n this.removeCollection(collection);\n if (config === undefined || config === null) {\n config = new CollectionConfig(undefined, undefined);\n }\n this.collections.set(cols, config);\n }\n /**\n * Add multiple collections used for the replication with an optional shared collection configuration.\n * If any of the collections have been added before, the previously added collections and their\n * configuration if specified will be replaced. Adding an empty collection array will be no-ops. if\n * specified will be replaced. If a null or undefined configuration is specified, a default empty configuration will be\n * applied.\n *\n * @function\n */\n addCollections(collections, config) {\n this.removeCollections(collections);\n if (config === undefined || config === null) {\n config = new CollectionConfig(undefined, undefined);\n }\n this.collections.set(collections, config);\n }\n /**\n * returns the setting used to specify the replicator to accept any and only self-signed certs. Any non-self-signed\n * certs will be rejected to avoid accidentally using this mode with the non-self-signed certs in production.\n *\n * @function\n */\n getAcceptOnlySelfSignedCerts() {\n return this.acceptOnlySelfSignedCerts;\n }\n /**\n * returns the setting used as the option to remove the restriction that does not allow the replicator to save the\n * parent-domain cookies, the cookies whose domains are the parent domain of the remote host, from the HTTP\n * response. For example, when the option is set to true, the cookies whose domain are “.foo.com”\n * returned by “bar.foo.com” host will be permitted to save.\n *\n * This option is disabled by default which means that the parent-domain cookies are not permitted to save by default.\n *\n * @function\n */\n getAcceptParentDomainCookies() {\n return this.acceptParentDomainCookies;\n }\n /**\n * returns the setting which is used to allow the replicator to continue replicating in the background.\n * The default value is false, which means that the replicator will suspend itself when the\n * replicator detects that the application is running in the background.\n *\n * If setting the value to true, the developer MUST ensure that the application requests\n * for extending the background task properly in the configuration. See your platforms documentation\n * more information.\n *\n * @function\n */\n getAllowReplicatingInBackground() {\n return this.allowReplicatingInBackground;\n }\n /**\n * return the auto purge feature setting\n *\n * The default value is true which means that the document will be automatically purged by the\n * pull replicator when the user loses access to the document from both removed and revoked scenarios.\n *\n * When the property is set to false, this behavior is disabled and access removed event\n * will be sent to any document listeners that are active on the replicator. For performance\n * reasons, the document listeners must be added **before** the replicator is started, or\n * they will not receive the events.\n *\n * Note: Auto purge will not be performed when documentIDs filter is specified.\n *\n * @function\n */\n getAutoPurgeEnabled() {\n return this.autoPurgeEnabled;\n }\n /**\n * returns the Authenticator to authenticate with a remote target.\n *\n * @function\n */\n getAuthenticator() {\n return this.authenticator;\n }\n /**\n * returns collections used for the replication.\n *\n * @function\n */\n getCollections() {\n const keys = this.collections.keys();\n return Array.from(keys).flat();\n }\n /**\n * returns a copy of the collection’s config. If the config needs to be changed for the collection, the\n * collection will need to be re-added with the updated config.\n *\n * @function\n */\n getCollectionConfig(collection) {\n for (const key of this.collections.keys()) {\n if (key.includes(collection)) {\n return this.collections.get(key);\n }\n }\n return null;\n }\n /**\n * returns the continuous flag indicating whether the replicator should stay\n * active indefinitely to replicate changed documents.\n *\n * @function\n */\n getContinuous() {\n return this.continuous;\n }\n /**\n * returns extra HTTP headers to send in all requests to the remote target.\n *\n * @function\n */\n getHeaders() {\n return this.headers;\n }\n /**\n * returns the heartbeat interval in second.\n *\n * The interval when the replicator sends the ping message to check whether the other peer is\n * still alive. Default heartbeat is ``ReplicatorConfiguration.defaultHeartbeat`` secs.\n *\n * Note: Setting the heartbeat to negative value will result in an Exception\n * being thrown. For backward compatibility, setting it to zero will result in\n * default 300 secs internally.\n *\n * @function\n */\n getHeartbeat() {\n return this.heartbeat;\n }\n /**\n * returns the maximum attempts to perform retry. The retry attempt will be reset when the replicator is\n * able to connect and replicate with the remote server again.\n *\n * Default _maxAttempts_ is ``ReplicatorConfiguration.defaultMaxAttemptsSingleShot`` times\n * for single shot replicators and ``ReplicatorConfiguration.defaultMaxAttemptsContinuous`` times\n * for continuous replicators.\n *\n * Settings the value to 1, will perform an initial request and if there is a transient error\n * occurs, will stop without retry.\n *\n * Note: For backward compatibility, setting it to zero will result in default 10 internally.\n *\n * @function\n */\n getMaxAttempts() {\n return this.maxAttempts;\n }\n /**\n * returns the max wait time for the next attempt(retry) in seconds.\n *\n * The exponential backoff for calculating the wait time will be used by default and cannot be\n * customized. Default max attempts is `ReplicatorConfiguration.defaultMaxAttemptsWaitTime` secs.\n *\n * Set the maxAttemptWaitTime to negative value will result in an Exception\n * being thrown.\n *\n * Note: For backward compatibility, setting it to zero will result in default secs internally.\n *\n * @function\n */\n getMaxAttemptWaitTime() {\n return this.maxAttemptWaitTime;\n }\n /**\n * returns the string value of the remote target's SSL certificate that was previously set in the configuration.\n *\n * Note: The pinned cert will be evaluated against any certs in a cert chain,\n * and the cert chain will be valid only if the cert chain contains the pinned cert.\n *\n * @function\n */\n getPinnedServerCertificate() {\n return this.pinnedServerCertificate;\n }\n /**\n * returns the replicator type indicating the direction of the replicator.\n *\n * @function\n */\n getReplicatorType() {\n return this.replicatorType;\n }\n /**\n * Remove a group of collections from the configuration. If the collection doesn’t exist, this operation will be no ops.\n *\n * @function\n */\n removeCollections(collections) {\n for (const col of collections) {\n for (const key of this.collections.keys()) {\n if (key.includes(col)) {\n this.collections.delete(key);\n }\n }\n }\n }\n /**\n * Remove the collection. If the collection doesn’t exist, this operation will be no ops.\n *\n * @function\n */\n removeCollection(collection) {\n for (const key of this.collections.keys()) {\n if (key.includes(collection)) {\n const newCols = key.filter((col) => col !== collection);\n const config = this.collections.get(key);\n this.collections.delete(key);\n this.collections.set(newCols, config);\n }\n }\n }\n /**\n * Specify the replicator to accept any and only self-signed certs. Any non-self-signed certs will be rejected\n * to avoid accidentally using this mode with the non-self-signed certs in production.\n * Default value is ``ReplicatorConfiguration.defaultSelfSignedCertificateOnly``\n *\n * @function\n */\n setAcceptOnlySelfSignedCerts(selfSignedCerts) {\n this.acceptOnlySelfSignedCerts = selfSignedCerts;\n }\n /**\n * The option to remove the restriction that does not allow the replicator to save the parent-domain\n * cookies, the cookies whose domains are the parent domain of the remote host, from the HTTP\n * response. For example, when the option is set to true, the cookies whose domain are “.foo.com”\n * returned by “bar.foo.com” host will be permitted to save.\n *\n * This option is disabled by default (See ``ReplicatorConfiguration.defaultAcceptParentCookies``)\n * which means that the parent-domain cookies are not permitted to save by default.\n *\n * @function\n */\n setAcceptParentDomainCookies(acceptParentDomainCookies) {\n this.acceptParentDomainCookies = acceptParentDomainCookies;\n }\n /**\n * Allows the replicator to continue replicating in the background. The default\n * value is false, which means that the replicator will suspend itself when the\n * replicator detects that the application is running in the background.\n *\n * If setting the value to true, the developer MUST ensure that the application requests\n * for extending the background task properly in the configuration. See your platforms documentation\n * more information.\n *\n * @function\n */\n setAllowReplicatingInBackground(allowReplicatingInBackground) {\n this.allowReplicatingInBackground = allowReplicatingInBackground;\n }\n /**\n * To enable/disable the auto purge feature\n *\n * The default value is true which means that the document will be automatically purged by the\n * pull replicator when the user loses access to the document from both removed and revoked scenarios.\n *\n * When the property is set to false, this behavior is disabled and access removed event\n * will be sent to any document listeners that are active on the replicator. For performance\n * reasons, the document listeners must be added **before** the replicator is started, or\n * they will not receive the events.\n *\n * Note: Auto purge will not be performed when documentIDs filter is specified.\n *\n * @function\n */\n setAutoPurgeEnabled(autoPurgeEnabled) {\n this.autoPurgeEnabled = autoPurgeEnabled;\n }\n /**\n * The Authenticator to authenticate with a remote target.\n *\n * @function\n */\n setAuthenticator(authenticator) {\n this.authenticator = authenticator;\n }\n /**\n * The continuous flag indicating whether the replicator should stay\n * active indefinitely to replicate changed documents.\n *\n * @function\n */\n setContinuous(continuous) {\n this.continuous = continuous;\n }\n /**\n * Extra HTTP headers to send in all requests to the remote target.\n *\n * @function\n */\n setHeaders(headers) {\n this.headers = headers;\n }\n /**\n * The heartbeat interval in second.\n *\n * The interval when the replicator sends the ping message to check whether the other peer is\n * still alive. Default heartbeat is ``ReplicatorConfiguration.defaultHeartbeat`` secs.\n *\n * Note: Setting the heartbeat to negative value will result in an Exception\n * being thrown. For backward compatibility, setting it to zero will result in\n * default 300 secs internally.\n *\n * @function\n */\n setHeartbeat(heartbeat) {\n this.heartbeat = heartbeat;\n }\n /**\n * The maximum attempts to perform retry. The retry attempt will be reset when the replicator is\n * able to connect and replicate with the remote server again.\n *\n * Default _maxAttempts_ is ``ReplicatorConfiguration.defaultMaxAttemptsSingleShot`` times\n * for single shot replicators and ``ReplicatorConfiguration.defaultMaxAttemptsContinuous`` times\n * for continuous replicators.\n *\n * Settings the value to 1, will perform an initial request and if there is a transient error\n * occurs, will stop without retry.\n *\n * Note: For backward compatibility, setting it to zero will result in default 10 internally.\n *\n * @function\n */\n setMaxAttempts(maxAttempts) {\n this.maxAttempts = maxAttempts;\n }\n /**\n * Max wait time for the next attempt(retry) in seconds.\n *\n * The exponential backoff for calculating the wait time will be used by default and cannot be\n * customized. Default max attempts is `ReplicatorConfiguration.defaultMaxAttemptsWaitTime` secs.\n *\n * Set the maxAttemptWaitTime to negative value will result in an Exception\n * being thrown.\n *\n * Note: For backward compatibility, setting it to zero will result in default secs internally.\n *\n * @function\n */\n setMaxAttemptWaitTime(maxAttemptWaitTime) {\n if (maxAttemptWaitTime >= 0) {\n this.maxAttemptWaitTime = maxAttemptWaitTime;\n }\n else {\n throw new Error('Error: maxAttemptWaitTime cannot be negative.');\n }\n }\n /**\n * The remote target's SSL certificate.\n *\n * Note: The pinned cert will be evaluated against any certs in a cert chain,\n * and the cert chain will be valid only if the cert chain contains the pinned cert.\n *\n * @function\n */\n setPinnedServerCertificate(pinnedServerCertificate) {\n this.pinnedServerCertificate = pinnedServerCertificate;\n }\n /**\n * Replicator type indicating the direction of the replicator.\n *\n * @function\n */\n setReplicatorType(replicatorType) {\n this.replicatorType = replicatorType;\n }\n toJson() {\n const config = {\n acceptParentDomainCookies: this.acceptParentDomainCookies,\n acceptSelfSignedCerts: this.acceptOnlySelfSignedCerts,\n allowReplicationInBackground: this.allowReplicatingInBackground,\n autoPurgeEnabled: this.autoPurgeEnabled,\n authenticator: null,\n collectionConfig: null,\n continuous: this.continuous,\n headers: null,\n heartbeat: this.heartbeat,\n maxAttempts: this.maxAttempts,\n maxAttemptWaitTime: this.maxAttemptWaitTime,\n pinnedServerCertificate: null,\n replicatorType: this.replicatorType,\n target: this.target.toJson(),\n };\n if (this.headers !== undefined) {\n config.headers = this.headers;\n }\n else {\n config.headers = '';\n }\n if (this.pinnedServerCertificate !== undefined) {\n config.pinnedServerCertificate = this.pinnedServerCertificate;\n }\n else {\n config.pinnedServerCertificate = '';\n }\n if (this.authenticator !== undefined) {\n config.authenticator = {\n type: this.authenticator.getType(),\n data: this.authenticator.toJson(),\n };\n }\n else {\n config.authenticator = '';\n }\n if (this.collections.size > 0) {\n if (this.checkCollectionsScopeAndDatabase()) {\n const colArray = [];\n for (const [collections, collectionConfig] of this.collections) {\n const collectionsArray = [];\n for (const collection of collections) {\n collectionsArray.push({ collection: collection.toJson() });\n }\n if (collectionConfig !== undefined || collectionConfig !== null) {\n colArray.push({\n collections: collectionsArray,\n config: collectionConfig,\n });\n }\n else {\n colArray.push({ collections: collectionsArray, config: '' });\n }\n }\n config.collectionConfig = JSON.stringify(colArray);\n }\n else {\n throw new Error('All collections must be from the same database and scope');\n }\n }\n else {\n config.collectionConfig = '';\n }\n return config;\n }\n checkCollectionsScopeAndDatabase() {\n let databaseName = null;\n let scopeName = null;\n // eslint-disable-next-line\n for (const [collections, _] of this.collections) {\n for (const collection of collections) {\n if (databaseName === null && scopeName === null) {\n databaseName = collection.database.getName();\n scopeName = collection.scope.name;\n }\n else if (collection.database.getName() !== databaseName ||\n collection.scope.name !== scopeName) {\n return false;\n }\n }\n }\n return true;\n }\n}\nReplicatorConfiguration.ReplicatorType = ReplicatorType;\n// Authentication dictionary keys:\nReplicatorConfiguration.CBLReplicatorOptionCookies = 'cookies'; // HTTP Cookie header value; string\nReplicatorConfiguration.CBLReplicatorAuthOption = 'auth'; // Auth settings; Dict\nReplicatorConfiguration.CBLReplicatorAuthType = 'type'; // Auth property; string\nReplicatorConfiguration.CBLReplicatorAuthUserName = 'username'; // Auth property; string\nReplicatorConfiguration.CBLReplicatorAuthPassword = 'password'; // Auth property; string\nReplicatorConfiguration.CBLReplicatorAuthClientCert = 'clientCert'; // Auth property; value platform-dependent\n// auth.type values:\nReplicatorConfiguration.CBLAuthTypeBasic = 'Basic'; // HTTP Basic (the default)\nReplicatorConfiguration.CBLAuthTypeSession = 'Session'; // SG session cookie\nReplicatorConfiguration.CBLAuthTypeOpenIDConnect = 'OpenID Connect';\nReplicatorConfiguration.CBLAuthTypeClientCert = 'Client Cert';\nReplicatorConfiguration.defaultContinuous = false;\nReplicatorConfiguration.defaultEnableAutoPurge = true;\nReplicatorConfiguration.defaultSelfSignedCertificateOnly = true;\nReplicatorConfiguration.defaultAcceptParentDomainCookies = false;\nReplicatorConfiguration.defaultAllowReplicatingInBackground = false;\nReplicatorConfiguration.defaultHeartbeat = 300;\nReplicatorConfiguration.defaultMaxAttemptsSingleShot = 10;\nReplicatorConfiguration.defaultMaxAttemptsWaitTime = 300;\n//# sourceMappingURL=replicator-configuration.js.map","import { ReplicatorConfiguration } from './replicator-configuration';\nimport { Authenticator } from './authenticator';\nexport class BasicAuthenticator extends Authenticator {\n constructor(\n // eslint-disable-next-line\n username, \n // eslint-disable-next-line\n password) {\n super();\n this.username = username;\n this.password = password;\n }\n /**\n * Configures basic authentication options for a replicator\n * @param {Dictionary} options - The replicator configuration options to be modified\n * @returns {Dictionary} The authentication configuration containing username and password\n * @example\n * const authenticator = new BasicAuthenticator('user', 'password');\n * const config = {};\n * const auth = authenticator.authenticate(config);\n * // config now contains the auth settings\n * // auth contains: { type: 'basic', username: 'user', password: 'password' }\n */\n authenticate(options) {\n const auth = {\n [ReplicatorConfiguration.CBLReplicatorAuthType]: ReplicatorConfiguration.CBLAuthTypeBasic,\n [ReplicatorConfiguration.CBLReplicatorAuthUserName]: this.username,\n [ReplicatorConfiguration.CBLReplicatorAuthPassword]: this.password,\n };\n options[ReplicatorConfiguration.CBLReplicatorAuthOption] = auth;\n return auth;\n }\n /**\n * Returns the authentication type identifier\n * @returns {string} The string 'basic' indicating basic authentication\n * @example\n * const authenticator = new BasicAuthenticator('user', 'password');\n * const type = authenticator.getType();\n * // Returns: 'basic'\n */\n getType() {\n return 'basic';\n }\n /**\n * Converts the authenticator to a JSON-compatible object\n * @returns {{ username: string, password: string }} An object containing the authenticator's credentials\n * @example\n * const authenticator = new BasicAuthenticator('user', 'password');\n * const json = authenticator.toJson();\n * // Returns: { username: 'user', password: 'password' }\n */\n toJson() {\n return {\n username: this.username,\n password: this.password,\n };\n }\n}\n//# sourceMappingURL=basic-authenticator.js.map","export class Blob {\n /**\n * Creates a new Blob instance to store binary data with a specified content type\n * @param contentType - The MIME type of the blob content (e.g., 'image/jpeg', 'text/plain')\n * @param data - The binary data as either a Uint8Array or ArrayBuffer\n * @example\n * // Create from Uint8Array\n * const uint8Array = new Uint8Array([1, 2, 3]);\n * const blob1 = new Blob('text/plain', uint8Array);\n *\n * // Create from ArrayBuffer\n * const arrayBuffer = new ArrayBuffer(3);\n * const blob2 = new Blob('text/plain', arrayBuffer);\n */\n constructor(contentType, data) {\n this.contentType = contentType;\n this.contentType = contentType;\n this.bytes = data instanceof Uint8Array ? data.buffer : data;\n }\n /**\n * Creates a new Blob instance from a JSON string representation\n * @param jsonString - A JSON string containing blob data with format: { contentType: string, bytes: number[] }\n * @returns A new Blob instance\n * @throws {Error} If the JSON is invalid, missing required properties, or has incorrect types\n * @example\n * const jsonStr = '{\"contentType\": \"image/jpeg\", \"bytes\": [255, 216, 255, 224]}';\n * const blob = Blob.fromJSON(jsonStr);\n */\n static fromJSON(jsonString) {\n try {\n const data = JSON.parse(jsonString);\n // Validate required properties and types\n if (!data.contentType || typeof data.contentType !== 'string') {\n throw new Error('Invalid or missing contentType property');\n }\n if (!Array.isArray(data.bytes)) {\n throw new Error('Invalid or missing bytes property');\n }\n // Convert number array back to ArrayBuffer\n const bytes = new Uint8Array(data.bytes);\n return new Blob(data.contentType, bytes);\n }\n catch (e) {\n throw new Error(`Failed to parse Blob JSON: ${e.message}`);\n }\n }\n /**\n * Returns the raw binary data of the blob\n * @returns {Uint8Array} The blob's content as an Uint8Array\n */\n getBytes() {\n return new Uint8Array(this.bytes);\n }\n /**\n * Returns the MIME type of the blob's content\n * @returns {string} The content type (MIME type) of the blob\n */\n getContentType() {\n return this.contentType;\n }\n /**\n * Returns the cryptographic digest (hash) of the blob's content\n * @returns {string} The blob's content digest\n */\n getDigest() {\n return this.digest;\n }\n /**\n * Returns the size of the blob's content in bytes\n * @returns {number} The length of the blob in bytes\n */\n getLength() {\n return this.length;\n }\n /**\n * Converts the blob into a plain JavaScript object representation\n * @returns {{ contentType: string, data: number[] }} An object containing the blob's content type and data as a byte array\n */\n toDictionary() {\n return {\n contentType: this.contentType,\n data: Array.from(new Uint8Array(this.bytes)),\n };\n }\n}\n//# sourceMappingURL=blob.js.map","export class Collation {\n constructor() {\n this._unicode = false;\n this._ignoreCase = false;\n this._ignoreAccents = false;\n this._locale = null;\n }\n static ascii() {\n return new CollationASCII();\n }\n static unicode() {\n return new CollationUnicode();\n }\n toString() {\n return ('Collation{' +\n 'unicode=' +\n this._unicode +\n ', ignoreCase=' +\n this._ignoreCase +\n ', ignoreAccents=' +\n this._ignoreAccents +\n \", locale='\" +\n this._locale +\n \"'\" +\n '}');\n }\n asJSON() {\n const json = {};\n json.UNICODE = this._unicode;\n json.LOCALE = this._locale == null ? null : this._locale;\n json.CASE = !this._ignoreCase;\n json.DIAC = !this._ignoreAccents;\n return json;\n }\n}\nexport class CollationASCII extends Collation {\n constructor() {\n super();\n this._unicode = false;\n }\n ignoreCase(ignoreCase) {\n this._ignoreCase = ignoreCase;\n return this;\n }\n}\nexport class CollationUnicode extends Collation {\n constructor() {\n super();\n this._unicode = true;\n }\n ignoreCase(ignoreCase) {\n this._ignoreCase = ignoreCase;\n return this;\n }\n ignoreAccents(ignoreAccents) {\n this._ignoreAccents = ignoreAccents;\n return this;\n }\n locale(locale) {\n this._locale = locale;\n return this;\n }\n}\n//# sourceMappingURL=collation.js.map","export class EngineLocator {\n constructor() { }\n /**\n * Returns the singleton instance of EngineLocator\n * @returns {EngineLocator} The singleton instance of the EngineLocator\n * @example\n * const locator = EngineLocator.getInstance();\n * // Use the same instance throughout the application\n * const sameLocator = EngineLocator.getInstance(); // Returns the same instance\n */\n static getInstance() {\n if (!EngineLocator.instance) {\n EngineLocator.instance = new EngineLocator();\n }\n return EngineLocator.instance;\n }\n /**\n * Registers a core engine implementation with the EngineLocator\n * @param {string} key - The unique identifier for the engine\n * @param {ICoreEngine} service - The core engine implementation to register\n * @example\n * const engine = new MyCoreEngine();\n * EngineLocator.registerEngine('myEngine', engine);\n *\n * // Later, retrieve the engine\n * const sameEngine = EngineLocator.getEngine('myEngine');\n */\n static registerEngine(key, service) {\n EngineLocator.engines.set(key, service);\n }\n /**\n * Retrieves a registered core engine implementation by its key\n * @param {string} key - The unique identifier of the engine to retrieve\n * @returns {ICoreEngine} The registered core engine implementation\n * @example\n * // First register an engine\n * const engine = new MyCoreEngine();\n * EngineLocator.registerEngine('myEngine', engine);\n *\n * // Then retrieve it\n * const retrievedEngine = EngineLocator.getEngine('myEngine');\n * // retrievedEngine === engine\n */\n static getEngine(key) {\n return EngineLocator.engines.get(key);\n }\n}\nEngineLocator.key = 'default';\nEngineLocator.engines = new Map();\n//# sourceMappingURL=engine-locator.js.map","import { EngineLocator } from './engine-locator';\nexport class Scope {\n constructor(name, database) {\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n this.name = name ?? '';\n this.database = database;\n }\n /**\n * Retrieves all collections within this scope\n * @returns {Promise<Collection[]>} A Promise that resolves to an array of Collection instances\n * @throws {Error} If the database is closed or there's an error accessing collections\n */\n async collections() {\n const results = await this._engine.collection_GetCollections({\n name: this.database.getName(),\n scopeName: this.name,\n });\n return results.collections;\n }\n /**\n * Retrieves a specific collection within this scope by name\n * @param {string} collectionName - The name of the collection to retrieve\n * @returns {Promise<Collection | null>} A Promise that resolves to the Collection instance, or null if not found\n * @throws {Error} If the database is closed or there's an error accessing the collection\n */\n async collection(collectionName) {\n return this._engine.collection_GetCollection({\n name: this.database.getName(),\n collectionName: collectionName,\n scopeName: this.name,\n });\n }\n}\n//# sourceMappingURL=scope.js.map","import { Blob } from './blob';\nimport { EngineLocator } from './engine-locator';\nexport class Document {\n constructor(id = null, \n // eslint-disable-next-line\n sequenceNo = null, \n // eslint-disable-next-line\n revisionID = null, \n // eslint-disable-next-line\n collection = null, data = {}) {\n this.id = id;\n this.sequenceNo = sequenceNo;\n this.revisionID = revisionID;\n this.collection = collection;\n this.doc = {};\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n if (id === null) {\n this.id = this._engine.getUUID();\n }\n this.doc = data;\n }\n /**\n * The number of properties in the document.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n count() {\n return Object.keys(this.doc).length;\n }\n /**\n * Returns the document data as a dictionary.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getData() {\n return this.doc;\n }\n _get(key) {\n return this.doc[key];\n }\n /**\n * Get a property’s value as a ArrayObject, which is a mapping object of an array value.\n * Returns null if the property doesn’t exists, or its value is not an array.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getArray(key) {\n if (key in this.doc && Array.isArray(this.doc[key])) {\n return this.doc[key];\n }\n return null;\n }\n /**\n * Returns metadata associated with the Blob. Use getBlobContent() to get the Blob’s data.\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getBlob(key) {\n if (key in this.doc) {\n const data = this._get(key);\n if (data && typeof data === 'object' && 'content_type' in data) {\n const b = new Blob(data.content_type, data.raw);\n b.digest = data.digest;\n b.length = data.length;\n return b;\n }\n }\n return null;\n }\n /**\n * @deprecated - use the Blob API getBytes() function instead\n *\n * Get a property’s value as a ArrayBuffer. Returns null if the property doesn’t exist,\n * or its value is not a blob.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n async getBlobContent(key) {\n const data = await this._engine.collection_GetBlobContent({\n documentId: this.getId(),\n key: key,\n collectionName: this.collection.name,\n scopeName: this.collection.scope.name,\n name: this.collection.scope.database.getName(),\n });\n return data.data;\n }\n /**\n * Gets a property’s value as a boolean value. Returns true if the value exists,\n * and is either true or a nonzero number.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getBoolean(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (typeof value === 'boolean') {\n return value;\n }\n if (value === 0 || value === '0.0') {\n return false;\n }\n if (value === null) {\n return false;\n }\n return true;\n }\n return false;\n }\n /**\n * The collection that the document belongs to.\n *\n * Throws an error if the database is closed.\n *\n * @function\n */\n getCollection() {\n return this.collection;\n }\n /**\n * Gets a property’s value as a Date value. JSON does not directly support dates, so\n * the actual property value must be a string, which is then parsed according to the\n * ISO-8601 date format (the default used in JSON.) Returns null if the value doesn’t\n * exist, is not a string, or is not parseable as a date. NOTE: This is not a generic\n * date parser! It only recognizes the ISO-8601 format, with milliseconds.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getDate(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (typeof value === 'string') {\n const date = new Date(value);\n // Check if the date is valid (not \"Invalid Date\")\n return !isNaN(date.getTime()) ? date : null;\n }\n }\n return null;\n }\n /**\n * Get a property’s value as a Dictionary, which is a mapping object of a dictionary\n * value. Returns null if the property doesn’t exists, or its value is not a dictionary.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getDictionary(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (value && typeof value === 'object' && !Array.isArray(value)) {\n return value;\n }\n }\n return null;\n }\n /**\n * Gets a property’s value as a double value. Integers will be converted to double.\n * The value true is returned as 1.0, false as 0.0. Returns 0.0 if the property doesn’t\n * exist or does not have a numeric value.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getDouble(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (typeof value === 'number') {\n return value;\n }\n if (typeof value === 'boolean') {\n return value ? 1.0 : 0.0;\n }\n }\n return 0.0;\n }\n /**\n * Gets a property’s value as a float value. Integers will be converted to float.\n * The value true is returned as 1.0, false as 0.0. Returns 0.0 if the property doesn’t\n * exist or does not have a numeric value.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getFloat(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (typeof value === 'number') {\n return value;\n }\n if (typeof value === 'boolean') {\n return value ? 1.0 : 0.0;\n }\n }\n return 0.0;\n }\n /**\n * Returns the document’s ID.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getId() {\n return this.id;\n }\n /**\n * Gets a property’s value as an int value. Floating point values will be rounded.\n * The value true is returned as 1, false as 0. Returns 0 if the property doesn’t\n * exist or does not have a numeric value.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getInt(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (typeof value === 'number') {\n return Math.floor(value);\n }\n if (typeof value === 'boolean') {\n return value ? 1 : 0;\n }\n }\n return 0;\n }\n /**\n * returns an array containing all keys, or an empty array if the document\n * has no properties.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getKeys() {\n return Object.keys(this.doc);\n }\n /**\n * Gets a property’s value as an number value. Floating point values will be rounded.\n * The value true is returned as 1, false as 0. Returns 0 if the property doesn’t\n * exist or does not have a numeric value.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getLong(key) {\n return key in this.doc ? this.doc[key] : 0;\n }\n /**\n * The ID representing a document’s revision.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getRevisionID() {\n return this.revisionID;\n }\n /**\n * Sequence number of the document in the database. This indicates how recently the\n * document has been changed: every time any document is updated, the database assigns it\n * the next sequential sequence number. Thus, if a document’s sequence property changes\n * that means it’s been changed (on-disk); and if one document’s sequence is greater than\n * another’s, that means it was changed more recently.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getSequence() {\n return this.sequenceNo;\n }\n /**\n * Gets a property’s value as a string. Returns nil if the property doesn’t exist, i\n * or its value is not a string.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getString(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (typeof value === 'string') {\n return value;\n }\n }\n return null;\n }\n /**\n * @deprecated getValue is deprecated. Returns values as any.\n */\n getValue(key) {\n return key in this.doc ? this.doc[key] : null;\n }\n /**\n * Returns the document data as a dictionary.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n toDictionary() {\n return this.doc;\n }\n /**\n * Converts the document content to a JSON string representation\n * @returns {string} A JSON string\n *\n * @function\n */\n toJsonString() {\n return JSON.stringify(this.doc);\n }\n}\n//# sourceMappingURL=document.js.map","import { Scope } from './scope';\nimport { EngineLocator } from './engine-locator';\nimport { Document } from './document';\nexport class Collection {\n constructor(name, scope, database) {\n //used for engine calls\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n this._didStartListener = false;\n /**\n * returns Collection's fully qualified name in the '<scope-name>.<collection-name>' format.\n *\n * @property\n */\n this.fullName = () => `${this.scope.name}.${this.name}`;\n this.name = name ?? '';\n this.scope = scope ?? new Scope('', database);\n this.database = database;\n this._documentChangeListener = new Map();\n this._didStartDocumentListener = new Map();\n }\n /**\n * Set a given CollectionChangeListener to the collection.\n *\n * @function\n */\n async addChangeListener(listener) {\n this._changeListener = listener;\n const token = this.uuid();\n if (!this._didStartListener) {\n await this._engine.collection_AddChangeListener({\n name: this.scope.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n changeListenerToken: token,\n }, (data, err) => {\n if (err) {\n throw err;\n }\n this.notifyChangeListeners(data);\n });\n this._didStartListener = true;\n return token;\n }\n else {\n throw new Error('Listener already started');\n }\n }\n /**\n * Set a given Collection Document Change Listener to a given document in a collection.\n *\n * @function\n */\n async addDocumentChangeListener(documentId, listener) {\n const token = this.uuid();\n if (!this._didStartDocumentListener.has(documentId) &&\n !this._documentChangeListener[documentId]) {\n await this._engine.collection_AddDocumentChangeListener({\n name: this.scope.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n changeListenerToken: token,\n documentId: documentId,\n }, (data, err) => {\n if (err) {\n throw err;\n }\n this.notifyDocumentChangeListeners(data);\n });\n this._documentChangeListener.set(documentId, listener);\n this._didStartDocumentListener[documentId] = true;\n return token;\n }\n else {\n throw new Error(`Listener for document ${documentId} already started`);\n }\n }\n /**\n * Total number of documents in the collection.\n *\n * @function\n */\n count() {\n return this._engine.collection_GetCount({\n name: this.scope.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n });\n }\n /**\n * Create an index with the index name and AbstractIndex.\n *\n * @function\n */\n createIndex(indexName, index) {\n return this._engine.collection_CreateIndex({\n name: this.scope.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n indexName: indexName,\n index: index.toJson(),\n });\n }\n /**\n * Delete a document from the collection. The default concurrency control, lastWriteWins,\n * will be used when there is conflict during delete. If the document doesn’t exist in the\n * collection, an error will be thrown.\n *\n * When deleting a document that already belongs to a collection, the collection instance of\n * the document and this collection instance must be the same, otherwise, an\n * error will be thrown.\n *\n * Throws an Error if the collection is deleted or the database is closed.\n *\n * @function\n */\n deleteDocument(document, concurrencyControl = null) {\n const id = document.getId();\n return this._engine.collection_DeleteDocument({\n name: this.scope.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n docId: id,\n concurrencyControl: concurrencyControl,\n });\n }\n /**\n * Delete an index by name.\n *\n * @function\n */\n deleteIndex(indexName) {\n return this._engine.collection_DeleteIndex({\n name: this.scope.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n indexName: indexName,\n });\n }\n /**\n * Get an existing document by document ID.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n async document(id) {\n const docJson = await this._engine.collection_GetDocument({\n docId: id,\n name: this.scope.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n });\n // @ts-expect-error - _id is used in getId()\n if (docJson && docJson._id) {\n // @ts-expect-error - _data is used in getData()\n const data = docJson._data;\n // @ts-expect-error - _sequence is used in getSequence()\n const sequence = docJson._sequence;\n // @ts-expect-error - _id is used in getId()\n const retId = docJson._id;\n // @ts-expect-error - _revId is used in getRevisionID()\n const revisionID = docJson._revId;\n return Promise.resolve(new Document(retId, sequence, revisionID, this, data));\n }\n else {\n return Promise.resolve(undefined);\n }\n }\n /**\n * Get an existing document by document ID.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n async getDocument(id) {\n return this.document(id);\n }\n /**\n * Get the expiration date set to the document of the given id.\n \n * Throws an error, if the collection is deleted or the database is closed.\n *\n * @function\n */\n async getDocumentExpiration(id) {\n const date = await this._engine.collection_GetDocumentExpiration({\n docId: id,\n name: this.scope.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n });\n if (date !== null && date.date !== null) {\n return date.date;\n }\n else {\n return null;\n }\n }\n /**\n * Return ICoreEngine instance.\n *\n * @function\n */\n getEngine() {\n return this._engine;\n }\n /**\n * Return all index names\n *\n * @function\n */\n async indexes() {\n const indexes = await this._engine.collection_GetIndexes({\n name: this.scope.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n });\n return indexes.indexes;\n }\n /**\n * send data to the listener\n *\n * @function\n */\n notifyChangeListeners(data) {\n this._changeListener(data);\n }\n /**\n * send data to the document change listener\n *\n * @function\n */\n notifyDocumentChangeListeners(data) {\n const documentId = data.documentId;\n const changeListener = this._documentChangeListener.get(documentId);\n changeListener({\n documentId: documentId,\n collection: this,\n database: this.database,\n });\n }\n /**\n * Purge a document by id from the collection. If the document doesn’t exist in the\n * collection, an error will be thrown.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n purge(document) {\n return this._engine.collection_PurgeDocument({\n name: this.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n docId: document.getId(),\n });\n }\n /**\n * Purge a document by id from the collection. If the document doesn’t exist in the\n * collection, an error will be thrown.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n purgeById(documentId) {\n return this._engine.collection_PurgeDocument({\n name: this.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n docId: documentId,\n });\n }\n /**\n * Remove the collection change listener.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n async removeChangeListener(token) {\n await this._engine.collection_RemoveChangeListener({\n name: this.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n changeListenerToken: token,\n });\n }\n /**\n * Remove the collection document change listener.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n async removeDocumentChangeListener(token) {\n await this._engine.collection_RemoveDocumentChangeListener({\n name: this.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n changeListenerToken: token,\n });\n }\n /**\n * Save a document into the collection. The default concurrency control, lastWriteWins, will\n * be used when there is conflict during save.\n *\n * When saving a document that already belongs to a collection, the collection instance of\n * the document and this collection instance must be the same, otherwise, an\n * error will be thrown.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n async save(document, concurrencyControl = null) {\n const blobString = document.blobsToJsonString();\n const documentString = document.toJsonString();\n const ret = await this._engine.collection_Save({\n id: document.getId(),\n document: documentString,\n blobs: blobString,\n concurrencyControl: concurrencyControl,\n name: this.scope.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n });\n document.setId(ret._id);\n document.setRevisionID(ret._revId);\n document.setSequence(ret._sequence);\n document.setCollection(this);\n }\n async setDocumentExpiration(id, expiration) {\n await this._engine.collection_SetDocumentExpiration({\n docId: id,\n name: this.database.getName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n expiration: expiration,\n });\n }\n toJson() {\n return {\n name: this.name,\n scopeName: this.scope.name,\n databaseName: this.database.getName(),\n };\n }\n uuid() {\n return this._engine.getUUID();\n }\n}\n//# sourceMappingURL=collection.js.map","export var ConcurrencyControl;\n(function (ConcurrencyControl) {\n // eslint-disable-next-line\n ConcurrencyControl[ConcurrencyControl[\"LAST_WRITE_WINS\"] = 0] = \"LAST_WRITE_WINS\";\n // eslint-disable-next-line\n ConcurrencyControl[ConcurrencyControl[\"FAIL_ON_CONFLICT\"] = 1] = \"FAIL_ON_CONFLICT\";\n})(ConcurrencyControl || (ConcurrencyControl = {}));\n//# sourceMappingURL=concurrency-control.js.map","export class CouchbaseLiteException extends Error {\n constructor(\n // eslint-disable-next-line\n message, \n // eslint-disable-next-line\n domain, \n // eslint-disable-next-line\n code) {\n super();\n this.message = message;\n this.domain = domain;\n this.code = code;\n }\n}\n//# sourceMappingURL=couchbase-lite-exception.js.map","/**\n * Configuration for opening a database\n */\nexport class DatabaseConfiguration {\n // eslint-disable-next-line\n constructor(arg1, arg2) {\n if (typeof arg1 === 'string') {\n this.directory = arg1;\n }\n else if (arg1 instanceof DatabaseConfiguration) {\n this.directory = arg1.directory;\n this.encryptionKey = arg1.encryptionKey;\n }\n else {\n //do nothing\n this.directory = undefined;\n }\n if (typeof arg2 === 'string') {\n this.encryptionKey = arg2;\n }\n }\n /**\n * Returns the directory path where the database files are stored\n * @returns {string} The configured database directory path\n * @example\n * const config = new DatabaseConfiguration();\n * config.setDirectory('/path/to/database');\n * const dir = config.getDirectory();\n * // Returns: '/path/to/database'\n */\n getDirectory() {\n return this.directory;\n }\n /**\n * Sets the directory path where the database files will be stored\n * @param {string} directory - The path to the directory where database files should be stored\n * @returns {DatabaseConfiguration} The current DatabaseConfiguration instance for method chaining\n * @example\n * const config = new DatabaseConfiguration();\n * config.setDirectory('/path/to/database');\n * // Or chain with other methods\n * config.setDirectory('/path/to/database').setEncryptionKey('myKey');\n */\n setDirectory(directory) {\n this.directory = directory;\n return this;\n }\n /**\n * Returns the encryption key used for database encryption\n * @returns {string} The configured encryption key, or undefined if no encryption is set\n * @example\n * const config = new DatabaseConfiguration();\n * config.setEncryptionKey('mySecretKey');\n * const key = config.getEncryptionKey();\n * // Returns: 'mySecretKey'\n */\n getEncryptionKey() {\n return this.encryptionKey;\n }\n /**\n * Sets the encryption key for the database\n * @param {string} key - The encryption key to use for database encryption\n * @returns {DatabaseConfiguration} The current DatabaseConfiguration instance for method chaining\n * @example\n * const config = new DatabaseConfiguration();\n * config.setEncryptionKey('mySecretKey');\n * // Or chain with other methods\n * config.setDirectory('/path/to/db').setEncryptionKey('mySecretKey');\n */\n setEncryptionKey(key) {\n this.encryptionKey = key;\n return this;\n }\n}\n//# sourceMappingURL=database-configuration.js.map","export class DatabaseLogging {\n // eslint-disable-next-line\n constructor(database) {\n this.database = database;\n }\n setFileConfig(config) {\n return this.database.getEngine().database_SetFileLoggingConfig({\n name: this.database.getName(),\n config: config,\n });\n }\n}\n//# sourceMappingURL=database-logging.js.map","/**\n * A Parameters object used for setting values to the query parameters defined in the query.\n */\nexport class Parameter {\n _set(name, value, type) {\n this.name = name;\n this.value = value;\n this.type = type;\n }\n setValue(name, value) {\n this._set(name, value, 'value');\n }\n setString(name, value) {\n this._set(name, value, 'string');\n }\n setBoolean(name, value) {\n this._set(name, value, 'boolean');\n }\n setFloat(name, value) {\n this._set(name, value, 'float');\n }\n setDouble(name, value) {\n this._set(name, value, 'double');\n }\n setLong(name, value) {\n this._set(name, value, 'long');\n }\n setInt(name, value) {\n this._set(name, value, 'int');\n }\n setDate(name, value) {\n this._set(name, value, 'date');\n }\n get() {\n return this;\n }\n}\n//# sourceMappingURL=parameter.js.map","import { Parameter } from './parameter';\n/**\n * A Parameters object used for setting values to the query parameters defined in the query.\n */\nexport class Parameters {\n constructor() {\n this._parameters = {};\n }\n setValue(name, value) {\n const parameter = new Parameter();\n parameter.setValue(name, value);\n this._parameters[name] = parameter;\n }\n setString(name, value) {\n const parameter = new Parameter();\n parameter.setString(name, value);\n this._parameters[name] = parameter;\n }\n setBoolean(name, value) {\n const parameter = new Parameter();\n parameter.setBoolean(name, value);\n this._parameters[name] = parameter;\n }\n setFloat(name, value) {\n const parameter = new Parameter();\n parameter.setFloat(name, value);\n this._parameters[name] = parameter;\n }\n setDouble(name, value) {\n const parameter = new Parameter();\n parameter.setDouble(name, value);\n this._parameters[name] = parameter;\n }\n setLong(name, value) {\n const parameter = new Parameter();\n parameter.setLong(name, value);\n this._parameters[name] = parameter;\n }\n setInt(name, value) {\n const parameter = new Parameter();\n parameter.setInt(name, value);\n this._parameters[name] = parameter;\n }\n setDate(name, value) {\n const parameter = new Parameter();\n parameter.setDate(name, value.toISOString());\n this._parameters[name] = parameter;\n }\n remove(name) {\n this._parameters[name] = null;\n }\n get() {\n if (Object.keys(this._parameters).length > 0) {\n return this._parameters;\n }\n else {\n return {};\n }\n }\n}\n//# sourceMappingURL=parameters.js.map","import { EngineLocator } from './engine-locator';\nimport { Parameters } from './parameters';\n/**\n * A database query. A Query instance can be constructed by calling\n * execute or explain.\n */\nexport class Query {\n constructor(queryString, database) {\n //used for engine calls\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n this._queryString = queryString;\n this._database = database;\n this._didStartQueryListener = false;\n }\n /**\n * Adds a query change listener.\n *\n * @function\n */\n async addChangeListener(listener) {\n this._changeListener = listener;\n const token = this._engine.getUUID();\n if (!this._didStartQueryListener) {\n await this._engine.query_AddChangeListener({\n name: this._database.getName(),\n query: this._queryString,\n parameters: this.parameters,\n changeListenerToken: token,\n }, (data, err) => {\n if (err) {\n throw err;\n }\n this.notifyChangeListeners(data);\n });\n this._didStartQueryListener = true;\n return token;\n }\n else {\n throw new Error(`Listener for query ${this._queryString} already started`);\n }\n }\n /**\n * Adds a Parameter object used for setting values to the query parameters defined in the query. All parameters defined in the query must be given values before running the query, or the query will fail.\n *\n * @function\n */\n addParameter(parameters) {\n this.parameters = parameters;\n }\n /**\n * Executes the query. The returning an enumerator that returns result rows one at a time.\n *\n * The results come from a snapshot of the database taken at the moment -run: is called, so they will not reflect any changes made to the database afterward.\n *\n * @function\n */\n async execute() {\n if (this.parameters === undefined) {\n this.parameters = new Parameters();\n }\n const queryResults = await this._database.getEngine().query_Execute({\n name: this._database.getName(),\n query: this._queryString,\n parameters: this.parameters.get(),\n });\n const data = queryResults.data;\n return JSON.parse(data);\n }\n /**\n *\n * Returns a string describing the implementation of the compiled query. This is intended to be read by a developer for purposes of optimizing the query, especially to add database indexes. It’s not machine-readable and its format may change.\n *\n * As currently implemented, the result is two or more lines separated by newline characters:\n *\n * The first line is the SQLite SELECT statement.\n * The subsequent lines are the output of SQLite’s “EXPLAIN QUERY PLAN” command applied to that statement; for help interpreting this, see https://www.sqlite.org/eqp.html . The most important thing to know is that if you see “SCAN TABLE”, it means that SQLite is doing a slow linear scan of the documents instead of using an index.\n *\n * @function\n */\n async explain() {\n if (this.parameters === undefined) {\n this.parameters = new Parameters();\n }\n const queryResults = await this._database.getEngine().query_Explain({\n name: this._database.getName(),\n query: this._queryString,\n parameters: this.parameters.get(),\n });\n return queryResults.data;\n }\n getDatabase() {\n return this._database;\n }\n /**\n * A Parameters object used for setting values to the query parameters defined in the query. All parameters defined in the query must be given values before running the query, or the query will fail.\n *\n * The returned Parameters object will be readonly.\n *\n * @function\n */\n getParameters() {\n return this.parameters;\n }\n /**\n * send data to the listener\n *\n * @function\n */\n notifyChangeListeners(data) {\n const stringData = data.data;\n this._changeListener({\n query: this,\n error: data.error,\n results: JSON.parse(stringData),\n });\n }\n /**\n * Removes a change listener wih the given listener token.\n *\n * @function\n */\n async removeChangeListener(token) {\n await this._database.getEngine().query_RemoveChangeListener({\n changeListenerToken: token,\n name: this._database.getName(),\n });\n }\n setDatabase(database) {\n this._database = database;\n }\n /**\n * Returns the query string used to create this Query instance\n * @returns {string} The original query string\n * @example\n * const query = new Query(\"SELECT * FROM users WHERE age >= $minAge\", database);\n * console.log(query.toString());\n * // Returns: \"SELECT * FROM users WHERE age >= $minAge\"\n *\n * // Useful for debugging or logging query definitions\n * console.log(`Current query: ${query}`); // Automatically calls toString()\n */\n toString() {\n return this._queryString;\n }\n}\n//# sourceMappingURL=query.js.map","import { Document } from './document';\nimport { DatabaseLogging } from './database-logging';\nimport { EngineLocator } from './engine-locator';\nimport { Collection } from './collection';\nimport { Scope } from './scope';\nimport { Query } from './query';\nexport var LogDomain;\n(function (LogDomain) {\n // eslint-disable-next-line \n LogDomain[\"ALL\"] = \"ALL\";\n // eslint-disable-next-line \n LogDomain[\"DATABASE\"] = \"DATABASE\";\n // eslint-disable-next-line \n LogDomain[\"NETWORK\"] = \"NETWORK\";\n // eslint-disable-next-line \n LogDomain[\"QUERY\"] = \"QUERY\";\n // eslint-disable-next-line \n LogDomain[\"REPLICATOR\"] = \"REPLICATOR\";\n})(LogDomain || (LogDomain = {}));\nexport var LogLevel;\n(function (LogLevel) {\n // eslint-disable-next-line \n LogLevel[LogLevel[\"DEBUG\"] = 0] = \"DEBUG\";\n // eslint-disable-next-line \n LogLevel[LogLevel[\"VERBOSE\"] = 1] = \"VERBOSE\";\n // eslint-disable-next-line \n LogLevel[LogLevel[\"INFO\"] = 2] = \"INFO\";\n // eslint-disable-next-line \n LogLevel[LogLevel[\"WARNING\"] = 3] = \"WARNING\";\n // eslint-disable-next-line \n LogLevel[LogLevel[\"ERROR\"] = 4] = \"ERROR\";\n // eslint-disable-next-line \n LogLevel[LogLevel[\"NONE\"] = 5] = \"NONE\";\n})(LogLevel || (LogLevel = {}));\nexport var MaintenanceType;\n(function (MaintenanceType) {\n // eslint-disable-next-line \n MaintenanceType[MaintenanceType[\"COMPACT\"] = 0] = \"COMPACT\";\n // eslint-disable-next-line \n MaintenanceType[MaintenanceType[\"REINDEX\"] = 1] = \"REINDEX\";\n // eslint-disable-next-line \n MaintenanceType[MaintenanceType[\"INTEGRITY_CHECK\"] = 2] = \"INTEGRITY_CHECK\";\n // eslint-disable-next-line \n MaintenanceType[MaintenanceType[\"OPTIMIZE\"] = 3] = \"OPTIMIZE\";\n // eslint-disable-next-line \n MaintenanceType[MaintenanceType[\"FULL_OPTIMIZE\"] = 4] = \"FULL_OPTIMIZE\";\n})(MaintenanceType || (MaintenanceType = {}));\n/**\n * A Couchbase Lite database.\n */\nexport class Database {\n constructor(\n // eslint-disable-next-line \n _databaseName, \n // eslint-disable-next-line \n _databaseConfig = null) {\n this._databaseName = _databaseName;\n this._databaseConfig = _databaseConfig;\n this._isClosed = false;\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n this.log = new DatabaseLogging(this);\n }\n getEngine() {\n return this._engine;\n }\n /**\n * Open a database with the given name and configuration.\n *\n * @function\n */\n open() {\n const result = this._engine.database_Open({\n name: this._databaseName,\n config: this._databaseConfig,\n });\n this._isClosed = false;\n return result;\n }\n /**\n * Changes the database’s encryption key, or removes\n * encryption if the new key is nil.\n *\n * @function\n */\n async changeEncryptionKey(newKey) {\n await this._engine.database_ChangeEncryptionKey({\n name: this._databaseName,\n newKey: newKey,\n });\n this._databaseConfig.setEncryptionKey(newKey);\n }\n /**\n * Close the database. This will release all resources associated with the database.\n *\n * @function\n */\n close() {\n const result = this._engine.database_Close({ name: this._databaseName });\n this._isClosed = true;\n return result;\n }\n /**\n * @deprecated compact is deprecated. Use performMaintenance instead.\n *\n * @function\n */\n compact() {\n const args = {\n name: this._databaseName,\n maintenanceType: MaintenanceType.COMPACT,\n };\n return this._engine.database_PerformMaintenance(args);\n }\n /**\n * Performs database maintenance.\n *\n * @function\n */\n performMaintenance(maintenanceType) {\n const args = { name: this._databaseName, maintenanceType: maintenanceType };\n return this._engine.database_PerformMaintenance(args);\n }\n /**\n * Copy database\n *\n * @function\n */\n copy(path, name, config) {\n return this._engine.database_Copy({\n name: this._databaseName,\n path: path,\n newName: name,\n config: config,\n });\n }\n /**\n * Deletes a database.\n *\n * @function\n */\n deleteDatabase() {\n if (this._isClosed) {\n throw new Error('Cannot delete a closed database using this API. Open the database first.');\n }\n return this._engine.database_Delete({ name: this._databaseName });\n }\n /**\n * Deletes a database.\n *\n * @function\n */\n static async deleteDatabase(databaseName, directory) {\n const engine = EngineLocator.getEngine(EngineLocator.key);\n const args = {\n databaseName: databaseName,\n directory: directory,\n };\n await engine.database_DeleteWithPath(args);\n }\n /**\n * Return the database's path.\n *\n * @function\n */\n async getPath() {\n return (await this._engine.database_GetPath({ name: this._databaseName }))\n .path;\n }\n /**\n * Checks whether a database of the given name exists in the given directory or not.\n *\n * @function\n */\n static async exists(name, directory) {\n const engine = EngineLocator.getEngine(EngineLocator.key);\n const args = {\n databaseName: name,\n directory: directory,\n };\n const ret = await engine.database_Exists(args);\n return ret.exists;\n }\n /**\n * Return the database name\n *\n * @function\n */\n getName() {\n return this._databaseName;\n }\n /**\n * Returns a READONLY config object which will throw a runtime exception when any setter methods are called.\n *\n * @function\n */\n getConfig() {\n return this._databaseConfig;\n }\n /**\n * TODO - Fix with QUEUE\n */\n inBatch(fn) {\n fn();\n return Promise.reject(null);\n }\n /**\n * Set log level for the given log domain.\n *\n * @function\n */\n static setLogLevel(domain, level) {\n const engine = EngineLocator.getEngine(EngineLocator.key);\n return engine.database_SetLogLevel({\n domain: domain,\n logLevel: level,\n });\n }\n /**\n * Set log level for the given log domain.\n *\n * @function\n */\n setLogLevel(domain, level) {\n return this._engine.database_SetLogLevel({\n domain: domain,\n logLevel: level,\n });\n }\n /**\n * Get the default Scope.\n *\n * @function\n */\n async defaultScope() {\n const scope = await this._engine.scope_GetDefault({\n name: this._databaseName,\n });\n return new Scope(scope.name, this);\n }\n /**\n * Get a scope object by name. As the scope cannot exist by itself without having a collection, null value will be returned if there are no collections under the given scope’s name. Note: The default scope is exceptional, and it will always be returned.\n *\n * @function\n */\n async scope(scopeName) {\n try {\n const scope = await this._engine.scope_GetScope({\n name: this._databaseName,\n scopeName: scopeName,\n });\n return new Scope(scope.name, this);\n }\n catch {\n return undefined;\n }\n }\n /**\n * Get scope names that have at least one collection. Note: the default scope is exceptional as it will always be listed even though there are no collections under it.\n *\n * @function\n */\n async scopes() {\n const results = await this._engine.scope_GetScopes({\n name: this._databaseName,\n });\n const scopes = [];\n for (const scope of results.scopes) {\n scopes.push(new Scope(scope.name, this));\n }\n return scopes;\n }\n /**\n * Get the default Collection.\n *\n * @function\n */\n async defaultCollection() {\n const col = await this._engine.collection_GetDefault({\n name: this._databaseName,\n });\n const scope = new Scope(col.scope.name, this);\n return new Collection(col.name, scope, this);\n }\n // eslint-disable-next-line no-dupe-class-members\n async collection(collectionName, scopeOrName) {\n let col;\n if (typeof scopeOrName === 'string') {\n col = await this._engine.collection_GetCollection({\n name: this._databaseName,\n collectionName: collectionName,\n scopeName: scopeOrName,\n });\n }\n else if (scopeOrName instanceof Scope) {\n col = await this._engine.collection_GetCollection({\n name: this._databaseName,\n collectionName: collectionName,\n scopeName: scopeOrName.name,\n });\n }\n else {\n col = await this._engine.collection_GetCollection({\n name: this._databaseName,\n collectionName: collectionName,\n scopeName: Database.defaultScopeName,\n });\n }\n const scope = new Scope(col.scope.name, this);\n return new Collection(col.name, scope, this);\n }\n // eslint-disable-next-line\n async collections(scopeOrName) {\n const collections = [];\n let colResults;\n if (typeof scopeOrName === 'string') {\n colResults = await this._engine.collection_GetCollections({\n name: this._databaseName,\n scopeName: scopeOrName,\n });\n }\n else if (scopeOrName instanceof Scope) {\n colResults = await this._engine.collection_GetCollections({\n name: this._databaseName,\n scopeName: scopeOrName.name,\n });\n }\n else {\n colResults = await this._engine.collection_GetCollections({\n name: this._databaseName,\n scopeName: Database.defaultScopeName,\n });\n }\n for (const col of colResults.collections) {\n const scope = new Scope(col.scope.name, this);\n collections.push(new Collection(col.name, scope, this));\n }\n return collections;\n }\n // eslint-disable-next-line\n async createCollection(collectionName, scopeOrName) {\n let col;\n if (typeof scopeOrName === 'string') {\n col = await this._engine.collection_CreateCollection({\n name: this._databaseName,\n collectionName: collectionName,\n scopeName: scopeOrName,\n });\n }\n else if (scopeOrName instanceof Scope) {\n col = await this._engine.collection_CreateCollection({\n name: this._databaseName,\n collectionName: collectionName,\n scopeName: scopeOrName.name,\n });\n }\n else {\n col = await this._engine.collection_CreateCollection({\n name: this._databaseName,\n collectionName: collectionName,\n scopeName: Database.defaultScopeName,\n });\n }\n const scope = new Scope(col.scope.name, this);\n return new Collection(col.name, scope, this);\n }\n // eslint-disable-next-line \n deleteCollection(collectionOrName, scopeName) {\n if (typeof collectionOrName === 'string' && scopeName !== undefined) {\n return this._engine.collection_DeleteCollection({\n name: this._databaseName,\n collectionName: collectionOrName,\n scopeName: scopeName,\n });\n }\n else if (collectionOrName instanceof Collection) {\n return this._engine.collection_DeleteCollection({\n name: this._databaseName,\n collectionName: collectionOrName.name,\n scopeName: collectionOrName.scope.name,\n });\n }\n else {\n throw new Error('Invalid arguments');\n }\n }\n /**\n * @deprecated deleteDocument is deprecated. Use Collection deleteDocument instead.\n *\n * @function\n */\n deleteDocument(document, concurrencyControl = null) {\n const id = document.getId();\n return this._engine.database_DeleteDocument({\n name: this._databaseName,\n docId: id,\n concurrencyControl: concurrencyControl,\n });\n }\n /**\n * @deprecated purgeDocument is deprecated. Use Collection purgeDocument instead.\n *\n * @function\n */\n purgeDocument(document) {\n return this._engine.database_PurgeDocument({\n name: this._databaseName,\n docId: document.getId(),\n });\n }\n /**\n * @deprecated getCount is deprecated. Use Collection getCount instead.\n *\n * @function\n */\n async getCount() {\n const count = await this._engine.database_GetCount({\n name: this._databaseName,\n });\n return Promise.resolve(count.count);\n }\n /**\n * @deprecated getDocument is deprecated. Use Collection getDocument instead.\n *\n * @function\n */\n async getDocument(id) {\n const docJson = await this._engine.collection_GetDocument({\n docId: id,\n name: this._databaseName,\n scopeName: \"_default\",\n collectionName: \"_default\",\n });\n const collection = await this.defaultCollection();\n // @ts-expect-error - _id is used in getId()\n if (docJson && docJson._id) {\n // @ts-expect-error - _data is used in getData()\n const data = docJson._data;\n // @ts-expect-error - _sequence is used in getSequence()\n const sequence = docJson._sequence;\n // @ts-expect-error _id exists in documents\n const retId = docJson._id;\n // @ts-expect-error - _revId is used in getRevisionID()\n const revisionID = docJson._revId;\n return Promise.resolve(new Document(retId, sequence, revisionID, collection, data));\n }\n else {\n return Promise.resolve(null);\n }\n }\n /**\n * @deprecated save is deprecated. Use Collection save instead.\n *\n * @function\n */\n async save(document, concurrencyControl = null) {\n const ret = await this._engine.collection_Save({\n id: document.getId(),\n document: document.toJsonString(),\n blobs: document.blobsToJsonString(),\n concurrencyControl: concurrencyControl,\n name: this._databaseName,\n scopeName: \"_default\",\n collectionName: \"_default\",\n });\n document.setId(ret._id);\n document.setRevisionID(ret._revId);\n document.setSequence(ret._sequence);\n }\n /**\n * @deprecated createIndex is deprecated. Use Collection createIndex instead.\n *\n * @function\n */\n createIndex(indexName, index) {\n return this._engine.database_CreateIndex({\n name: this._databaseName,\n indexName: indexName,\n index: index.toJson(),\n });\n }\n /**\n * @deprecated getIndexes is deprecated. Use Collection getIndexes instead.\n *\n * @function\n */\n async getIndexes() {\n return (await this._engine.database_GetIndexes({\n name: this._databaseName,\n })).indexes;\n }\n /**\n * @deprecated deleteIndex is deprecated. Use Collection deleteIndex instead.\n *\n * @function\n */\n deleteIndex(indexName) {\n return this._engine.database_DeleteIndex({\n name: this._databaseName,\n indexName: indexName,\n });\n }\n /**\n * Creates a Query object from the given query string.\n *\n * @function\n */\n createQuery(queryString) {\n return new Query(queryString, this);\n }\n}\n/**\n * The default scope name constant\n *\n * @property\n */\nDatabase.defaultScopeName = '_default';\n/**\n * The default collection name constant\n *\n * @property\n */\nDatabase.defaultCollectionName = '_default';\n//# sourceMappingURL=database.js.map","export var ReplicatedDocumentFlag;\n(function (ReplicatedDocumentFlag) {\n // eslint-disable-next-line\n ReplicatedDocumentFlag[\"DELETED\"] = \"DELETED\";\n // eslint-disable-next-line\n ReplicatedDocumentFlag[\"ACCESS_REMOVED\"] = \"ACCESS_REMOVED\";\n})(ReplicatedDocumentFlag || (ReplicatedDocumentFlag = {}));\nexport class ReplicatedDocument {\n // eslint-disable-next-line\n constructor(id, flags, error = undefined, scopeName, collectionName) {\n this.id = id;\n this.flags = flags;\n this.error = error;\n this.scopeName = scopeName;\n this.collectionName = collectionName;\n }\n getId() {\n return this.id;\n }\n getFlags() {\n return this.flags;\n }\n getError() {\n return this.error;\n }\n}\nexport function isReplicatedDocumentRepresentation(obj) {\n try {\n const object = obj;\n object.flags.forEach((flag) => {\n const flagTest = (ReplicatedDocumentFlag)[flag];\n if (flagTest === undefined) {\n throw 'unrecognized replication flag ' + flag;\n }\n });\n if (object.id === null) {\n throw 'document id cannot be null';\n }\n if (object.error !== null) {\n if (object.error.message === null) {\n throw 'document error is incomplete';\n }\n }\n return true;\n }\n catch (e) {\n console.warn('Invalid ReplicatedDocumentRepresentation:', e);\n return false;\n }\n}\n//# sourceMappingURL=replicated-document.js.map","import { isReplicatedDocumentRepresentation, } from './replicated-document';\nexport class DocumentReplication {\n // eslint-disable-next-line\n constructor(isPush, documents) {\n this.isPush = isPush;\n this.documents = documents;\n }\n getIsPush() {\n return this.isPush;\n }\n getDocuments() {\n return this.documents;\n }\n}\nexport function isDocumentReplicationRepresentation(obj) {\n try {\n const object = obj;\n object.documents.forEach((document) => {\n if (!isReplicatedDocumentRepresentation(document)) {\n throw 'invalid replicated document';\n }\n });\n const isPush = object.isPush;\n if (isPush === undefined) {\n throw 'unrecognized replication isPush ';\n }\n return true;\n }\n catch (e) {\n console.warn('Invalid DocumentReplicationRepresentation:', e);\n return false;\n }\n}\n//# sourceMappingURL=document-replication.js.map","export class Expression {\n static value(value) {\n return new ValueExpression(value);\n }\n static string(value) {\n return new ValueExpression(value);\n }\n static number(value) {\n return new ValueExpression(value);\n }\n static intValue(value) {\n return new ValueExpression(value);\n }\n static longValue(value) {\n return new ValueExpression(value);\n }\n static floatValue(value) {\n return new ValueExpression(value);\n }\n static doubleValue(value) {\n return new ValueExpression(value);\n }\n static booleanValue(value) {\n return new ValueExpression(value);\n }\n static date(value) {\n return new ValueExpression(value);\n }\n static all() {\n return new PropertyExpression('*');\n }\n static property(property) {\n return new PropertyExpression(property);\n }\n static parameter(name) {\n return new ParameterExpression(name);\n }\n static negated(expression) {\n return new CompoundExpression([expression], CompoundExpression.OpType.Not);\n }\n static not(expression) {\n return Expression.negated(expression);\n }\n multiply(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.Multiply);\n }\n divide(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.Divide);\n }\n modulo(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.Modulus);\n }\n /**\n * Create an add expression to add the given expression to the current expression\n */\n add(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.Add);\n }\n subtract(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.Subtract);\n }\n lessThan(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.LessThan);\n }\n lessThanOrEqualTo(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.LessThanOrEqualTo);\n }\n greaterThan(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.GreaterThan);\n }\n greaterThanOrEqualTo(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.GreaterThanOrEqualTo);\n }\n equalTo(expression) {\n return new BinaryExpression(this, expression, BinaryExpression.OpType.EqualTo);\n }\n notEqualTo(expression) {\n return new BinaryExpression(this, expression, BinaryExpression.OpType.NotEqualTo);\n }\n and(expression) {\n return new CompoundExpression([this, expression], CompoundExpressionOpType.And);\n }\n or(expression) {\n return new CompoundExpression([this, expression], CompoundExpressionOpType.Or);\n }\n like(expression) {\n return new BinaryExpression(this, expression, BinaryExpression.OpType.Like);\n }\n regex(expression) {\n return new BinaryExpression(this, expression, BinaryExpression.OpType.RegexLike);\n }\n is(expression) {\n return new BinaryExpression(this, expression, BinaryExpression.OpType.Is);\n }\n isNot(expression) {\n return new BinaryExpression(this, expression, BinaryExpression.OpType.IsNot);\n }\n between(expression1, expression2) {\n const aggr = new AggregateExpression([expression1, expression2]);\n return new BinaryExpression(this, aggr, BinaryExpression.OpType.Between);\n }\n isNullOrMissing() {\n return new UnaryExpression(this, UnaryExpression.OpType.Null).or(new UnaryExpression(this, UnaryExpression.OpType.Missing));\n }\n notNullOrMissing() {\n return Expression.negated(this.isNullOrMissing());\n }\n collate(collation) {\n return new CollationExpression(this, collation);\n }\n in(...expressions) {\n const aggr = new AggregateExpression(expressions);\n return new BinaryExpression(this, aggr, BinaryExpression.OpType.In);\n }\n}\nexport class PropertyExpression extends Expression {\n constructor(keyPath, _from = '', columnName = '') {\n super();\n this.keyPath = keyPath;\n this._from = _from;\n this.columnName = columnName;\n }\n from(alias) {\n return new PropertyExpression(this.keyPath, alias);\n }\n static allFrom(from) {\n const colName = from || PropertyExpression.kCBLAllPropertiesName;\n return new PropertyExpression(PropertyExpression.kCBLAllPropertiesName, from, colName);\n }\n asJSON() {\n const json = [];\n if (this._from !== null && this._from !== '') {\n json.push('.' + this._from + '.' + this.keyPath);\n }\n else {\n json.push('.' + this.keyPath);\n }\n return json;\n }\n getColumnName() {\n if (!this.columnName) {\n const paths = this.keyPath.split('.');\n this.columnName = paths.pop();\n }\n return this.columnName;\n }\n}\nPropertyExpression.kCBLAllPropertiesName = '';\nexport class ValueExpression extends Expression {\n constructor(value) {\n super();\n this.value = value;\n }\n asJSON() {\n if (this.value instanceof Date) {\n return this.value.toISOString();\n }\n else {\n return this.value;\n }\n }\n}\nexport var BinaryOpType;\n(function (BinaryOpType) {\n BinaryOpType[BinaryOpType[\"Add\"] = 0] = \"Add\";\n BinaryOpType[BinaryOpType[\"Between\"] = 1] = \"Between\";\n BinaryOpType[BinaryOpType[\"Divide\"] = 2] = \"Divide\";\n BinaryOpType[BinaryOpType[\"EqualTo\"] = 3] = \"EqualTo\";\n BinaryOpType[BinaryOpType[\"GreaterThan\"] = 4] = \"GreaterThan\";\n BinaryOpType[BinaryOpType[\"GreaterThanOrEqualTo\"] = 5] = \"GreaterThanOrEqualTo\";\n BinaryOpType[BinaryOpType[\"In\"] = 6] = \"In\";\n BinaryOpType[BinaryOpType[\"Is\"] = 7] = \"Is\";\n BinaryOpType[BinaryOpType[\"IsNot\"] = 8] = \"IsNot\";\n BinaryOpType[BinaryOpType[\"LessThan\"] = 9] = \"LessThan\";\n BinaryOpType[BinaryOpType[\"LessThanOrEqualTo\"] = 10] = \"LessThanOrEqualTo\";\n BinaryOpType[BinaryOpType[\"Like\"] = 11] = \"Like\";\n BinaryOpType[BinaryOpType[\"Modulus\"] = 12] = \"Modulus\";\n BinaryOpType[BinaryOpType[\"Multiply\"] = 13] = \"Multiply\";\n BinaryOpType[BinaryOpType[\"NotEqualTo\"] = 14] = \"NotEqualTo\";\n BinaryOpType[BinaryOpType[\"Subtract\"] = 15] = \"Subtract\";\n BinaryOpType[BinaryOpType[\"RegexLike\"] = 16] = \"RegexLike\";\n})(BinaryOpType || (BinaryOpType = {}));\nexport class BinaryExpression extends Expression {\n constructor(lhs, rhs, type) {\n super();\n this.lhs = lhs;\n this.rhs = rhs;\n this.type = type;\n }\n asJSON() {\n const json = [];\n switch (this.type) {\n case BinaryOpType.Add:\n json.push('+');\n break;\n case BinaryOpType.Between:\n json.push('BETWEEN');\n break;\n case BinaryOpType.Divide:\n json.push('/');\n break;\n case BinaryOpType.EqualTo:\n json.push('=');\n break;\n case BinaryOpType.GreaterThan:\n json.push('>');\n break;\n case BinaryOpType.GreaterThanOrEqualTo:\n json.push('>=');\n break;\n case BinaryOpType.In:\n json.push('IN');\n break;\n case BinaryOpType.Is:\n json.push('IS');\n break;\n case BinaryOpType.IsNot:\n json.push('IS NOT');\n break;\n case BinaryOpType.LessThan:\n json.push('<');\n break;\n case BinaryOpType.LessThanOrEqualTo:\n json.push('<=');\n break;\n case BinaryOpType.Like:\n json.push('LIKE');\n break;\n case BinaryOpType.Modulus:\n json.push('%');\n break;\n case BinaryOpType.Multiply:\n json.push('*');\n break;\n case BinaryOpType.NotEqualTo:\n json.push('!=');\n break;\n case BinaryOpType.RegexLike:\n json.push('regexp_like()');\n break;\n case BinaryOpType.Subtract:\n json.push('-');\n break;\n }\n json.push(this.lhs.asJSON());\n if (this.type === BinaryOpType.Between) {\n // \"between\"'s RHS is an aggregate of the min and max, but the min and max need to be\n // written out as parameters to the BETWEEN operation:\n const rangeExprs = this.rhs.getExpressions();\n json.push(rangeExprs[0].asJSON());\n json.push(rangeExprs[1].asJSON());\n }\n else {\n json.push(this.rhs.asJSON());\n }\n return json;\n }\n}\nBinaryExpression.OpType = BinaryOpType;\nexport class AggregateExpression extends Expression {\n constructor(expressions) {\n super();\n this.expressions = expressions;\n }\n getExpressions() {\n return this.expressions;\n }\n asJSON() {\n const json = [];\n json.push('[]');\n for (let expr of this.expressions) {\n json.push(expr.asJSON());\n }\n return json;\n }\n}\nexport class ParameterExpression extends Expression {\n constructor(name) {\n super();\n this.name = name;\n }\n asJSON() {\n return ['$' + this.name];\n }\n}\nexport var CompoundExpressionOpType;\n(function (CompoundExpressionOpType) {\n CompoundExpressionOpType[CompoundExpressionOpType[\"And\"] = 0] = \"And\";\n CompoundExpressionOpType[CompoundExpressionOpType[\"Or\"] = 1] = \"Or\";\n CompoundExpressionOpType[CompoundExpressionOpType[\"Not\"] = 2] = \"Not\";\n})(CompoundExpressionOpType || (CompoundExpressionOpType = {}));\nexport class CompoundExpression extends Expression {\n constructor(subexpressions, type) {\n super();\n this.subexpressions = subexpressions;\n this.type = type;\n }\n asJSON() {\n const json = [];\n switch (this.type) {\n case CompoundExpressionOpType.And:\n json.push('AND');\n break;\n case CompoundExpressionOpType.Or:\n json.push('OR');\n break;\n case CompoundExpressionOpType.Not:\n json.push('NOT');\n break;\n }\n json.push(...this.subexpressions.map((s) => s.asJSON()));\n return json;\n }\n}\nCompoundExpression.OpType = CompoundExpressionOpType;\nexport var UnaryExpressionOpType;\n(function (UnaryExpressionOpType) {\n UnaryExpressionOpType[UnaryExpressionOpType[\"Missing\"] = 0] = \"Missing\";\n UnaryExpressionOpType[UnaryExpressionOpType[\"NotMissing\"] = 1] = \"NotMissing\";\n UnaryExpressionOpType[UnaryExpressionOpType[\"NotNull\"] = 2] = \"NotNull\";\n UnaryExpressionOpType[UnaryExpressionOpType[\"Null\"] = 3] = \"Null\";\n})(UnaryExpressionOpType || (UnaryExpressionOpType = {}));\nexport class UnaryExpression extends Expression {\n constructor(operand, type) {\n super();\n this.operand = operand;\n this.type = type;\n if (operand == null)\n throw new Error('operand is null.');\n }\n asJSON() {\n const opd = this.operand.asJSON();\n switch (this.type) {\n case UnaryExpressionOpType.Missing: {\n return ['IS', opd, ['MISSING']];\n }\n case UnaryExpressionOpType.NotMissing: {\n return ['IS NOT', opd, ['MISSING']];\n }\n case UnaryExpressionOpType.Null: {\n return ['IS', opd, null];\n }\n case UnaryExpressionOpType.NotNull: {\n return ['IS NOT', opd, null];\n }\n default:\n return [];\n }\n }\n}\nUnaryExpression.OpType = UnaryExpressionOpType;\nexport class CollationExpression extends Expression {\n constructor(operand, collation) {\n super();\n this.operand = operand;\n this.collation = collation;\n }\n asJSON() {\n return ['COLLATE', this.collation.asJSON(), this.operand.asJSON()];\n }\n}\nexport class FunctionExpression extends Expression {\n constructor(func, params) {\n super();\n this.func = func;\n this.params = params;\n }\n asJSON() {\n const json = [this.func];\n json.push(...this.params.map((p) => p.asJSON()));\n return json;\n }\n}\n//# sourceMappingURL=expression.js.map","import { EngineLocator } from './engine-locator';\nexport class FileSystem {\n constructor() {\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n }\n async getDefaultPath() {\n const results = await this._engine.file_GetDefaultPath();\n return results.path;\n }\n async getFilesInDirectory(path) {\n return this._engine.file_GetFileNamesInDirectory({ path });\n }\n}\n//# sourceMappingURL=file-system.js.map","import { Expression } from './expression';\n/**\n * Full-text expression\n */\nexport class FullTextExpression {\n constructor(name) {\n this.name = name;\n }\n /**\n * Creates a full-text expression with the given full-text index name.\n *\n * @param name The full-text index name.\n * @return The full-text expression.\n */\n static index(name) {\n return new FullTextExpression(name);\n }\n /**\n * Creates a full-text match expression with the given search text.\n *\n * @param query The search text\n * @return The full-text match expression\n */\n match(query) {\n return new FullTextMatchExpression(this.name, query);\n }\n}\nexport class FullTextMatchExpression extends Expression {\n constructor(indexName, text) {\n super();\n this.indexName = indexName;\n this.text = text;\n }\n asJSON() {\n return ['MATCH()', this.indexName, this.text];\n }\n}\n//# sourceMappingURL=full-text-expression.js.map","import { AbstractIndex, IndexType } from './abstract-index';\nimport { Expression } from './expression';\n/**\n * Index for Full-Text search\n */\nexport class FullTextIndex extends AbstractIndex {\n constructor(...indexItems) {\n super();\n this._language = FullTextIndex.getDefaultLanguage();\n this._ignoreAccents = false;\n this.indexItems = indexItems;\n }\n /**\n * The language code which is an ISO-639 language such as \"en\", \"fr\", etc.\n * Setting the language code affects how word breaks and word stems are parsed.\n * Without setting the value, the current locale's language will be used. Setting\n * a nil or \"\" value to disable the language features.\n */\n setLanguage(language) {\n this._language = language;\n return this;\n }\n /**\n * Set the true value to ignore accents/diacritical marks. The default value is false.\n */\n setIgnoreAccents(ignoreAccents) {\n this._ignoreAccents = ignoreAccents;\n return this;\n }\n type() {\n return IndexType.FullText;\n }\n language() {\n return this._language;\n }\n ignoreAccents() {\n return this._ignoreAccents;\n }\n items() {\n const items = [];\n for (let item of this.indexItems) {\n items.push(item.expression.asJSON());\n }\n return items;\n }\n toJson() {\n return {\n type: 'full-text',\n language: this._language,\n ignoreAccents: this._ignoreAccents,\n items: this.items(),\n };\n }\n static getDefaultLanguage() {\n return 'en';\n //return Locale.getDefault().getLanguage();\n }\n}\n/**\n * Full-text Index Item.\n */\nexport class FullTextIndexItem {\n constructor(expression) {\n this.expression = expression;\n this.expression = expression;\n }\n /**\n * Creates a full-text search index item with the given property.\n *\n * @param property A property used to perform the match operation against with.\n * @return The full-text search index item.\n */\n static property(property) {\n return new FullTextIndexItem(Expression.property(property));\n }\n}\n//# sourceMappingURL=full-text-index.js.map","import { Expression } from './expression';\nimport { IndexType, AbstractIndex } from './abstract-index';\nexport class ValueIndex extends AbstractIndex {\n constructor(...indexItems) {\n super();\n this.indexItems = indexItems;\n }\n type() {\n return IndexType.Value;\n }\n language() {\n return null;\n }\n ignoreAccents() {\n return false;\n }\n items() {\n const items = [];\n for (let item of this.indexItems) {\n items.push(item.expr.asJSON());\n }\n return items;\n }\n toJson() {\n return {\n type: 'value',\n items: this.items(),\n };\n }\n}\nexport class ValueIndexItem {\n constructor(expr) {\n this.expr = expr;\n }\n /**\n * Creates a value index item with the given property.\n *\n * @param property the property name\n * @return The value index item\n */\n static property(property) {\n return new ValueIndexItem(Expression.property(property));\n }\n /**\n * Creates a value index item with the given property.\n *\n * @param expression The expression to index. Typically a property expression.\n * @return The value index item\n */\n static expression(expression) {\n return new ValueIndexItem(expression);\n }\n}\n//# sourceMappingURL=value-index.js.map","import { ValueIndex } from './value-index';\nimport { FullTextIndex } from './full-text-index';\nexport class IndexBuilder {\n /**\n * Create a value index with the given index items. The index items are a list of\n * the properties or expressions to be indexed.\n *\n * @param items The index items\n * @return The value index\n */\n static valueIndex(...items) {\n return new ValueIndex(...items);\n }\n /**\n * Create a full-text search index with the given index item and options. Typically the index item is\n * the property that is used to perform the match operation against with.\n *\n * @param items The index items.\n * @return The full-text search index.\n */\n static fullTextIndex(...items) {\n return new FullTextIndex(...items);\n }\n}\n//# sourceMappingURL=index-builder.js.map","import { Expression } from './expression';\nexport class MetaExpression extends Expression {\n constructor(_keyPath, _columnName, _from) {\n super();\n this._keyPath = _keyPath;\n this._columnName = _columnName;\n this._from = _from;\n }\n from(alias) {\n return new MetaExpression(this._keyPath, null, alias);\n }\n asJSON() {\n const json = [];\n if (this._from) {\n json.push('.' + this._from + '.' + this._keyPath);\n }\n else {\n json.push('.' + this._keyPath);\n }\n return json;\n }\n getColumnName() {\n if (!this._columnName) {\n const paths = this._keyPath.split('.');\n this._columnName = paths[paths.length - 1];\n }\n return this._columnName;\n }\n}\n//# sourceMappingURL=meta-expression.js.map","import { MetaExpression } from './meta-expression';\nexport class Meta {\n}\nMeta.id = new MetaExpression('_id', 'id', null);\nMeta.sequence = new MetaExpression('_sequence', 'sequence', null);\nMeta.deleted = new MetaExpression('_deleted', 'deleted', null);\nMeta.expiration = new MetaExpression('_expiration', 'expiration', null);\n//# sourceMappingURL=meta.js.map","import { Document } from './document';\nexport class MutableDocument extends Document {\n // Actual constructor implementation\n constructor(id = null, sequenceNoOrData = null, revisionIDOrData = null, data = {}, collection = null) {\n if (arguments.length === 0) {\n super(null, null, null, null, {});\n }\n else if (arguments.length === 1) {\n // Just ID\n if (id === null || id.length === 0) {\n super(null, null, null, null, {});\n }\n else {\n super(id, null, null, null, {});\n }\n }\n else if (arguments.length === 2 && typeof sequenceNoOrData === 'object') {\n // ID and data\n super(id, null, null, null, sequenceNoOrData || {});\n }\n else if (arguments.length === 3 && typeof revisionIDOrData === 'object') {\n // ID, sequenceNo, and data\n super(id, sequenceNoOrData, null, null, revisionIDOrData || {});\n }\n else {\n // Full constructor\n super(id, sequenceNoOrData, revisionIDOrData, collection, data);\n }\n this._blobs = {};\n }\n /**\n * Creates a new MutableDocument instance from an existing Document\n * @param {Document} document - The source Document to create a mutable copy from\n * @returns {MutableDocument} A new MutableDocument containing the same data as the source document\n * @example\n * const doc = await collection.document('doc1');\n * const mutableDoc = MutableDocument.fromDocument(doc);\n *\n * // Now you can modify the document\n * mutableDoc.setString('name', 'John');\n * await collection.save(mutableDoc);\n */\n static fromDocument(document) {\n return new MutableDocument(document.getId(), document.getSequence(), document.getRevisionID(), document.getData(), document.getCollection());\n }\n static fromJSON(documentId, jsonString) {\n try {\n const data = JSON.parse(jsonString);\n return new MutableDocument(documentId, data);\n }\n catch (e) {\n throw new Error(`Failed to parse JSON string: ${e.message}`);\n }\n }\n /**\n * Removes a property from the document\n * @param {string} key - The property key to remove. Can be a dot-notation path for nested properties\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Remove a top-level property\n * doc.remove('name');\n *\n * // Remove a nested property\n * doc.remove('address.city');\n *\n * // Chain with other methods\n * doc.remove('name')\n * .setString('title', 'Mr.')\n * .setNumber('age', 30);\n */\n remove(key) {\n const parts = key.split('.');\n let current = this.doc;\n // Navigate to the parent object for nested properties\n for (let i = 0; i < parts.length - 1; i++) {\n if (current[parts[i]] === undefined) {\n return this;\n }\n current = current[parts[i]];\n }\n // Delete the final property\n delete current[parts[parts.length - 1]];\n return this;\n }\n /**\n * Internal method to set a value in the document\n * @param {string} key - The property key where the value will be stored\n * @param {T | null} value - The value to store, can be null\n * @template T - The type of the value being stored\n * @private\n * @example\n * // This is an internal method, typically used by public setters:\n * // Instead of using _set directly, use public methods like:\n * doc.setString('name', 'John');\n * doc.setNumber('age', 30);\n */\n _set(key, value) {\n if (key in this._blobs) {\n delete this._blobs[key];\n }\n this.doc[key] = value;\n }\n /**\n * Sets the document's ID\n * @param {string} id - The new ID for the document\n * @example\n * const doc = new MutableDocument();\n * doc.setId('user123');\n *\n * // Note: Changing an existing document's ID is generally not recommended\n * // as it may affect document tracking and replication\n */\n setId(id) {\n this.id = id;\n }\n /**\n * Sets an array value for a given key in the document\n * @param {string} key - The property key where the array will be stored\n * @param {T[]} value - The array to store\n * @template T - The type of elements in the array\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set an array of strings\n * doc.setArray('tags', ['important', 'urgent']);\n *\n * // Set an array of numbers\n * doc.setArray('scores', [85, 92, 78]);\n *\n * // Chain with other methods\n * doc.setArray('items', ['a', 'b'])\n * .setString('status', 'active');\n */\n setArray(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a blob value for a given key in the document\n * @param {string} key - The property key where the blob will be stored\n * @param {Blob | null} value - The blob to store, or null to remove existing blob\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Create and set a new blob\n * const bytes = new Uint8Array([72, 101, 108, 108, 111]);\n * const blob = new Blob('text/plain', bytes);\n * doc.setBlob('attachment', blob);\n *\n * // Remove a blob\n * doc.setBlob('attachment', null);\n *\n * // Chain with other methods\n * doc.setBlob('attachment', blob)\n * .setString('filename', 'hello.txt');\n */\n setBlob(key, value) {\n //remove it from the internal doc because it's a blob\n if (key in this.doc) {\n delete this.doc[key];\n }\n if (value === null) {\n this._blobs[key] = null;\n return this;\n }\n this._blobs[key] = {\n _type: 'blob',\n data: value.toDictionary(),\n };\n return this;\n }\n /**\n * Sets a boolean value for a given key in the document\n * @param {string} key - The property key where the boolean will be stored\n * @param {boolean} value - The boolean value to store\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set a boolean value\n * doc.setBoolean('isActive', true);\n *\n * // Set multiple boolean values using method chaining\n * doc.setBoolean('isEnabled', true)\n * .setBoolean('isVisible', false)\n * .setBoolean('isLocked', true);\n */\n setBoolean(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets the collection that this document belongs to\n * @param {Collection} collection - The collection instance to associate with this document\n * @example\n * const collection = await database.collection('users');\n * const doc = new MutableDocument('user123');\n * doc.setCollection(collection);\n *\n * // Note: This method is typically used internally.\n * // Documents are usually associated with collections when created through the collection itself\n */\n setCollection(collection) {\n this.collection = collection;\n }\n /**\n * Sets the entire document's data content\n * @param {Dictionary} data - An object containing all the data to be stored in the document\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set complete document data\n * doc.setData({\n * name: 'John Doe',\n * age: 30,\n * email: 'john@example.com'\n * });\n *\n * // Chain with other methods\n * doc.setData({ name: 'John' })\n * .setString('title', 'Mr.');\n *\n * // Replace existing data\n * const newData = { status: 'active', type: 'user' };\n * doc.setData(newData); // Previous data is completely replaced\n */\n setData(data) {\n this.doc = data;\n return this;\n }\n /**\n * Sets a date value for a given key in the document\n * @param {string} key - The property key where the date will be stored\n * @param {Date | null} value - The date to store, or null to remove the date\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set current date\n * doc.setDate('createdAt', new Date());\n *\n * // Set specific date\n * doc.setDate('dueDate', new Date('2024-12-31'));\n *\n * // Remove date\n * doc.setDate('expiredAt', null);\n *\n * // Chain with other methods\n * doc.setDate('createdAt', new Date())\n * .setString('status', 'active');\n *\n * // Note: Dates are stored as ISO 8601 strings in the document\n */\n setDate(key, value) {\n if (value !== null) {\n this._set(key, value.toISOString());\n }\n else {\n this._set(key, value);\n }\n return this;\n }\n /**\n * Sets a dictionary (object) value for a given key in the document\n * @param {string} key - The property key where the dictionary will be stored\n * @param {Dictionary | null} value - The dictionary to store, or null to remove the dictionary\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set a dictionary\n * doc.setDictionary('address', {\n * street: '123 Main St',\n * city: 'Boston',\n * state: 'MA',\n * zip: '02108'\n * });\n *\n * // Remove a dictionary\n * doc.setDictionary('oldAddress', null);\n *\n * // Chain with other methods\n * doc.setDictionary('contact', { email: 'john@example.com' })\n * .setString('status', 'active');\n */\n setDictionary(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a double-precision floating point number for a given key in the document\n * @param {string} key - The property key where the number will be stored\n * @param {number} value - The double value to store\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set a double value\n * doc.setDouble('price', 99.99);\n *\n * // Set a scientific notation\n * doc.setDouble('distance', 1.23e-4);\n *\n * // Chain with other methods\n * doc.setDouble('weight', 75.5)\n * .setDouble('height', 182.3)\n * .setString('unit', 'metric');\n */\n setDouble(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a single-precision floating point number for a given key in the document\n * @param {string} key - The property key where the number will be stored\n * @param {number} value - The float value to store\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set a float value\n * doc.setFloat('temperature', 98.6);\n *\n * // Set a scientific notation\n * doc.setFloat('measurement', 3.14e2);\n *\n * // Chain with other methods\n * doc.setFloat('latitude', 42.3601)\n * .setFloat('longitude', -71.0589)\n * .setString('location', 'Boston');\n *\n * // Note: Use setDouble() instead if you need higher precision\n */\n setFloat(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a 32-bit integer value for a given key in the document\n * @param {string} key - The property key where the integer will be stored\n * @param {number} value - The integer value to store\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set an integer value\n * doc.setInt('age', 25);\n *\n * // Set a negative integer\n * doc.setInt('temperature', -5);\n *\n * // Chain with other methods\n * doc.setInt('quantity', 100)\n * .setInt('minStock', 10)\n * .setString('status', 'in-stock');\n *\n * // Note: For larger numbers, use setLong() instead\n */\n setInt(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a 64-bit integer value for a given key in the document\n * @param {string} key - The property key where the long integer will be stored\n * @param {number} value - The long integer value to store\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set a large integer value\n * doc.setLong('fileSize', 2147483648);\n *\n * // Set a timestamp\n * doc.setLong('timestamp', Date.now());\n *\n * // Chain with other methods\n * doc.setLong('userId', 9876543210)\n * .setString('status', 'active');\n *\n * // Note: Use this instead of setInt() for numbers larger than 2^31 - 1\n */\n setLong(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a numeric value for a given key in the document\n * @param {string} key - The property key where the number will be stored\n * @param {number} value - The numeric value to store\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set various types of numbers\n * doc.setNumber('integer', 42);\n * doc.setNumber('decimal', 3.14);\n * doc.setNumber('scientific', 1.23e-4);\n * doc.setNumber('negative', -10);\n *\n * // Chain with other methods\n * doc.setNumber('price', 99.99)\n * .setString('currency', 'USD');\n *\n * // Note: For specific number types, consider using:\n * // setInt() for 32-bit integers\n * // setLong() for 64-bit integers\n * // setFloat() for single-precision decimals\n * // setDouble() for double-precision decimals\n */\n setNumber(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets the revision ID for the document\n * @param {string} revisionID - The new revision ID to set\n * @example\n * const doc = new MutableDocument('user123');\n * doc.setRevisionID('1-abc123');\n *\n * // Note: THIS METHOD IS USED INTERNALLY ONLY - DO NOT SET THIS MANUALLY.\n * // Revision IDs ARE MANAGED AUTOMATICALLY BY THE DATABASE\n */\n setRevisionID(revisionID) {\n this.revisionID = revisionID;\n }\n /**\n * Sets the sequence number for the document\n * @param {string} revisionID - The new sequence number to set\n * @example\n * const doc = new MutableDocument('user123');\n * doc.setSequence(123);\n *\n * // Note: THIS METHOD IS USED INTERNALLY ONLY - DO NOT SET THIS MANUALLY.\n * // SEQUENCE NUMBERS ARE MANAGED AUTOMATICALLY BY THE DATABASE\n */\n setSequence(sequence) {\n this.sequenceNo = sequence;\n }\n /**\n * Sets a string value for a given key in the document\n * @param {string} key - The property key where the string will be stored\n * @param {string | null} value - The string value to store, or null to remove the value\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set a string value\n * doc.setString('name', 'John Doe');\n *\n * // Remove a string value\n * doc.setString('middleName', null);\n *\n * // Chain with other methods\n * doc.setString('firstName', 'John')\n * .setString('lastName', 'Doe')\n * .setString('email', 'john@example.com');\n */\n setString(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a value of any type for a given key in the document\n * @param {string} key - The property key where the value will be stored\n * @param {T} value - The value to store\n * @template T - The type of the value being stored\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set values of different types\n * doc.setValue('name', 'John')\n * .setValue('age', 30)\n * .setValue('isActive', true)\n * .setValue('scores', [85, 92, 78])\n * .setValue('address', {\n * street: '123 Main St',\n * city: 'Boston'\n * });\n *\n * // Note: Consider using type-specific setters (setString, setNumber, etc.)\n * // when the type is known at development time\n */\n setValue(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Converts the document's blob attachments to a JSON string representation\n * @returns {string} A JSON string containing all blob attachments in the document\n * @example\n * // First, add some blobs to the document\n * const imageBlob = new Blob('image/jpeg', imageBytes);\n * const pdfBlob = new Blob('application/pdf', pdfBytes);\n *\n * doc.setBlob('profile_image', imageBlob)\n * .setBlob('resume', pdfBlob);\n *\n * // Get JSON string of all blobs\n * const blobsJson = doc.blobsToJsonString();\n * // Returns: '{\"profile_image\":{\"_type\":\"blob\",\"data\":{...}},\"resume\":{...}}'\n */\n blobsToJsonString() {\n return JSON.stringify(this._blobs);\n }\n}\n//# sourceMappingURL=mutable-document.js.map","import { Expression } from './expression';\nexport class Ordering {\n static property(property) {\n return this.expression(Expression.property(property));\n }\n static expression(expression) {\n return new SortOrder(expression);\n }\n}\nexport class SortOrder extends Ordering {\n constructor(expression) {\n super();\n this.expression = expression;\n this.isAscending = true;\n }\n ascending() {\n this.isAscending = true;\n return this;\n }\n descending() {\n this.isAscending = false;\n return this;\n }\n asJSON() {\n if (this.isAscending) {\n return this.expression.asJSON();\n }\n return ['DESC', this.expression.asJSON()];\n }\n}\n//# sourceMappingURL=ordering.js.map","export class ReplicatorStatus {\n // eslint-disable-next-line\n constructor(activityLevel, progress, error) {\n this.activityLevel = activityLevel;\n this.progress = progress;\n this.error = error;\n }\n getActivityLevel() {\n return this.activityLevel;\n }\n getProgress() {\n return this.progress;\n }\n getError() {\n return this.error;\n }\n toString() {\n if (this.error !== undefined) {\n return `Status{activityLevel=${this.activityLevel}, progress=${this.progress}}, error=${this.error}`;\n }\n else {\n return `Status{activityLevel=${this.activityLevel}, progress=${this.progress}}`;\n }\n }\n copy() {\n return new ReplicatorStatus(this.activityLevel, this.progress, this.error);\n }\n}\n//# sourceMappingURL=replicator-status.js.map","export class ReplicatorProgress {\n // eslint-disable-next-line\n constructor(completed, total) {\n this.completed = completed;\n this.total = total;\n }\n getCompleted() {\n return this.completed;\n }\n getTotal() {\n return this.total;\n }\n toString() {\n return `Progress{completed=${this.completed}, total=${this.total}}`;\n }\n copy() {\n return new ReplicatorProgress(this.completed, this.total);\n }\n}\n//# sourceMappingURL=replicator-progress.js.map","import { EngineLocator } from './engine-locator';\nimport { ReplicatorStatus } from './replicator-status';\nimport { ReplicatorProgress } from './replicator-progress';\nimport { isDocumentReplicationRepresentation, } from './document-replication';\nexport class Replicator {\n /**\n * Initializes a replicator with the given configuration\n *\n * @param config\n */\n constructor(replicatorId, config) {\n this._replicatorId = undefined;\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n this._didStartStatusChangeListener = false;\n this._replicatorId = replicatorId;\n this._config = config;\n this._documentChangeListener = new Map();\n }\n /**\n * Adds a replicator change listener for listening to status updates\n *\n * @function\n *\n */\n async addChangeListener(listener) {\n this._statusChangeListener = listener;\n const token = this._engine.getUUID();\n if (!this._didStartStatusChangeListener) {\n await this._engine.replicator_AddChangeListener({\n replicatorId: this._replicatorId,\n changeListenerToken: token,\n }, (data, err) => {\n if (err) {\n throw err;\n }\n this.notifyStatusChange(data);\n });\n this._didStartStatusChangeListener = true;\n return token;\n }\n else {\n throw new Error('Listener already started');\n }\n }\n async addDocumentChangeListener(listener) {\n const token = this._engine.getUUID();\n this._documentChangeListener.set(token, listener);\n await this._engine.replicator_AddDocumentChangeListener({\n replicatorId: this._replicatorId,\n changeListenerToken: token,\n }, (data, err) => {\n if (err) {\n throw err;\n }\n if (isDocumentReplicationRepresentation(data)) {\n this.notifyDocumentChange(data, token);\n }\n else {\n throw new Error('Invalid document replication change notification');\n }\n });\n return token;\n }\n /**\n * Creates a new Replicator instance for database synchronization\n * @param {ReplicatorConfiguration} config - The configuration for the replicator\n * @returns {Promise<Replicator>} A Promise that resolves to a new Replicator instance\n * @throws {Error} If the configuration is invalid or required parameters are missing\n */\n static async create(config) {\n if (config.getCollections().length === 0) {\n throw new Error('No collections specified in the configuration');\n }\n const engine = EngineLocator.getEngine(EngineLocator.key);\n const configJson = config.toJson();\n const ret = await engine.replicator_Create({ config: configJson });\n const replicator = new Replicator(ret.replicatorId, config);\n return replicator;\n }\n /**\n * Removes the replicator from the native engine and stops the replicator from running.\n * This will remove all listeners from the replicator. As part of this, if you were to call\n * start after this method, a new replicator would be created Natively and a new replicator\n * id would be created.\n *\n * @function\n */\n async cleanup() {\n await this._engine.replicator_Cleanup({ replicatorId: this._replicatorId });\n this._replicatorId = null;\n }\n /**\n * returns the replicator id used to manage the replicator between the engine and the\n * replicator native implementation. This value should get set when the replicator is\n * created in the native engine via the start method.\n *\n * @function\n */\n getId() {\n return this._replicatorId;\n }\n /**\n * returns a copy of the replicators current configuration.\n * @function\n */\n getConfiguration() {\n return this._config;\n }\n /**\n * returns the replicators current status: its activity level and progress.\n *\n * @function\n */\n getStatus() {\n return this._engine.replicator_GetStatus({\n replicatorId: this._replicatorId,\n });\n }\n /**\n * Get pending document ids for the given collection. If the given collection is not part of the replication, an error will be thrown.\n *\n * @function\n */\n async getPendingDocumentIds(collection) {\n const collections = this._config.getCollections();\n if (!collections.includes(collection)) {\n throw new Error('Collection not part of the replication');\n }\n return await this._engine.replicator_GetPendingDocumentIds({\n replicatorId: this._replicatorId,\n collectionName: collection.name,\n scopeName: collection.scope.name,\n name: collection.database.getName(),\n });\n }\n /**\n * Check whether the document in the given collection is pending to push or not. If the given collection is not part of the replicator, an Exception will be thrown.\n *\n * @function\n */\n async isDocumentPending(documentId, collection) {\n const collections = this._config.getCollections();\n if (!collections.includes(collection)) {\n throw new Error('Collection not part of the replication');\n }\n return await this._engine.replicator_IsDocumentPending({\n replicatorId: this._replicatorId,\n documentId: documentId,\n collectionName: collection.name,\n scopeName: collection.scope.name,\n name: collection.database.getName(),\n });\n }\n notifyDocumentChange(data, token) {\n const documents = data.documents.map((doc) => {\n return {\n scopeName: doc.scopeName,\n collectionName: doc.collectionName,\n id: doc.id,\n flags: doc.flags,\n error: doc.error,\n };\n });\n const documentReplication = { isPush: data.isPush, documents: documents };\n this._documentChangeListener.get(token)(documentReplication);\n }\n notifyStatusChange(data) {\n let status;\n const activityLevel = Number(data.activityLevel);\n const replicatorProgress = new ReplicatorProgress(data.progress.completed, data.progress.total);\n if (data.error && typeof data.error.message === 'string') {\n status = new ReplicatorStatus(activityLevel, replicatorProgress, data.error.message);\n }\n else {\n status = new ReplicatorStatus(activityLevel, replicatorProgress, undefined);\n }\n const statusChange = { status: status };\n this._statusChangeListener(statusChange);\n }\n /**\n * Removes a change listener with the given listener token.\n *\n * @function\n */\n async removeChangeListener(token) {\n await this._engine.replicator_RemoveChangeListener({\n replicatorId: this._replicatorId,\n changeListenerToken: token,\n });\n }\n /**\n * Starts the replicator with an option to reset the local checkpoint of the replicator. When the\n * local checkpoint is reset, the replicator will sync all changes since the beginning of time from\n * the remote database.\n *\n * This method returns immediately; the replicator runs asynchronously and will report its progress\n * through the replicator change notification.\n *\n * @function\n *\n * @param {boolean} reset Resets the local checkpoint before starting the replicator.\n */\n async start(reset) {\n if (reset) {\n await this._engine.replicator_ResetCheckpoint({\n replicatorId: this._replicatorId,\n });\n return;\n }\n await this._engine.replicator_Start({ replicatorId: this._replicatorId });\n }\n /**\n * Stops a running replicator. This method returns immediately; when the replicator actually\n * stops, the replicator will change its status's activity level to\n * `ReplicatorActivityLevel.STOPPED` and the replicator change notification will be notified\n * accordingly.\n *\n * @function\n */\n stop() {\n return this._engine.replicator_Stop({ replicatorId: this._replicatorId });\n }\n}\n//# sourceMappingURL=replicator.js.map","export var ReplicatorActivityLevel;\n(function (ReplicatorActivityLevel) {\n // eslint-disable-next-line\n ReplicatorActivityLevel[ReplicatorActivityLevel[\"STOPPED\"] = 0] = \"STOPPED\";\n // eslint-disable-next-line\n ReplicatorActivityLevel[ReplicatorActivityLevel[\"OFFLINE\"] = 1] = \"OFFLINE\";\n // eslint-disable-next-line\n ReplicatorActivityLevel[ReplicatorActivityLevel[\"CONNECTING\"] = 2] = \"CONNECTING\";\n // eslint-disable-next-line\n ReplicatorActivityLevel[ReplicatorActivityLevel[\"IDLE\"] = 3] = \"IDLE\";\n // eslint-disable-next-line\n ReplicatorActivityLevel[ReplicatorActivityLevel[\"BUSY\"] = 4] = \"BUSY\";\n})(ReplicatorActivityLevel || (ReplicatorActivityLevel = {}));\n//# sourceMappingURL=replicator-activity-level.js.map","export function isReplicatorChange(obj) {\n try {\n const object = obj;\n return (object.activityLevel != null &&\n object.progress != null &&\n object.progress.completed != null &&\n object.progress.total != null);\n }\n catch (e) {\n console.warn('Invalid ReplicatorChange', e);\n return false;\n }\n}\n//# sourceMappingURL=replicator-change.js.map","import { ReplicatorConfiguration } from './replicator-configuration';\nimport { Authenticator } from './authenticator';\nexport class SessionAuthenticator extends Authenticator {\n // eslint-disable-next-line\n constructor(sessionID, cookieName = SessionAuthenticator.DEFAULT_SYNC_GATEWAY_SESSION_ID_NAME) {\n super();\n this.sessionID = sessionID;\n this.cookieName = cookieName;\n }\n /**\n * Configures session-based authentication options for a replicator using cookies\n * @param {Dictionary} options - The options to be modified\n */\n authenticate(options) {\n const current = options[ReplicatorConfiguration.CBLReplicatorOptionCookies] || '';\n let cookieStr = current;\n if (current.length) {\n cookieStr += '; ';\n }\n cookieStr += `${this.cookieName}=${this.sessionID}`;\n options[ReplicatorConfiguration.CBLReplicatorOptionCookies] = cookieStr;\n }\n /**\n * Returns the session ID used for authentication\n * @returns {string} The current session ID\n */\n getSessionID() {\n return this.sessionID;\n }\n /**\n * Returns the name of the cookie used for session authentication\n * @returns {string} The cookie name (defaults to 'SyncGatewaySession' if not specified)\n */\n getCookieName() {\n return this.cookieName;\n }\n getType() {\n return 'session';\n }\n /**\n * Converts the session authenticator configuration to a JSON-compatible object\n * @returns {{ cookieName: string, sessionID: string }} An object containing the cookie name and session ID\n */\n toJson() {\n return {\n cookieName: this.cookieName,\n sessionID: this.sessionID,\n };\n }\n}\nSessionAuthenticator.DEFAULT_SYNC_GATEWAY_SESSION_ID_NAME = 'SyncGatewaySession';\n//# sourceMappingURL=session-authenticator.js.map","export class URLEndpoint {\n // eslint-disable-next-line\n constructor(url) {\n this.url = url;\n }\n toJson() {\n return {\n url: this.url,\n };\n }\n}\n//# sourceMappingURL=url-endpoint.js.map","import { Expression } from './expression';\nexport class VariableExpression extends Expression {\n // eslint-disable-next-line\n constructor(name) {\n super();\n this.name = name;\n }\n getName() {\n return this.name;\n }\n asJSON() {\n return ['?' + this.name];\n }\n}\n//# sourceMappingURL=variable-expression.js.map","import { registerPlugin } from '@capacitor/core';\nconst IonicCouchbaseLite = registerPlugin('CblIonicPlugin');\nexport { IonicCouchbaseLite };\n//# sourceMappingURL=ionic-couchbase-lite.js.map","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nlet getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { EngineLocator, } from '../cblite-js/cblite';\nimport { IonicCouchbaseLite } from '../ionic-couchbase-lite';\nimport { v4 as uuidv4 } from 'uuid';\nexport class CapacitorEngine {\n constructor() {\n this._defaultCollectionName = '_default';\n this._defaultScopeName = '_default';\n EngineLocator.registerEngine(EngineLocator.key, this);\n }\n collection_AddChangeListener(args, cb) {\n return IonicCouchbaseLite.collection_AddChangeListener({\n name: args.name,\n scopeName: args.scopeName,\n collectionName: args.collectionName,\n changeListenerToken: args.changeListenerToken,\n }, cb);\n }\n collection_AddDocumentChangeListener(args, cb) {\n return IonicCouchbaseLite.collection_AddDocumentChangeListener({\n name: args.name,\n scopeName: args.scopeName,\n collectionName: args.collectionName,\n changeListenerToken: args.changeListenerToken,\n documentId: args.documentId,\n }, cb);\n }\n async collection_CreateCollection(args) {\n return IonicCouchbaseLite.collection_CreateCollection(args);\n }\n async collection_CreateIndex(args) {\n return IonicCouchbaseLite.collection_CreateIndex(args);\n }\n async collection_DeleteCollection(args) {\n return IonicCouchbaseLite.collection_DeleteCollection(args);\n }\n async collection_DeleteDocument(args) {\n return IonicCouchbaseLite.collection_DeleteDocument(args);\n }\n async collection_DeleteIndex(args) {\n return IonicCouchbaseLite.collection_DeleteIndex(args);\n }\n async collection_GetCollections(args) {\n return IonicCouchbaseLite.collection_GetCollections(args);\n }\n async collection_GetCollection(args) {\n return IonicCouchbaseLite.collection_GetCollection(args);\n }\n async collection_GetCount(args) {\n return IonicCouchbaseLite.collection_GetCount(args);\n }\n async collection_GetDefault(args) {\n return IonicCouchbaseLite.collection_GetDefault(args);\n }\n async collection_GetDocument(args) {\n return IonicCouchbaseLite.collection_GetDocument(args);\n }\n async collection_GetDocumentExpiration(args) {\n return IonicCouchbaseLite.collection_GetDocumentExpiration(args);\n }\n async collection_GetBlobContent(args) {\n const data = await IonicCouchbaseLite.collection_GetBlobContent(args);\n return { data: new Uint8Array(data.data).buffer };\n }\n async collection_GetIndexes(args) {\n return IonicCouchbaseLite.collection_GetIndexes(args);\n }\n async collection_PurgeDocument(args) {\n return IonicCouchbaseLite.collection_PurgeDocument(args);\n }\n async collection_RemoveChangeListener(args) {\n return IonicCouchbaseLite.collection_RemoveChangeListener(args);\n }\n async collection_RemoveDocumentChangeListener(args) {\n return IonicCouchbaseLite.collection_RemoveChangeListener(args);\n }\n async collection_Save(args) {\n return IonicCouchbaseLite.collection_Save(args);\n }\n async collection_SetDocumentExpiration(args) {\n return IonicCouchbaseLite.collection_SetDocumentExpiration(args);\n }\n async database_Close(args) {\n return IonicCouchbaseLite.database_Close(args);\n }\n async database_Copy(args) {\n return IonicCouchbaseLite.database_Copy(args);\n }\n async database_ChangeEncryptionKey(args) {\n return IonicCouchbaseLite.database_ChangeEncryptionKey(args);\n }\n /**\n * @deprecated This function will be removed in future versions. Use colllection_CreateIndex instead.\n */\n async database_CreateIndex(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n indexName: args.indexName,\n index: args.index,\n };\n return IonicCouchbaseLite.collection_CreateIndex(colArgs);\n }\n async database_Delete(args) {\n return IonicCouchbaseLite.database_Delete(args);\n }\n async database_DeleteWithPath(args) {\n return IonicCouchbaseLite.database_DeleteWithPath(args);\n }\n /**\n * @deprecated This will be removed in future versions. Use collection_GetCount instead.\n */\n async database_DeleteDocument(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n docId: args.docId,\n concurrencyControl: args.concurrencyControl,\n };\n return IonicCouchbaseLite.collection_DeleteDocument(colArgs);\n }\n /**\n * @deprecated This function will be removed in future versions. Use colllection_CreateIndex instead.\n */\n async database_DeleteIndex(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n indexName: args.indexName,\n };\n return IonicCouchbaseLite.collection_DeleteIndex(colArgs);\n }\n async database_Exists(args) {\n return IonicCouchbaseLite.database_Exists(args);\n }\n /**\n * @deprecated This will be removed in future versions. Use collection_GetCount instead.\n */\n async database_GetCount(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n };\n return IonicCouchbaseLite.collection_GetCount(colArgs);\n }\n /**\n * @deprecated This will be removed in future versions. Use collection_GetCount instead.\n */\n async database_GetDocument(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n docId: args.docId,\n };\n return IonicCouchbaseLite.collection_GetDocument(colArgs);\n }\n /**\n * @deprecated This function will be removed in future versions. Use colllection_CreateIndex instead.\n */\n async database_GetIndexes(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n };\n return IonicCouchbaseLite.collection_GetIndexes(colArgs);\n }\n async database_GetPath(args) {\n return IonicCouchbaseLite.database_GetPath(args);\n }\n async database_Open(args) {\n return IonicCouchbaseLite.database_Open(args);\n }\n async database_PerformMaintenance(args) {\n return IonicCouchbaseLite.database_PerformMaintenance(args);\n }\n /**\n * @deprecated This will be removed in future versions. Use collection_GetCount instead.\n */\n async database_PurgeDocument(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n docId: args.docId,\n };\n return IonicCouchbaseLite.collection_PurgeDocument(colArgs);\n }\n /**\n * @deprecated This function will be removed in future versions. Use colllection_Save instead.\n */\n async database_Save(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n id: args.id,\n document: JSON.stringify(args.document),\n blobs: JSON.stringify(args.blobs),\n concurrencyControl: args.concurrencyControl,\n };\n return IonicCouchbaseLite.collection_Save(colArgs);\n }\n async database_SetFileLoggingConfig(args) {\n return IonicCouchbaseLite.database_SetFileLoggingConfig(args);\n }\n async database_SetLogLevel(args) {\n return IonicCouchbaseLite.database_SetLogLevel(args);\n }\n /**\n * @deprecated This will be removed in future versions. Use collection_GetCount instead.\n */\n async document_GetBlobContent(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n documentId: args.documentId,\n key: args.key\n };\n const data = await IonicCouchbaseLite.collection_GetBlobContent(colArgs);\n return { data: new Uint8Array(data.data).buffer };\n }\n async file_GetDefaultPath() {\n return IonicCouchbaseLite.file_GetDefaultPath();\n }\n async file_GetFileNamesInDirectory(args) {\n return IonicCouchbaseLite.file_GetFileNamesInDirectory(args);\n }\n async plugin_Configure(config) {\n return IonicCouchbaseLite.plugin_Configure({\n config,\n });\n }\n query_AddChangeListener(args, cb) {\n return IonicCouchbaseLite.query_AddChangeListener({\n name: args.name,\n query: args.query,\n parameters: args.parameters,\n changeListenerToken: args.changeListenerToken,\n }, cb);\n }\n async query_Execute(args) {\n return await IonicCouchbaseLite.query_Execute(args);\n }\n async query_Explain(args) {\n return await IonicCouchbaseLite.query_Explain(args);\n }\n async query_RemoveChangeListener(args) {\n return IonicCouchbaseLite.query_RemoveChangeListener(args);\n }\n replicator_AddChangeListener(args, cb) {\n return IonicCouchbaseLite.replicator_AddChangeListener(args, cb);\n }\n replicator_AddDocumentChangeListener(args, cb) {\n return IonicCouchbaseLite.replicator_AddDocumentChangeListener(args, cb);\n }\n async replicator_Cleanup(args) {\n return IonicCouchbaseLite.replicator_Cleanup(args);\n }\n async replicator_Create(args) {\n return await IonicCouchbaseLite.replicator_Create(args);\n }\n async replicator_GetStatus(args) {\n return IonicCouchbaseLite.replicator_GetStatus(args);\n }\n async replicator_GetPendingDocumentIds(args) {\n return IonicCouchbaseLite.replicator_GetPendingDocumentIds(args);\n }\n async replicator_IsDocumentPending(args) {\n return IonicCouchbaseLite.replicator_IsDocumentPending(args);\n }\n async replicator_ResetCheckpoint(args) {\n return IonicCouchbaseLite.replicator_ResetCheckpoint(args);\n }\n async replicator_RemoveChangeListener(args) {\n return IonicCouchbaseLite.replicator_RemoveChangeListener(args);\n }\n async replicator_Start(args) {\n return IonicCouchbaseLite.replicator_Start(args);\n }\n async replicator_Stop(args) {\n return IonicCouchbaseLite.replicator_Stop(args);\n }\n async scope_GetDefault(args) {\n return IonicCouchbaseLite.scope_GetDefault(args);\n }\n async scope_GetScope(args) {\n return IonicCouchbaseLite.scope_GetScope(args);\n }\n async scope_GetScopes(args) {\n return IonicCouchbaseLite.scope_GetScopes(args);\n }\n getUUID() {\n return uuidv4().toString();\n }\n}\n//# sourceMappingURL=capacitor-engine.js.map"],"names":["IndexType","ReplicatorType","ConcurrencyControl","LogDomain","LogLevel","MaintenanceType","ReplicatedDocumentFlag","BinaryOpType","CompoundExpressionOpType","UnaryExpressionOpType","ReplicatorActivityLevel","registerPlugin","uuidv4"],"mappings":";;;;;;AAAWA,2BAAU;AACrB,CAAC,UAAU,SAAS,EAAE;AACtB;AACA,IAAI,SAAS,CAAC,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EAAE;AAC/B,QAAQ,OAAO,kBAAkB,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AACvD,KAAK;AACL,IAAI,MAAM,eAAe,CAAC,IAAI,EAAE;AAChC,QAAQ,OAAO,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;AACxD,KAAK;AACL,IAAI,OAAO,GAAG;AACd,QAAQ,OAAOC,EAAM,EAAE,CAAC,QAAQ,EAAE,CAAC;AACnC,KAAK;AACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.cjs.js","sources":["esm/cblite-js/cblite/src/abstract-index.js","esm/cblite-js/cblite/src/authenticator.js","esm/cblite-js/cblite/src/collection-config.js","esm/cblite-js/cblite/src/replicator-configuration.js","esm/cblite-js/cblite/src/basic-authenticator.js","esm/cblite-js/cblite/src/blob.js","esm/cblite-js/cblite/src/collation.js","esm/cblite-js/cblite/src/engine-locator.js","esm/cblite-js/cblite/src/scope.js","esm/cblite-js/cblite/src/document.js","esm/cblite-js/cblite/src/collection.js","esm/cblite-js/cblite/src/concurrency-control.js","esm/cblite-js/cblite/src/couchbase-lite-exception.js","esm/cblite-js/cblite/src/database-configuration.js","esm/cblite-js/cblite/src/database-logging.js","esm/cblite-js/cblite/src/parameter.js","esm/cblite-js/cblite/src/parameters.js","esm/cblite-js/cblite/src/query.js","esm/cblite-js/cblite/src/database.js","esm/cblite-js/cblite/src/replicated-document.js","esm/cblite-js/cblite/src/document-replication.js","esm/cblite-js/cblite/src/expression.js","esm/cblite-js/cblite/src/file-system.js","esm/cblite-js/cblite/src/full-text-expression.js","esm/cblite-js/cblite/src/full-text-index.js","esm/cblite-js/cblite/src/value-index.js","esm/cblite-js/cblite/src/index-builder.js","esm/cblite-js/cblite/src/meta-expression.js","esm/cblite-js/cblite/src/meta.js","esm/cblite-js/cblite/src/mutable-document.js","esm/cblite-js/cblite/src/ordering.js","esm/cblite-js/cblite/src/replicator-status.js","esm/cblite-js/cblite/src/replicator-progress.js","esm/cblite-js/cblite/src/replicator.js","esm/cblite-js/cblite/src/replicator-activity-level.js","esm/cblite-js/cblite/src/replicator-change.js","esm/cblite-js/cblite/src/session-authenticator.js","esm/cblite-js/cblite/src/url-endpoint.js","esm/cblite-js/cblite/src/variable-expression.js","esm/cblite-js/cblite/src/url-endpoint-listener.js","esm/ionic-couchbase-lite.js","../node_modules/uuid/dist/esm-browser/rng.js","../node_modules/uuid/dist/esm-browser/stringify.js","../node_modules/uuid/dist/esm-browser/native.js","../node_modules/uuid/dist/esm-browser/v4.js","esm/couchbase-lite/capacitor-engine.js"],"sourcesContent":["export var IndexType;\n(function (IndexType) {\n // eslint-disable-next-line\n IndexType[IndexType[\"Value\"] = 0] = \"Value\";\n // eslint-disable-next-line\n IndexType[IndexType[\"FullText\"] = 1] = \"FullText\";\n // eslint-disable-next-line\n IndexType[IndexType[\"Geo\"] = 2] = \"Geo\";\n})(IndexType || (IndexType = {}));\nexport class AbstractIndex {\n}\n//# sourceMappingURL=abstract-index.js.map","export class Authenticator {\n}\n//# sourceMappingURL=authenticator.js.map","export class CollectionConfig {\n /**\n * The collection configuration that can be configured specifically for the replication.\n */\n constructor(channels, documentIds) {\n this.channels = channels ?? [];\n this.documentIds = documentIds ?? [];\n }\n /**\n * An array of Sync Gateway/App Services channel names to pull from. Ignored for push replication. If unset, all accessible channels will be pulled. Note: channels that are not accessible to the user will be ignored by Sync Gateway.\n * @param {string[]} channels - Array of channel names to configure for the collection\n * @example\n * const config = new CollectionConfig();\n * config.setChannels(['channel1', 'channel2']);\n */\n setChannels(channels) {\n this.channels = channels;\n }\n /**\n * A set of document IDs to filter by: if given, only documents with these IDs will be pushed and/or pulled.\n * @param {string[]} documentIds - Array of document IDs to include in replication\n * @example\n * const config = new CollectionConfig();\n * config.setDocumentIDs(['doc1', 'doc2', 'doc3']);\n */\n setDocumentIDs(documentIds) {\n this.documentIds = documentIds;\n }\n /**\n * Set a filter function for push replication. Only documents for which the function returns true will be pushed.\n * Inside filter body document and flag object methods can't be used.\n * @param {ReplicationFilter} filter - Function that returns true to replicate the document\n * @example\n * const config = new CollectionConfig();\n * config.setPushFilter((doc, flags) => {\n * return doc[\"type\"] === 'user' && !flags.includes(ReplicatedDocumentFlag.DELETED);\n * });\n */\n setPushFilter(filter) {\n // Convert function to string for bridge transport\n this.pushFilter = filter.toString();\n }\n /**\n * Set a filter function for pull replication. Only documents for which the function returns true will be pulled.\n * Inside filter body document and flag object methods can't be used.\n * @param {ReplicationFilter} filter - Function that returns true to replicate the document\n * @example\n * const config = new CollectionConfig();\n * config.setPullFilter((doc, flags) => {\n * return doc[\"type\"] === 'user' && !flags.includes(ReplicatedDocumentFlag.DELETED);\n * });\n */\n setPullFilter(filter) {\n // Convert function to string for bridge transport\n this.pullFilter = filter.toString();\n }\n /**\n * Get the pull filter function string\n */\n getPushFilter() {\n return this.pushFilter;\n }\n /**\n * Get the pull filter function string\n */\n getPullFilter() {\n return this.pullFilter;\n }\n}\n//# sourceMappingURL=collection-config.js.map","import { CollectionConfig } from './collection-config';\nexport var ReplicatorType;\n(function (ReplicatorType) {\n ReplicatorType[\"PUSH_AND_PULL\"] = \"PUSH_AND_PULL\";\n ReplicatorType[\"PUSH\"] = \"PUSH\";\n ReplicatorType[\"PULL\"] = \"PULL\";\n})(ReplicatorType || (ReplicatorType = {}));\nexport class ReplicatorConfiguration {\n constructor(target) {\n this.target = target;\n this.replicatorType = ReplicatorType.PUSH_AND_PULL;\n this.target = target;\n this.collections = new Map();\n this.continuous = ReplicatorConfiguration.defaultContinuous;\n this.autoPurgeEnabled = ReplicatorConfiguration.defaultEnableAutoPurge;\n this.heartbeat = ReplicatorConfiguration.defaultHeartbeat;\n this.acceptOnlySelfSignedCerts =\n ReplicatorConfiguration.defaultSelfSignedCertificateOnly;\n this.acceptParentDomainCookies =\n ReplicatorConfiguration.defaultAcceptParentDomainCookies;\n this.allowReplicatingInBackground =\n ReplicatorConfiguration.defaultAllowReplicatingInBackground;\n this.maxAttempts = ReplicatorConfiguration.defaultMaxAttemptsSingleShot;\n this.maxAttemptWaitTime =\n ReplicatorConfiguration.defaultMaxAttemptsWaitTime;\n this.authenticator = undefined;\n this.headers = undefined;\n this.pinnedServerCertificate = undefined;\n }\n /**\n * Add a collection used for the replication with an optional collection configuration. If the collection has\n * been added before, the previous added and its configuration if specified will be replaced. If the config is omitted or a null or undefined configuration is specified, a default empty configuration will be applied.\n *\n * @function\n */\n // eslint-disable-next-line\n addCollection(collection, config) {\n const cols = [];\n cols.push(collection);\n this.removeCollection(collection);\n if (config === undefined || config === null) {\n config = new CollectionConfig(undefined, undefined);\n }\n this.collections.set(cols, config);\n }\n /**\n * Add multiple collections used for the replication with an optional shared collection configuration.\n * If any of the collections have been added before, the previously added collections and their\n * configuration if specified will be replaced. Adding an empty collection array will be no-ops. if\n * specified will be replaced. If a null or undefined configuration is specified, a default empty configuration will be\n * applied.\n *\n * @function\n */\n addCollections(collections, config) {\n this.removeCollections(collections);\n if (config === undefined || config === null) {\n config = new CollectionConfig(undefined, undefined);\n }\n this.collections.set(collections, config);\n }\n /**\n * returns the setting used to specify the replicator to accept any and only self-signed certs. Any non-self-signed\n * certs will be rejected to avoid accidentally using this mode with the non-self-signed certs in production.\n *\n * @function\n */\n getAcceptOnlySelfSignedCerts() {\n return this.acceptOnlySelfSignedCerts;\n }\n /**\n * returns the setting used as the option to remove the restriction that does not allow the replicator to save the\n * parent-domain cookies, the cookies whose domains are the parent domain of the remote host, from the HTTP\n * response. For example, when the option is set to true, the cookies whose domain are “.foo.com”\n * returned by “bar.foo.com” host will be permitted to save.\n *\n * This option is disabled by default which means that the parent-domain cookies are not permitted to save by default.\n *\n * @function\n */\n getAcceptParentDomainCookies() {\n return this.acceptParentDomainCookies;\n }\n /**\n * returns the setting which is used to allow the replicator to continue replicating in the background.\n * The default value is false, which means that the replicator will suspend itself when the\n * replicator detects that the application is running in the background.\n *\n * If setting the value to true, the developer MUST ensure that the application requests\n * for extending the background task properly in the configuration. See your platforms documentation\n * more information.\n *\n * @function\n */\n getAllowReplicatingInBackground() {\n return this.allowReplicatingInBackground;\n }\n /**\n * return the auto purge feature setting\n *\n * The default value is true which means that the document will be automatically purged by the\n * pull replicator when the user loses access to the document from both removed and revoked scenarios.\n *\n * When the property is set to false, this behavior is disabled and access removed event\n * will be sent to any document listeners that are active on the replicator. For performance\n * reasons, the document listeners must be added **before** the replicator is started, or\n * they will not receive the events.\n *\n * Note: Auto purge will not be performed when documentIDs filter is specified.\n *\n * @function\n */\n getAutoPurgeEnabled() {\n return this.autoPurgeEnabled;\n }\n /**\n * returns the Authenticator to authenticate with a remote target.\n *\n * @function\n */\n getAuthenticator() {\n return this.authenticator;\n }\n /**\n * returns collections used for the replication.\n *\n * @function\n */\n getCollections() {\n const keys = this.collections.keys();\n return Array.from(keys).flat();\n }\n /**\n * returns a copy of the collection’s config. If the config needs to be changed for the collection, the\n * collection will need to be re-added with the updated config.\n *\n * @function\n */\n getCollectionConfig(collection) {\n for (const key of this.collections.keys()) {\n if (key.includes(collection)) {\n return this.collections.get(key);\n }\n }\n return null;\n }\n /**\n * returns the continuous flag indicating whether the replicator should stay\n * active indefinitely to replicate changed documents.\n *\n * @function\n */\n getContinuous() {\n return this.continuous;\n }\n /**\n * returns extra HTTP headers to send in all requests to the remote target.\n *\n * @function\n */\n getHeaders() {\n return this.headers;\n }\n /**\n * returns the heartbeat interval in second.\n *\n * The interval when the replicator sends the ping message to check whether the other peer is\n * still alive. Default heartbeat is ``ReplicatorConfiguration.defaultHeartbeat`` secs.\n *\n * Note: Setting the heartbeat to negative value will result in an Exception\n * being thrown. For backward compatibility, setting it to zero will result in\n * default 300 secs internally.\n *\n * @function\n */\n getHeartbeat() {\n return this.heartbeat;\n }\n /**\n * returns the maximum attempts to perform retry. The retry attempt will be reset when the replicator is\n * able to connect and replicate with the remote server again.\n *\n * Default _maxAttempts_ is ``ReplicatorConfiguration.defaultMaxAttemptsSingleShot`` times\n * for single shot replicators and ``ReplicatorConfiguration.defaultMaxAttemptsContinuous`` times\n * for continuous replicators.\n *\n * Settings the value to 1, will perform an initial request and if there is a transient error\n * occurs, will stop without retry.\n *\n * Note: For backward compatibility, setting it to zero will result in default 10 internally.\n *\n * @function\n */\n getMaxAttempts() {\n return this.maxAttempts;\n }\n /**\n * returns the max wait time for the next attempt(retry) in seconds.\n *\n * The exponential backoff for calculating the wait time will be used by default and cannot be\n * customized. Default max attempts is `ReplicatorConfiguration.defaultMaxAttemptsWaitTime` secs.\n *\n * Set the maxAttemptWaitTime to negative value will result in an Exception\n * being thrown.\n *\n * Note: For backward compatibility, setting it to zero will result in default secs internally.\n *\n * @function\n */\n getMaxAttemptWaitTime() {\n return this.maxAttemptWaitTime;\n }\n /**\n * returns the string value of the remote target's SSL certificate that was previously set in the configuration.\n *\n * Note: The pinned cert will be evaluated against any certs in a cert chain,\n * and the cert chain will be valid only if the cert chain contains the pinned cert.\n *\n * @function\n */\n getPinnedServerCertificate() {\n return this.pinnedServerCertificate;\n }\n /**\n * returns the replicator type indicating the direction of the replicator.\n *\n * @function\n */\n getReplicatorType() {\n return this.replicatorType;\n }\n /**\n * Remove a group of collections from the configuration. If the collection doesn’t exist, this operation will be no ops.\n *\n * @function\n */\n removeCollections(collections) {\n for (const col of collections) {\n for (const key of this.collections.keys()) {\n if (key.includes(col)) {\n this.collections.delete(key);\n }\n }\n }\n }\n /**\n * Remove the collection. If the collection doesn’t exist, this operation will be no ops.\n *\n * @function\n */\n removeCollection(collection) {\n for (const key of this.collections.keys()) {\n if (key.includes(collection)) {\n const newCols = key.filter((col) => col !== collection);\n const config = this.collections.get(key);\n this.collections.delete(key);\n this.collections.set(newCols, config);\n }\n }\n }\n /**\n * Specify the replicator to accept any and only self-signed certs. Any non-self-signed certs will be rejected\n * to avoid accidentally using this mode with the non-self-signed certs in production.\n * Default value is ``ReplicatorConfiguration.defaultSelfSignedCertificateOnly``\n *\n * @function\n */\n setAcceptOnlySelfSignedCerts(selfSignedCerts) {\n this.acceptOnlySelfSignedCerts = selfSignedCerts;\n }\n /**\n * The option to remove the restriction that does not allow the replicator to save the parent-domain\n * cookies, the cookies whose domains are the parent domain of the remote host, from the HTTP\n * response. For example, when the option is set to true, the cookies whose domain are “.foo.com”\n * returned by “bar.foo.com” host will be permitted to save.\n *\n * This option is disabled by default (See ``ReplicatorConfiguration.defaultAcceptParentCookies``)\n * which means that the parent-domain cookies are not permitted to save by default.\n *\n * @function\n */\n setAcceptParentDomainCookies(acceptParentDomainCookies) {\n this.acceptParentDomainCookies = acceptParentDomainCookies;\n }\n /**\n * Allows the replicator to continue replicating in the background. The default\n * value is false, which means that the replicator will suspend itself when the\n * replicator detects that the application is running in the background.\n *\n * If setting the value to true, the developer MUST ensure that the application requests\n * for extending the background task properly in the configuration. See your platforms documentation\n * more information.\n *\n * @function\n */\n setAllowReplicatingInBackground(allowReplicatingInBackground) {\n this.allowReplicatingInBackground = allowReplicatingInBackground;\n }\n /**\n * To enable/disable the auto purge feature\n *\n * The default value is true which means that the document will be automatically purged by the\n * pull replicator when the user loses access to the document from both removed and revoked scenarios.\n *\n * When the property is set to false, this behavior is disabled and access removed event\n * will be sent to any document listeners that are active on the replicator. For performance\n * reasons, the document listeners must be added **before** the replicator is started, or\n * they will not receive the events.\n *\n * Note: Auto purge will not be performed when documentIDs filter is specified.\n *\n * @function\n */\n setAutoPurgeEnabled(autoPurgeEnabled) {\n this.autoPurgeEnabled = autoPurgeEnabled;\n }\n /**\n * The Authenticator to authenticate with a remote target.\n *\n * @function\n */\n setAuthenticator(authenticator) {\n this.authenticator = authenticator;\n }\n /**\n * The continuous flag indicating whether the replicator should stay\n * active indefinitely to replicate changed documents.\n *\n * @function\n */\n setContinuous(continuous) {\n this.continuous = continuous;\n }\n /**\n * Extra HTTP headers to send in all requests to the remote target.\n *\n * @function\n */\n setHeaders(headers) {\n this.headers = headers;\n }\n /**\n * The heartbeat interval in second.\n *\n * The interval when the replicator sends the ping message to check whether the other peer is\n * still alive. Default heartbeat is ``ReplicatorConfiguration.defaultHeartbeat`` secs.\n *\n * Note: Setting the heartbeat to negative value will result in an Exception\n * being thrown. For backward compatibility, setting it to zero will result in\n * default 300 secs internally.\n *\n * @function\n */\n setHeartbeat(heartbeat) {\n this.heartbeat = heartbeat;\n }\n /**\n * The maximum attempts to perform retry. The retry attempt will be reset when the replicator is\n * able to connect and replicate with the remote server again.\n *\n * Default _maxAttempts_ is ``ReplicatorConfiguration.defaultMaxAttemptsSingleShot`` times\n * for single shot replicators and ``ReplicatorConfiguration.defaultMaxAttemptsContinuous`` times\n * for continuous replicators.\n *\n * Settings the value to 1, will perform an initial request and if there is a transient error\n * occurs, will stop without retry.\n *\n * Note: For backward compatibility, setting it to zero will result in default 10 internally.\n *\n * @function\n */\n setMaxAttempts(maxAttempts) {\n this.maxAttempts = maxAttempts;\n }\n /**\n * Max wait time for the next attempt(retry) in seconds.\n *\n * The exponential backoff for calculating the wait time will be used by default and cannot be\n * customized. Default max attempts is `ReplicatorConfiguration.defaultMaxAttemptsWaitTime` secs.\n *\n * Set the maxAttemptWaitTime to negative value will result in an Exception\n * being thrown.\n *\n * Note: For backward compatibility, setting it to zero will result in default secs internally.\n *\n * @function\n */\n setMaxAttemptWaitTime(maxAttemptWaitTime) {\n if (maxAttemptWaitTime >= 0) {\n this.maxAttemptWaitTime = maxAttemptWaitTime;\n }\n else {\n throw new Error('Error: maxAttemptWaitTime cannot be negative.');\n }\n }\n /**\n * The remote target's SSL certificate.\n *\n * Note: The pinned cert will be evaluated against any certs in a cert chain,\n * and the cert chain will be valid only if the cert chain contains the pinned cert.\n *\n * @function\n */\n setPinnedServerCertificate(pinnedServerCertificate) {\n this.pinnedServerCertificate = pinnedServerCertificate;\n }\n /**\n * Replicator type indicating the direction of the replicator.\n *\n * @function\n */\n setReplicatorType(replicatorType) {\n this.replicatorType = replicatorType;\n }\n clone() {\n const clonedConfig = new ReplicatorConfiguration(this.target);\n // Copy primitive and object properties\n clonedConfig.setContinuous(this.getContinuous());\n clonedConfig.setHeaders({ ...this.getHeaders() }); // Deep copy headers\n clonedConfig.setAuthenticator(this.getAuthenticator());\n clonedConfig.setPinnedServerCertificate(this.getPinnedServerCertificate());\n clonedConfig.setAllowReplicatingInBackground(this.getAllowReplicatingInBackground());\n clonedConfig.setAutoPurgeEnabled(this.getAutoPurgeEnabled());\n clonedConfig.setAcceptParentDomainCookies(this.getAcceptParentDomainCookies());\n clonedConfig.setMaxAttempts(this.getMaxAttempts());\n clonedConfig.setMaxAttemptWaitTime(this.getMaxAttemptWaitTime());\n clonedConfig.setHeartbeat(this.getHeartbeat());\n clonedConfig.setReplicatorType(this.getReplicatorType());\n // Clone collections\n for (const [collections, config] of this.collections) {\n clonedConfig.addCollections([...collections], config);\n }\n return clonedConfig;\n }\n toJson() {\n const config = {\n acceptParentDomainCookies: this.acceptParentDomainCookies,\n acceptSelfSignedCerts: this.acceptOnlySelfSignedCerts,\n allowReplicationInBackground: this.allowReplicatingInBackground,\n autoPurgeEnabled: this.autoPurgeEnabled,\n authenticator: null,\n collectionConfig: null,\n continuous: this.continuous,\n headers: null,\n heartbeat: this.heartbeat,\n maxAttempts: this.maxAttempts,\n maxAttemptWaitTime: this.maxAttemptWaitTime,\n pinnedServerCertificate: null,\n replicatorType: this.replicatorType,\n target: this.target.toJson(),\n };\n if (this.headers !== undefined) {\n config.headers = this.headers;\n }\n else {\n config.headers = '';\n }\n if (this.pinnedServerCertificate !== undefined) {\n config.pinnedServerCertificate = this.pinnedServerCertificate;\n }\n else {\n config.pinnedServerCertificate = '';\n }\n if (this.authenticator !== undefined) {\n config.authenticator = {\n type: this.authenticator.getType(),\n data: this.authenticator.toJson(),\n };\n }\n else {\n config.authenticator = '';\n }\n if (this.collections.size > 0) {\n if (this.checkCollectionsScopeAndDatabase()) {\n const colArray = [];\n for (const [collections, collectionConfig] of this.collections) {\n const collectionsArray = [];\n for (const collection of collections) {\n collectionsArray.push({ collection: collection.toJson() });\n }\n if (collectionConfig !== undefined || collectionConfig !== null) {\n colArray.push({\n collections: collectionsArray,\n config: collectionConfig,\n });\n }\n else {\n colArray.push({ collections: collectionsArray, config: '' });\n }\n }\n config.collectionConfig = JSON.stringify(colArray);\n }\n else {\n throw new Error('All collections must be from the same database and scope');\n }\n }\n else {\n config.collectionConfig = '';\n }\n return config;\n }\n checkCollectionsScopeAndDatabase() {\n let databaseName = null;\n let scopeName = null;\n // eslint-disable-next-line\n for (const [collections, _] of this.collections) {\n for (const collection of collections) {\n if (databaseName === null && scopeName === null) {\n databaseName = collection.database.getUniqueName();\n scopeName = collection.scope.name;\n }\n else if (collection.database.getUniqueName() !== databaseName ||\n collection.scope.name !== scopeName) {\n return false;\n }\n }\n }\n return true;\n }\n}\nReplicatorConfiguration.ReplicatorType = ReplicatorType;\n// Authentication dictionary keys:\nReplicatorConfiguration.CBLReplicatorOptionCookies = 'cookies'; // HTTP Cookie header value; string\nReplicatorConfiguration.CBLReplicatorAuthOption = 'auth'; // Auth settings; Dict\nReplicatorConfiguration.CBLReplicatorAuthType = 'type'; // Auth property; string\nReplicatorConfiguration.CBLReplicatorAuthUserName = 'username'; // Auth property; string\nReplicatorConfiguration.CBLReplicatorAuthPassword = 'password'; // Auth property; string\nReplicatorConfiguration.CBLReplicatorAuthClientCert = 'clientCert'; // Auth property; value platform-dependent\n// auth.type values:\nReplicatorConfiguration.CBLAuthTypeBasic = 'Basic'; // HTTP Basic (the default)\nReplicatorConfiguration.CBLAuthTypeSession = 'Session'; // SG session cookie\nReplicatorConfiguration.CBLAuthTypeOpenIDConnect = 'OpenID Connect';\nReplicatorConfiguration.CBLAuthTypeClientCert = 'Client Cert';\nReplicatorConfiguration.defaultContinuous = false;\nReplicatorConfiguration.defaultEnableAutoPurge = true;\nReplicatorConfiguration.defaultSelfSignedCertificateOnly = true;\nReplicatorConfiguration.defaultAcceptParentDomainCookies = false;\nReplicatorConfiguration.defaultAllowReplicatingInBackground = false;\nReplicatorConfiguration.defaultHeartbeat = 300;\nReplicatorConfiguration.defaultMaxAttemptsSingleShot = 10;\nReplicatorConfiguration.defaultMaxAttemptsWaitTime = 300;\n//# sourceMappingURL=replicator-configuration.js.map","import { ReplicatorConfiguration } from './replicator-configuration';\nimport { Authenticator } from './authenticator';\nexport class BasicAuthenticator extends Authenticator {\n constructor(\n // eslint-disable-next-line\n username, \n // eslint-disable-next-line\n password) {\n super();\n this.username = username;\n this.password = password;\n }\n /**\n * Configures basic authentication options for a replicator\n * @param {Dictionary} options - The replicator configuration options to be modified\n * @returns {Dictionary} The authentication configuration containing username and password\n * @example\n * const authenticator = new BasicAuthenticator('user', 'password');\n * const config = {};\n * const auth = authenticator.authenticate(config);\n * // config now contains the auth settings\n * // auth contains: { type: 'basic', username: 'user', password: 'password' }\n */\n authenticate(options) {\n const auth = {\n [ReplicatorConfiguration.CBLReplicatorAuthType]: ReplicatorConfiguration.CBLAuthTypeBasic,\n [ReplicatorConfiguration.CBLReplicatorAuthUserName]: this.username,\n [ReplicatorConfiguration.CBLReplicatorAuthPassword]: this.password,\n };\n options[ReplicatorConfiguration.CBLReplicatorAuthOption] = auth;\n return auth;\n }\n /**\n * Returns the authentication type identifier\n * @returns {string} The string 'basic' indicating basic authentication\n * @example\n * const authenticator = new BasicAuthenticator('user', 'password');\n * const type = authenticator.getType();\n * // Returns: 'basic'\n */\n getType() {\n return 'basic';\n }\n /**\n * Converts the authenticator to a JSON-compatible object\n * @returns {{ username: string, password: string }} An object containing the authenticator's credentials\n * @example\n * const authenticator = new BasicAuthenticator('user', 'password');\n * const json = authenticator.toJson();\n * // Returns: { username: 'user', password: 'password' }\n */\n toJson() {\n return {\n username: this.username,\n password: this.password,\n };\n }\n}\n//# sourceMappingURL=basic-authenticator.js.map","export class Blob {\n /**\n * Creates a new Blob instance to store binary data with a specified content type\n * @param contentType - The MIME type of the blob content (e.g., 'image/jpeg', 'text/plain')\n * @param data - The binary data as either a Uint8Array or ArrayBuffer\n * @example\n * // Create from Uint8Array\n * const uint8Array = new Uint8Array([1, 2, 3]);\n * const blob1 = new Blob('text/plain', uint8Array);\n *\n * // Create from ArrayBuffer\n * const arrayBuffer = new ArrayBuffer(3);\n * const blob2 = new Blob('text/plain', arrayBuffer);\n */\n constructor(contentType, data) {\n this.contentType = contentType;\n this.contentType = contentType;\n this.bytes = data instanceof Uint8Array ? data.buffer : data;\n }\n /**\n * Creates a new Blob instance from a JSON string representation\n * @param jsonString - A JSON string containing blob data with format: { contentType: string, bytes: number[] }\n * @returns A new Blob instance\n * @throws {Error} If the JSON is invalid, missing required properties, or has incorrect types\n * @example\n * const jsonStr = '{\"contentType\": \"image/jpeg\", \"bytes\": [255, 216, 255, 224]}';\n * const blob = Blob.fromJSON(jsonStr);\n */\n static fromJSON(jsonString) {\n try {\n const data = JSON.parse(jsonString);\n // Validate required properties and types\n if (!data.contentType || typeof data.contentType !== 'string') {\n throw new Error('Invalid or missing contentType property');\n }\n if (!Array.isArray(data.bytes)) {\n throw new Error('Invalid or missing bytes property');\n }\n // Convert number array back to ArrayBuffer\n const bytes = new Uint8Array(data.bytes);\n return new Blob(data.contentType, bytes);\n }\n catch (e) {\n throw new Error(`Failed to parse Blob JSON: ${e.message}`);\n }\n }\n /**\n * Returns the raw binary data of the blob\n * @returns {Uint8Array} The blob's content as an Uint8Array\n */\n getBytes() {\n return new Uint8Array(this.bytes);\n }\n /**\n * Returns the MIME type of the blob's content\n * @returns {string} The content type (MIME type) of the blob\n */\n getContentType() {\n return this.contentType;\n }\n /**\n * Returns the cryptographic digest (hash) of the blob's content\n * @returns {string} The blob's content digest\n */\n getDigest() {\n return this.digest;\n }\n /**\n * Returns the size of the blob's content in bytes\n * @returns {number} The length of the blob in bytes\n */\n getLength() {\n return this.length;\n }\n /**\n * Converts the blob into a plain JavaScript object representation\n * @returns {{ contentType: string, data: number[] }} An object containing the blob's content type and data as a byte array\n */\n toDictionary() {\n return {\n contentType: this.contentType,\n data: Array.from(new Uint8Array(this.bytes)),\n };\n }\n}\n//# sourceMappingURL=blob.js.map","export class Collation {\n constructor() {\n this._unicode = false;\n this._ignoreCase = false;\n this._ignoreAccents = false;\n this._locale = null;\n }\n static ascii() {\n return new CollationASCII();\n }\n static unicode() {\n return new CollationUnicode();\n }\n toString() {\n return ('Collation{' +\n 'unicode=' +\n this._unicode +\n ', ignoreCase=' +\n this._ignoreCase +\n ', ignoreAccents=' +\n this._ignoreAccents +\n \", locale='\" +\n this._locale +\n \"'\" +\n '}');\n }\n asJSON() {\n const json = {};\n json.UNICODE = this._unicode;\n json.LOCALE = this._locale == null ? null : this._locale;\n json.CASE = !this._ignoreCase;\n json.DIAC = !this._ignoreAccents;\n return json;\n }\n}\nexport class CollationASCII extends Collation {\n constructor() {\n super();\n this._unicode = false;\n }\n ignoreCase(ignoreCase) {\n this._ignoreCase = ignoreCase;\n return this;\n }\n}\nexport class CollationUnicode extends Collation {\n constructor() {\n super();\n this._unicode = true;\n }\n ignoreCase(ignoreCase) {\n this._ignoreCase = ignoreCase;\n return this;\n }\n ignoreAccents(ignoreAccents) {\n this._ignoreAccents = ignoreAccents;\n return this;\n }\n locale(locale) {\n this._locale = locale;\n return this;\n }\n}\n//# sourceMappingURL=collation.js.map","export class EngineLocator {\n constructor() { }\n /**\n * Returns the singleton instance of EngineLocator\n * @returns {EngineLocator} The singleton instance of the EngineLocator\n * @example\n * const locator = EngineLocator.getInstance();\n * // Use the same instance throughout the application\n * const sameLocator = EngineLocator.getInstance(); // Returns the same instance\n */\n static getInstance() {\n if (!EngineLocator.instance) {\n EngineLocator.instance = new EngineLocator();\n }\n return EngineLocator.instance;\n }\n /**\n * Registers a core engine implementation with the EngineLocator\n * @param {string} key - The unique identifier for the engine\n * @param {ICoreEngine} service - The core engine implementation to register\n * @example\n * const engine = new MyCoreEngine();\n * EngineLocator.registerEngine('myEngine', engine);\n *\n * // Later, retrieve the engine\n * const sameEngine = EngineLocator.getEngine('myEngine');\n */\n static registerEngine(key, service) {\n EngineLocator.engines.set(key, service);\n }\n /**\n * Retrieves a registered core engine implementation by its key\n * @param {string} key - The unique identifier of the engine to retrieve\n * @returns {ICoreEngine} The registered core engine implementation\n * @example\n * // First register an engine\n * const engine = new MyCoreEngine();\n * EngineLocator.registerEngine('myEngine', engine);\n *\n * // Then retrieve it\n * const retrievedEngine = EngineLocator.getEngine('myEngine');\n * // retrievedEngine === engine\n */\n static getEngine(key) {\n return EngineLocator.engines.get(key);\n }\n}\nEngineLocator.key = 'default';\nEngineLocator.engines = new Map();\n//# sourceMappingURL=engine-locator.js.map","import { EngineLocator } from './engine-locator';\nexport class Scope {\n constructor(name, database) {\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n this.name = name ?? '';\n this.database = database;\n }\n /**\n * Retrieves all collections within this scope\n * @returns {Promise<Collection[]>} A Promise that resolves to an array of Collection instances\n * @throws {Error} If the database is closed or there's an error accessing collections\n */\n async collections() {\n const results = await this._engine.collection_GetCollections({\n name: this.database.getUniqueName(),\n scopeName: this.name,\n });\n return results.collections;\n }\n /**\n * Retrieves a specific collection within this scope by name\n * @param {string} collectionName - The name of the collection to retrieve\n * @returns {Promise<Collection | null>} A Promise that resolves to the Collection instance, or null if not found\n * @throws {Error} If the database is closed or there's an error accessing the collection\n */\n async collection(collectionName) {\n return this._engine.collection_GetCollection({\n name: this.database.getUniqueName(),\n collectionName: collectionName,\n scopeName: this.name,\n });\n }\n}\n//# sourceMappingURL=scope.js.map","import { Blob } from './blob';\nimport { EngineLocator } from './engine-locator';\nexport class Document {\n constructor(id = null, \n // eslint-disable-next-line\n sequenceNo = null, \n // eslint-disable-next-line\n revisionID = null, \n // eslint-disable-next-line\n collection = null, data = {}) {\n this.id = id;\n this.sequenceNo = sequenceNo;\n this.revisionID = revisionID;\n this.collection = collection;\n this.doc = {};\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n if (id === null) {\n this.id = this._engine.getUUID();\n }\n this.doc = data;\n }\n /**\n * The number of properties in the document.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n count() {\n return Object.keys(this.doc).length;\n }\n /**\n * Returns the document data as a dictionary.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getData() {\n return this.doc;\n }\n _get(key) {\n return this.doc[key];\n }\n /**\n * Get a property’s value as a ArrayObject, which is a mapping object of an array value.\n * Returns null if the property doesn’t exists, or its value is not an array.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getArray(key) {\n if (key in this.doc && Array.isArray(this.doc[key])) {\n return this.doc[key];\n }\n return null;\n }\n /**\n * Returns the Blob associated with the given key, including its content.\n * Returns null if the property doesn’t exist, or its value is not a blob.\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n async getBlob(key) {\n if (key in this.doc) {\n const data = this._get(key);\n if (data && typeof data === 'object' && 'content_type' in data) {\n const blobContent = await this.getBlobContent(key);\n const b = new Blob(data.content_type, blobContent);\n b.digest = data.digest;\n b.length = data.length;\n return b;\n }\n }\n return null;\n }\n /**\n * Get a property’s value as a ArrayBuffer. Returns null if the property doesn’t exist,\n * or its value is not a blob.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n async getBlobContent(key) {\n const data = await this._engine.collection_GetBlobContent({\n documentId: this.getId(),\n key: key,\n collectionName: this.collection.name,\n scopeName: this.collection.scope.name,\n name: this.collection.scope.database.getUniqueName(),\n });\n return data.data;\n }\n /**\n * Gets a property’s value as a boolean value. Returns true if the value exists,\n * and is either true or a nonzero number.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getBoolean(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (typeof value === 'boolean') {\n return value;\n }\n if (value === 0 || value === '0.0') {\n return false;\n }\n if (value === null) {\n return false;\n }\n return true;\n }\n return false;\n }\n /**\n * The collection that the document belongs to.\n *\n * Throws an error if the database is closed.\n *\n * @function\n */\n getCollection() {\n return this.collection;\n }\n /**\n * Gets a property’s value as a Date value. JSON does not directly support dates, so\n * the actual property value must be a string, which is then parsed according to the\n * ISO-8601 date format (the default used in JSON.) Returns null if the value doesn’t\n * exist, is not a string, or is not parseable as a date. NOTE: This is not a generic\n * date parser! It only recognizes the ISO-8601 format, with milliseconds.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getDate(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (typeof value === 'string') {\n const date = new Date(value);\n // Check if the date is valid (not \"Invalid Date\")\n return !isNaN(date.getTime()) ? date : null;\n }\n }\n return null;\n }\n /**\n * Get a property’s value as a Dictionary, which is a mapping object of a dictionary\n * value. Returns null if the property doesn’t exists, or its value is not a dictionary.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getDictionary(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (value && typeof value === 'object' && !Array.isArray(value)) {\n return value;\n }\n }\n return null;\n }\n /**\n * Gets a property’s value as a double value. Integers will be converted to double.\n * The value true is returned as 1.0, false as 0.0. Returns 0.0 if the property doesn’t\n * exist or does not have a numeric value.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getDouble(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (typeof value === 'number') {\n return value;\n }\n if (typeof value === 'boolean') {\n return value ? 1.0 : 0.0;\n }\n }\n return 0.0;\n }\n /**\n * Gets a property’s value as a float value. Integers will be converted to float.\n * The value true is returned as 1.0, false as 0.0. Returns 0.0 if the property doesn’t\n * exist or does not have a numeric value.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getFloat(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (typeof value === 'number') {\n return value;\n }\n if (typeof value === 'boolean') {\n return value ? 1.0 : 0.0;\n }\n }\n return 0.0;\n }\n /**\n * Returns the document’s ID.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getId() {\n return this.id;\n }\n /**\n * Gets a property’s value as an int value. Floating point values will be rounded.\n * The value true is returned as 1, false as 0. Returns 0 if the property doesn’t\n * exist or does not have a numeric value.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getInt(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (typeof value === 'number') {\n return Math.floor(value);\n }\n if (typeof value === 'boolean') {\n return value ? 1 : 0;\n }\n }\n return 0;\n }\n /**\n * returns an array containing all keys, or an empty array if the document\n * has no properties.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getKeys() {\n return Object.keys(this.doc);\n }\n /**\n * Gets a property’s value as an number value. Floating point values will be rounded.\n * The value true is returned as 1, false as 0. Returns 0 if the property doesn’t\n * exist or does not have a numeric value.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getLong(key) {\n return key in this.doc ? this.doc[key] : 0;\n }\n /**\n * The ID representing a document’s revision.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getRevisionID() {\n return this.revisionID;\n }\n /**\n * Sequence number of the document in the database. This indicates how recently the\n * document has been changed: every time any document is updated, the database assigns it\n * the next sequential sequence number. Thus, if a document’s sequence property changes\n * that means it’s been changed (on-disk); and if one document’s sequence is greater than\n * another’s, that means it was changed more recently.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getSequence() {\n return this.sequenceNo;\n }\n /**\n * Gets a property’s value as a string. Returns nil if the property doesn’t exist, i\n * or its value is not a string.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n getString(key) {\n if (key in this.doc) {\n const value = this.doc[key];\n if (typeof value === 'string') {\n return value;\n }\n }\n return null;\n }\n /**\n * @deprecated getValue is deprecated. Returns values as any.\n */\n getValue(key) {\n return key in this.doc ? this.doc[key] : null;\n }\n /**\n * Returns the document data as a dictionary.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n toDictionary() {\n return this.doc;\n }\n /**\n * Converts the document content to a JSON string representation\n * @returns {string} A JSON string\n *\n * @function\n */\n toJsonString() {\n return JSON.stringify(this.doc);\n }\n}\n//# sourceMappingURL=document.js.map","import { Scope } from './scope';\nimport { EngineLocator } from './engine-locator';\nimport { Document } from './document';\nexport class Collection {\n constructor(name, scope, database) {\n //used for engine calls\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n this._didStartListener = false;\n /**\n * returns Collection's fully qualified name in the '<scope-name>.<collection-name>' format.\n *\n * @property\n */\n this.fullName = () => `${this.scope.name}.${this.name}`;\n this.name = name ?? '';\n this.scope = scope ?? new Scope('', database);\n this.database = database;\n this._documentChangeListener = new Map();\n this._didStartDocumentListener = new Map();\n }\n /**\n * Set a given CollectionChangeListener to the collection.\n *\n * @function\n */\n async addChangeListener(listener) {\n this._changeListener = listener;\n const token = this.uuid();\n if (!this._didStartListener) {\n await this._engine.collection_AddChangeListener({\n name: this.scope.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n changeListenerToken: token,\n }, (data, err) => {\n if (err) {\n throw err;\n }\n this.notifyChangeListeners(data);\n });\n this._didStartListener = true;\n return token;\n }\n else {\n throw new Error('Listener already started');\n }\n }\n /**\n * Set a given Collection Document Change Listener to a given document in a collection.\n *\n * @function\n */\n async addDocumentChangeListener(documentId, listener) {\n const token = this.uuid();\n if (!this._didStartDocumentListener.has(documentId) &&\n !this._documentChangeListener[documentId]) {\n await this._engine.collection_AddDocumentChangeListener({\n name: this.scope.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n changeListenerToken: token,\n documentId: documentId,\n }, (data, err) => {\n if (err) {\n throw err;\n }\n this.notifyDocumentChangeListeners(data);\n });\n this._documentChangeListener.set(documentId, listener);\n this._didStartDocumentListener[documentId] = true;\n return token;\n }\n else {\n throw new Error(`Listener for document ${documentId} already started`);\n }\n }\n /**\n * Total number of documents in the collection.\n *\n * @function\n */\n count() {\n return this._engine.collection_GetCount({\n name: this.scope.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n });\n }\n /**\n * Create an index with the index name and AbstractIndex.\n *\n * @function\n */\n createIndex(indexName, index) {\n return this._engine.collection_CreateIndex({\n name: this.scope.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n indexName: indexName,\n index: index.toJson(),\n });\n }\n /**\n * Delete a document from the collection. The default concurrency control, lastWriteWins,\n * will be used when there is conflict during delete. If the document doesn’t exist in the\n * collection, an error will be thrown.\n *\n * When deleting a document that already belongs to a collection, the collection instance of\n * the document and this collection instance must be the same, otherwise, an\n * error will be thrown.\n *\n * Throws an Error if the collection is deleted or the database is closed.\n *\n * @function\n */\n deleteDocument(document, concurrencyControl = null) {\n const id = document.getId();\n return this._engine.collection_DeleteDocument({\n name: this.scope.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n docId: id,\n concurrencyControl: concurrencyControl,\n });\n }\n /**\n * Delete an index by name.\n *\n * @function\n */\n deleteIndex(indexName) {\n return this._engine.collection_DeleteIndex({\n name: this.scope.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n indexName: indexName,\n });\n }\n /**\n * Get an existing document by document ID.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n async document(id) {\n const docJson = await this._engine.collection_GetDocument({\n docId: id,\n name: this.scope.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n });\n // @ts-expect-error - _id is used in getId()\n if (docJson && docJson._id) {\n // @ts-expect-error - _data is used in getData()\n const data = docJson._data;\n // @ts-expect-error - _sequence is used in getSequence()\n const sequence = docJson._sequence;\n // @ts-expect-error - _id is used in getId()\n const retId = docJson._id;\n // @ts-expect-error - _revId is used in getRevisionID()\n const revisionID = docJson._revId;\n return Promise.resolve(new Document(retId, sequence, revisionID, this, data));\n }\n else {\n return Promise.resolve(undefined);\n }\n }\n /**\n * Get an existing document by document ID.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n async getDocument(id) {\n return this.document(id);\n }\n /**\n * Get the expiration date set to the document of the given id.\n \n * Throws an error, if the collection is deleted or the database is closed.\n *\n * @function\n */\n async getDocumentExpiration(id) {\n const date = await this._engine.collection_GetDocumentExpiration({\n docId: id,\n name: this.scope.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n });\n if (!!date && date?.date) {\n return date.date;\n }\n else {\n return null;\n }\n }\n /**\n * Return ICoreEngine instance.\n *\n * @function\n */\n getEngine() {\n return this._engine;\n }\n /**\n * Return all index names\n *\n * @function\n */\n async indexes() {\n const indexes = await this._engine.collection_GetIndexes({\n name: this.scope.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n });\n return indexes.indexes;\n }\n /**\n * send data to the listener\n *\n * @function\n */\n notifyChangeListeners(data) {\n this._changeListener(data);\n }\n /**\n * send data to the document change listener\n *\n * @function\n */\n notifyDocumentChangeListeners(data) {\n const documentId = data.documentId;\n const changeListener = this._documentChangeListener.get(documentId);\n changeListener({\n documentId: documentId,\n collection: this,\n database: this.database,\n });\n }\n /**\n * Purge a document by id from the collection. If the document doesn’t exist in the\n * collection, an error will be thrown.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n purge(document) {\n return this._engine.collection_PurgeDocument({\n name: this.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n docId: document.getId(),\n });\n }\n /**\n * Purge a document by id from the collection. If the document doesn’t exist in the\n * collection, an error will be thrown.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n purgeById(documentId) {\n return this._engine.collection_PurgeDocument({\n name: this.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n docId: documentId,\n });\n }\n /**\n * Remove the collection change listener.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n async removeChangeListener(token) {\n await this._engine.collection_RemoveChangeListener({\n name: this.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n changeListenerToken: token,\n });\n }\n /**\n * Remove the collection document change listener.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n async removeDocumentChangeListener(token) {\n await this._engine.collection_RemoveDocumentChangeListener({\n name: this.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n changeListenerToken: token,\n });\n }\n /**\n * Save a document into the collection. The default concurrency control, lastWriteWins, will\n * be used when there is conflict during save.\n *\n * When saving a document that already belongs to a collection, the collection instance of\n * the document and this collection instance must be the same, otherwise, an\n * error will be thrown.\n *\n * Throws an error if the collection is deleted or the database is closed.\n *\n * @function\n */\n async save(document, concurrencyControl = null) {\n const blobString = document.blobsToJsonString();\n const documentString = document.toJsonString();\n const ret = await this._engine.collection_Save({\n id: document.getId(),\n document: documentString,\n blobs: blobString,\n concurrencyControl: concurrencyControl,\n name: this.scope.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n });\n document.setId(ret._id);\n document.setRevisionID(ret._revId);\n document.setSequence(ret._sequence);\n document.setCollection(this);\n }\n async setDocumentExpiration(id, expiration) {\n await this._engine.collection_SetDocumentExpiration({\n docId: id,\n name: this.database.getUniqueName(),\n scopeName: this.scope.name,\n collectionName: this.name,\n expiration: expiration,\n });\n }\n toJson() {\n return {\n name: this.name,\n scopeName: this.scope.name,\n databaseName: this.database.getUniqueName(),\n };\n }\n uuid() {\n return this._engine.getUUID();\n }\n}\n//# sourceMappingURL=collection.js.map","export var ConcurrencyControl;\n(function (ConcurrencyControl) {\n // eslint-disable-next-line\n ConcurrencyControl[ConcurrencyControl[\"LAST_WRITE_WINS\"] = 0] = \"LAST_WRITE_WINS\";\n // eslint-disable-next-line\n ConcurrencyControl[ConcurrencyControl[\"FAIL_ON_CONFLICT\"] = 1] = \"FAIL_ON_CONFLICT\";\n})(ConcurrencyControl || (ConcurrencyControl = {}));\n//# sourceMappingURL=concurrency-control.js.map","export class CouchbaseLiteException extends Error {\n constructor(\n // eslint-disable-next-line\n message, \n // eslint-disable-next-line\n domain, \n // eslint-disable-next-line\n code) {\n super();\n this.message = message;\n this.domain = domain;\n this.code = code;\n }\n}\n//# sourceMappingURL=couchbase-lite-exception.js.map","/**\n * Configuration for opening a database\n */\nexport class DatabaseConfiguration {\n // eslint-disable-next-line\n constructor(arg1, arg2) {\n if (typeof arg1 === 'string') {\n this.directory = arg1;\n }\n else if (arg1 instanceof DatabaseConfiguration) {\n this.directory = arg1.directory;\n this.encryptionKey = arg1.encryptionKey;\n }\n else {\n //do nothing\n this.directory = undefined;\n }\n if (typeof arg2 === 'string') {\n this.encryptionKey = arg2;\n }\n }\n /**\n * Returns the directory path where the database files are stored\n * @returns {string} The configured database directory path\n * @example\n * const config = new DatabaseConfiguration();\n * config.setDirectory('/path/to/database');\n * const dir = config.getDirectory();\n * // Returns: '/path/to/database'\n */\n getDirectory() {\n return this.directory;\n }\n /**\n * Sets the directory path where the database files will be stored\n * @param {string} directory - The path to the directory where database files should be stored\n * @returns {DatabaseConfiguration} The current DatabaseConfiguration instance for method chaining\n * @example\n * const config = new DatabaseConfiguration();\n * config.setDirectory('/path/to/database');\n * // Or chain with other methods\n * config.setDirectory('/path/to/database').setEncryptionKey('myKey');\n */\n setDirectory(directory) {\n this.directory = directory;\n return this;\n }\n /**\n * Returns the encryption key used for database encryption\n * @returns {string} The configured encryption key, or undefined if no encryption is set\n * @example\n * const config = new DatabaseConfiguration();\n * config.setEncryptionKey('mySecretKey');\n * const key = config.getEncryptionKey();\n * // Returns: 'mySecretKey'\n */\n getEncryptionKey() {\n return this.encryptionKey;\n }\n /**\n * Sets the encryption key for the database\n * @param {string} key - The encryption key to use for database encryption\n * @returns {DatabaseConfiguration} The current DatabaseConfiguration instance for method chaining\n * @example\n * const config = new DatabaseConfiguration();\n * config.setEncryptionKey('mySecretKey');\n * // Or chain with other methods\n * config.setDirectory('/path/to/db').setEncryptionKey('mySecretKey');\n */\n setEncryptionKey(key) {\n this.encryptionKey = key;\n return this;\n }\n}\n//# sourceMappingURL=database-configuration.js.map","export class DatabaseLogging {\n // eslint-disable-next-line\n constructor(database) {\n this.database = database;\n }\n setFileConfig(config) {\n return this.database.getEngine().database_SetFileLoggingConfig({\n name: this.database.getUniqueName(),\n config: config,\n });\n }\n}\n//# sourceMappingURL=database-logging.js.map","/**\n * A Parameters object used for setting values to the query parameters defined in the query.\n */\nexport class Parameter {\n _set(name, value, type) {\n this.name = name;\n this.value = value;\n this.type = type;\n }\n setValue(name, value) {\n this._set(name, value, 'value');\n }\n setString(name, value) {\n this._set(name, value, 'string');\n }\n setBoolean(name, value) {\n this._set(name, value, 'boolean');\n }\n setFloat(name, value) {\n this._set(name, value, 'float');\n }\n setDouble(name, value) {\n this._set(name, value, 'double');\n }\n setLong(name, value) {\n this._set(name, value, 'long');\n }\n setInt(name, value) {\n this._set(name, value, 'int');\n }\n setDate(name, value) {\n this._set(name, value, 'date');\n }\n get() {\n return this;\n }\n}\n//# sourceMappingURL=parameter.js.map","import { Parameter } from './parameter';\n/**\n * A Parameters object used for setting values to the query parameters defined in the query.\n */\nexport class Parameters {\n constructor() {\n this._parameters = {};\n }\n setValue(name, value) {\n const parameter = new Parameter();\n parameter.setValue(name, value);\n this._parameters[name] = parameter;\n }\n setString(name, value) {\n const parameter = new Parameter();\n parameter.setString(name, value);\n this._parameters[name] = parameter;\n }\n setBoolean(name, value) {\n const parameter = new Parameter();\n parameter.setBoolean(name, value);\n this._parameters[name] = parameter;\n }\n setFloat(name, value) {\n const parameter = new Parameter();\n parameter.setFloat(name, value);\n this._parameters[name] = parameter;\n }\n setDouble(name, value) {\n const parameter = new Parameter();\n parameter.setDouble(name, value);\n this._parameters[name] = parameter;\n }\n setLong(name, value) {\n const parameter = new Parameter();\n parameter.setLong(name, value);\n this._parameters[name] = parameter;\n }\n setInt(name, value) {\n const parameter = new Parameter();\n parameter.setInt(name, value);\n this._parameters[name] = parameter;\n }\n setDate(name, value) {\n const parameter = new Parameter();\n parameter.setDate(name, value.toISOString());\n this._parameters[name] = parameter;\n }\n remove(name) {\n this._parameters[name] = null;\n }\n get() {\n if (Object.keys(this._parameters).length > 0) {\n return this._parameters;\n }\n else {\n return {};\n }\n }\n}\n//# sourceMappingURL=parameters.js.map","import { EngineLocator } from './engine-locator';\nimport { Parameters } from './parameters';\n/**\n * A database query. A Query instance can be constructed by calling\n * execute or explain.\n */\nexport class Query {\n constructor(queryString, database) {\n this.parameters = new Parameters();\n //used for engine calls\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n this._queryString = queryString;\n this._database = database;\n this._didStartQueryListener = false;\n }\n /**\n * Adds a query change listener.\n *\n * @function\n */\n async addChangeListener(listener) {\n this._changeListener = listener;\n const token = this._engine.getUUID();\n if (!this._didStartQueryListener) {\n await this._engine.query_AddChangeListener({\n name: this._database.getUniqueName(),\n query: this._queryString,\n parameters: this.parameters.get(),\n changeListenerToken: token,\n }, (data, err) => {\n if (err) {\n throw err;\n }\n this.notifyChangeListeners(data);\n });\n this._didStartQueryListener = true;\n return token;\n }\n else {\n throw new Error(`Listener for query ${this._queryString} already started`);\n }\n }\n /**\n * Adds a Parameter object used for setting values to the query parameters defined in the query. All parameters defined in the query must be given values before running the query, or the query will fail.\n *\n * @function\n */\n addParameter(parameters) {\n this.parameters = parameters;\n }\n /**\n * Executes the query. The returning an enumerator that returns result rows one at a time.\n *\n * The results come from a snapshot of the database taken at the moment -run: is called, so they will not reflect any changes made to the database afterward.\n *\n * @function\n */\n async execute() {\n const queryResults = await this._database.getEngine().query_Execute({\n name: this._database.getUniqueName(),\n query: this._queryString,\n parameters: this.parameters.get(),\n });\n const data = queryResults.data;\n return JSON.parse(data);\n }\n /**\n *\n * Returns a string describing the implementation of the compiled query. This is intended to be read by a developer for purposes of optimizing the query, especially to add database indexes. It’s not machine-readable and its format may change.\n *\n * As currently implemented, the result is two or more lines separated by newline characters:\n *\n * The first line is the SQLite SELECT statement.\n * The subsequent lines are the output of SQLite’s “EXPLAIN QUERY PLAN” command applied to that statement; for help interpreting this, see https://www.sqlite.org/eqp.html . The most important thing to know is that if you see “SCAN TABLE”, it means that SQLite is doing a slow linear scan of the documents instead of using an index.\n *\n * @function\n */\n async explain() {\n const queryResults = await this._database.getEngine().query_Explain({\n name: this._database.getUniqueName(),\n query: this._queryString,\n parameters: this.parameters.get(),\n });\n return queryResults.data;\n }\n getDatabase() {\n return this._database;\n }\n /**\n * A Parameters object used for setting values to the query parameters defined in the query. All parameters defined in the query must be given values before running the query, or the query will fail.\n *\n * The returned Parameters object will be readonly.\n *\n * @function\n */\n getParameters() {\n return this.parameters;\n }\n /**\n * send data to the listener\n *\n * @function\n */\n notifyChangeListeners(data) {\n const stringData = data.data;\n this._changeListener({\n query: this,\n error: data.error,\n results: JSON.parse(stringData),\n });\n }\n /**\n * Removes a change listener wih the given listener token.\n *\n * @function\n */\n async removeChangeListener(token) {\n await this._database.getEngine().query_RemoveChangeListener({\n changeListenerToken: token,\n name: this._database.getUniqueName(),\n });\n }\n setDatabase(database) {\n this._database = database;\n }\n /**\n * Returns the query string used to create this Query instance\n * @returns {string} The original query string\n * @example\n * const query = new Query(\"SELECT * FROM users WHERE age >= $minAge\", database);\n * console.log(query.toString());\n * // Returns: \"SELECT * FROM users WHERE age >= $minAge\"\n *\n * // Useful for debugging or logging query definitions\n * console.log(`Current query: ${query}`); // Automatically calls toString()\n */\n toString() {\n return this._queryString;\n }\n}\n//# sourceMappingURL=query.js.map","import { Document } from './document';\nimport { DatabaseLogging } from './database-logging';\nimport { EngineLocator } from './engine-locator';\nimport { Collection } from './collection';\nimport { Scope } from './scope';\nimport { Query } from './query';\nexport var LogDomain;\n(function (LogDomain) {\n // eslint-disable-next-line \n LogDomain[\"ALL\"] = \"ALL\";\n // eslint-disable-next-line \n LogDomain[\"DATABASE\"] = \"DATABASE\";\n // eslint-disable-next-line \n LogDomain[\"NETWORK\"] = \"NETWORK\";\n // eslint-disable-next-line \n LogDomain[\"QUERY\"] = \"QUERY\";\n // eslint-disable-next-line \n LogDomain[\"REPLICATOR\"] = \"REPLICATOR\";\n})(LogDomain || (LogDomain = {}));\nexport var LogLevel;\n(function (LogLevel) {\n // eslint-disable-next-line \n LogLevel[LogLevel[\"DEBUG\"] = 0] = \"DEBUG\";\n // eslint-disable-next-line \n LogLevel[LogLevel[\"VERBOSE\"] = 1] = \"VERBOSE\";\n // eslint-disable-next-line \n LogLevel[LogLevel[\"INFO\"] = 2] = \"INFO\";\n // eslint-disable-next-line \n LogLevel[LogLevel[\"WARNING\"] = 3] = \"WARNING\";\n // eslint-disable-next-line \n LogLevel[LogLevel[\"ERROR\"] = 4] = \"ERROR\";\n // eslint-disable-next-line \n LogLevel[LogLevel[\"NONE\"] = 5] = \"NONE\";\n})(LogLevel || (LogLevel = {}));\nexport var MaintenanceType;\n(function (MaintenanceType) {\n // eslint-disable-next-line \n MaintenanceType[MaintenanceType[\"COMPACT\"] = 0] = \"COMPACT\";\n // eslint-disable-next-line \n MaintenanceType[MaintenanceType[\"REINDEX\"] = 1] = \"REINDEX\";\n // eslint-disable-next-line \n MaintenanceType[MaintenanceType[\"INTEGRITY_CHECK\"] = 2] = \"INTEGRITY_CHECK\";\n // eslint-disable-next-line \n MaintenanceType[MaintenanceType[\"OPTIMIZE\"] = 3] = \"OPTIMIZE\";\n // eslint-disable-next-line \n MaintenanceType[MaintenanceType[\"FULL_OPTIMIZE\"] = 4] = \"FULL_OPTIMIZE\";\n})(MaintenanceType || (MaintenanceType = {}));\n/**\n * A Couchbase Lite database.\n */\nexport class Database {\n constructor(\n // eslint-disable-next-line \n _databaseName, \n // eslint-disable-next-line \n _databaseConfig = null, \n // eslint-disable-next-line\n _databaseUniqueName = null) {\n this._databaseName = _databaseName;\n this._databaseConfig = _databaseConfig;\n this._databaseUniqueName = _databaseUniqueName;\n this._isClosed = false;\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n this.log = new DatabaseLogging(this);\n }\n getEngine() {\n return this._engine;\n }\n /**\n * Open a database with the given name and configuration.\n * Returns the unique internal name of the database which consists of the provided name and nanoId.\n * The unique name is used to allow multiple instances of the same database to be opened at the same time.\n *\n * @function\n */\n async open() {\n const { databaseUniqueName } = await this._engine.database_Open({\n name: this._databaseName,\n config: this._databaseConfig,\n });\n this._databaseUniqueName = databaseUniqueName;\n this._isClosed = false;\n return databaseUniqueName;\n }\n /**\n * Changes the database’s encryption key, or removes\n * encryption if the new key is nil.\n *\n * @function\n */\n async changeEncryptionKey(newKey) {\n await this._engine.database_ChangeEncryptionKey({\n name: this._databaseUniqueName,\n newKey: newKey,\n });\n this._databaseConfig.setEncryptionKey(newKey);\n }\n /**\n * Close the database. This will release all resources associated with the database.\n *\n * @function\n */\n close() {\n const result = this._engine.database_Close({ name: this._databaseUniqueName });\n this._isClosed = true;\n return result;\n }\n /**\n * @deprecated compact is deprecated. Use performMaintenance instead.\n *\n * @function\n */\n compact() {\n const args = {\n name: this._databaseUniqueName,\n maintenanceType: MaintenanceType.COMPACT,\n };\n return this._engine.database_PerformMaintenance(args);\n }\n /**\n * Performs database maintenance.\n *\n * @function\n */\n performMaintenance(maintenanceType) {\n const args = { name: this._databaseUniqueName, maintenanceType: maintenanceType };\n return this._engine.database_PerformMaintenance(args);\n }\n /**\n * Copy database\n *\n * @function\n */\n copy(path, name, config) {\n return this._engine.database_Copy({\n name: this._databaseUniqueName,\n path: path,\n newName: name,\n config: config,\n });\n }\n /**\n * Deletes a database.\n *\n * @function\n */\n deleteDatabase() {\n if (this._isClosed) {\n throw new Error('Cannot delete a closed database using this API. Open the database first.');\n }\n return this._engine.database_Delete({ name: this._databaseUniqueName });\n }\n /**\n * Deletes a database.\n *\n * @function\n */\n static async deleteDatabase(databaseName, directory) {\n const engine = EngineLocator.getEngine(EngineLocator.key);\n const args = {\n databaseName: databaseName,\n directory: directory,\n };\n await engine.database_DeleteWithPath(args);\n }\n /**\n * Return the database's path.\n *\n * @function\n */\n async getPath() {\n return (await this._engine.database_GetPath({ name: this._databaseUniqueName }))\n .path;\n }\n /**\n * Checks whether a database of the given name exists in the given directory or not.\n *\n * @function\n */\n static async exists(name, directory) {\n const engine = EngineLocator.getEngine(EngineLocator.key);\n const args = {\n databaseName: name,\n directory: directory,\n };\n const ret = await engine.database_Exists(args);\n return ret.exists;\n }\n /**\n * Return the database name\n *\n * @function\n */\n getName() {\n return this._databaseName;\n }\n /**\n * Return the database unique name.\n * Unique name is generated by adding a nanoId to the database name.\n * This is used to allow multiple instances of the same database to be opened at the same time.\n *\n * @function\n */\n getUniqueName() {\n return this._databaseUniqueName;\n }\n /**\n * Returns a READONLY config object which will throw a runtime exception when any setter methods are called.\n *\n * @function\n */\n getConfig() {\n return this._databaseConfig;\n }\n /**\n * TODO - Fix with QUEUE\n */\n inBatch(fn) {\n fn();\n return Promise.reject(null);\n }\n /**\n * Set log level for the given log domain.\n *\n * @function\n */\n static setLogLevel(domain, level) {\n const engine = EngineLocator.getEngine(EngineLocator.key);\n return engine.database_SetLogLevel({\n domain: domain,\n logLevel: level,\n });\n }\n /**\n * Set log level for the given log domain.\n *\n * @function\n */\n setLogLevel(domain, level) {\n return this._engine.database_SetLogLevel({\n domain: domain,\n logLevel: level,\n });\n }\n /**\n * Get the default Scope.\n *\n * @function\n */\n async defaultScope() {\n const scope = await this._engine.scope_GetDefault({\n name: this._databaseUniqueName,\n });\n return new Scope(scope.name, this);\n }\n /**\n * Get a scope object by name. As the scope cannot exist by itself without having a collection, null value will be returned if there are no collections under the given scope’s name. Note: The default scope is exceptional, and it will always be returned.\n *\n * @function\n */\n async scope(scopeName) {\n try {\n const scope = await this._engine.scope_GetScope({\n name: this._databaseUniqueName,\n scopeName: scopeName,\n });\n return new Scope(scope.name, this);\n }\n catch {\n return undefined;\n }\n }\n /**\n * Get scope names that have at least one collection. Note: the default scope is exceptional as it will always be listed even though there are no collections under it.\n *\n * @function\n */\n async scopes() {\n const results = await this._engine.scope_GetScopes({\n name: this._databaseUniqueName,\n });\n const scopes = [];\n for (const scope of results.scopes) {\n scopes.push(new Scope(scope.name, this));\n }\n return scopes;\n }\n /**\n * Get the default Collection.\n *\n * @function\n */\n async defaultCollection() {\n const col = await this._engine.collection_GetDefault({\n name: this._databaseUniqueName,\n });\n const scope = new Scope(col.scope.name, this);\n return new Collection(col.name, scope, this);\n }\n // eslint-disable-next-line no-dupe-class-members\n async collection(collectionName, scopeOrName) {\n let col;\n if (typeof scopeOrName === 'string') {\n col = await this._engine.collection_GetCollection({\n name: this._databaseUniqueName,\n collectionName: collectionName,\n scopeName: scopeOrName,\n });\n }\n else if (scopeOrName instanceof Scope) {\n col = await this._engine.collection_GetCollection({\n name: this._databaseUniqueName,\n collectionName: collectionName,\n scopeName: scopeOrName.name,\n });\n }\n else {\n col = await this._engine.collection_GetCollection({\n name: this._databaseUniqueName,\n collectionName: collectionName,\n scopeName: Database.defaultScopeName,\n });\n }\n const scope = new Scope(col.scope.name, this);\n return new Collection(col.name, scope, this);\n }\n // eslint-disable-next-line\n async collections(scopeOrName) {\n const collections = [];\n let colResults;\n if (typeof scopeOrName === 'string') {\n colResults = await this._engine.collection_GetCollections({\n name: this._databaseUniqueName,\n scopeName: scopeOrName,\n });\n }\n else if (scopeOrName instanceof Scope) {\n colResults = await this._engine.collection_GetCollections({\n name: this._databaseUniqueName,\n scopeName: scopeOrName.name,\n });\n }\n else {\n colResults = await this._engine.collection_GetCollections({\n name: this._databaseUniqueName,\n scopeName: Database.defaultScopeName,\n });\n }\n for (const col of colResults.collections) {\n const scope = new Scope(col.scope.name, this);\n collections.push(new Collection(col.name, scope, this));\n }\n return collections;\n }\n // eslint-disable-next-line\n async createCollection(collectionName, scopeOrName) {\n let col;\n if (typeof scopeOrName === 'string') {\n col = await this._engine.collection_CreateCollection({\n name: this._databaseUniqueName,\n collectionName: collectionName,\n scopeName: scopeOrName,\n });\n }\n else if (scopeOrName instanceof Scope) {\n col = await this._engine.collection_CreateCollection({\n name: this._databaseUniqueName,\n collectionName: collectionName,\n scopeName: scopeOrName.name,\n });\n }\n else {\n col = await this._engine.collection_CreateCollection({\n name: this._databaseUniqueName,\n collectionName: collectionName,\n scopeName: Database.defaultScopeName,\n });\n }\n const scope = new Scope(col.scope.name, this);\n return new Collection(col.name, scope, this);\n }\n // eslint-disable-next-line \n deleteCollection(collectionOrName, scopeName) {\n if (typeof collectionOrName === 'string' && scopeName !== undefined) {\n return this._engine.collection_DeleteCollection({\n name: this._databaseUniqueName,\n collectionName: collectionOrName,\n scopeName: scopeName,\n });\n }\n else if (collectionOrName instanceof Collection) {\n return this._engine.collection_DeleteCollection({\n name: this._databaseUniqueName,\n collectionName: collectionOrName.name,\n scopeName: collectionOrName.scope.name,\n });\n }\n else {\n throw new Error('Invalid arguments');\n }\n }\n /**\n * @deprecated deleteDocument is deprecated. Use Collection deleteDocument instead.\n *\n * @function\n */\n deleteDocument(document, concurrencyControl = null) {\n const id = document.getId();\n return this._engine.database_DeleteDocument({\n name: this._databaseUniqueName,\n docId: id,\n concurrencyControl: concurrencyControl,\n });\n }\n /**\n * @deprecated purgeDocument is deprecated. Use Collection purgeDocument instead.\n *\n * @function\n */\n purgeDocument(document) {\n return this._engine.database_PurgeDocument({\n name: this._databaseUniqueName,\n docId: document.getId(),\n });\n }\n /**\n * @deprecated getCount is deprecated. Use Collection getCount instead.\n *\n * @function\n */\n async getCount() {\n const count = await this._engine.database_GetCount({\n name: this._databaseUniqueName,\n });\n return Promise.resolve(count.count);\n }\n /**\n * @deprecated getDocument is deprecated. Use Collection getDocument instead.\n *\n * @function\n */\n async getDocument(id) {\n const docJson = await this._engine.collection_GetDocument({\n docId: id,\n name: this._databaseUniqueName,\n scopeName: \"_default\",\n collectionName: \"_default\",\n });\n const collection = await this.defaultCollection();\n // @ts-expect-error - _id is used in getId()\n if (docJson && docJson._id) {\n // @ts-expect-error - _data is used in getData()\n const data = docJson._data;\n // @ts-expect-error - _sequence is used in getSequence()\n const sequence = docJson._sequence;\n // @ts-expect-error _id exists in documents\n const retId = docJson._id;\n // @ts-expect-error - _revId is used in getRevisionID()\n const revisionID = docJson._revId;\n return Promise.resolve(new Document(retId, sequence, revisionID, collection, data));\n }\n else {\n return Promise.resolve(null);\n }\n }\n /**\n * @deprecated save is deprecated. Use Collection save instead.\n *\n * @function\n */\n async save(document, concurrencyControl = null) {\n const ret = await this._engine.collection_Save({\n id: document.getId(),\n document: document.toJsonString(),\n blobs: document.blobsToJsonString(),\n concurrencyControl: concurrencyControl,\n name: this._databaseUniqueName,\n scopeName: \"_default\",\n collectionName: \"_default\",\n });\n document.setId(ret._id);\n document.setRevisionID(ret._revId);\n document.setSequence(ret._sequence);\n }\n /**\n * @deprecated createIndex is deprecated. Use Collection createIndex instead.\n *\n * @function\n */\n createIndex(indexName, index) {\n return this._engine.database_CreateIndex({\n name: this._databaseUniqueName,\n indexName: indexName,\n index: index.toJson(),\n });\n }\n /**\n * @deprecated getIndexes is deprecated. Use Collection getIndexes instead.\n *\n * @function\n */\n async getIndexes() {\n return (await this._engine.database_GetIndexes({\n name: this._databaseUniqueName,\n })).indexes;\n }\n /**\n * @deprecated deleteIndex is deprecated. Use Collection deleteIndex instead.\n *\n * @function\n */\n deleteIndex(indexName) {\n return this._engine.database_DeleteIndex({\n name: this._databaseUniqueName,\n indexName: indexName,\n });\n }\n /**\n * Creates a Query object from the given query string.\n *\n * @function\n */\n createQuery(queryString) {\n return new Query(queryString, this);\n }\n}\n/**\n * The default scope name constant\n *\n * @property\n */\nDatabase.defaultScopeName = '_default';\n/**\n * The default collection name constant\n *\n * @property\n */\nDatabase.defaultCollectionName = '_default';\n//# sourceMappingURL=database.js.map","export var ReplicatedDocumentFlag;\n(function (ReplicatedDocumentFlag) {\n // eslint-disable-next-line\n ReplicatedDocumentFlag[\"DELETED\"] = \"DELETED\";\n // eslint-disable-next-line\n ReplicatedDocumentFlag[\"ACCESS_REMOVED\"] = \"ACCESS_REMOVED\";\n})(ReplicatedDocumentFlag || (ReplicatedDocumentFlag = {}));\nexport class ReplicatedDocument {\n // eslint-disable-next-line\n constructor(id, flags, error = undefined, scopeName, collectionName) {\n this.id = id;\n this.flags = flags;\n this.error = error;\n this.scopeName = scopeName;\n this.collectionName = collectionName;\n }\n getId() {\n return this.id;\n }\n getFlags() {\n return this.flags;\n }\n getError() {\n return this.error;\n }\n}\nexport function isReplicatedDocumentRepresentation(obj) {\n try {\n const object = obj;\n object.flags.forEach((flag) => {\n const flagTest = (ReplicatedDocumentFlag)[flag];\n if (flagTest === undefined) {\n throw 'unrecognized replication flag ' + flag;\n }\n });\n if (object.id === null) {\n throw 'document id cannot be null';\n }\n if (object.error) {\n if (!object.error.message) {\n throw 'document error is incomplete';\n }\n }\n return true;\n }\n catch (e) {\n console.warn('Invalid ReplicatedDocumentRepresentation:', e);\n return false;\n }\n}\n//# sourceMappingURL=replicated-document.js.map","import { isReplicatedDocumentRepresentation, } from './replicated-document';\nexport class DocumentReplication {\n // eslint-disable-next-line\n constructor(isPush, documents) {\n this.isPush = isPush;\n this.documents = documents;\n }\n getIsPush() {\n return this.isPush;\n }\n getDocuments() {\n return this.documents;\n }\n}\nexport function isDocumentReplicationRepresentation(obj) {\n try {\n const object = obj;\n object.documents.forEach((document) => {\n if (!isReplicatedDocumentRepresentation(document)) {\n throw 'invalid replicated document';\n }\n });\n const isPush = object.isPush;\n if (isPush === undefined) {\n throw 'unrecognized replication isPush ';\n }\n return true;\n }\n catch (e) {\n console.warn('Invalid DocumentReplicationRepresentation:', e);\n return false;\n }\n}\n//# sourceMappingURL=document-replication.js.map","export class Expression {\n static value(value) {\n return new ValueExpression(value);\n }\n static string(value) {\n return new ValueExpression(value);\n }\n static number(value) {\n return new ValueExpression(value);\n }\n static intValue(value) {\n return new ValueExpression(value);\n }\n static longValue(value) {\n return new ValueExpression(value);\n }\n static floatValue(value) {\n return new ValueExpression(value);\n }\n static doubleValue(value) {\n return new ValueExpression(value);\n }\n static booleanValue(value) {\n return new ValueExpression(value);\n }\n static date(value) {\n return new ValueExpression(value);\n }\n static all() {\n return new PropertyExpression('*');\n }\n static property(property) {\n return new PropertyExpression(property);\n }\n static parameter(name) {\n return new ParameterExpression(name);\n }\n static negated(expression) {\n return new CompoundExpression([expression], CompoundExpression.OpType.Not);\n }\n static not(expression) {\n return Expression.negated(expression);\n }\n multiply(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.Multiply);\n }\n divide(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.Divide);\n }\n modulo(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.Modulus);\n }\n /**\n * Create an add expression to add the given expression to the current expression\n */\n add(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.Add);\n }\n subtract(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.Subtract);\n }\n lessThan(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.LessThan);\n }\n lessThanOrEqualTo(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.LessThanOrEqualTo);\n }\n greaterThan(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.GreaterThan);\n }\n greaterThanOrEqualTo(expression) {\n return new BinaryExpression(this, expression, BinaryOpType.GreaterThanOrEqualTo);\n }\n equalTo(expression) {\n return new BinaryExpression(this, expression, BinaryExpression.OpType.EqualTo);\n }\n notEqualTo(expression) {\n return new BinaryExpression(this, expression, BinaryExpression.OpType.NotEqualTo);\n }\n and(expression) {\n return new CompoundExpression([this, expression], CompoundExpressionOpType.And);\n }\n or(expression) {\n return new CompoundExpression([this, expression], CompoundExpressionOpType.Or);\n }\n like(expression) {\n return new BinaryExpression(this, expression, BinaryExpression.OpType.Like);\n }\n regex(expression) {\n return new BinaryExpression(this, expression, BinaryExpression.OpType.RegexLike);\n }\n is(expression) {\n return new BinaryExpression(this, expression, BinaryExpression.OpType.Is);\n }\n isNot(expression) {\n return new BinaryExpression(this, expression, BinaryExpression.OpType.IsNot);\n }\n between(expression1, expression2) {\n const aggr = new AggregateExpression([expression1, expression2]);\n return new BinaryExpression(this, aggr, BinaryExpression.OpType.Between);\n }\n isNullOrMissing() {\n return new UnaryExpression(this, UnaryExpression.OpType.Null).or(new UnaryExpression(this, UnaryExpression.OpType.Missing));\n }\n notNullOrMissing() {\n return Expression.negated(this.isNullOrMissing());\n }\n collate(collation) {\n return new CollationExpression(this, collation);\n }\n in(...expressions) {\n const aggr = new AggregateExpression(expressions);\n return new BinaryExpression(this, aggr, BinaryExpression.OpType.In);\n }\n}\nexport class PropertyExpression extends Expression {\n constructor(keyPath, _from = '', columnName = '') {\n super();\n this.keyPath = keyPath;\n this._from = _from;\n this.columnName = columnName;\n }\n from(alias) {\n return new PropertyExpression(this.keyPath, alias);\n }\n static allFrom(from) {\n const colName = from || PropertyExpression.kCBLAllPropertiesName;\n return new PropertyExpression(PropertyExpression.kCBLAllPropertiesName, from, colName);\n }\n asJSON() {\n const json = [];\n if (this._from !== null && this._from !== '') {\n json.push('.' + this._from + '.' + this.keyPath);\n }\n else {\n json.push('.' + this.keyPath);\n }\n return json;\n }\n getColumnName() {\n if (!this.columnName) {\n const paths = this.keyPath.split('.');\n this.columnName = paths.pop();\n }\n return this.columnName;\n }\n}\nPropertyExpression.kCBLAllPropertiesName = '';\nexport class ValueExpression extends Expression {\n constructor(value) {\n super();\n this.value = value;\n }\n asJSON() {\n if (this.value instanceof Date) {\n return this.value.toISOString();\n }\n else {\n return this.value;\n }\n }\n}\nexport var BinaryOpType;\n(function (BinaryOpType) {\n BinaryOpType[BinaryOpType[\"Add\"] = 0] = \"Add\";\n BinaryOpType[BinaryOpType[\"Between\"] = 1] = \"Between\";\n BinaryOpType[BinaryOpType[\"Divide\"] = 2] = \"Divide\";\n BinaryOpType[BinaryOpType[\"EqualTo\"] = 3] = \"EqualTo\";\n BinaryOpType[BinaryOpType[\"GreaterThan\"] = 4] = \"GreaterThan\";\n BinaryOpType[BinaryOpType[\"GreaterThanOrEqualTo\"] = 5] = \"GreaterThanOrEqualTo\";\n BinaryOpType[BinaryOpType[\"In\"] = 6] = \"In\";\n BinaryOpType[BinaryOpType[\"Is\"] = 7] = \"Is\";\n BinaryOpType[BinaryOpType[\"IsNot\"] = 8] = \"IsNot\";\n BinaryOpType[BinaryOpType[\"LessThan\"] = 9] = \"LessThan\";\n BinaryOpType[BinaryOpType[\"LessThanOrEqualTo\"] = 10] = \"LessThanOrEqualTo\";\n BinaryOpType[BinaryOpType[\"Like\"] = 11] = \"Like\";\n BinaryOpType[BinaryOpType[\"Modulus\"] = 12] = \"Modulus\";\n BinaryOpType[BinaryOpType[\"Multiply\"] = 13] = \"Multiply\";\n BinaryOpType[BinaryOpType[\"NotEqualTo\"] = 14] = \"NotEqualTo\";\n BinaryOpType[BinaryOpType[\"Subtract\"] = 15] = \"Subtract\";\n BinaryOpType[BinaryOpType[\"RegexLike\"] = 16] = \"RegexLike\";\n})(BinaryOpType || (BinaryOpType = {}));\nexport class BinaryExpression extends Expression {\n constructor(lhs, rhs, type) {\n super();\n this.lhs = lhs;\n this.rhs = rhs;\n this.type = type;\n }\n asJSON() {\n const json = [];\n switch (this.type) {\n case BinaryOpType.Add:\n json.push('+');\n break;\n case BinaryOpType.Between:\n json.push('BETWEEN');\n break;\n case BinaryOpType.Divide:\n json.push('/');\n break;\n case BinaryOpType.EqualTo:\n json.push('=');\n break;\n case BinaryOpType.GreaterThan:\n json.push('>');\n break;\n case BinaryOpType.GreaterThanOrEqualTo:\n json.push('>=');\n break;\n case BinaryOpType.In:\n json.push('IN');\n break;\n case BinaryOpType.Is:\n json.push('IS');\n break;\n case BinaryOpType.IsNot:\n json.push('IS NOT');\n break;\n case BinaryOpType.LessThan:\n json.push('<');\n break;\n case BinaryOpType.LessThanOrEqualTo:\n json.push('<=');\n break;\n case BinaryOpType.Like:\n json.push('LIKE');\n break;\n case BinaryOpType.Modulus:\n json.push('%');\n break;\n case BinaryOpType.Multiply:\n json.push('*');\n break;\n case BinaryOpType.NotEqualTo:\n json.push('!=');\n break;\n case BinaryOpType.RegexLike:\n json.push('regexp_like()');\n break;\n case BinaryOpType.Subtract:\n json.push('-');\n break;\n }\n json.push(this.lhs.asJSON());\n if (this.type === BinaryOpType.Between) {\n // \"between\"'s RHS is an aggregate of the min and max, but the min and max need to be\n // written out as parameters to the BETWEEN operation:\n const rangeExprs = this.rhs.getExpressions();\n json.push(rangeExprs[0].asJSON());\n json.push(rangeExprs[1].asJSON());\n }\n else {\n json.push(this.rhs.asJSON());\n }\n return json;\n }\n}\nBinaryExpression.OpType = BinaryOpType;\nexport class AggregateExpression extends Expression {\n constructor(expressions) {\n super();\n this.expressions = expressions;\n }\n getExpressions() {\n return this.expressions;\n }\n asJSON() {\n const json = [];\n json.push('[]');\n for (let expr of this.expressions) {\n json.push(expr.asJSON());\n }\n return json;\n }\n}\nexport class ParameterExpression extends Expression {\n constructor(name) {\n super();\n this.name = name;\n }\n asJSON() {\n return ['$' + this.name];\n }\n}\nexport var CompoundExpressionOpType;\n(function (CompoundExpressionOpType) {\n CompoundExpressionOpType[CompoundExpressionOpType[\"And\"] = 0] = \"And\";\n CompoundExpressionOpType[CompoundExpressionOpType[\"Or\"] = 1] = \"Or\";\n CompoundExpressionOpType[CompoundExpressionOpType[\"Not\"] = 2] = \"Not\";\n})(CompoundExpressionOpType || (CompoundExpressionOpType = {}));\nexport class CompoundExpression extends Expression {\n constructor(subexpressions, type) {\n super();\n this.subexpressions = subexpressions;\n this.type = type;\n }\n asJSON() {\n const json = [];\n switch (this.type) {\n case CompoundExpressionOpType.And:\n json.push('AND');\n break;\n case CompoundExpressionOpType.Or:\n json.push('OR');\n break;\n case CompoundExpressionOpType.Not:\n json.push('NOT');\n break;\n }\n json.push(...this.subexpressions.map((s) => s.asJSON()));\n return json;\n }\n}\nCompoundExpression.OpType = CompoundExpressionOpType;\nexport var UnaryExpressionOpType;\n(function (UnaryExpressionOpType) {\n UnaryExpressionOpType[UnaryExpressionOpType[\"Missing\"] = 0] = \"Missing\";\n UnaryExpressionOpType[UnaryExpressionOpType[\"NotMissing\"] = 1] = \"NotMissing\";\n UnaryExpressionOpType[UnaryExpressionOpType[\"NotNull\"] = 2] = \"NotNull\";\n UnaryExpressionOpType[UnaryExpressionOpType[\"Null\"] = 3] = \"Null\";\n})(UnaryExpressionOpType || (UnaryExpressionOpType = {}));\nexport class UnaryExpression extends Expression {\n constructor(operand, type) {\n super();\n this.operand = operand;\n this.type = type;\n if (operand == null)\n throw new Error('operand is null.');\n }\n asJSON() {\n const opd = this.operand.asJSON();\n switch (this.type) {\n case UnaryExpressionOpType.Missing: {\n return ['IS', opd, ['MISSING']];\n }\n case UnaryExpressionOpType.NotMissing: {\n return ['IS NOT', opd, ['MISSING']];\n }\n case UnaryExpressionOpType.Null: {\n return ['IS', opd, null];\n }\n case UnaryExpressionOpType.NotNull: {\n return ['IS NOT', opd, null];\n }\n default:\n return [];\n }\n }\n}\nUnaryExpression.OpType = UnaryExpressionOpType;\nexport class CollationExpression extends Expression {\n constructor(operand, collation) {\n super();\n this.operand = operand;\n this.collation = collation;\n }\n asJSON() {\n return ['COLLATE', this.collation.asJSON(), this.operand.asJSON()];\n }\n}\nexport class FunctionExpression extends Expression {\n constructor(func, params) {\n super();\n this.func = func;\n this.params = params;\n }\n asJSON() {\n const json = [this.func];\n json.push(...this.params.map((p) => p.asJSON()));\n return json;\n }\n}\n//# sourceMappingURL=expression.js.map","import { EngineLocator } from './engine-locator';\nexport class FileSystem {\n constructor() {\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n }\n async getDefaultPath() {\n const results = await this._engine.file_GetDefaultPath();\n return results.path;\n }\n async getFilesInDirectory(path) {\n return this._engine.file_GetFileNamesInDirectory({ path });\n }\n}\n//# sourceMappingURL=file-system.js.map","import { Expression } from './expression';\n/**\n * Full-text expression\n */\nexport class FullTextExpression {\n constructor(name) {\n this.name = name;\n }\n /**\n * Creates a full-text expression with the given full-text index name.\n *\n * @param name The full-text index name.\n * @return The full-text expression.\n */\n static index(name) {\n return new FullTextExpression(name);\n }\n /**\n * Creates a full-text match expression with the given search text.\n *\n * @param query The search text\n * @return The full-text match expression\n */\n match(query) {\n return new FullTextMatchExpression(this.name, query);\n }\n}\nexport class FullTextMatchExpression extends Expression {\n constructor(indexName, text) {\n super();\n this.indexName = indexName;\n this.text = text;\n }\n asJSON() {\n return ['MATCH()', this.indexName, this.text];\n }\n}\n//# sourceMappingURL=full-text-expression.js.map","import { AbstractIndex, IndexType } from './abstract-index';\nimport { Expression } from './expression';\n/**\n * Index for Full-Text search\n */\nexport class FullTextIndex extends AbstractIndex {\n constructor(...indexItems) {\n super();\n this._language = FullTextIndex.getDefaultLanguage();\n this._ignoreAccents = false;\n this.indexItems = indexItems;\n }\n /**\n * The language code which is an ISO-639 language such as \"en\", \"fr\", etc.\n * Setting the language code affects how word breaks and word stems are parsed.\n * Without setting the value, the current locale's language will be used. Setting\n * a nil or \"\" value to disable the language features.\n */\n setLanguage(language) {\n this._language = language;\n return this;\n }\n /**\n * Set the true value to ignore accents/diacritical marks. The default value is false.\n */\n setIgnoreAccents(ignoreAccents) {\n this._ignoreAccents = ignoreAccents;\n return this;\n }\n type() {\n return IndexType.FullText;\n }\n language() {\n return this._language;\n }\n ignoreAccents() {\n return this._ignoreAccents;\n }\n items() {\n const items = [];\n for (let item of this.indexItems) {\n items.push(item.expression.asJSON());\n }\n return items;\n }\n toJson() {\n return {\n type: 'full-text',\n language: this._language,\n ignoreAccents: this._ignoreAccents,\n items: this.items(),\n };\n }\n static getDefaultLanguage() {\n return 'en';\n //return Locale.getDefault().getLanguage();\n }\n}\n/**\n * Full-text Index Item.\n */\nexport class FullTextIndexItem {\n constructor(expression) {\n this.expression = expression;\n this.expression = expression;\n }\n /**\n * Creates a full-text search index item with the given property.\n *\n * @param property A property used to perform the match operation against with.\n * @return The full-text search index item.\n */\n static property(property) {\n return new FullTextIndexItem(Expression.property(property));\n }\n}\n//# sourceMappingURL=full-text-index.js.map","import { Expression } from './expression';\nimport { IndexType, AbstractIndex } from './abstract-index';\nexport class ValueIndex extends AbstractIndex {\n constructor(...indexItems) {\n super();\n this.indexItems = indexItems;\n }\n type() {\n return IndexType.Value;\n }\n language() {\n return null;\n }\n ignoreAccents() {\n return false;\n }\n items() {\n const items = [];\n for (let item of this.indexItems) {\n items.push(item.expr.asJSON());\n }\n return items;\n }\n toJson() {\n return {\n type: 'value',\n items: this.items(),\n };\n }\n}\nexport class ValueIndexItem {\n constructor(expr) {\n this.expr = expr;\n }\n /**\n * Creates a value index item with the given property.\n *\n * @param property the property name\n * @return The value index item\n */\n static property(property) {\n return new ValueIndexItem(Expression.property(property));\n }\n /**\n * Creates a value index item with the given property.\n *\n * @param expression The expression to index. Typically a property expression.\n * @return The value index item\n */\n static expression(expression) {\n return new ValueIndexItem(expression);\n }\n}\n//# sourceMappingURL=value-index.js.map","import { ValueIndex } from './value-index';\nimport { FullTextIndex } from './full-text-index';\nexport class IndexBuilder {\n /**\n * Create a value index with the given index items. The index items are a list of\n * the properties or expressions to be indexed.\n *\n * @param items The index items\n * @return The value index\n */\n static valueIndex(...items) {\n return new ValueIndex(...items);\n }\n /**\n * Create a full-text search index with the given index item and options. Typically the index item is\n * the property that is used to perform the match operation against with.\n *\n * @param items The index items.\n * @return The full-text search index.\n */\n static fullTextIndex(...items) {\n return new FullTextIndex(...items);\n }\n}\n//# sourceMappingURL=index-builder.js.map","import { Expression } from './expression';\nexport class MetaExpression extends Expression {\n constructor(_keyPath, _columnName, _from) {\n super();\n this._keyPath = _keyPath;\n this._columnName = _columnName;\n this._from = _from;\n }\n from(alias) {\n return new MetaExpression(this._keyPath, null, alias);\n }\n asJSON() {\n const json = [];\n if (this._from) {\n json.push('.' + this._from + '.' + this._keyPath);\n }\n else {\n json.push('.' + this._keyPath);\n }\n return json;\n }\n getColumnName() {\n if (!this._columnName) {\n const paths = this._keyPath.split('.');\n this._columnName = paths[paths.length - 1];\n }\n return this._columnName;\n }\n}\n//# sourceMappingURL=meta-expression.js.map","import { MetaExpression } from './meta-expression';\nexport class Meta {\n}\nMeta.id = new MetaExpression('_id', 'id', null);\nMeta.sequence = new MetaExpression('_sequence', 'sequence', null);\nMeta.deleted = new MetaExpression('_deleted', 'deleted', null);\nMeta.expiration = new MetaExpression('_expiration', 'expiration', null);\n//# sourceMappingURL=meta.js.map","import { Document } from './document';\nexport class MutableDocument extends Document {\n // Actual constructor implementation\n constructor(id = null, sequenceNoOrData = null, revisionIDOrData = null, data = {}, collection = null) {\n if (arguments.length === 0) {\n super(null, null, null, null, {});\n }\n else if (arguments.length === 1) {\n // Just ID\n if (id === null || id.length === 0) {\n super(null, null, null, null, {});\n }\n else {\n super(id, null, null, null, {});\n }\n }\n else if (arguments.length === 2 && typeof sequenceNoOrData === 'object') {\n // ID and data\n super(id, null, null, null, sequenceNoOrData || {});\n }\n else if (arguments.length === 3 && typeof revisionIDOrData === 'object') {\n // ID, sequenceNo, and data\n super(id, sequenceNoOrData, null, null, revisionIDOrData || {});\n }\n else {\n // Full constructor\n super(id, sequenceNoOrData, revisionIDOrData, collection, data);\n }\n this._blobs = {};\n }\n /**\n * Creates a new MutableDocument instance from an existing Document\n * @param {Document} document - The source Document to create a mutable copy from\n * @returns {MutableDocument} A new MutableDocument containing the same data as the source document\n * @example\n * const doc = await collection.document('doc1');\n * const mutableDoc = MutableDocument.fromDocument(doc);\n *\n * // Now you can modify the document\n * mutableDoc.setString('name', 'John');\n * await collection.save(mutableDoc);\n */\n static fromDocument(document) {\n return new MutableDocument(document.getId(), document.getSequence(), document.getRevisionID(), document.getData(), document.getCollection());\n }\n static fromJSON(documentId, jsonString) {\n try {\n const data = JSON.parse(jsonString);\n return new MutableDocument(documentId, data);\n }\n catch (e) {\n throw new Error(`Failed to parse JSON string: ${e.message}`);\n }\n }\n /**\n * Removes a property from the document\n * @param {string} key - The property key to remove. Can be a dot-notation path for nested properties\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Remove a top-level property\n * doc.remove('name');\n *\n * // Remove a nested property\n * doc.remove('address.city');\n *\n * // Chain with other methods\n * doc.remove('name')\n * .setString('title', 'Mr.')\n * .setNumber('age', 30);\n */\n remove(key) {\n const parts = key.split('.');\n let current = this.doc;\n // Navigate to the parent object for nested properties\n for (let i = 0; i < parts.length - 1; i++) {\n if (current[parts[i]] === undefined) {\n return this;\n }\n current = current[parts[i]];\n }\n // Delete the final property\n delete current[parts[parts.length - 1]];\n return this;\n }\n /**\n * Internal method to set a value in the document\n * @param {string} key - The property key where the value will be stored\n * @param {T | null} value - The value to store, can be null\n * @template T - The type of the value being stored\n * @private\n * @example\n * // This is an internal method, typically used by public setters:\n * // Instead of using _set directly, use public methods like:\n * doc.setString('name', 'John');\n * doc.setNumber('age', 30);\n */\n _set(key, value) {\n if (key in this._blobs) {\n delete this._blobs[key];\n }\n this.doc[key] = value;\n }\n /**\n * Sets the document's ID\n * @param {string} id - The new ID for the document\n * @example\n * const doc = new MutableDocument();\n * doc.setId('user123');\n *\n * // Note: Changing an existing document's ID is generally not recommended\n * // as it may affect document tracking and replication\n */\n setId(id) {\n this.id = id;\n }\n /**\n * Sets an array value for a given key in the document\n * @param {string} key - The property key where the array will be stored\n * @param {T[]} value - The array to store\n * @template T - The type of elements in the array\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set an array of strings\n * doc.setArray('tags', ['important', 'urgent']);\n *\n * // Set an array of numbers\n * doc.setArray('scores', [85, 92, 78]);\n *\n * // Chain with other methods\n * doc.setArray('items', ['a', 'b'])\n * .setString('status', 'active');\n */\n setArray(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a blob value for a given key in the document\n * @param {string} key - The property key where the blob will be stored\n * @param {Blob | null} value - The blob to store, or null to remove existing blob\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Create and set a new blob\n * const bytes = new Uint8Array([72, 101, 108, 108, 111]);\n * const blob = new Blob('text/plain', bytes);\n * doc.setBlob('attachment', blob);\n *\n * // Remove a blob\n * doc.setBlob('attachment', null);\n *\n * // Chain with other methods\n * doc.setBlob('attachment', blob)\n * .setString('filename', 'hello.txt');\n */\n setBlob(key, value) {\n //remove it from the internal doc because it's a blob\n if (key in this.doc) {\n delete this.doc[key];\n }\n if (value === null) {\n this._blobs[key] = null;\n return this;\n }\n this._blobs[key] = {\n _type: 'blob',\n data: value.toDictionary(),\n };\n return this;\n }\n /**\n * Sets a boolean value for a given key in the document\n * @param {string} key - The property key where the boolean will be stored\n * @param {boolean} value - The boolean value to store\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set a boolean value\n * doc.setBoolean('isActive', true);\n *\n * // Set multiple boolean values using method chaining\n * doc.setBoolean('isEnabled', true)\n * .setBoolean('isVisible', false)\n * .setBoolean('isLocked', true);\n */\n setBoolean(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets the collection that this document belongs to\n * @param {Collection} collection - The collection instance to associate with this document\n * @example\n * const collection = await database.collection('users');\n * const doc = new MutableDocument('user123');\n * doc.setCollection(collection);\n *\n * // Note: This method is typically used internally.\n * // Documents are usually associated with collections when created through the collection itself\n */\n setCollection(collection) {\n this.collection = collection;\n }\n /**\n * Sets the entire document's data content\n * @param {Dictionary} data - An object containing all the data to be stored in the document\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set complete document data\n * doc.setData({\n * name: 'John Doe',\n * age: 30,\n * email: 'john@example.com'\n * });\n *\n * // Chain with other methods\n * doc.setData({ name: 'John' })\n * .setString('title', 'Mr.');\n *\n * // Replace existing data\n * const newData = { status: 'active', type: 'user' };\n * doc.setData(newData); // Previous data is completely replaced\n */\n setData(data) {\n this.doc = data;\n return this;\n }\n /**\n * Sets a date value for a given key in the document\n * @param {string} key - The property key where the date will be stored\n * @param {Date | null} value - The date to store, or null to remove the date\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set current date\n * doc.setDate('createdAt', new Date());\n *\n * // Set specific date\n * doc.setDate('dueDate', new Date('2024-12-31'));\n *\n * // Remove date\n * doc.setDate('expiredAt', null);\n *\n * // Chain with other methods\n * doc.setDate('createdAt', new Date())\n * .setString('status', 'active');\n *\n * // Note: Dates are stored as ISO 8601 strings in the document\n */\n setDate(key, value) {\n if (value !== null) {\n this._set(key, value.toISOString());\n }\n else {\n this._set(key, value);\n }\n return this;\n }\n /**\n * Sets a dictionary (object) value for a given key in the document\n * @param {string} key - The property key where the dictionary will be stored\n * @param {Dictionary | null} value - The dictionary to store, or null to remove the dictionary\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set a dictionary\n * doc.setDictionary('address', {\n * street: '123 Main St',\n * city: 'Boston',\n * state: 'MA',\n * zip: '02108'\n * });\n *\n * // Remove a dictionary\n * doc.setDictionary('oldAddress', null);\n *\n * // Chain with other methods\n * doc.setDictionary('contact', { email: 'john@example.com' })\n * .setString('status', 'active');\n */\n setDictionary(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a double-precision floating point number for a given key in the document\n * @param {string} key - The property key where the number will be stored\n * @param {number} value - The double value to store\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set a double value\n * doc.setDouble('price', 99.99);\n *\n * // Set a scientific notation\n * doc.setDouble('distance', 1.23e-4);\n *\n * // Chain with other methods\n * doc.setDouble('weight', 75.5)\n * .setDouble('height', 182.3)\n * .setString('unit', 'metric');\n */\n setDouble(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a single-precision floating point number for a given key in the document\n * @param {string} key - The property key where the number will be stored\n * @param {number} value - The float value to store\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set a float value\n * doc.setFloat('temperature', 98.6);\n *\n * // Set a scientific notation\n * doc.setFloat('measurement', 3.14e2);\n *\n * // Chain with other methods\n * doc.setFloat('latitude', 42.3601)\n * .setFloat('longitude', -71.0589)\n * .setString('location', 'Boston');\n *\n * // Note: Use setDouble() instead if you need higher precision\n */\n setFloat(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a 32-bit integer value for a given key in the document\n * @param {string} key - The property key where the integer will be stored\n * @param {number} value - The integer value to store\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set an integer value\n * doc.setInt('age', 25);\n *\n * // Set a negative integer\n * doc.setInt('temperature', -5);\n *\n * // Chain with other methods\n * doc.setInt('quantity', 100)\n * .setInt('minStock', 10)\n * .setString('status', 'in-stock');\n *\n * // Note: For larger numbers, use setLong() instead\n */\n setInt(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a 64-bit integer value for a given key in the document\n * @param {string} key - The property key where the long integer will be stored\n * @param {number} value - The long integer value to store\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set a large integer value\n * doc.setLong('fileSize', 2147483648);\n *\n * // Set a timestamp\n * doc.setLong('timestamp', Date.now());\n *\n * // Chain with other methods\n * doc.setLong('userId', 9876543210)\n * .setString('status', 'active');\n *\n * // Note: Use this instead of setInt() for numbers larger than 2^31 - 1\n */\n setLong(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a numeric value for a given key in the document\n * @param {string} key - The property key where the number will be stored\n * @param {number} value - The numeric value to store\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set various types of numbers\n * doc.setNumber('integer', 42);\n * doc.setNumber('decimal', 3.14);\n * doc.setNumber('scientific', 1.23e-4);\n * doc.setNumber('negative', -10);\n *\n * // Chain with other methods\n * doc.setNumber('price', 99.99)\n * .setString('currency', 'USD');\n *\n * // Note: For specific number types, consider using:\n * // setInt() for 32-bit integers\n * // setLong() for 64-bit integers\n * // setFloat() for single-precision decimals\n * // setDouble() for double-precision decimals\n */\n setNumber(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets the revision ID for the document\n * @param {string} revisionID - The new revision ID to set\n * @example\n * const doc = new MutableDocument('user123');\n * doc.setRevisionID('1-abc123');\n *\n * // Note: THIS METHOD IS USED INTERNALLY ONLY - DO NOT SET THIS MANUALLY.\n * // Revision IDs ARE MANAGED AUTOMATICALLY BY THE DATABASE\n */\n setRevisionID(revisionID) {\n this.revisionID = revisionID;\n }\n /**\n * Sets the sequence number for the document\n * @param {string} revisionID - The new sequence number to set\n * @example\n * const doc = new MutableDocument('user123');\n * doc.setSequence(123);\n *\n * // Note: THIS METHOD IS USED INTERNALLY ONLY - DO NOT SET THIS MANUALLY.\n * // SEQUENCE NUMBERS ARE MANAGED AUTOMATICALLY BY THE DATABASE\n */\n setSequence(sequence) {\n this.sequenceNo = sequence;\n }\n /**\n * Sets a string value for a given key in the document\n * @param {string} key - The property key where the string will be stored\n * @param {string | null} value - The string value to store, or null to remove the value\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set a string value\n * doc.setString('name', 'John Doe');\n *\n * // Remove a string value\n * doc.setString('middleName', null);\n *\n * // Chain with other methods\n * doc.setString('firstName', 'John')\n * .setString('lastName', 'Doe')\n * .setString('email', 'john@example.com');\n */\n setString(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Sets a value of any type for a given key in the document\n * @param {string} key - The property key where the value will be stored\n * @param {T} value - The value to store\n * @template T - The type of the value being stored\n * @returns {MutableDocument} The current document instance for method chaining\n * @example\n * // Set values of different types\n * doc.setValue('name', 'John')\n * .setValue('age', 30)\n * .setValue('isActive', true)\n * .setValue('scores', [85, 92, 78])\n * .setValue('address', {\n * street: '123 Main St',\n * city: 'Boston'\n * });\n *\n * // Note: Consider using type-specific setters (setString, setNumber, etc.)\n * // when the type is known at development time\n */\n setValue(key, value) {\n this._set(key, value);\n return this;\n }\n /**\n * Converts the document's blob attachments to a JSON string representation\n * @returns {string} A JSON string containing all blob attachments in the document\n * @example\n * // First, add some blobs to the document\n * const imageBlob = new Blob('image/jpeg', imageBytes);\n * const pdfBlob = new Blob('application/pdf', pdfBytes);\n *\n * doc.setBlob('profile_image', imageBlob)\n * .setBlob('resume', pdfBlob);\n *\n * // Get JSON string of all blobs\n * const blobsJson = doc.blobsToJsonString();\n * // Returns: '{\"profile_image\":{\"_type\":\"blob\",\"data\":{...}},\"resume\":{...}}'\n */\n blobsToJsonString() {\n return JSON.stringify(this._blobs);\n }\n}\n//# sourceMappingURL=mutable-document.js.map","import { Expression } from './expression';\nexport class Ordering {\n static property(property) {\n return this.expression(Expression.property(property));\n }\n static expression(expression) {\n return new SortOrder(expression);\n }\n}\nexport class SortOrder extends Ordering {\n constructor(expression) {\n super();\n this.expression = expression;\n this.isAscending = true;\n }\n ascending() {\n this.isAscending = true;\n return this;\n }\n descending() {\n this.isAscending = false;\n return this;\n }\n asJSON() {\n if (this.isAscending) {\n return this.expression.asJSON();\n }\n return ['DESC', this.expression.asJSON()];\n }\n}\n//# sourceMappingURL=ordering.js.map","export class ReplicatorStatus {\n // eslint-disable-next-line\n constructor(activityLevel, progress, error) {\n this.activityLevel = activityLevel;\n this.progress = progress;\n this.error = error;\n }\n getActivityLevel() {\n return this.activityLevel;\n }\n getProgress() {\n return this.progress;\n }\n getError() {\n return this.error;\n }\n toString() {\n if (this.error !== undefined) {\n return `Status{activityLevel=${this.activityLevel}, progress=${this.progress}}, error=${this.error}`;\n }\n else {\n return `Status{activityLevel=${this.activityLevel}, progress=${this.progress}}`;\n }\n }\n copy() {\n return new ReplicatorStatus(this.activityLevel, this.progress, this.error);\n }\n}\n//# sourceMappingURL=replicator-status.js.map","export class ReplicatorProgress {\n // eslint-disable-next-line\n constructor(completed, total) {\n this.completed = completed;\n this.total = total;\n }\n getCompleted() {\n return this.completed;\n }\n getTotal() {\n return this.total;\n }\n toString() {\n return `Progress{completed=${this.completed}, total=${this.total}}`;\n }\n copy() {\n return new ReplicatorProgress(this.completed, this.total);\n }\n}\n//# sourceMappingURL=replicator-progress.js.map","import { EngineLocator } from './engine-locator';\nimport { ReplicatorStatus } from './replicator-status';\nimport { ReplicatorProgress } from './replicator-progress';\nimport { isDocumentReplicationRepresentation, } from './document-replication';\nexport class Replicator {\n /**\n * Initializes a replicator with the given configuration\n *\n * @param config\n */\n constructor(replicatorId, config) {\n this._replicatorId = undefined;\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n this._didStartStatusChangeListener = false;\n this._replicatorId = replicatorId;\n this._config = config.clone();\n this._documentChangeListener = new Map();\n }\n /**\n * Adds a replicator change listener for listening to status updates\n *\n * @function\n *\n */\n async addChangeListener(listener) {\n this._statusChangeListener = listener;\n const token = this._engine.getUUID();\n if (!this._didStartStatusChangeListener) {\n await this._engine.replicator_AddChangeListener({\n replicatorId: this._replicatorId,\n changeListenerToken: token,\n }, (data, err) => {\n if (err) {\n throw err;\n }\n this.notifyStatusChange(data);\n });\n this._didStartStatusChangeListener = true;\n return token;\n }\n else {\n throw new Error('Listener already started');\n }\n }\n async addDocumentChangeListener(listener) {\n const token = this._engine.getUUID() + \"_doc\";\n this._documentChangeListener.set(token, listener);\n await this._engine.replicator_AddDocumentChangeListener({\n replicatorId: this._replicatorId,\n changeListenerToken: token,\n }, (data, err) => {\n if (err) {\n throw err;\n }\n if (isDocumentReplicationRepresentation(data)) {\n this.notifyDocumentChange(data, token);\n }\n else {\n throw new Error('Invalid document replication change notification');\n }\n });\n return token;\n }\n /**\n * Creates a new Replicator instance for database synchronization\n * @param {ReplicatorConfiguration} config - The configuration for the replicator\n * @returns {Promise<Replicator>} A Promise that resolves to a new Replicator instance\n * @throws {Error} If the configuration is invalid or required parameters are missing\n */\n static async create(config) {\n if (config.getCollections().length === 0) {\n throw new Error('No collections specified in the configuration');\n }\n const engine = EngineLocator.getEngine(EngineLocator.key);\n const configJson = config.toJson();\n const ret = await engine.replicator_Create({ config: configJson });\n const replicator = new Replicator(ret.replicatorId, config.clone());\n return replicator;\n }\n /**\n * Removes the replicator from the native engine and stops the replicator from running.\n * This will remove all listeners from the replicator. As part of this, if you were to call\n * start after this method, a new replicator would be created Natively and a new replicator\n * id would be created.\n *\n * @function\n */\n async cleanup() {\n await this._engine.replicator_Cleanup({ replicatorId: this._replicatorId });\n this._replicatorId = null;\n }\n /**\n * returns the replicator id used to manage the replicator between the engine and the\n * replicator native implementation. This value should get set when the replicator is\n * created in the native engine via the start method.\n *\n * @function\n */\n getId() {\n return this._replicatorId;\n }\n /**\n * returns a copy of the replicators current configuration.\n * @function\n */\n getConfiguration() {\n return this._config;\n }\n /**\n * returns the replicators current status: its activity level and progress.\n *\n * @function\n */\n getStatus() {\n return this._engine.replicator_GetStatus({\n replicatorId: this._replicatorId,\n });\n }\n /**\n * Get pending document ids for the given collection. If the given collection is not part of the replication, an error will be thrown.\n *\n * @function\n */\n async getPendingDocumentIds(collection) {\n const collections = this._config.getCollections();\n if (!collections.includes(collection)) {\n throw new Error('Collection not part of the replication');\n }\n return await this._engine.replicator_GetPendingDocumentIds({\n replicatorId: this._replicatorId,\n collectionName: collection.name,\n scopeName: collection.scope.name,\n name: collection.database.getUniqueName(),\n });\n }\n /**\n * Check whether the document in the given collection is pending to push or not. If the given collection is not part of the replicator, an Exception will be thrown.\n *\n * @function\n */\n async isDocumentPending(documentId, collection) {\n const collections = this._config.getCollections();\n if (!collections.includes(collection)) {\n throw new Error('Collection not part of the replication');\n }\n return await this._engine.replicator_IsDocumentPending({\n replicatorId: this._replicatorId,\n documentId: documentId,\n collectionName: collection.name,\n scopeName: collection.scope.name,\n name: collection.database.getUniqueName(),\n });\n }\n notifyDocumentChange(data, token) {\n const documents = data.documents.map((doc) => {\n return {\n scopeName: doc.scopeName,\n collectionName: doc.collectionName,\n id: doc.id,\n flags: doc.flags,\n error: doc.error,\n };\n });\n const documentReplication = { isPush: data.isPush, documents: documents };\n this._documentChangeListener.get(token)(documentReplication);\n }\n notifyStatusChange(data) {\n let status;\n const activityLevel = Number(data.activityLevel);\n const replicatorProgress = new ReplicatorProgress(data.progress.completed, data.progress.total);\n if (data.error && typeof data.error.message === 'string') {\n status = new ReplicatorStatus(activityLevel, replicatorProgress, data.error.message);\n }\n else {\n status = new ReplicatorStatus(activityLevel, replicatorProgress, undefined);\n }\n const statusChange = { status: status };\n this._statusChangeListener(statusChange);\n }\n /**\n * Removes a change listener with the given listener token.\n *\n * @function\n */\n async removeChangeListener(token) {\n if (this._documentChangeListener.has(token)) {\n this._documentChangeListener.delete(token);\n }\n await this._engine.replicator_RemoveChangeListener({\n replicatorId: this._replicatorId,\n changeListenerToken: token,\n });\n }\n /**\n * Starts the replicator with an option to reset the local checkpoint of the replicator. When the\n * local checkpoint is reset, the replicator will sync all changes since the beginning of time from\n * the remote database.\n *\n * This method returns immediately; the replicator runs asynchronously and will report its progress\n * through the replicator change notification.\n *\n * @function\n *\n * @param {boolean} reset Resets the local checkpoint before starting the replicator.\n */\n async start(reset) {\n if (reset) {\n await this._engine.replicator_ResetCheckpoint({\n replicatorId: this._replicatorId,\n });\n return;\n }\n await this._engine.replicator_Start({ replicatorId: this._replicatorId });\n }\n /**\n * Stops a running replicator. This method returns immediately; when the replicator actually\n * stops, the replicator will change its status's activity level to\n * `ReplicatorActivityLevel.STOPPED` and the replicator change notification will be notified\n * accordingly.\n *\n * @function\n */\n stop() {\n return this._engine.replicator_Stop({ replicatorId: this._replicatorId });\n }\n}\n//# sourceMappingURL=replicator.js.map","export var ReplicatorActivityLevel;\n(function (ReplicatorActivityLevel) {\n // eslint-disable-next-line\n ReplicatorActivityLevel[ReplicatorActivityLevel[\"STOPPED\"] = 0] = \"STOPPED\";\n // eslint-disable-next-line\n ReplicatorActivityLevel[ReplicatorActivityLevel[\"OFFLINE\"] = 1] = \"OFFLINE\";\n // eslint-disable-next-line\n ReplicatorActivityLevel[ReplicatorActivityLevel[\"CONNECTING\"] = 2] = \"CONNECTING\";\n // eslint-disable-next-line\n ReplicatorActivityLevel[ReplicatorActivityLevel[\"IDLE\"] = 3] = \"IDLE\";\n // eslint-disable-next-line\n ReplicatorActivityLevel[ReplicatorActivityLevel[\"BUSY\"] = 4] = \"BUSY\";\n})(ReplicatorActivityLevel || (ReplicatorActivityLevel = {}));\n//# sourceMappingURL=replicator-activity-level.js.map","export function isReplicatorChange(obj) {\n try {\n const object = obj;\n return (object.activityLevel != null &&\n object.progress != null &&\n object.progress.completed != null &&\n object.progress.total != null);\n }\n catch (e) {\n console.warn('Invalid ReplicatorChange', e);\n return false;\n }\n}\n//# sourceMappingURL=replicator-change.js.map","import { ReplicatorConfiguration } from './replicator-configuration';\nimport { Authenticator } from './authenticator';\nexport class SessionAuthenticator extends Authenticator {\n // eslint-disable-next-line\n constructor(sessionID, cookieName = SessionAuthenticator.DEFAULT_SYNC_GATEWAY_SESSION_ID_NAME) {\n super();\n this.sessionID = sessionID;\n this.cookieName = cookieName;\n }\n /**\n * Configures session-based authentication options for a replicator using cookies\n * @param {Dictionary} options - The options to be modified\n */\n authenticate(options) {\n const current = options[ReplicatorConfiguration.CBLReplicatorOptionCookies] || '';\n let cookieStr = current;\n if (current.length) {\n cookieStr += '; ';\n }\n cookieStr += `${this.cookieName}=${this.sessionID}`;\n options[ReplicatorConfiguration.CBLReplicatorOptionCookies] = cookieStr;\n }\n /**\n * Returns the session ID used for authentication\n * @returns {string} The current session ID\n */\n getSessionID() {\n return this.sessionID;\n }\n /**\n * Returns the name of the cookie used for session authentication\n * @returns {string} The cookie name (defaults to 'SyncGatewaySession' if not specified)\n */\n getCookieName() {\n return this.cookieName;\n }\n getType() {\n return 'session';\n }\n /**\n * Converts the session authenticator configuration to a JSON-compatible object\n * @returns {{ cookieName: string, sessionID: string }} An object containing the cookie name and session ID\n */\n toJson() {\n return {\n cookieName: this.cookieName,\n sessionID: this.sessionID,\n };\n }\n}\nSessionAuthenticator.DEFAULT_SYNC_GATEWAY_SESSION_ID_NAME = 'SyncGatewaySession';\n//# sourceMappingURL=session-authenticator.js.map","export class URLEndpoint {\n // eslint-disable-next-line\n constructor(url) {\n this.url = url;\n }\n toJson() {\n return {\n url: this.url,\n };\n }\n}\n//# sourceMappingURL=url-endpoint.js.map","import { Expression } from './expression';\nexport class VariableExpression extends Expression {\n // eslint-disable-next-line\n constructor(name) {\n super();\n this.name = name;\n }\n getName() {\n return this.name;\n }\n asJSON() {\n return ['?' + this.name];\n }\n}\n//# sourceMappingURL=variable-expression.js.map","import { EngineLocator } from './engine-locator';\n/**\n * URLEndpointListener manages the lifecycle of a Couchbase Lite URL Endpoint Listener.\n * Use the static `create` method to instantiate and configure a listener.\n *\n * Example usage:\n * ```typescript\n * const listener = await URLEndpointListener.create({\n * collections: [...],\n * port: 55990,\n * networkInterface: '0.0.0.0',\n * disableTLS: false, // Optional: disables TLS if true\n * enableDeltaSync: true // Optional: enables delta sync if true\n * });\n * await listener.start();\n * ```\n *\n * - If `disableTLS` is not provided, TLS is enabled by default.\n * - If `enableDeltaSync` is not provided, delta sync is disabled by default.\n * - Use `listener.stop()` to stop the listener.\n */\nexport class URLEndpointListener {\n /**\n * Private constructor. Use the static `create` method to instantiate.\n */\n constructor(args, listenerId) {\n this._engine = EngineLocator.getEngine(EngineLocator.key);\n this._collections = args.collections;\n this._port = args.port;\n this._networkInterface = args.networkInterface;\n this._disableTLS = args.disableTLS;\n this._enableDeltaSync = args.enableDeltaSync;\n this._listenerId = listenerId;\n this._authenticatorConfig = args.authenticatorConfig;\n }\n /**\n * Asynchronously creates and configures a new URLEndpointListener.\n * @param args Listener configuration arguments.\n * @returns A Promise that resolves to a URLEndpointListener instance.\n */\n static async create(args) {\n const engine = EngineLocator.getEngine(EngineLocator.key);\n const { listenerId } = await engine.URLEndpointListener_createListener(args);\n return new URLEndpointListener(args, listenerId);\n }\n /**\n * Starts the listener.\n */\n async start() {\n await this._engine.URLEndpointListener_startListener({ listenerId: this._listenerId });\n }\n /**\n * Stops the listener.\n */\n async stop() {\n await this._engine.URLEndpointListener_stopListener({ listenerId: this._listenerId });\n }\n /**\n * Returns the listener ID.\n */\n getId() {\n return this._listenerId;\n }\n /**\n * Returns the collections associated with this listener.\n */\n getCollections() {\n return this._collections;\n }\n /**\n * Returns the port the listener is configured to use.\n */\n getPort() {\n return this._port;\n }\n /**\n * Returns the network interface the listener is bound to, if set.\n */\n getNetworkInterface() {\n return this._networkInterface;\n }\n /**\n * Returns whether TLS is disabled for this listener.\n */\n getDisableTLS() {\n return !!this._disableTLS;\n }\n /**\n * Returns whether delta sync is enabled for this listener.\n */\n getEnableDeltaSync() {\n return !!this._enableDeltaSync;\n }\n /**\n * Gets the current status of the listener from the native engine.\n * @returns A promise that resolves to the listener status.\n */\n async getStatus() {\n return await this._engine.URLEndpointListener_getStatus({ listenerId: this._listenerId });\n }\n /**\n * Deletes the listener identity from the native engine.\n * @param args The arguments for deleting the listener identity.\n */\n static async deleteIdentity(args) {\n return await EngineLocator.getEngine(EngineLocator.key).URLEndpointListener_deleteIdentity(args);\n }\n}\n//# sourceMappingURL=url-endpoint-listener.js.map","import { registerPlugin } from '@capacitor/core';\nconst IonicCouchbaseLite = registerPlugin('CblIonicPlugin');\nexport { IonicCouchbaseLite };\n//# sourceMappingURL=ionic-couchbase-lite.js.map","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nlet getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { EngineLocator, } from '../cblite-js/cblite';\nimport { Capacitor } from '@capacitor/core';\nimport { IonicCouchbaseLite } from '../ionic-couchbase-lite';\nimport { v4 as uuidv4 } from 'uuid';\nexport class CapacitorEngine {\n constructor() {\n this._defaultCollectionName = '_default';\n this._defaultScopeName = '_default';\n this.platform = Capacitor.getPlatform();\n EngineLocator.registerEngine(EngineLocator.key, this);\n }\n collection_AddChangeListener(args, cb) {\n return IonicCouchbaseLite.collection_AddChangeListener({\n name: args.name,\n scopeName: args.scopeName,\n collectionName: args.collectionName,\n changeListenerToken: args.changeListenerToken,\n }, cb);\n }\n collection_AddDocumentChangeListener(args, cb) {\n return IonicCouchbaseLite.collection_AddDocumentChangeListener({\n name: args.name,\n scopeName: args.scopeName,\n collectionName: args.collectionName,\n changeListenerToken: args.changeListenerToken,\n documentId: args.documentId,\n }, cb);\n }\n async collection_CreateCollection(args) {\n return IonicCouchbaseLite.collection_CreateCollection(args);\n }\n async collection_CreateIndex(args) {\n return IonicCouchbaseLite.collection_CreateIndex(args);\n }\n async collection_DeleteCollection(args) {\n return IonicCouchbaseLite.collection_DeleteCollection(args);\n }\n async collection_DeleteDocument(args) {\n return IonicCouchbaseLite.collection_DeleteDocument(args);\n }\n async collection_DeleteIndex(args) {\n return IonicCouchbaseLite.collection_DeleteIndex(args);\n }\n async collection_GetCollections(args) {\n return IonicCouchbaseLite.collection_GetCollections(args);\n }\n async collection_GetCollection(args) {\n return IonicCouchbaseLite.collection_GetCollection(args);\n }\n async collection_GetCount(args) {\n return IonicCouchbaseLite.collection_GetCount(args);\n }\n async collection_GetDefault(args) {\n return IonicCouchbaseLite.collection_GetDefault(args);\n }\n async collection_GetDocument(args) {\n return IonicCouchbaseLite.collection_GetDocument(args);\n }\n async collection_GetDocumentExpiration(args) {\n return IonicCouchbaseLite.collection_GetDocumentExpiration(args);\n }\n async collection_GetBlobContent(args) {\n const data = await IonicCouchbaseLite.collection_GetBlobContent(args);\n return { data: new Uint8Array(data.data).buffer };\n }\n async collection_GetIndexes(args) {\n return IonicCouchbaseLite.collection_GetIndexes(args);\n }\n async collection_PurgeDocument(args) {\n return IonicCouchbaseLite.collection_PurgeDocument(args);\n }\n async collection_RemoveChangeListener(args) {\n return IonicCouchbaseLite.collection_RemoveChangeListener(args);\n }\n async collection_RemoveDocumentChangeListener(args) {\n return IonicCouchbaseLite.collection_RemoveDocumentChangeListener(args);\n }\n async collection_Save(args) {\n return IonicCouchbaseLite.collection_Save(args);\n }\n async collection_SetDocumentExpiration(args) {\n return IonicCouchbaseLite.collection_SetDocumentExpiration(args);\n }\n async database_Close(args) {\n return IonicCouchbaseLite.database_Close(args);\n }\n async database_Copy(args) {\n return IonicCouchbaseLite.database_Copy(args);\n }\n async database_ChangeEncryptionKey(args) {\n return IonicCouchbaseLite.database_ChangeEncryptionKey(args);\n }\n /**\n * @deprecated This function will be removed in future versions. Use colllection_CreateIndex instead.\n */\n async database_CreateIndex(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n indexName: args.indexName,\n index: args.index,\n };\n return IonicCouchbaseLite.collection_CreateIndex(colArgs);\n }\n async database_Delete(args) {\n return IonicCouchbaseLite.database_Delete(args);\n }\n async database_DeleteWithPath(args) {\n return IonicCouchbaseLite.database_DeleteWithPath(args);\n }\n /**\n * @deprecated This will be removed in future versions. Use collection_GetCount instead.\n */\n async database_DeleteDocument(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n docId: args.docId,\n concurrencyControl: args.concurrencyControl,\n };\n return IonicCouchbaseLite.collection_DeleteDocument(colArgs);\n }\n /**\n * @deprecated This function will be removed in future versions. Use colllection_CreateIndex instead.\n */\n async database_DeleteIndex(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n indexName: args.indexName,\n };\n return IonicCouchbaseLite.collection_DeleteIndex(colArgs);\n }\n async database_Exists(args) {\n return IonicCouchbaseLite.database_Exists(args);\n }\n /**\n * @deprecated This will be removed in future versions. Use collection_GetCount instead.\n */\n async database_GetCount(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n };\n return IonicCouchbaseLite.collection_GetCount(colArgs);\n }\n /**\n * @deprecated This will be removed in future versions. Use collection_GetCount instead.\n */\n async database_GetDocument(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n docId: args.docId,\n };\n return IonicCouchbaseLite.collection_GetDocument(colArgs);\n }\n /**\n * @deprecated This function will be removed in future versions. Use colllection_CreateIndex instead.\n */\n async database_GetIndexes(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n };\n return IonicCouchbaseLite.collection_GetIndexes(colArgs);\n }\n async database_GetPath(args) {\n return IonicCouchbaseLite.database_GetPath(args);\n }\n async database_Open(args) {\n return IonicCouchbaseLite.database_Open(args);\n }\n async database_PerformMaintenance(args) {\n return IonicCouchbaseLite.database_PerformMaintenance(args);\n }\n /**\n * @deprecated This will be removed in future versions. Use collection_GetCount instead.\n */\n async database_PurgeDocument(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n docId: args.docId,\n };\n return IonicCouchbaseLite.collection_PurgeDocument(colArgs);\n }\n /**\n * @deprecated This function will be removed in future versions. Use colllection_Save instead.\n */\n async database_Save(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n id: args.id,\n document: JSON.stringify(args.document),\n blobs: JSON.stringify(args.blobs),\n concurrencyControl: args.concurrencyControl,\n };\n return IonicCouchbaseLite.collection_Save(colArgs);\n }\n async database_SetFileLoggingConfig(args) {\n return IonicCouchbaseLite.database_SetFileLoggingConfig(args);\n }\n async database_SetLogLevel(args) {\n return IonicCouchbaseLite.database_SetLogLevel(args);\n }\n /**\n * @deprecated This will be removed in future versions. Use collection_GetCount instead.\n */\n async document_GetBlobContent(args) {\n const colArgs = {\n name: args.name,\n collectionName: this._defaultCollectionName,\n scopeName: this._defaultScopeName,\n documentId: args.documentId,\n key: args.key\n };\n const data = await IonicCouchbaseLite.collection_GetBlobContent(colArgs);\n return { data: new Uint8Array(data.data).buffer };\n }\n async file_GetDefaultPath() {\n return IonicCouchbaseLite.file_GetDefaultPath();\n }\n async file_GetFileNamesInDirectory(args) {\n return IonicCouchbaseLite.file_GetFileNamesInDirectory(args);\n }\n async plugin_Configure(config) {\n return IonicCouchbaseLite.plugin_Configure({\n config,\n });\n }\n query_AddChangeListener(args, cb) {\n return IonicCouchbaseLite.query_AddChangeListener({\n name: args.name,\n query: args.query,\n parameters: args.parameters,\n changeListenerToken: args.changeListenerToken,\n }, cb);\n }\n async query_Execute(args) {\n return await IonicCouchbaseLite.query_Execute(args);\n }\n async query_Explain(args) {\n return await IonicCouchbaseLite.query_Explain(args);\n }\n async query_RemoveChangeListener(args) {\n return IonicCouchbaseLite.query_RemoveChangeListener(args);\n }\n replicator_AddChangeListener(args, cb) {\n return IonicCouchbaseLite.replicator_AddChangeListener(args, cb);\n }\n replicator_AddDocumentChangeListener(args, cb) {\n return IonicCouchbaseLite.replicator_AddDocumentChangeListener(args, cb);\n }\n async replicator_Cleanup(args) {\n return IonicCouchbaseLite.replicator_Cleanup(args);\n }\n async replicator_Create(args) {\n return await IonicCouchbaseLite.replicator_Create(args);\n }\n async replicator_GetStatus(args) {\n return IonicCouchbaseLite.replicator_GetStatus(args);\n }\n async replicator_GetPendingDocumentIds(args) {\n return IonicCouchbaseLite.replicator_GetPendingDocumentIds(args);\n }\n async replicator_IsDocumentPending(args) {\n return IonicCouchbaseLite.replicator_IsDocumentPending(args);\n }\n async replicator_ResetCheckpoint(args) {\n return IonicCouchbaseLite.replicator_ResetCheckpoint(args);\n }\n async replicator_RemoveChangeListener(args) {\n return IonicCouchbaseLite.replicator_RemoveChangeListener(args);\n }\n async replicator_Start(args) {\n return IonicCouchbaseLite.replicator_Start(args);\n }\n async replicator_Stop(args) {\n return IonicCouchbaseLite.replicator_Stop(args);\n }\n async scope_GetDefault(args) {\n return IonicCouchbaseLite.scope_GetDefault(args);\n }\n async scope_GetScope(args) {\n return IonicCouchbaseLite.scope_GetScope(args);\n }\n async scope_GetScopes(args) {\n return IonicCouchbaseLite.scope_GetScopes(args);\n }\n getUUID() {\n return uuidv4().toString();\n }\n async URLEndpointListener_createListener(args) {\n const result = await IonicCouchbaseLite.URLEndpointListener_createListener(args);\n return { listenerId: result.listenerId };\n }\n async URLEndpointListener_startListener(args) {\n return await IonicCouchbaseLite.URLEndpointListener_startListener(args);\n }\n async URLEndpointListener_stopListener(args) {\n return await IonicCouchbaseLite.URLEndpointListener_stopListener(args);\n }\n async URLEndpointListener_getStatus(args) {\n return await IonicCouchbaseLite.URLEndpointListener_getStatus(args);\n }\n async URLEndpointListener_deleteIdentity(args) {\n return await IonicCouchbaseLite.URLEndpointListener_deleteIdentity(args);\n }\n}\n//# sourceMappingURL=capacitor-engine.js.map"],"names":["IndexType","ReplicatorType","ConcurrencyControl","LogDomain","LogLevel","MaintenanceType","ReplicatedDocumentFlag","BinaryOpType","CompoundExpressionOpType","UnaryExpressionOpType","ReplicatorActivityLevel","registerPlugin","Capacitor","uuidv4"],"mappings":";;;;;;AAAWA,2BAAU;AACrB,CAAC,UAAU,SAAS,EAAE;AACtB;AACA,IAAI,SAAS,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,OAAO,CAAC;AAChD;AACA,IAAI,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC;AACtD;AACA,IAAI,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC;AAC5C,CAAC,EAAEA,iBAAS,KAAKA,iBAAS,GAAG,EAAE,CAAC,CAAC,CAAC;AAC3B,MAAM,aAAa,CAAC;AAC3B;;ACVO,MAAM,aAAa,CAAC;AAC3B;;ACDO,MAAM,gBAAgB,CAAC;AAC9B;AACA;AACA;AACA,IAAI,WAAW,CAAC,QAAQ,EAAE,WAAW,EAAE;AACvC,QAAQ,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,EAAE,CAAC;AACvC,QAAQ,IAAI,CAAC,WAAW,GAAG,WAAW,IAAI,EAAE,CAAC;AAC7C,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,WAAW,CAAC,QAAQ,EAAE;AAC1B,QAAQ,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACjC,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,cAAc,CAAC,WAAW,EAAE;AAChC,QAAQ,IAAI,CAAC,WAAW,GAAG,W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