@aws-amplify/datastore 3.4.8-unstable.3 → 3.4.8

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.4.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.4.7...@aws-amplify/datastore@3.4.8) (2021-10-07)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/datastore
9
+
10
+
11
+
12
+
13
+
6
14
  ## [3.4.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.4.6...@aws-amplify/datastore@3.4.7) (2021-09-30)
7
15
 
8
16
  **Note:** Version bump only for package @aws-amplify/datastore
@@ -43326,7 +43326,9 @@ var graphqlOperation = function graphqlOperation(query, variables, authToken) {
43326
43326
  * Export Cloud Logic APIs
43327
43327
  */
43328
43328
 
43329
- var GraphQLAPIClass = function () {
43329
+ var GraphQLAPIClass =
43330
+ /** @class */
43331
+ function () {
43330
43332
  /**
43331
43333
  * Initialize GraphQL API with AWS configuration
43332
43334
  * @param {Object} options - Configuration object for API
@@ -44180,7 +44182,9 @@ var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["ConsoleLogger"]
44180
44182
  * Export Cloud Logic APIs
44181
44183
  */
44182
44184
 
44183
- var RestAPIClass = function () {
44185
+ var RestAPIClass =
44186
+ /** @class */
44187
+ function () {
44184
44188
  /**
44185
44189
  * Initialize Rest API with AWS configuration
44186
44190
  * @param {Object} options - Configuration object for API
@@ -44729,7 +44733,9 @@ restClient.get('...')
44729
44733
  </pre>
44730
44734
  */
44731
44735
 
44732
- var RestClient = function () {
44736
+ var RestClient =
44737
+ /** @class */
44738
+ function () {
44733
44739
  /**
44734
44740
  * @param {RestClientOptions} [options] - Instance options
44735
44741
  */
@@ -45378,7 +45384,9 @@ var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_4__["ConsoleLogger"]
45378
45384
  * Export Cloud Logic APIs
45379
45385
  */
45380
45386
 
45381
- var APIClass = function () {
45387
+ var APIClass =
45388
+ /** @class */
45389
+ function () {
45382
45390
  /**
45383
45391
  * Initialize API with AWS configuration
45384
45392
  * @param {Object} options - Configuration object for API
@@ -45865,7 +45873,9 @@ var MAX_DEVICES = 60;
45865
45873
  * Provide authentication steps
45866
45874
  */
45867
45875
 
45868
- var AuthClass = function () {
45876
+ var AuthClass =
45877
+ /** @class */
45878
+ function () {
45869
45879
  /**
45870
45880
  * Initialize Auth with AWS configurations
45871
45881
  * @param {Object} config - Configuration of the Auth
@@ -48544,7 +48554,9 @@ var __extends = undefined && undefined.__extends || function () {
48544
48554
 
48545
48555
  var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_0__["ConsoleLogger"]('AuthError');
48546
48556
 
48547
- var AuthError = function (_super) {
48557
+ var AuthError =
48558
+ /** @class */
48559
+ function (_super) {
48548
48560
  __extends(AuthError, _super);
48549
48561
 
48550
48562
  function AuthError(type) {
@@ -48569,7 +48581,9 @@ var AuthError = function (_super) {
48569
48581
 
48570
48582
 
48571
48583
 
48572
- var NoUserPoolError = function (_super) {
48584
+ var NoUserPoolError =
48585
+ /** @class */
48586
+ function (_super) {
48573
48587
  __extends(NoUserPoolError, _super);
48574
48588
 
48575
48589
  function NoUserPoolError(type) {
@@ -48875,7 +48889,9 @@ var dispatchAuthEvent = function dispatchAuthEvent(event, data, message) {
48875
48889
 
48876
48890
  var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_4__["ConsoleLogger"]('OAuth');
48877
48891
 
48878
- var OAuth = function () {
48892
+ var OAuth =
48893
+ /** @class */
48894
+ function () {
48879
48895
  function OAuth(_a) {
48880
48896
  var config = _a.config,
48881
48897
  cognitoClientId = _a.cognitoClientId,
@@ -50785,7 +50801,9 @@ var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_2__["ConsoleLogger"]
50785
50801
  * Customized storage based on the SessionStorage or LocalStorage with LRU implemented
50786
50802
  */
50787
50803
 
50788
- var BrowserStorageCacheClass = function (_super) {
50804
+ var BrowserStorageCacheClass =
50805
+ /** @class */
50806
+ function (_super) {
50789
50807
  __extends(BrowserStorageCacheClass, _super);
50790
50808
  /**
50791
50809
  * initialize the cache
@@ -51352,7 +51370,9 @@ var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_2__["ConsoleLogger"]
51352
51370
  * @member cacheSizeLimit - the limit of cache size
51353
51371
  */
51354
51372
 
51355
- var InMemoryCacheClass = function (_super) {
51373
+ var InMemoryCacheClass =
51374
+ /** @class */
51375
+ function (_super) {
51356
51376
  __extends(InMemoryCacheClass, _super);
51357
51377
  /**
51358
51378
  * initialize the cache
@@ -51767,7 +51787,9 @@ var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["ConsoleLogger"]
51767
51787
  *
51768
51788
  */
51769
51789
 
51770
- var StorageCache = function () {
51790
+ var StorageCache =
51791
+ /** @class */
51792
+ function () {
51771
51793
  /**
51772
51794
  * Initialize the cache
51773
51795
  * @param config - the configuration of the cache
@@ -51924,7 +51946,9 @@ var __values = undefined && undefined.__values || function (o) {
51924
51946
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
51925
51947
  };
51926
51948
 
51927
- var DoubleLinkedNode = function () {
51949
+ var DoubleLinkedNode =
51950
+ /** @class */
51951
+ function () {
51928
51952
  function DoubleLinkedNode(keyVal) {
51929
51953
  this.key = keyVal ? keyVal : '';
51930
51954
  this.prevNode = null;
@@ -51946,7 +51970,9 @@ var DoubleLinkedNode = function () {
51946
51970
  */
51947
51971
 
51948
51972
 
51949
- var CacheList = function () {
51973
+ var CacheList =
51974
+ /** @class */
51975
+ function () {
51950
51976
  /**
51951
51977
  * initialization
51952
51978
  */
@@ -52226,7 +52252,9 @@ function _isInteger(value) {
52226
52252
 
52227
52253
  var store = {};
52228
52254
 
52229
- var CacheObject = function () {
52255
+ var CacheObject =
52256
+ /** @class */
52257
+ function () {
52230
52258
  function CacheObject() {}
52231
52259
 
52232
52260
  CacheObject.clear = function () {
@@ -52375,7 +52403,9 @@ var __read = undefined && undefined.__read || function (o, n) {
52375
52403
 
52376
52404
  var logger = new _Logger__WEBPACK_IMPORTED_MODULE_0__["ConsoleLogger"]('Amplify');
52377
52405
 
52378
- var AmplifyClass = function () {
52406
+ var AmplifyClass =
52407
+ /** @class */
52408
+ function () {
52379
52409
  function AmplifyClass() {
52380
52410
  // Everything that is `register`ed is tracked here
52381
52411
  this._components = [];
@@ -52651,7 +52681,9 @@ __webpack_require__.r(__webpack_exports__);
52651
52681
  */
52652
52682
 
52653
52683
 
52654
- var ClientDevice = function () {
52684
+ var ClientDevice =
52685
+ /** @class */
52686
+ function () {
52655
52687
  function ClientDevice() {}
52656
52688
 
52657
52689
  ClientDevice.clientInfo = function () {
@@ -52867,7 +52899,9 @@ var CREDENTIALS_TTL = 50 * 60 * 1000; // 50 min, can be modified on config if re
52867
52899
 
52868
52900
  var COGNITO_IDENTITY_KEY_PREFIX = 'CognitoIdentityId-';
52869
52901
 
52870
- var CredentialsClass = function () {
52902
+ var CredentialsClass =
52903
+ /** @class */
52904
+ function () {
52871
52905
  function CredentialsClass(config) {
52872
52906
  this._gettingCredPromise = null;
52873
52907
  this._refreshHandlers = {}; // Allow `Auth` to be injected for SSR, but Auth isn't a required dependency for Credentials
@@ -53792,7 +53826,9 @@ function isLegacyCallback(callback) {
53792
53826
  return callback.onHubCapsule !== undefined;
53793
53827
  }
53794
53828
 
53795
- var HubClass = function () {
53829
+ var HubClass =
53830
+ /** @class */
53831
+ function () {
53796
53832
  function HubClass(name) {
53797
53833
  this.listeners = [];
53798
53834
  this.patterns = [];
@@ -53991,7 +54027,9 @@ var logger = new _Logger__WEBPACK_IMPORTED_MODULE_0__["ConsoleLogger"]('I18n');
53991
54027
  * Language transition class
53992
54028
  */
53993
54029
 
53994
- var I18n = function () {
54030
+ var I18n =
54031
+ /** @class */
54032
+ function () {
53995
54033
  /**
53996
54034
  * @constructor
53997
54035
  * Initialize with configurations
@@ -54166,7 +54204,9 @@ var _i18n = null;
54166
54204
  * Export I18n APIs
54167
54205
  */
54168
54206
 
54169
- var I18n = function () {
54207
+ var I18n =
54208
+ /** @class */
54209
+ function () {
54170
54210
  function I18n() {}
54171
54211
  /**
54172
54212
  * @static
@@ -54626,7 +54666,9 @@ var isStrictObject = function isStrictObject(obj) {
54626
54666
  * @deprecated use per-function imports
54627
54667
  */
54628
54668
 
54629
- var JS = function () {
54669
+ var JS =
54670
+ /** @class */
54671
+ function () {
54630
54672
  function JS() {}
54631
54673
 
54632
54674
  JS.isEmpty = isEmpty;
@@ -54753,7 +54795,9 @@ var LOG_TYPE;
54753
54795
  */
54754
54796
 
54755
54797
 
54756
- var ConsoleLogger = function () {
54798
+ var ConsoleLogger =
54799
+ /** @class */
54800
+ function () {
54757
54801
  /**
54758
54802
  * @constructor
54759
54803
  * @param {string} name - Name of the logger
@@ -55216,7 +55260,9 @@ var waitForInit = new Promise(function (res, rej) {
55216
55260
  }
55217
55261
  });
55218
55262
 
55219
- var FacebookOAuth = function () {
55263
+ var FacebookOAuth =
55264
+ /** @class */
55265
+ function () {
55220
55266
  function FacebookOAuth() {
55221
55267
  this.initialized = false;
55222
55268
  this.refreshFacebookToken = this.refreshFacebookToken.bind(this);
@@ -55497,7 +55543,9 @@ var waitForInit = new Promise(function (res, rej) {
55497
55543
  }
55498
55544
  });
55499
55545
 
55500
- var GoogleOAuth = function () {
55546
+ var GoogleOAuth =
55547
+ /** @class */
55548
+ function () {
55501
55549
  function GoogleOAuth() {
55502
55550
  this.initialized = false;
55503
55551
  this.refreshGoogleToken = this.refreshGoogleToken.bind(this);
@@ -55721,7 +55769,9 @@ var parseMobileHubConfig = function parseMobileHubConfig(config) {
55721
55769
  * @deprecated use per-function export
55722
55770
  */
55723
55771
 
55724
- var Parser = function () {
55772
+ var Parser =
55773
+ /** @class */
55774
+ function () {
55725
55775
  function Parser() {}
55726
55776
 
55727
55777
  Parser.parseMobilehubConfig = parseMobileHubConfig;
@@ -56027,7 +56077,9 @@ var __spread = undefined && undefined.__spread || function () {
56027
56077
 
56028
56078
  var logger = new _Logger__WEBPACK_IMPORTED_MODULE_2__["ConsoleLogger"]('AWSCloudWatch');
56029
56079
 
56030
- var AWSCloudWatchProvider = function () {
56080
+ var AWSCloudWatchProvider =
56081
+ /** @class */
56082
+ function () {
56031
56083
  function AWSCloudWatchProvider(config) {
56032
56084
  this.configure(config);
56033
56085
  this._dataTracker = {
@@ -56932,7 +56984,9 @@ function _typeof(obj) {
56932
56984
  * events based on the service worker lifecycle.
56933
56985
  */
56934
56986
 
56935
- var ServiceWorkerClass = function () {
56987
+ var ServiceWorkerClass =
56988
+ /** @class */
56989
+ function () {
56936
56990
  function ServiceWorkerClass() {
56937
56991
  // The AWS Amplify logger
56938
56992
  this._logger = new _Logger__WEBPACK_IMPORTED_MODULE_0__["ConsoleLogger"]('ServiceWorker');
@@ -57439,7 +57493,9 @@ var get_authorization_header = function get_authorization_header(algorithm, acce
57439
57493
  return [algorithm + ' ' + 'Credential=' + access_key + '/' + scope, 'SignedHeaders=' + signed_headers, 'Signature=' + signature].join(', ');
57440
57494
  };
57441
57495
 
57442
- var Signer = function () {
57496
+ var Signer =
57497
+ /** @class */
57498
+ function () {
57443
57499
  function Signer() {}
57444
57500
  /**
57445
57501
  * Sign a HTTP request, add 'Authorization' header to request param
@@ -57622,7 +57678,9 @@ __webpack_require__.r(__webpack_exports__);
57622
57678
  var dataMemory = {};
57623
57679
  /** @class */
57624
57680
 
57625
- var MemoryStorage = function () {
57681
+ var MemoryStorage =
57682
+ /** @class */
57683
+ function () {
57626
57684
  function MemoryStorage() {}
57627
57685
  /**
57628
57686
  * This is used to set a specific item in storage
@@ -57673,7 +57731,9 @@ var MemoryStorage = function () {
57673
57731
 
57674
57732
 
57675
57733
 
57676
- var StorageHelper = function () {
57734
+ var StorageHelper =
57735
+ /** @class */
57736
+ function () {
57677
57737
  /**
57678
57738
  * This is used to get a storage object
57679
57739
  * @returns {object} the storage
@@ -57725,7 +57785,9 @@ __webpack_require__.r(__webpack_exports__);
57725
57785
 
57726
57786
  var isBrowser = Object(_JS__WEBPACK_IMPORTED_MODULE_1__["browserOrNode"])().isBrowser;
57727
57787
 
57728
- var UniversalStorage = function () {
57788
+ var UniversalStorage =
57789
+ /** @class */
57790
+ function () {
57729
57791
  function UniversalStorage(context) {
57730
57792
  if (context === void 0) {
57731
57793
  context = {};
@@ -58010,7 +58072,9 @@ __webpack_require__.r(__webpack_exports__);
58010
58072
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
58011
58073
  * THE SOFTWARE.
58012
58074
  */
58013
- var Mutex = function () {
58075
+ var Mutex =
58076
+ /** @class */
58077
+ function () {
58014
58078
  function Mutex() {
58015
58079
  this._queue = [];
58016
58080
  this._pending = false;
@@ -58102,7 +58166,9 @@ var __values = undefined && undefined.__values || function (o) {
58102
58166
 
58103
58167
 
58104
58168
 
58105
- var ReachabilityNavigator = function () {
58169
+ var ReachabilityNavigator =
58170
+ /** @class */
58171
+ function () {
58106
58172
  function ReachabilityNavigator() {}
58107
58173
 
58108
58174
  ReachabilityNavigator.prototype.networkMonitor = function (netInfo) {
@@ -58407,7 +58473,9 @@ var __spread = undefined && undefined.__spread || function () {
58407
58473
 
58408
58474
  var logger = new _Logger_ConsoleLogger__WEBPACK_IMPORTED_MODULE_0__["ConsoleLogger"]('Util');
58409
58475
 
58410
- var NonRetryableError = function (_super) {
58476
+ var NonRetryableError =
58477
+ /** @class */
58478
+ function (_super) {
58411
58479
  __extends(NonRetryableError, _super);
58412
58480
 
58413
58481
  function NonRetryableError(message) {
@@ -66860,7 +66928,9 @@ var initializeInstance = function initializeInstance(init, modelDefinition, draf
66860
66928
  };
66861
66929
 
66862
66930
  var createModelClass = function createModelClass(modelDefinition) {
66863
- var clazz = function () {
66931
+ var clazz =
66932
+ /** @class */
66933
+ function () {
66864
66934
  function Model(init) {
66865
66935
  var instance = Object(immer__WEBPACK_IMPORTED_MODULE_1__["produce"])(this, function (draft) {
66866
66936
  initializeInstance(init, modelDefinition, draft);
@@ -66986,7 +67056,9 @@ var checkReadOnlyPropertyOnUpdate = function checkReadOnlyPropertyOnUpdate(patch
66986
67056
  };
66987
67057
 
66988
67058
  var createNonModelClass = function createNonModelClass(typeDefinition) {
66989
- var clazz = function () {
67059
+ var clazz =
67060
+ /** @class */
67061
+ function () {
66990
67062
  function Model(init) {
66991
67063
  var instance = Object(immer__WEBPACK_IMPORTED_MODULE_1__["produce"])(this, function (draft) {
66992
67064
  initializeInstance(init, typeDefinition, draft);
@@ -67182,7 +67254,9 @@ function getNamespace() {
67182
67254
  return namespace;
67183
67255
  }
67184
67256
 
67185
- var DataStore = function () {
67257
+ var DataStore =
67258
+ /** @class */
67259
+ function () {
67186
67260
  function DataStore() {
67187
67261
  var _this = this;
67188
67262
 
@@ -68098,7 +68172,9 @@ function isPredicatesAll(predicate) {
68098
68172
 
68099
68173
  var PredicateAll = Symbol('A predicate that matches all records');
68100
68174
 
68101
- var Predicates = function () {
68175
+ var Predicates =
68176
+ /** @class */
68177
+ function () {
68102
68178
  function Predicates() {}
68103
68179
 
68104
68180
  Object.defineProperty(Predicates, "ALL", {
@@ -68118,7 +68194,9 @@ var Predicates = function () {
68118
68194
 
68119
68195
 
68120
68196
 
68121
- var ModelPredicateCreator = function () {
68197
+ var ModelPredicateCreator =
68198
+ /** @class */
68199
+ function () {
68122
68200
  function ModelPredicateCreator() {}
68123
68201
 
68124
68202
  ModelPredicateCreator.createPredicateBuilder = function (modelDefinition) {
@@ -68228,7 +68306,9 @@ var ModelPredicateCreator = function () {
68228
68306
  "use strict";
68229
68307
  __webpack_require__.r(__webpack_exports__);
68230
68308
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ModelSortPredicateCreator", function() { return ModelSortPredicateCreator; });
68231
- var ModelSortPredicateCreator = function () {
68309
+ var ModelSortPredicateCreator =
68310
+ /** @class */
68311
+ function () {
68232
68312
  function ModelSortPredicateCreator() {}
68233
68313
 
68234
68314
  ModelSortPredicateCreator.createPredicateBuilder = function (modelDefinition) {
@@ -68515,7 +68595,9 @@ var __values = undefined && undefined.__values || function (o) {
68515
68595
 
68516
68596
  var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_0__["ConsoleLogger"]('DataStore');
68517
68597
 
68518
- var AsyncStorageAdapter = function () {
68598
+ var AsyncStorageAdapter =
68599
+ /** @class */
68600
+ function () {
68519
68601
  function AsyncStorageAdapter() {}
68520
68602
 
68521
68603
  AsyncStorageAdapter.prototype.getStorenameForModel = function (modelConstructor) {
@@ -70222,7 +70304,9 @@ var COLLECTION = 'Collection';
70222
70304
  var DATA = 'Data';
70223
70305
  var monotonicFactoriesMap = new Map();
70224
70306
 
70225
- var AsyncStorageDatabase = function () {
70307
+ var AsyncStorageDatabase =
70308
+ /** @class */
70309
+ function () {
70226
70310
  function AsyncStorageDatabase() {
70227
70311
  /**
70228
70312
  * Maps storeNames to a map of ulid->id
@@ -71005,7 +71089,9 @@ var __read = undefined && undefined.__read || function (o, n) {
71005
71089
  return ar;
71006
71090
  };
71007
71091
 
71008
- var InMemoryStore = function () {
71092
+ var InMemoryStore =
71093
+ /** @class */
71094
+ function () {
71009
71095
  function InMemoryStore() {
71010
71096
  var _this = this;
71011
71097
 
@@ -71371,7 +71457,9 @@ var __spread = undefined && undefined.__spread || function () {
71371
71457
  var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_0__["ConsoleLogger"]('DataStore');
71372
71458
  var DB_NAME = 'amplify-datastore';
71373
71459
 
71374
- var IndexedDBAdapter = function () {
71460
+ var IndexedDBAdapter =
71461
+ /** @class */
71462
+ function () {
71375
71463
  function IndexedDBAdapter() {
71376
71464
  this.dbName = DB_NAME;
71377
71465
  }
@@ -73641,7 +73729,9 @@ var __values = undefined && undefined.__values || function (o) {
73641
73729
 
73642
73730
  var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_0__["Logger"]('DataStore');
73643
73731
 
73644
- var StorageClass = function () {
73732
+ var StorageClass =
73733
+ /** @class */
73734
+ function () {
73645
73735
  function StorageClass(schema, namespaceResolver, getModelConstructorByModelName, modelInstanceCreator, adapter, sessionId) {
73646
73736
  this.schema = schema;
73647
73737
  this.namespaceResolver = namespaceResolver;
@@ -74105,7 +74195,9 @@ var StorageClass = function () {
74105
74195
  return StorageClass;
74106
74196
  }();
74107
74197
 
74108
- var ExclusiveStorage = function () {
74198
+ var ExclusiveStorage =
74199
+ /** @class */
74200
+ function () {
74109
74201
  function ExclusiveStorage(schema, namespaceResolver, getModelConstructorByModelName, modelInstanceCreator, adapter, sessionId) {
74110
74202
  this.mutex = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_0__["Mutex"]();
74111
74203
  this.storage = new StorageClass(schema, namespaceResolver, getModelConstructorByModelName, modelInstanceCreator, adapter, sessionId);
@@ -74256,7 +74348,9 @@ var __assign = undefined && undefined.__assign || function () {
74256
74348
  var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["ConsoleLogger"]('DataStore');
74257
74349
  var RECONNECTING_IN = 5000; // 5s this may be configurable in the future
74258
74350
 
74259
- var DataStoreConnectivity = function () {
74351
+ var DataStoreConnectivity =
74352
+ /** @class */
74353
+ function () {
74260
74354
  function DataStoreConnectivity() {
74261
74355
  this.connectionStatus = {
74262
74356
  online: false
@@ -74588,7 +74682,9 @@ var ControlMessage;
74588
74682
  ControlMessage["SYNC_ENGINE_READY"] = "ready";
74589
74683
  })(ControlMessage || (ControlMessage = {}));
74590
74684
 
74591
- var SyncEngine = function () {
74685
+ var SyncEngine =
74686
+ /** @class */
74687
+ function () {
74592
74688
  function SyncEngine(schema, namespaceResolver, modelClasses, userModelClasses, storage, modelInstanceCreator, maxRecordsToSync, syncPageSize, conflictHandler, errorHandler, syncPredicates, amplifyConfig, authModeStrategy) {
74593
74689
  if (amplifyConfig === void 0) {
74594
74690
  amplifyConfig = {};
@@ -75877,7 +75973,9 @@ var __spread = undefined && undefined.__spread || function () {
75877
75973
 
75878
75974
 
75879
75975
 
75880
- var ModelMerger = function () {
75976
+ var ModelMerger =
75977
+ /** @class */
75978
+ function () {
75881
75979
  function ModelMerger(outbox, ownSymbol) {
75882
75980
  this.outbox = outbox;
75883
75981
  this.ownSymbol = ownSymbol;
@@ -76203,7 +76301,9 @@ var __read = undefined && undefined.__read || function (o, n) {
76203
76301
 
76204
76302
  // TODO: Persist deleted ids
76205
76303
 
76206
- var MutationEventOutbox = function () {
76304
+ var MutationEventOutbox =
76305
+ /** @class */
76306
+ function () {
76207
76307
  function MutationEventOutbox(schema, MutationEvent, modelInstanceCreator, ownSymbol) {
76208
76308
  this.schema = schema;
76209
76309
  this.MutationEvent = MutationEvent;
@@ -76826,7 +76926,9 @@ var __values = undefined && undefined.__values || function (o) {
76826
76926
  var MAX_ATTEMPTS = 10;
76827
76927
  var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["ConsoleLogger"]('DataStore');
76828
76928
 
76829
- var MutationProcessor = function () {
76929
+ var MutationProcessor =
76930
+ /** @class */
76931
+ function () {
76830
76932
  function MutationProcessor(schema, storage, userClasses, outbox, modelInstanceCreator, MutationEvent, amplifyConfig, authModeStrategy, conflictHandler, errorHandler) {
76831
76933
  if (amplifyConfig === void 0) {
76832
76934
  amplifyConfig = {};
@@ -77736,7 +77838,9 @@ var USER_CREDENTIALS;
77736
77838
  USER_CREDENTIALS[USER_CREDENTIALS["auth"] = 2] = "auth";
77737
77839
  })(USER_CREDENTIALS || (USER_CREDENTIALS = {}));
77738
77840
 
77739
- var SubscriptionProcessor = function () {
77841
+ var SubscriptionProcessor =
77842
+ /** @class */
77843
+ function () {
77740
77844
  function SubscriptionProcessor(schema, syncPredicates, amplifyConfig, authModeStrategy) {
77741
77845
  if (amplifyConfig === void 0) {
77742
77846
  amplifyConfig = {};
@@ -78489,7 +78593,9 @@ var opResultDefaults = {
78489
78593
  };
78490
78594
  var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_3__["ConsoleLogger"]('DataStore');
78491
78595
 
78492
- var SyncProcessor = function () {
78596
+ var SyncProcessor =
78597
+ /** @class */
78598
+ function () {
78493
78599
  function SyncProcessor(schema, maxRecordsToSync, syncPageSize, syncPredicates, amplifyConfig, authModeStrategy) {
78494
78600
  if (maxRecordsToSync === void 0) {
78495
78601
  maxRecordsToSync = DEFAULT_MAX_RECORDS_TO_SYNC;