@dereekb/firebase 13.7.0 → 13.9.0
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/index.cjs.js +150 -181
- package/index.esm.js +147 -182
- package/package.json +6 -6
- package/src/lib/common/auth/auth.server.error.d.ts +16 -0
- package/test/package.json +7 -7
package/index.cjs.js
CHANGED
|
@@ -393,22 +393,14 @@ function _is_native_reflect_construct$9() {
|
|
|
393
393
|
case 'set':
|
|
394
394
|
setFn = function setFn(data, options) {
|
|
395
395
|
var isSetForNewModel = Boolean(!options);
|
|
396
|
-
|
|
397
|
-
return modifyAndSet(data);
|
|
398
|
-
} else {
|
|
399
|
-
return _get((_assert_this_initialized$9(_this), _get_prototype_of$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
|
|
400
|
-
}
|
|
396
|
+
return isSetForNewModel ? modifyAndSet(data) : _get((_assert_this_initialized$9(_this), _get_prototype_of$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
|
|
401
397
|
};
|
|
402
398
|
applyToCreateFunction = true;
|
|
403
399
|
break;
|
|
404
400
|
case 'update':
|
|
405
401
|
setFn = function setFn(data, options) {
|
|
406
402
|
var isUpdateForExistingModel = options && (Boolean(options.mergeFields) || Boolean(options.merge));
|
|
407
|
-
|
|
408
|
-
return modifyAndSet(data);
|
|
409
|
-
} else {
|
|
410
|
-
return _get((_assert_this_initialized$9(_this), _get_prototype_of$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
|
|
411
|
-
}
|
|
403
|
+
return isUpdateForExistingModel ? modifyAndSet(data) : _get((_assert_this_initialized$9(_this), _get_prototype_of$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
|
|
412
404
|
};
|
|
413
405
|
break;
|
|
414
406
|
case 'create':
|
|
@@ -3393,12 +3385,11 @@ function optionalFirestoreField(config) {
|
|
|
3393
3385
|
if (dontStoreIf != null) {
|
|
3394
3386
|
var dontStoreValue = dontStoreIf;
|
|
3395
3387
|
toData = function toData(x) {
|
|
3396
|
-
if (x
|
|
3397
|
-
var transformedValue = transformTo(x);
|
|
3398
|
-
return transformedValue != null && !dontStoreValue(transformedValue) ? transformedValue : null;
|
|
3399
|
-
} else {
|
|
3388
|
+
if (x == null) {
|
|
3400
3389
|
return x;
|
|
3401
3390
|
}
|
|
3391
|
+
var transformedValue = transformTo(x);
|
|
3392
|
+
return transformedValue != null && !dontStoreValue(transformedValue) ? transformedValue : null;
|
|
3402
3393
|
};
|
|
3403
3394
|
} else {
|
|
3404
3395
|
toData = function toData(x) {
|
|
@@ -3411,9 +3402,8 @@ function optionalFirestoreField(config) {
|
|
|
3411
3402
|
fromData: fromData,
|
|
3412
3403
|
toData: toData
|
|
3413
3404
|
});
|
|
3414
|
-
} else {
|
|
3415
|
-
return FIRESTORE_PASSTHROUGH_FIELD;
|
|
3416
3405
|
}
|
|
3406
|
+
return FIRESTORE_PASSTHROUGH_FIELD;
|
|
3417
3407
|
}
|
|
3418
3408
|
/**
|
|
3419
3409
|
* Default value for required Firestore string fields when the field is missing from the document.
|
|
@@ -5209,57 +5199,56 @@ function _unsupported_iterable_to_array$e(o, minLen) {
|
|
|
5209
5199
|
var _ref = filter !== null && filter !== void 0 ? filter : {}, filterLimit = _ref.limit, filterConstraints = _ref.constraints, inputInferEnd = _ref.inferEndOfResultsFromPageSize;
|
|
5210
5200
|
var inferEndOfResultsFromPageSize = inputInferEnd !== false; // defaults to true
|
|
5211
5201
|
return prevQueryResult$.pipe(rxjs$1.exhaustMap(function(prevResult) {
|
|
5202
|
+
var _driver;
|
|
5212
5203
|
if ((prevResult === null || prevResult === void 0 ? void 0 : prevResult.snapshot.empty) === true) {
|
|
5213
5204
|
// TODO(REMOVE): Shouldn't happen. Remove this later.
|
|
5214
5205
|
return rxjs$1.of({
|
|
5215
5206
|
end: true
|
|
5216
5207
|
});
|
|
5217
|
-
} else {
|
|
5218
|
-
var _driver;
|
|
5219
|
-
var constraints = [];
|
|
5220
|
-
// Add filter constraints
|
|
5221
|
-
if (filterConstraints != null) {
|
|
5222
|
-
util.mergeArraysIntoArray(constraints, filterDisallowedFirestoreItemPageIteratorInputConstraints(util.asArray(filterConstraints)));
|
|
5223
|
-
}
|
|
5224
|
-
// Add cursor
|
|
5225
|
-
var cursorDocument = prevResult ? util.lastValue(prevResult.docs) : undefined;
|
|
5226
|
-
var startAfterFilter = cursorDocument ? startAfter(cursorDocument) : undefined;
|
|
5227
|
-
if (startAfterFilter) {
|
|
5228
|
-
constraints.push(startAfterFilter);
|
|
5229
|
-
}
|
|
5230
|
-
// Add Limit
|
|
5231
|
-
var limitCount = filterLimit !== null && filterLimit !== void 0 ? filterLimit : itemsPerPage + (startAfterFilter ? 1 : 0); // todo: may not be needed.
|
|
5232
|
-
var limitConstraint = limit(limitCount);
|
|
5233
|
-
var constraintsWithLimit = _to_consumable_array$a(constraints).concat([
|
|
5234
|
-
limitConstraint
|
|
5235
|
-
]);
|
|
5236
|
-
// make query
|
|
5237
|
-
var batchQuery = (_driver = driver).query.apply(_driver, [
|
|
5238
|
-
queryLike
|
|
5239
|
-
].concat(_to_consumable_array$a(constraintsWithLimit)));
|
|
5240
|
-
var resultPromise = driver.getDocs(batchQuery).then(function(snapshot) {
|
|
5241
|
-
var time = new Date();
|
|
5242
|
-
var docs = snapshot.docs;
|
|
5243
|
-
var end = snapshot.empty || inferEndOfResultsFromPageSize && docs.length < limitCount;
|
|
5244
|
-
var result = {
|
|
5245
|
-
value: {
|
|
5246
|
-
time: time,
|
|
5247
|
-
docs: docs,
|
|
5248
|
-
snapshot: snapshot,
|
|
5249
|
-
reload: function reload() {
|
|
5250
|
-
return driver.getDocs(batchQuery);
|
|
5251
|
-
},
|
|
5252
|
-
stream: function stream(options) {
|
|
5253
|
-
// todo: consider allowing limit to be changed here to stream a subset. This will be useful for detecting collection changes.
|
|
5254
|
-
return driver.streamDocs(batchQuery, options === null || options === void 0 ? void 0 : options.options);
|
|
5255
|
-
}
|
|
5256
|
-
},
|
|
5257
|
-
end: end
|
|
5258
|
-
};
|
|
5259
|
-
return result;
|
|
5260
|
-
});
|
|
5261
|
-
return rxjs$1.from(resultPromise);
|
|
5262
5208
|
}
|
|
5209
|
+
var constraints = [];
|
|
5210
|
+
// Add filter constraints
|
|
5211
|
+
if (filterConstraints != null) {
|
|
5212
|
+
util.mergeArraysIntoArray(constraints, filterDisallowedFirestoreItemPageIteratorInputConstraints(util.asArray(filterConstraints)));
|
|
5213
|
+
}
|
|
5214
|
+
// Add cursor
|
|
5215
|
+
var cursorDocument = prevResult ? util.lastValue(prevResult.docs) : undefined;
|
|
5216
|
+
var startAfterFilter = cursorDocument ? startAfter(cursorDocument) : undefined;
|
|
5217
|
+
if (startAfterFilter) {
|
|
5218
|
+
constraints.push(startAfterFilter);
|
|
5219
|
+
}
|
|
5220
|
+
// Add Limit
|
|
5221
|
+
var limitCount = filterLimit !== null && filterLimit !== void 0 ? filterLimit : itemsPerPage + (startAfterFilter ? 1 : 0); // todo: may not be needed.
|
|
5222
|
+
var limitConstraint = limit(limitCount);
|
|
5223
|
+
var constraintsWithLimit = _to_consumable_array$a(constraints).concat([
|
|
5224
|
+
limitConstraint
|
|
5225
|
+
]);
|
|
5226
|
+
// make query
|
|
5227
|
+
var batchQuery = (_driver = driver).query.apply(_driver, [
|
|
5228
|
+
queryLike
|
|
5229
|
+
].concat(_to_consumable_array$a(constraintsWithLimit)));
|
|
5230
|
+
var resultPromise = driver.getDocs(batchQuery).then(function(snapshot) {
|
|
5231
|
+
var time = new Date();
|
|
5232
|
+
var docs = snapshot.docs;
|
|
5233
|
+
var end = snapshot.empty || inferEndOfResultsFromPageSize && docs.length < limitCount;
|
|
5234
|
+
var result = {
|
|
5235
|
+
value: {
|
|
5236
|
+
time: time,
|
|
5237
|
+
docs: docs,
|
|
5238
|
+
snapshot: snapshot,
|
|
5239
|
+
reload: function reload() {
|
|
5240
|
+
return driver.getDocs(batchQuery);
|
|
5241
|
+
},
|
|
5242
|
+
stream: function stream(options) {
|
|
5243
|
+
// todo: consider allowing limit to be changed here to stream a subset. This will be useful for detecting collection changes.
|
|
5244
|
+
return driver.streamDocs(batchQuery, options === null || options === void 0 ? void 0 : options.options);
|
|
5245
|
+
}
|
|
5246
|
+
},
|
|
5247
|
+
end: end
|
|
5248
|
+
};
|
|
5249
|
+
return result;
|
|
5250
|
+
});
|
|
5251
|
+
return rxjs$1.from(resultPromise);
|
|
5263
5252
|
}));
|
|
5264
5253
|
}
|
|
5265
5254
|
};
|
|
@@ -5424,67 +5413,66 @@ function _firestoreItemPageIterationWithSnapshotIteration(snapshotIteration) {
|
|
|
5424
5413
|
return rxjs$1.of({
|
|
5425
5414
|
end: true
|
|
5426
5415
|
});
|
|
5416
|
+
}
|
|
5417
|
+
var cursorDocument = prevResult ? util.lastValue(prevResult.docs) : undefined;
|
|
5418
|
+
var startAtIndex = cursorDocument ? indexForId(cursorDocument.id) + 1 : 0;
|
|
5419
|
+
var limitCount = filterLimit !== null && filterLimit !== void 0 ? filterLimit : itemsPerPage;
|
|
5420
|
+
var time = new Date();
|
|
5421
|
+
var itemsForThisPage = items.slice(startAtIndex, startAtIndex + limitCount);
|
|
5422
|
+
var lastItemForThisPage = util.lastValue(itemsForThisPage);
|
|
5423
|
+
var end = false;
|
|
5424
|
+
if (lastItemForThisPage) {
|
|
5425
|
+
var lastItemForThisPageItemIndex = startAtIndex + (itemsForThisPage.length - 1);
|
|
5426
|
+
idLookupMap.set(lastItemForThisPage.id, lastItemForThisPageItemIndex);
|
|
5427
|
+
end = lastItemForThisPageItemIndex === items.length - 1;
|
|
5427
5428
|
} else {
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
if (lastItemForThisPage) {
|
|
5436
|
-
var lastItemForThisPageItemIndex = startAtIndex + (itemsForThisPage.length - 1);
|
|
5437
|
-
idLookupMap.set(lastItemForThisPage.id, lastItemForThisPageItemIndex);
|
|
5438
|
-
end = lastItemForThisPageItemIndex === items.length - 1;
|
|
5439
|
-
} else {
|
|
5440
|
-
end = true;
|
|
5441
|
-
}
|
|
5442
|
-
var documents = loadDocumentsForDocumentReferences(documentAccessor, itemsForThisPage);
|
|
5443
|
-
var _loadFakeQuerySnapshot = function _loadFakeQuerySnapshot() {
|
|
5444
|
-
return getDocumentSnapshots(documents).then(function(documentSnapshots) {
|
|
5445
|
-
var documentSnapshotsWithData = documentSnapshots.filter(function(x) {
|
|
5446
|
-
return x.data() != null;
|
|
5447
|
-
});
|
|
5448
|
-
var docs = documentSnapshotsWithData;
|
|
5449
|
-
var query = {
|
|
5450
|
-
withConverter: function withConverter() {
|
|
5451
|
-
throw new Error('firestoreFixedItemPageIteration(): Not a real query');
|
|
5452
|
-
}
|
|
5453
|
-
}; // TODO: No great way to implement this. Not a great way to
|
|
5454
|
-
var snapshot = {
|
|
5455
|
-
query: query,
|
|
5456
|
-
docs: docs,
|
|
5457
|
-
size: docs.length,
|
|
5458
|
-
empty: docs.length === 0,
|
|
5459
|
-
docChanges: function docChanges() {
|
|
5460
|
-
return []; // no changes to return in this fake snapshot
|
|
5461
|
-
},
|
|
5462
|
-
forEach: function forEach(result) {
|
|
5463
|
-
docs.forEach(result);
|
|
5464
|
-
}
|
|
5465
|
-
};
|
|
5466
|
-
return snapshot;
|
|
5429
|
+
end = true;
|
|
5430
|
+
}
|
|
5431
|
+
var documents = loadDocumentsForDocumentReferences(documentAccessor, itemsForThisPage);
|
|
5432
|
+
var _loadFakeQuerySnapshot = function _loadFakeQuerySnapshot() {
|
|
5433
|
+
return getDocumentSnapshots(documents).then(function(documentSnapshots) {
|
|
5434
|
+
var documentSnapshotsWithData = documentSnapshots.filter(function(x) {
|
|
5435
|
+
return x.data() != null;
|
|
5467
5436
|
});
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
}
|
|
5437
|
+
var docs = documentSnapshotsWithData;
|
|
5438
|
+
var query = {
|
|
5439
|
+
withConverter: function withConverter() {
|
|
5440
|
+
throw new Error('firestoreFixedItemPageIteration(): Not a real query');
|
|
5441
|
+
}
|
|
5442
|
+
}; // TODO: No great way to implement this. Not a great way to
|
|
5443
|
+
var snapshot = {
|
|
5444
|
+
query: query,
|
|
5445
|
+
docs: docs,
|
|
5446
|
+
size: docs.length,
|
|
5447
|
+
empty: docs.length === 0,
|
|
5448
|
+
docChanges: function docChanges() {
|
|
5449
|
+
return []; // no changes to return in this fake snapshot
|
|
5482
5450
|
},
|
|
5483
|
-
|
|
5451
|
+
forEach: function forEach(result) {
|
|
5452
|
+
docs.forEach(result);
|
|
5453
|
+
}
|
|
5484
5454
|
};
|
|
5485
|
-
return
|
|
5455
|
+
return snapshot;
|
|
5486
5456
|
});
|
|
5487
|
-
}
|
|
5457
|
+
};
|
|
5458
|
+
return _loadFakeQuerySnapshot().then(function(snapshot) {
|
|
5459
|
+
var result = {
|
|
5460
|
+
value: {
|
|
5461
|
+
time: time,
|
|
5462
|
+
docs: snapshot.docs,
|
|
5463
|
+
snapshot: snapshot,
|
|
5464
|
+
reload: function reload() {
|
|
5465
|
+
return _loadFakeQuerySnapshot();
|
|
5466
|
+
},
|
|
5467
|
+
stream: function stream(_options) {
|
|
5468
|
+
// TODO: Count potentially stream to fully implement, but might not be used anyways.
|
|
5469
|
+
return rxjs$1.of(snapshot);
|
|
5470
|
+
}
|
|
5471
|
+
},
|
|
5472
|
+
end: end
|
|
5473
|
+
};
|
|
5474
|
+
return result;
|
|
5475
|
+
});
|
|
5488
5476
|
}));
|
|
5489
5477
|
}
|
|
5490
5478
|
};
|
|
@@ -6242,10 +6230,12 @@ function _ts_generator$f(thisArg, body) {
|
|
|
6242
6230
|
return _ts_generator$f(this, function(_state) {
|
|
6243
6231
|
switch(_state.label){
|
|
6244
6232
|
case 0:
|
|
6245
|
-
if (
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6233
|
+
if (docSnapshots.length === 0) {
|
|
6234
|
+
return [
|
|
6235
|
+
2,
|
|
6236
|
+
[]
|
|
6237
|
+
];
|
|
6238
|
+
}
|
|
6249
6239
|
batchSizeForSnapshotsResult = batchSizeForSnapshots(docSnapshots);
|
|
6250
6240
|
batches = batchSizeForSnapshotsResult === null ? [
|
|
6251
6241
|
docSnapshots
|
|
@@ -6272,15 +6262,6 @@ function _ts_generator$f(thisArg, body) {
|
|
|
6272
6262
|
};
|
|
6273
6263
|
})
|
|
6274
6264
|
];
|
|
6275
|
-
case 2:
|
|
6276
|
-
return [
|
|
6277
|
-
2,
|
|
6278
|
-
[]
|
|
6279
|
-
];
|
|
6280
|
-
case 3:
|
|
6281
|
-
return [
|
|
6282
|
-
2
|
|
6283
|
-
];
|
|
6284
6265
|
}
|
|
6285
6266
|
});
|
|
6286
6267
|
})();
|
|
@@ -7358,10 +7339,11 @@ function _unsupported_iterable_to_array$a(o, minLen) {
|
|
|
7358
7339
|
* This matches Firestore's internal path separator convention.
|
|
7359
7340
|
*/ var FIRESTORE_COLLECTION_NAME_SEPARATOR = '/';
|
|
7360
7341
|
function firestoreModelIdentity(parentOrModelName, collectionNameOrModelName, inputCollectionName) {
|
|
7342
|
+
var result;
|
|
7361
7343
|
if ((typeof parentOrModelName === "undefined" ? "undefined" : _type_of$9(parentOrModelName)) === 'object') {
|
|
7362
7344
|
var collectionName = inputCollectionName !== null && inputCollectionName !== void 0 ? inputCollectionName : collectionNameOrModelName.toLowerCase();
|
|
7363
7345
|
var collectionType = "".concat(parentOrModelName.collectionType, "/").concat(collectionName);
|
|
7364
|
-
|
|
7346
|
+
result = {
|
|
7365
7347
|
type: 'nested',
|
|
7366
7348
|
parent: parentOrModelName,
|
|
7367
7349
|
collectionName: collectionName,
|
|
@@ -7371,13 +7353,14 @@ function firestoreModelIdentity(parentOrModelName, collectionNameOrModelName, in
|
|
|
7371
7353
|
} else {
|
|
7372
7354
|
var collectionName1 = collectionNameOrModelName !== null && collectionNameOrModelName !== void 0 ? collectionNameOrModelName : parentOrModelName.toLowerCase();
|
|
7373
7355
|
var collectionType1 = collectionName1;
|
|
7374
|
-
|
|
7356
|
+
result = {
|
|
7375
7357
|
type: 'root',
|
|
7376
7358
|
collectionName: collectionName1,
|
|
7377
7359
|
modelType: parentOrModelName,
|
|
7378
7360
|
collectionType: collectionType1
|
|
7379
7361
|
};
|
|
7380
7362
|
}
|
|
7363
|
+
return result;
|
|
7381
7364
|
}
|
|
7382
7365
|
/**
|
|
7383
7366
|
* Creates a FirestoreModelIdentityTypeMap from the input identities.
|
|
@@ -9880,19 +9863,12 @@ function mapHttpsCallable(callable, wrap) {
|
|
|
9880
9863
|
];
|
|
9881
9864
|
case 4:
|
|
9882
9865
|
mappedResultData = _state.sent();
|
|
9883
|
-
|
|
9884
|
-
|
|
9885
|
-
|
|
9886
|
-
mappedResultData
|
|
9887
|
-
|
|
9888
|
-
|
|
9889
|
-
return [
|
|
9890
|
-
2,
|
|
9891
|
-
_object_spread_props$b(_object_spread$d({}, result), {
|
|
9892
|
-
data: mappedResultData
|
|
9893
|
-
})
|
|
9894
|
-
];
|
|
9895
|
-
}
|
|
9866
|
+
return [
|
|
9867
|
+
2,
|
|
9868
|
+
directData ? mappedResultData : _object_spread_props$b(_object_spread$d({}, result), {
|
|
9869
|
+
data: mappedResultData
|
|
9870
|
+
})
|
|
9871
|
+
];
|
|
9896
9872
|
case 5:
|
|
9897
9873
|
e = _state.sent();
|
|
9898
9874
|
throw convertHttpsCallableErrorToReadableError(e);
|
|
@@ -10401,17 +10377,10 @@ function _class_call_check$c(instance, Constructor) {
|
|
|
10401
10377
|
pathString: input,
|
|
10402
10378
|
bucketId: undefined
|
|
10403
10379
|
} : input, pathString = _ref.pathString, inputBucketId = _ref.bucketId;
|
|
10404
|
-
|
|
10405
|
-
|
|
10406
|
-
|
|
10407
|
-
|
|
10408
|
-
};
|
|
10409
|
-
} else {
|
|
10410
|
-
return {
|
|
10411
|
-
pathString: pathString,
|
|
10412
|
-
bucketId: inputBucketId !== null && inputBucketId !== void 0 ? inputBucketId : bucketId
|
|
10413
|
-
};
|
|
10414
|
-
}
|
|
10380
|
+
return {
|
|
10381
|
+
pathString: pathString,
|
|
10382
|
+
bucketId: replaceBucket ? bucketId : inputBucketId !== null && inputBucketId !== void 0 ? inputBucketId : bucketId
|
|
10383
|
+
};
|
|
10415
10384
|
};
|
|
10416
10385
|
}
|
|
10417
10386
|
/**
|
|
@@ -10609,6 +10578,19 @@ var FIREBASE_SERVER_AUTH_CLAIMS_RESET_LAST_COM_DATE_KEY = 'resetCommunicationAt'
|
|
|
10609
10578
|
*
|
|
10610
10579
|
* This can happen with anonymous or malformed tokens.
|
|
10611
10580
|
*/ var DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE = 'NO_USER_UID';
|
|
10581
|
+
// MARK: Password Reset
|
|
10582
|
+
/**
|
|
10583
|
+
* Error code used when the provided password reset code is invalid or expired.
|
|
10584
|
+
*/ var DBX_FIREBASE_SERVER_PASSWORD_RESET_INVALID_CODE_ERROR_CODE = 'PASSWORD_RESET_INVALID_CODE';
|
|
10585
|
+
/**
|
|
10586
|
+
* Error code used when a password reset is attempted but no active reset exists for the user.
|
|
10587
|
+
*/ var DBX_FIREBASE_SERVER_PASSWORD_RESET_NO_CONFIG_ERROR_CODE = 'PASSWORD_RESET_NO_CONFIG';
|
|
10588
|
+
/**
|
|
10589
|
+
* Error code used when a password reset email send is throttled due to a recent send.
|
|
10590
|
+
*/ var DBX_FIREBASE_SERVER_PASSWORD_RESET_THROTTLE_ERROR_CODE = 'PASSWORD_RESET_THROTTLE';
|
|
10591
|
+
/**
|
|
10592
|
+
* Error code used when a password reset email has already been sent and the send-once constraint is active.
|
|
10593
|
+
*/ var DBX_FIREBASE_SERVER_PASSWORD_RESET_SEND_ONCE_ERROR_CODE = 'PASSWORD_RESET_SEND_ONCE';
|
|
10612
10594
|
|
|
10613
10595
|
function _class_call_check$b(instance, Constructor) {
|
|
10614
10596
|
if (!(instance instanceof Constructor)) {
|
|
@@ -11428,11 +11410,7 @@ function _ts_generator$8(thisArg, body) {
|
|
|
11428
11410
|
return grantModelRolesIfFunction(function(context) {
|
|
11429
11411
|
var _context_auth;
|
|
11430
11412
|
var currentAuthRoles = (_context_auth = context.auth) === null || _context_auth === void 0 ? void 0 : _context_auth.getAuthRoles();
|
|
11431
|
-
|
|
11432
|
-
return util.setContainsAllValues(currentAuthRoles, authRoles);
|
|
11433
|
-
} else {
|
|
11434
|
-
return authRoles.length === 0;
|
|
11435
|
-
}
|
|
11413
|
+
return currentAuthRoles ? util.setContainsAllValues(currentAuthRoles, authRoles) : authRoles.length === 0;
|
|
11436
11414
|
}, rolesToGrantToAdmin);
|
|
11437
11415
|
}
|
|
11438
11416
|
/**
|
|
@@ -12834,12 +12812,7 @@ function _ts_generator$5(thisArg, body) {
|
|
|
12834
12812
|
upload: function upload(input, options) {
|
|
12835
12813
|
var inputType = typeof input === 'string';
|
|
12836
12814
|
var metadataOption = uploadMetadataFromStorageUploadOptions(options);
|
|
12837
|
-
|
|
12838
|
-
var stringFormat = assertStorageUploadOptionsStringFormat(options);
|
|
12839
|
-
return storage.uploadString(ref, input, stringFormat, metadataOption);
|
|
12840
|
-
} else {
|
|
12841
|
-
return storage.uploadBytes(ref, input, metadataOption);
|
|
12842
|
-
}
|
|
12815
|
+
return inputType ? storage.uploadString(ref, input, assertStorageUploadOptionsStringFormat(options), metadataOption) : storage.uploadBytes(ref, input, metadataOption);
|
|
12843
12816
|
},
|
|
12844
12817
|
getBytes: function getBytes1(maxDownloadSizeBytes) {
|
|
12845
12818
|
return storage.getBytes(ref, maxDownloadSizeBytes).then(function(x) {
|
|
@@ -14935,17 +14908,10 @@ function _ts_generator$4(thisArg, body) {
|
|
|
14935
14908
|
];
|
|
14936
14909
|
case 1:
|
|
14937
14910
|
pair = _state.sent();
|
|
14938
|
-
|
|
14939
|
-
|
|
14940
|
-
|
|
14941
|
-
|
|
14942
|
-
];
|
|
14943
|
-
} else {
|
|
14944
|
-
return [
|
|
14945
|
-
2,
|
|
14946
|
-
undefined
|
|
14947
|
-
];
|
|
14948
|
-
}
|
|
14911
|
+
return [
|
|
14912
|
+
2,
|
|
14913
|
+
pair.notificationCreated ? pair : undefined
|
|
14914
|
+
];
|
|
14949
14915
|
}
|
|
14950
14916
|
});
|
|
14951
14917
|
})();
|
|
@@ -15393,10 +15359,9 @@ function _ts_generator$3(thisArg, body) {
|
|
|
15393
15359
|
fnWithExtras.globalRecipients = extras.globalRecipients;
|
|
15394
15360
|
fnWithExtras.onSendAttempted = extras.onSendAttempted;
|
|
15395
15361
|
fnWithExtras.onSendSuccess = extras.onSendSuccess;
|
|
15396
|
-
|
|
15397
|
-
} else {
|
|
15398
|
-
return fn;
|
|
15362
|
+
fn = fnWithExtras;
|
|
15399
15363
|
}
|
|
15364
|
+
return fn;
|
|
15400
15365
|
}
|
|
15401
15366
|
/**
|
|
15402
15367
|
* Creates a {@link NotificationMessageFunctionFactory} that always returns `NO_CONTENT` messages.
|
|
@@ -18948,6 +18913,10 @@ exports.CREATE_NOTIFICATION_ID_REQUIRED_ERROR_CODE = CREATE_NOTIFICATION_ID_REQU
|
|
|
18948
18913
|
exports.ContextGrantedModelRolesReaderInstance = ContextGrantedModelRolesReaderInstance;
|
|
18949
18914
|
exports.DBX_FIREBASE_SERVER_NO_AUTH_ERROR_CODE = DBX_FIREBASE_SERVER_NO_AUTH_ERROR_CODE;
|
|
18950
18915
|
exports.DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE = DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE;
|
|
18916
|
+
exports.DBX_FIREBASE_SERVER_PASSWORD_RESET_INVALID_CODE_ERROR_CODE = DBX_FIREBASE_SERVER_PASSWORD_RESET_INVALID_CODE_ERROR_CODE;
|
|
18917
|
+
exports.DBX_FIREBASE_SERVER_PASSWORD_RESET_NO_CONFIG_ERROR_CODE = DBX_FIREBASE_SERVER_PASSWORD_RESET_NO_CONFIG_ERROR_CODE;
|
|
18918
|
+
exports.DBX_FIREBASE_SERVER_PASSWORD_RESET_SEND_ONCE_ERROR_CODE = DBX_FIREBASE_SERVER_PASSWORD_RESET_SEND_ONCE_ERROR_CODE;
|
|
18919
|
+
exports.DBX_FIREBASE_SERVER_PASSWORD_RESET_THROTTLE_ERROR_CODE = DBX_FIREBASE_SERVER_PASSWORD_RESET_THROTTLE_ERROR_CODE;
|
|
18951
18920
|
exports.DEFAULT_DATE_CELL_RANGE_VALUE = DEFAULT_DATE_CELL_RANGE_VALUE;
|
|
18952
18921
|
exports.DEFAULT_FIRESTORE_DATE_CELL_SCHEDULE_VALUE = DEFAULT_FIRESTORE_DATE_CELL_SCHEDULE_VALUE;
|
|
18953
18922
|
exports.DEFAULT_FIRESTORE_ITEM_PAGE_ITERATOR_ITEMS_PER_PAGE = DEFAULT_FIRESTORE_ITEM_PAGE_ITERATOR_ITEMS_PER_PAGE;
|
package/index.esm.js
CHANGED
|
@@ -391,22 +391,14 @@ function _is_native_reflect_construct$9() {
|
|
|
391
391
|
case 'set':
|
|
392
392
|
setFn = function setFn(data, options) {
|
|
393
393
|
var isSetForNewModel = Boolean(!options);
|
|
394
|
-
|
|
395
|
-
return modifyAndSet(data);
|
|
396
|
-
} else {
|
|
397
|
-
return _get((_assert_this_initialized$9(_this), _get_prototype_of$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
|
|
398
|
-
}
|
|
394
|
+
return isSetForNewModel ? modifyAndSet(data) : _get((_assert_this_initialized$9(_this), _get_prototype_of$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
|
|
399
395
|
};
|
|
400
396
|
applyToCreateFunction = true;
|
|
401
397
|
break;
|
|
402
398
|
case 'update':
|
|
403
399
|
setFn = function setFn(data, options) {
|
|
404
400
|
var isUpdateForExistingModel = options && (Boolean(options.mergeFields) || Boolean(options.merge));
|
|
405
|
-
|
|
406
|
-
return modifyAndSet(data);
|
|
407
|
-
} else {
|
|
408
|
-
return _get((_assert_this_initialized$9(_this), _get_prototype_of$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
|
|
409
|
-
}
|
|
401
|
+
return isUpdateForExistingModel ? modifyAndSet(data) : _get((_assert_this_initialized$9(_this), _get_prototype_of$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
|
|
410
402
|
};
|
|
411
403
|
break;
|
|
412
404
|
case 'create':
|
|
@@ -3391,12 +3383,11 @@ function optionalFirestoreField(config) {
|
|
|
3391
3383
|
if (dontStoreIf != null) {
|
|
3392
3384
|
var dontStoreValue = dontStoreIf;
|
|
3393
3385
|
toData = function toData(x) {
|
|
3394
|
-
if (x
|
|
3395
|
-
var transformedValue = transformTo(x);
|
|
3396
|
-
return transformedValue != null && !dontStoreValue(transformedValue) ? transformedValue : null;
|
|
3397
|
-
} else {
|
|
3386
|
+
if (x == null) {
|
|
3398
3387
|
return x;
|
|
3399
3388
|
}
|
|
3389
|
+
var transformedValue = transformTo(x);
|
|
3390
|
+
return transformedValue != null && !dontStoreValue(transformedValue) ? transformedValue : null;
|
|
3400
3391
|
};
|
|
3401
3392
|
} else {
|
|
3402
3393
|
toData = function toData(x) {
|
|
@@ -3409,9 +3400,8 @@ function optionalFirestoreField(config) {
|
|
|
3409
3400
|
fromData: fromData,
|
|
3410
3401
|
toData: toData
|
|
3411
3402
|
});
|
|
3412
|
-
} else {
|
|
3413
|
-
return FIRESTORE_PASSTHROUGH_FIELD;
|
|
3414
3403
|
}
|
|
3404
|
+
return FIRESTORE_PASSTHROUGH_FIELD;
|
|
3415
3405
|
}
|
|
3416
3406
|
/**
|
|
3417
3407
|
* Default value for required Firestore string fields when the field is missing from the document.
|
|
@@ -5207,57 +5197,56 @@ function _unsupported_iterable_to_array$e(o, minLen) {
|
|
|
5207
5197
|
var _ref = filter !== null && filter !== void 0 ? filter : {}, filterLimit = _ref.limit, filterConstraints = _ref.constraints, inputInferEnd = _ref.inferEndOfResultsFromPageSize;
|
|
5208
5198
|
var inferEndOfResultsFromPageSize = inputInferEnd !== false; // defaults to true
|
|
5209
5199
|
return prevQueryResult$.pipe(exhaustMap(function(prevResult) {
|
|
5200
|
+
var _driver;
|
|
5210
5201
|
if ((prevResult === null || prevResult === void 0 ? void 0 : prevResult.snapshot.empty) === true) {
|
|
5211
5202
|
// TODO(REMOVE): Shouldn't happen. Remove this later.
|
|
5212
5203
|
return of({
|
|
5213
5204
|
end: true
|
|
5214
5205
|
});
|
|
5215
|
-
} else {
|
|
5216
|
-
var _driver;
|
|
5217
|
-
var constraints = [];
|
|
5218
|
-
// Add filter constraints
|
|
5219
|
-
if (filterConstraints != null) {
|
|
5220
|
-
mergeArraysIntoArray(constraints, filterDisallowedFirestoreItemPageIteratorInputConstraints(asArray(filterConstraints)));
|
|
5221
|
-
}
|
|
5222
|
-
// Add cursor
|
|
5223
|
-
var cursorDocument = prevResult ? lastValue(prevResult.docs) : undefined;
|
|
5224
|
-
var startAfterFilter = cursorDocument ? startAfter(cursorDocument) : undefined;
|
|
5225
|
-
if (startAfterFilter) {
|
|
5226
|
-
constraints.push(startAfterFilter);
|
|
5227
|
-
}
|
|
5228
|
-
// Add Limit
|
|
5229
|
-
var limitCount = filterLimit !== null && filterLimit !== void 0 ? filterLimit : itemsPerPage + (startAfterFilter ? 1 : 0); // todo: may not be needed.
|
|
5230
|
-
var limitConstraint = limit(limitCount);
|
|
5231
|
-
var constraintsWithLimit = _to_consumable_array$a(constraints).concat([
|
|
5232
|
-
limitConstraint
|
|
5233
|
-
]);
|
|
5234
|
-
// make query
|
|
5235
|
-
var batchQuery = (_driver = driver).query.apply(_driver, [
|
|
5236
|
-
queryLike
|
|
5237
|
-
].concat(_to_consumable_array$a(constraintsWithLimit)));
|
|
5238
|
-
var resultPromise = driver.getDocs(batchQuery).then(function(snapshot) {
|
|
5239
|
-
var time = new Date();
|
|
5240
|
-
var docs = snapshot.docs;
|
|
5241
|
-
var end = snapshot.empty || inferEndOfResultsFromPageSize && docs.length < limitCount;
|
|
5242
|
-
var result = {
|
|
5243
|
-
value: {
|
|
5244
|
-
time: time,
|
|
5245
|
-
docs: docs,
|
|
5246
|
-
snapshot: snapshot,
|
|
5247
|
-
reload: function reload() {
|
|
5248
|
-
return driver.getDocs(batchQuery);
|
|
5249
|
-
},
|
|
5250
|
-
stream: function stream(options) {
|
|
5251
|
-
// todo: consider allowing limit to be changed here to stream a subset. This will be useful for detecting collection changes.
|
|
5252
|
-
return driver.streamDocs(batchQuery, options === null || options === void 0 ? void 0 : options.options);
|
|
5253
|
-
}
|
|
5254
|
-
},
|
|
5255
|
-
end: end
|
|
5256
|
-
};
|
|
5257
|
-
return result;
|
|
5258
|
-
});
|
|
5259
|
-
return from(resultPromise);
|
|
5260
5206
|
}
|
|
5207
|
+
var constraints = [];
|
|
5208
|
+
// Add filter constraints
|
|
5209
|
+
if (filterConstraints != null) {
|
|
5210
|
+
mergeArraysIntoArray(constraints, filterDisallowedFirestoreItemPageIteratorInputConstraints(asArray(filterConstraints)));
|
|
5211
|
+
}
|
|
5212
|
+
// Add cursor
|
|
5213
|
+
var cursorDocument = prevResult ? lastValue(prevResult.docs) : undefined;
|
|
5214
|
+
var startAfterFilter = cursorDocument ? startAfter(cursorDocument) : undefined;
|
|
5215
|
+
if (startAfterFilter) {
|
|
5216
|
+
constraints.push(startAfterFilter);
|
|
5217
|
+
}
|
|
5218
|
+
// Add Limit
|
|
5219
|
+
var limitCount = filterLimit !== null && filterLimit !== void 0 ? filterLimit : itemsPerPage + (startAfterFilter ? 1 : 0); // todo: may not be needed.
|
|
5220
|
+
var limitConstraint = limit(limitCount);
|
|
5221
|
+
var constraintsWithLimit = _to_consumable_array$a(constraints).concat([
|
|
5222
|
+
limitConstraint
|
|
5223
|
+
]);
|
|
5224
|
+
// make query
|
|
5225
|
+
var batchQuery = (_driver = driver).query.apply(_driver, [
|
|
5226
|
+
queryLike
|
|
5227
|
+
].concat(_to_consumable_array$a(constraintsWithLimit)));
|
|
5228
|
+
var resultPromise = driver.getDocs(batchQuery).then(function(snapshot) {
|
|
5229
|
+
var time = new Date();
|
|
5230
|
+
var docs = snapshot.docs;
|
|
5231
|
+
var end = snapshot.empty || inferEndOfResultsFromPageSize && docs.length < limitCount;
|
|
5232
|
+
var result = {
|
|
5233
|
+
value: {
|
|
5234
|
+
time: time,
|
|
5235
|
+
docs: docs,
|
|
5236
|
+
snapshot: snapshot,
|
|
5237
|
+
reload: function reload() {
|
|
5238
|
+
return driver.getDocs(batchQuery);
|
|
5239
|
+
},
|
|
5240
|
+
stream: function stream(options) {
|
|
5241
|
+
// todo: consider allowing limit to be changed here to stream a subset. This will be useful for detecting collection changes.
|
|
5242
|
+
return driver.streamDocs(batchQuery, options === null || options === void 0 ? void 0 : options.options);
|
|
5243
|
+
}
|
|
5244
|
+
},
|
|
5245
|
+
end: end
|
|
5246
|
+
};
|
|
5247
|
+
return result;
|
|
5248
|
+
});
|
|
5249
|
+
return from(resultPromise);
|
|
5261
5250
|
}));
|
|
5262
5251
|
}
|
|
5263
5252
|
};
|
|
@@ -5422,67 +5411,66 @@ function _firestoreItemPageIterationWithSnapshotIteration(snapshotIteration) {
|
|
|
5422
5411
|
return of({
|
|
5423
5412
|
end: true
|
|
5424
5413
|
});
|
|
5414
|
+
}
|
|
5415
|
+
var cursorDocument = prevResult ? lastValue(prevResult.docs) : undefined;
|
|
5416
|
+
var startAtIndex = cursorDocument ? indexForId(cursorDocument.id) + 1 : 0;
|
|
5417
|
+
var limitCount = filterLimit !== null && filterLimit !== void 0 ? filterLimit : itemsPerPage;
|
|
5418
|
+
var time = new Date();
|
|
5419
|
+
var itemsForThisPage = items.slice(startAtIndex, startAtIndex + limitCount);
|
|
5420
|
+
var lastItemForThisPage = lastValue(itemsForThisPage);
|
|
5421
|
+
var end = false;
|
|
5422
|
+
if (lastItemForThisPage) {
|
|
5423
|
+
var lastItemForThisPageItemIndex = startAtIndex + (itemsForThisPage.length - 1);
|
|
5424
|
+
idLookupMap.set(lastItemForThisPage.id, lastItemForThisPageItemIndex);
|
|
5425
|
+
end = lastItemForThisPageItemIndex === items.length - 1;
|
|
5425
5426
|
} else {
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
if (lastItemForThisPage) {
|
|
5434
|
-
var lastItemForThisPageItemIndex = startAtIndex + (itemsForThisPage.length - 1);
|
|
5435
|
-
idLookupMap.set(lastItemForThisPage.id, lastItemForThisPageItemIndex);
|
|
5436
|
-
end = lastItemForThisPageItemIndex === items.length - 1;
|
|
5437
|
-
} else {
|
|
5438
|
-
end = true;
|
|
5439
|
-
}
|
|
5440
|
-
var documents = loadDocumentsForDocumentReferences(documentAccessor, itemsForThisPage);
|
|
5441
|
-
var _loadFakeQuerySnapshot = function _loadFakeQuerySnapshot() {
|
|
5442
|
-
return getDocumentSnapshots(documents).then(function(documentSnapshots) {
|
|
5443
|
-
var documentSnapshotsWithData = documentSnapshots.filter(function(x) {
|
|
5444
|
-
return x.data() != null;
|
|
5445
|
-
});
|
|
5446
|
-
var docs = documentSnapshotsWithData;
|
|
5447
|
-
var query = {
|
|
5448
|
-
withConverter: function withConverter() {
|
|
5449
|
-
throw new Error('firestoreFixedItemPageIteration(): Not a real query');
|
|
5450
|
-
}
|
|
5451
|
-
}; // TODO: No great way to implement this. Not a great way to
|
|
5452
|
-
var snapshot = {
|
|
5453
|
-
query: query,
|
|
5454
|
-
docs: docs,
|
|
5455
|
-
size: docs.length,
|
|
5456
|
-
empty: docs.length === 0,
|
|
5457
|
-
docChanges: function docChanges() {
|
|
5458
|
-
return []; // no changes to return in this fake snapshot
|
|
5459
|
-
},
|
|
5460
|
-
forEach: function forEach(result) {
|
|
5461
|
-
docs.forEach(result);
|
|
5462
|
-
}
|
|
5463
|
-
};
|
|
5464
|
-
return snapshot;
|
|
5427
|
+
end = true;
|
|
5428
|
+
}
|
|
5429
|
+
var documents = loadDocumentsForDocumentReferences(documentAccessor, itemsForThisPage);
|
|
5430
|
+
var _loadFakeQuerySnapshot = function _loadFakeQuerySnapshot() {
|
|
5431
|
+
return getDocumentSnapshots(documents).then(function(documentSnapshots) {
|
|
5432
|
+
var documentSnapshotsWithData = documentSnapshots.filter(function(x) {
|
|
5433
|
+
return x.data() != null;
|
|
5465
5434
|
});
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
}
|
|
5435
|
+
var docs = documentSnapshotsWithData;
|
|
5436
|
+
var query = {
|
|
5437
|
+
withConverter: function withConverter() {
|
|
5438
|
+
throw new Error('firestoreFixedItemPageIteration(): Not a real query');
|
|
5439
|
+
}
|
|
5440
|
+
}; // TODO: No great way to implement this. Not a great way to
|
|
5441
|
+
var snapshot = {
|
|
5442
|
+
query: query,
|
|
5443
|
+
docs: docs,
|
|
5444
|
+
size: docs.length,
|
|
5445
|
+
empty: docs.length === 0,
|
|
5446
|
+
docChanges: function docChanges() {
|
|
5447
|
+
return []; // no changes to return in this fake snapshot
|
|
5480
5448
|
},
|
|
5481
|
-
|
|
5449
|
+
forEach: function forEach(result) {
|
|
5450
|
+
docs.forEach(result);
|
|
5451
|
+
}
|
|
5482
5452
|
};
|
|
5483
|
-
return
|
|
5453
|
+
return snapshot;
|
|
5484
5454
|
});
|
|
5485
|
-
}
|
|
5455
|
+
};
|
|
5456
|
+
return _loadFakeQuerySnapshot().then(function(snapshot) {
|
|
5457
|
+
var result = {
|
|
5458
|
+
value: {
|
|
5459
|
+
time: time,
|
|
5460
|
+
docs: snapshot.docs,
|
|
5461
|
+
snapshot: snapshot,
|
|
5462
|
+
reload: function reload() {
|
|
5463
|
+
return _loadFakeQuerySnapshot();
|
|
5464
|
+
},
|
|
5465
|
+
stream: function stream(_options) {
|
|
5466
|
+
// TODO: Count potentially stream to fully implement, but might not be used anyways.
|
|
5467
|
+
return of(snapshot);
|
|
5468
|
+
}
|
|
5469
|
+
},
|
|
5470
|
+
end: end
|
|
5471
|
+
};
|
|
5472
|
+
return result;
|
|
5473
|
+
});
|
|
5486
5474
|
}));
|
|
5487
5475
|
}
|
|
5488
5476
|
};
|
|
@@ -6240,10 +6228,12 @@ function _ts_generator$f(thisArg, body) {
|
|
|
6240
6228
|
return _ts_generator$f(this, function(_state) {
|
|
6241
6229
|
switch(_state.label){
|
|
6242
6230
|
case 0:
|
|
6243
|
-
if (
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6231
|
+
if (docSnapshots.length === 0) {
|
|
6232
|
+
return [
|
|
6233
|
+
2,
|
|
6234
|
+
[]
|
|
6235
|
+
];
|
|
6236
|
+
}
|
|
6247
6237
|
batchSizeForSnapshotsResult = batchSizeForSnapshots(docSnapshots);
|
|
6248
6238
|
batches = batchSizeForSnapshotsResult === null ? [
|
|
6249
6239
|
docSnapshots
|
|
@@ -6270,15 +6260,6 @@ function _ts_generator$f(thisArg, body) {
|
|
|
6270
6260
|
};
|
|
6271
6261
|
})
|
|
6272
6262
|
];
|
|
6273
|
-
case 2:
|
|
6274
|
-
return [
|
|
6275
|
-
2,
|
|
6276
|
-
[]
|
|
6277
|
-
];
|
|
6278
|
-
case 3:
|
|
6279
|
-
return [
|
|
6280
|
-
2
|
|
6281
|
-
];
|
|
6282
6263
|
}
|
|
6283
6264
|
});
|
|
6284
6265
|
})();
|
|
@@ -7356,10 +7337,11 @@ function _unsupported_iterable_to_array$a(o, minLen) {
|
|
|
7356
7337
|
* This matches Firestore's internal path separator convention.
|
|
7357
7338
|
*/ var FIRESTORE_COLLECTION_NAME_SEPARATOR = '/';
|
|
7358
7339
|
function firestoreModelIdentity(parentOrModelName, collectionNameOrModelName, inputCollectionName) {
|
|
7340
|
+
var result;
|
|
7359
7341
|
if ((typeof parentOrModelName === "undefined" ? "undefined" : _type_of$9(parentOrModelName)) === 'object') {
|
|
7360
7342
|
var collectionName = inputCollectionName !== null && inputCollectionName !== void 0 ? inputCollectionName : collectionNameOrModelName.toLowerCase();
|
|
7361
7343
|
var collectionType = "".concat(parentOrModelName.collectionType, "/").concat(collectionName);
|
|
7362
|
-
|
|
7344
|
+
result = {
|
|
7363
7345
|
type: 'nested',
|
|
7364
7346
|
parent: parentOrModelName,
|
|
7365
7347
|
collectionName: collectionName,
|
|
@@ -7369,13 +7351,14 @@ function firestoreModelIdentity(parentOrModelName, collectionNameOrModelName, in
|
|
|
7369
7351
|
} else {
|
|
7370
7352
|
var collectionName1 = collectionNameOrModelName !== null && collectionNameOrModelName !== void 0 ? collectionNameOrModelName : parentOrModelName.toLowerCase();
|
|
7371
7353
|
var collectionType1 = collectionName1;
|
|
7372
|
-
|
|
7354
|
+
result = {
|
|
7373
7355
|
type: 'root',
|
|
7374
7356
|
collectionName: collectionName1,
|
|
7375
7357
|
modelType: parentOrModelName,
|
|
7376
7358
|
collectionType: collectionType1
|
|
7377
7359
|
};
|
|
7378
7360
|
}
|
|
7361
|
+
return result;
|
|
7379
7362
|
}
|
|
7380
7363
|
/**
|
|
7381
7364
|
* Creates a FirestoreModelIdentityTypeMap from the input identities.
|
|
@@ -9878,19 +9861,12 @@ function mapHttpsCallable(callable, wrap) {
|
|
|
9878
9861
|
];
|
|
9879
9862
|
case 4:
|
|
9880
9863
|
mappedResultData = _state.sent();
|
|
9881
|
-
|
|
9882
|
-
|
|
9883
|
-
|
|
9884
|
-
mappedResultData
|
|
9885
|
-
|
|
9886
|
-
|
|
9887
|
-
return [
|
|
9888
|
-
2,
|
|
9889
|
-
_object_spread_props$b(_object_spread$d({}, result), {
|
|
9890
|
-
data: mappedResultData
|
|
9891
|
-
})
|
|
9892
|
-
];
|
|
9893
|
-
}
|
|
9864
|
+
return [
|
|
9865
|
+
2,
|
|
9866
|
+
directData ? mappedResultData : _object_spread_props$b(_object_spread$d({}, result), {
|
|
9867
|
+
data: mappedResultData
|
|
9868
|
+
})
|
|
9869
|
+
];
|
|
9894
9870
|
case 5:
|
|
9895
9871
|
e = _state.sent();
|
|
9896
9872
|
throw convertHttpsCallableErrorToReadableError(e);
|
|
@@ -10399,17 +10375,10 @@ function _class_call_check$c(instance, Constructor) {
|
|
|
10399
10375
|
pathString: input,
|
|
10400
10376
|
bucketId: undefined
|
|
10401
10377
|
} : input, pathString = _ref.pathString, inputBucketId = _ref.bucketId;
|
|
10402
|
-
|
|
10403
|
-
|
|
10404
|
-
|
|
10405
|
-
|
|
10406
|
-
};
|
|
10407
|
-
} else {
|
|
10408
|
-
return {
|
|
10409
|
-
pathString: pathString,
|
|
10410
|
-
bucketId: inputBucketId !== null && inputBucketId !== void 0 ? inputBucketId : bucketId
|
|
10411
|
-
};
|
|
10412
|
-
}
|
|
10378
|
+
return {
|
|
10379
|
+
pathString: pathString,
|
|
10380
|
+
bucketId: replaceBucket ? bucketId : inputBucketId !== null && inputBucketId !== void 0 ? inputBucketId : bucketId
|
|
10381
|
+
};
|
|
10413
10382
|
};
|
|
10414
10383
|
}
|
|
10415
10384
|
/**
|
|
@@ -10607,6 +10576,19 @@ var FIREBASE_SERVER_AUTH_CLAIMS_RESET_LAST_COM_DATE_KEY = 'resetCommunicationAt'
|
|
|
10607
10576
|
*
|
|
10608
10577
|
* This can happen with anonymous or malformed tokens.
|
|
10609
10578
|
*/ var DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE = 'NO_USER_UID';
|
|
10579
|
+
// MARK: Password Reset
|
|
10580
|
+
/**
|
|
10581
|
+
* Error code used when the provided password reset code is invalid or expired.
|
|
10582
|
+
*/ var DBX_FIREBASE_SERVER_PASSWORD_RESET_INVALID_CODE_ERROR_CODE = 'PASSWORD_RESET_INVALID_CODE';
|
|
10583
|
+
/**
|
|
10584
|
+
* Error code used when a password reset is attempted but no active reset exists for the user.
|
|
10585
|
+
*/ var DBX_FIREBASE_SERVER_PASSWORD_RESET_NO_CONFIG_ERROR_CODE = 'PASSWORD_RESET_NO_CONFIG';
|
|
10586
|
+
/**
|
|
10587
|
+
* Error code used when a password reset email send is throttled due to a recent send.
|
|
10588
|
+
*/ var DBX_FIREBASE_SERVER_PASSWORD_RESET_THROTTLE_ERROR_CODE = 'PASSWORD_RESET_THROTTLE';
|
|
10589
|
+
/**
|
|
10590
|
+
* Error code used when a password reset email has already been sent and the send-once constraint is active.
|
|
10591
|
+
*/ var DBX_FIREBASE_SERVER_PASSWORD_RESET_SEND_ONCE_ERROR_CODE = 'PASSWORD_RESET_SEND_ONCE';
|
|
10610
10592
|
|
|
10611
10593
|
function _class_call_check$b(instance, Constructor) {
|
|
10612
10594
|
if (!(instance instanceof Constructor)) {
|
|
@@ -11426,11 +11408,7 @@ function _ts_generator$8(thisArg, body) {
|
|
|
11426
11408
|
return grantModelRolesIfFunction(function(context) {
|
|
11427
11409
|
var _context_auth;
|
|
11428
11410
|
var currentAuthRoles = (_context_auth = context.auth) === null || _context_auth === void 0 ? void 0 : _context_auth.getAuthRoles();
|
|
11429
|
-
|
|
11430
|
-
return setContainsAllValues(currentAuthRoles, authRoles);
|
|
11431
|
-
} else {
|
|
11432
|
-
return authRoles.length === 0;
|
|
11433
|
-
}
|
|
11411
|
+
return currentAuthRoles ? setContainsAllValues(currentAuthRoles, authRoles) : authRoles.length === 0;
|
|
11434
11412
|
}, rolesToGrantToAdmin);
|
|
11435
11413
|
}
|
|
11436
11414
|
/**
|
|
@@ -12832,12 +12810,7 @@ function _ts_generator$5(thisArg, body) {
|
|
|
12832
12810
|
upload: function upload(input, options) {
|
|
12833
12811
|
var inputType = typeof input === 'string';
|
|
12834
12812
|
var metadataOption = uploadMetadataFromStorageUploadOptions(options);
|
|
12835
|
-
|
|
12836
|
-
var stringFormat = assertStorageUploadOptionsStringFormat(options);
|
|
12837
|
-
return uploadString(ref, input, stringFormat, metadataOption);
|
|
12838
|
-
} else {
|
|
12839
|
-
return uploadBytes(ref, input, metadataOption);
|
|
12840
|
-
}
|
|
12813
|
+
return inputType ? uploadString(ref, input, assertStorageUploadOptionsStringFormat(options), metadataOption) : uploadBytes(ref, input, metadataOption);
|
|
12841
12814
|
},
|
|
12842
12815
|
getBytes: function getBytes1(maxDownloadSizeBytes) {
|
|
12843
12816
|
return getBytes(ref, maxDownloadSizeBytes).then(function(x) {
|
|
@@ -14933,17 +14906,10 @@ function _ts_generator$4(thisArg, body) {
|
|
|
14933
14906
|
];
|
|
14934
14907
|
case 1:
|
|
14935
14908
|
pair = _state.sent();
|
|
14936
|
-
|
|
14937
|
-
|
|
14938
|
-
|
|
14939
|
-
|
|
14940
|
-
];
|
|
14941
|
-
} else {
|
|
14942
|
-
return [
|
|
14943
|
-
2,
|
|
14944
|
-
undefined
|
|
14945
|
-
];
|
|
14946
|
-
}
|
|
14909
|
+
return [
|
|
14910
|
+
2,
|
|
14911
|
+
pair.notificationCreated ? pair : undefined
|
|
14912
|
+
];
|
|
14947
14913
|
}
|
|
14948
14914
|
});
|
|
14949
14915
|
})();
|
|
@@ -15391,10 +15357,9 @@ function _ts_generator$3(thisArg, body) {
|
|
|
15391
15357
|
fnWithExtras.globalRecipients = extras.globalRecipients;
|
|
15392
15358
|
fnWithExtras.onSendAttempted = extras.onSendAttempted;
|
|
15393
15359
|
fnWithExtras.onSendSuccess = extras.onSendSuccess;
|
|
15394
|
-
|
|
15395
|
-
} else {
|
|
15396
|
-
return fn;
|
|
15360
|
+
fn = fnWithExtras;
|
|
15397
15361
|
}
|
|
15362
|
+
return fn;
|
|
15398
15363
|
}
|
|
15399
15364
|
/**
|
|
15400
15365
|
* Creates a {@link NotificationMessageFunctionFactory} that always returns `NO_CONTENT` messages.
|
|
@@ -18927,4 +18892,4 @@ function _is_native_reflect_construct() {
|
|
|
18927
18892
|
});
|
|
18928
18893
|
}
|
|
18929
18894
|
|
|
18930
|
-
export { ALL_OIDC_TOKEN_ENDPOINT_AUTH_METHOD_OPTIONS, ALL_STORAGE_FILE_NOTIFICATION_TASK_TYPES, ALL_USER_UPLOADS_FOLDER_NAME, ALL_USER_UPLOADS_FOLDER_PATH, ALREADY_EXISTS_ERROR_CODE, AbstractFirestoreDocument, AbstractFirestoreDocumentDataAccessorWrapper, AbstractFirestoreDocumentWithParent, AppNotificationTemplateTypeInfoRecordService, BAD_DOCUMENT_QUERY_CURSOR_ERROR_CODE, BAD_REQUEST_ERROR_CODE, BASE_MODEL_STORAGE_FILE_PATH, CALL_MODEL_APP_FUNCTION_KEY, CONFLICT_ERROR_CODE, COPY_USER_RELATED_DATA_ACCESSOR_FACTORY_FUNCTION, CREATE_NOTIFICATION_ID_REQUIRED_ERROR_CODE, ContextGrantedModelRolesReaderInstance, DBX_FIREBASE_SERVER_NO_AUTH_ERROR_CODE, DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE, DEFAULT_DATE_CELL_RANGE_VALUE, DEFAULT_FIRESTORE_DATE_CELL_SCHEDULE_VALUE, DEFAULT_FIRESTORE_ITEM_PAGE_ITERATOR_ITEMS_PER_PAGE, DEFAULT_FIRESTORE_STRING_FIELD_VALUE, DEFAULT_FIRESTORE_UNITED_STATES_ADDRESS_VALUE, DEFAULT_FIRESTORE_WEBSITE_FILE_LINK_VALUE, DEFAULT_ITERATE_FIRESTORE_DOCUMENT_SNAPSHOT_BATCHES_BATCH_SIZE, DEFAULT_NOTIFICATION_TASK_NOTIFICATION_MODEL_KEY, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY, DEFAULT_NOTIFICATION_TEMPLATE_TYPE, DEFAULT_ON_CALL_QUERY_MODEL_LIMIT, DEFAULT_QUERY_CHANGE_WATCHER_DELAY, DEFAULT_SINGLE_ITEM_FIRESTORE_COLLECTION_DOCUMENT_IDENTIFIER, DEFAULT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, DEFAULT_WEBSITE_LINK, DOWNLOAD_MULTIPLE_STORAGE_FILES_MAX_FILES, DOWNLOAD_MULTIPLE_STORAGE_FILES_MIN_FILES, EMPTY_STORAGE_FILE_PURPOSE_SUBGROUP, EXACT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, FIREBASE_AUTH_CREDENTIAL_ALREADY_IN_USE_ERROR, FIREBASE_AUTH_EMAIL_ALREADY_EXISTS_ERROR, FIREBASE_AUTH_EMAIL_ALREADY_IN_USE_ERROR, FIREBASE_AUTH_INVALID_PHONE_NUMBER_ERROR, FIREBASE_AUTH_NETWORK_REQUEST_ERROR, FIREBASE_AUTH_NETWORK_REQUEST_FAILED, FIREBASE_AUTH_PASSWORD_MAX_LENGTH, FIREBASE_AUTH_PASSWORD_MIN_LENGTH, FIREBASE_AUTH_PHONE_NUMBER_ALREADY_EXISTS_ERROR, FIREBASE_AUTH_PROVIDER_ALREADY_LINKED_ERROR, FIREBASE_AUTH_QUOTA_EXCEEDED_ERROR, FIREBASE_AUTH_USER_NOT_FOUND_ERROR, FIREBASE_AUTH_WRONG_PASSWORD, FIREBASE_DEVELOPMENT_FUNCTIONS_MAP_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_PASSWORD_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_PASSWORD_KEY, FIRESTORE_CLIENT_QUERY_CONSTRAINT_HANDLER_MAPPING, FIRESTORE_COLLECTION_NAME_SEPARATOR, FIRESTORE_DUMMY_MODEL_KEY, FIRESTORE_EMPTY_VALUE, FIRESTORE_END_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_BEFORE_QUERY_CONSTRAINT_TYPE, FIRESTORE_ITEM_PAGE_ITERATOR, FIRESTORE_ITEM_PAGE_ITERATOR_DELEGATE, FIRESTORE_LIMIT_QUERY_CONSTRAINT_TYPE, FIRESTORE_LIMIT_TO_LAST_QUERY_CONSTRAINT_TYPE, FIRESTORE_MAX_WHERE_IN_FILTER_ARGS_COUNT, FIRESTORE_MODEL_ID_REGEX, FIRESTORE_MODEL_KEY_REGEX, FIRESTORE_MODEL_KEY_REGEX_STRICT, FIRESTORE_OFFSET_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_QUERY_CONSTRAINT_TYPE, FIRESTORE_PASSTHROUGH_FIELD, FIRESTORE_PERMISSION_DENIED_ERROR_CODE, FIRESTORE_START_AFTER_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_QUERY_CONSTRAINT_TYPE, FORBIDDEN_ERROR_CODE, FirebaseDevelopmentFunctions, FirebaseModelPermissionServiceInstance, FirebaseServerError, FirestoreAccessorStreamMode, FirestoreDocumentContextType, HIGH_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, INTERNAL_SERVER_ERROR_CODE, IN_MEMORY_CACHE_DEFAULT_TTL, LOW_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MAX_ON_CALL_QUERY_MODEL_LIMIT, MIN_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_DEFAULT, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_SPLITTER, MODEL_NOT_AVAILABLE_ERROR_CODE, MODEL_STORAGE_FILE_SLASH_PATH_FACTORY, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, NOTIFICATION_BOX_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_BOX_EXCLUSION_TARGET_INVALID_ERROR_CODE, NOTIFICATION_BOX_EXISTS_FOR_MODEL_ERROR_CODE, NOTIFICATION_BOX_RECIPIENT_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_MESSAGE_MAX_LENGTH, NOTIFICATION_MESSAGE_MIN_LENGTH, NOTIFICATION_MODEL_ALREADY_INITIALIZED_ERROR_CODE, NOTIFICATION_RECIPIENT_NAME_MAX_LENGTH, NOTIFICATION_RECIPIENT_NAME_MIN_LENGTH, NOTIFICATION_SUBJECT_MAX_LENGTH, NOTIFICATION_SUBJECT_MIN_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_MESSAGE_MAX_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_SUBJECT_MAX_LENGTH, NOTIFICATION_SUMMARY_ITEM_LIMIT, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING, NOTIFICATION_USER_BLOCKED_FROM_BEING_ADD_TO_RECIPIENTS_ERROR_CODE, NOTIFICATION_USER_INVALID_UID_FOR_CREATE_ERROR_CODE, NOTIFICATION_USER_LOCKED_CONFIG_FROM_BEING_UPDATED_ERROR_CODE, NOTIFICATION_WEEK_NOTIFICATION_ITEM_LIMIT, NOT_FOUND_ERROR_CODE, NotificationBoxDocument, NotificationBoxRecipientFlag, NotificationBoxRecipientTemplateConfigBoolean, NotificationDocument, NotificationFirestoreCollections, NotificationFunctions, NotificationMessageFlag, NotificationRecipientSendFlag, NotificationSendState, NotificationSendType, NotificationSummaryDocument, NotificationUserDocument, NotificationWeekDocument, OIDC_ENTRY_CLIENT_TYPE, OidcEntryDocument, OidcModelFirestoreCollections, OidcModelFunctions, PERMISSION_DENIED_ERROR_CODE, PRIVATE_KEY_JWT_TOKEN_ENDPOINT_AUTH_METHOD, RUN_DEV_FUNCTION_APP_FUNCTION_KEY, SCHEDULED_FUNCTION_DEV_FUNCTION_SPECIFIER, STORAGEFILE_RELATED_FILE_METADATA_KEY, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_GROUP_CREATE_INPUT_ERROR_CODE, STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION_ERROR_CODE, STORAGE_FILE_GROUP_ROOT_FOLDER_PATH, STORAGE_FILE_GROUP_ZIP_FILE_PATH, STORAGE_FILE_GROUP_ZIP_INFO_JSON_FILE_NAME, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE_CREATE_ZIP_SUBTASK, STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE, STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING_ERROR_CODE, STORAGE_FILE_PROCESSING_STUCK_THROTTLE_CHECK_MS, STORAGE_FILE_UPLOAD_USER_ROLE, ScheduledFunctionDevelopmentFirebaseFunctionListEntry, ScheduledFunctionDevelopmentFunctionTypeEnum, StorageFileCreationType, StorageFileDocument, StorageFileFirestoreCollections, StorageFileFunctions, StorageFileGroupDocument, StorageFileProcessingState, StorageFileState, StorageFileUploadStreamUnsupportedError, SystemStateDocument, SystemStateFirestoreCollections, UNAUTHENTICATED_ERROR_CODE, UNAVAILABLE_ERROR_CODE, UNAVAILABLE_OR_DEACTIVATED_FUNCTION_ERROR_CODE, UNKNOWN_MODEL_TYPE_ERROR_CODE, UPLOADED_FILE_DOES_NOT_EXIST_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_DISCARDED_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_FAILED_ERROR_CODE, UPLOADED_FILE_NOT_ALLOWED_TO_BE_INITIALIZED_ERROR_CODE, UPLOADS_FOLDER_PATH, _createNotificationDocumentFromPair, abstractSubscribeOrUnsubscribeToNotificationBoxParamsType, abstractSubscribeToNotificationBoxParamsType, addConstraintToBuilder, addOrReplaceLimitInConstraints, allChildDocumentsUnderParent, allChildDocumentsUnderParentPath, allChildDocumentsUnderRelativePath, allowDocumentSnapshotWithPathOnceFilter, allowedNotificationRecipients, appNotificationTemplateTypeInfoRecordService, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, arrayUpdateWithAccessorFunction, asTopLevelFieldPath, asTopLevelFieldPaths, assertFirestoreUpdateHasData, assertStorageUploadOptionsStringFormat, assignDateCellRangeFunction, assignDateCellScheduleFunction, assignUnitedStatesAddressFunction, assignWebsiteFileLinkFunction, assignWebsiteLinkFunction, buildFirebaseCollectionTypeModelTypeMap, calculateNsForNotificationUserNotificationBoxRecipientConfigs, calculateStorageFileGroupEmbeddedFileUpdate, calculateStorageFileGroupRegeneration, callModelFirebaseFunctionMapFactory, canQueueStorageFileForProcessing, childFirestoreModelKey, childFirestoreModelKeyPath, childFirestoreModelKeys, cleanupSentNotificationsParamsType, clientFirebaseFirestoreContextFactory, clientFirebaseStorageContextFactory, combineUploadFileTypeDeterminers, completeSubtaskProcessingAndScheduleCleanupTaskResult, contextGrantedModelRolesReader, contextGrantedModelRolesReaderDoesNotExistErrorMessage, contextGrantedModelRolesReaderPermissionErrorMessage, convertHttpsCallableErrorToReadableError, copyDocumentIdForUserRelatedModifierFunction, copyDocumentIdToFieldModifierFunction, copyStoragePath, copyUserRelatedDataAccessorFactoryFunction, copyUserRelatedDataModifierConfig, createNotificationBoxParamsType, createNotificationDocument, createNotificationDocumentIfSending, createNotificationDocumentPair, createNotificationSummaryParamsType, createNotificationTaskTemplate, createNotificationTemplate, createNotificationUserParamsType, createOidcClientFieldParamsType, createOidcClientParamsType, createStorageFileDocumentPair, createStorageFileDocumentPairFactory, createStorageFileGroupParamsType, createStorageFileParamsType, dataFromDocumentSnapshots, dataFromSnapshotStream, delayCompletion, deleteAllQueuedStorageFilesParamsType, deleteOidcClientParamsType, deleteStorageFileParamsType, determineByFileName, determineByFilePath, determineByFolderName, determineUserByFolder, determineUserByFolderWrapperFunction, determineUserByUserUploadsFolderWrapperFunction, developmentFirebaseFunctionMapFactory, directDataHttpsCallable, documentData, documentDataFunction, documentDataWithIdAndKey, documentReferenceFromDocument, documentReferencesFromDocuments, documentReferencesFromSnapshot, downloadMultipleStorageFilesFileParamsType, downloadMultipleStorageFilesParamsType, downloadStorageFileParamsType, effectiveNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientTemplateConfig, endAt, endAtValue, endBefore, extendFirestoreCollectionWithSingleDocumentAccessor, filterConstraintsOfType, filterDisallowedFirestoreItemPageIteratorInputConstraints, filterRepeatCheckpointSnapshots, filterWithDateRange, firebaseAuthErrorToReadableError, firebaseFirestoreClientDrivers, firebaseFirestoreQueryConstraintFunctionsDriver, firebaseFirestoreQueryDriver, firebaseFunctionMapFactory, firebaseModelLoader, firebaseModelPermissionService, firebaseModelService, firebaseModelServiceFactory, firebaseModelsService, firebaseQueryItemAccumulator, firebaseQuerySnapshotAccumulator, firebaseStorageBucketFolderPath, firebaseStorageClientAccessorDriver, firebaseStorageClientAccessorFile, firebaseStorageClientAccessorFolder, firebaseStorageClientDrivers, firebaseStorageClientListFilesResultFactory, firebaseStorageContextFactory, firebaseStorageFileExists, firebaseStorageFilePathFromStorageFilePath, firebaseStorageRefForStorageFilePath, firestoreArray, firestoreArrayMap, firestoreBitwiseObjectMap, firestoreBitwiseSet, firestoreBitwiseSetMap, firestoreBoolean, firestoreClientAccessorDriver, firestoreClientArrayUpdateToUpdateData, firestoreClientIncrementUpdateToUpdateData, firestoreCollectionDocumentCache, firestoreCollectionQueryFactory, firestoreContextFactory, firestoreDate, firestoreDateCellRange, firestoreDateCellRangeArray, firestoreDateCellRangeAssignFn, firestoreDateCellSchedule, firestoreDateCellScheduleAssignFn, firestoreDateNumber, firestoreDencoderArray, firestoreDencoderMap, firestoreDencoderStringArray, firestoreDocumentAccessorContextExtension, firestoreDocumentAccessorFactory, firestoreDocumentLoader, firestoreDocumentSnapshotPairsLoader, firestoreDocumentSnapshotPairsLoaderInstance, firestoreDummyKey, firestoreEncodedArray, firestoreEncodedObjectMap, firestoreEnum, firestoreEnumArray, firestoreField, firestoreFieldConfigToModelMapFunctionsRef, firestoreFixedItemPageIteration, firestoreFixedItemPageIterationFactory, firestoreIdBatchVerifierFactory, firestoreIdentityTypeArray, firestoreIdentityTypeArrayName, firestoreItemPageIteration, firestoreItemPageIterationFactory, firestoreLatLngString, firestoreMap, firestoreMapZoomLevel, firestoreModelId, firestoreModelIdArrayField, firestoreModelIdFromDocument, firestoreModelIdFromEmail, firestoreModelIdGrantedRoleArrayMap, firestoreModelIdGrantedRoleMap, firestoreModelIdOrKeyType, firestoreModelIdString, firestoreModelIdType, firestoreModelIdentity, firestoreModelIdentityTypeMap, firestoreModelIdsFromDocuments, firestoreModelIdsFromKey, firestoreModelKey, firestoreModelKeyArrayField, firestoreModelKeyCollectionName, firestoreModelKeyCollectionType, firestoreModelKeyCollectionTypeArray, firestoreModelKeyCollectionTypeArrayName, firestoreModelKeyCollectionTypePair, firestoreModelKeyEncodedGrantedRoleMap, firestoreModelKeyFactory, firestoreModelKeyFromDocument, firestoreModelKeyGrantedRoleArrayMap, firestoreModelKeyGrantedRoleMap, firestoreModelKeyPairObject, firestoreModelKeyParentKey, firestoreModelKeyParentKeyPartPairs, firestoreModelKeyPart, firestoreModelKeyPartPairs, firestoreModelKeyPartPairsKeyPath, firestoreModelKeyPartPairsPaths, firestoreModelKeyPath, firestoreModelKeyString, firestoreModelKeyType, firestoreModelKeyTypePair, firestoreModelKeys, firestoreModelKeysFromDocuments, firestoreModelType, firestoreNotificationBoxRecipient, firestoreNotificationBoxRecipientTemplateConfigRecord, firestoreNotificationItem, firestoreNotificationRecipientWithConfig, firestoreNotificationUserDefaultNotificationBoxRecipientConfig, firestoreNotificationUserNotificationBoxRecipientConfig, firestoreNumber, firestoreObjectArray, firestorePassThroughField, firestoreQueryConstraint, firestoreQueryConstraintFactory, firestoreQueryDocumentSnapshotPairsLoader, firestoreQueryFactory, firestoreSingleDocumentAccessor, firestoreString, firestoreSubObject, firestoreTimezoneString, firestoreUID, firestoreUniqueArray, firestoreUniqueKeyedArray, firestoreUniqueNumberArray, firestoreUniqueStringArray, firestoreUnitedStatesAddress, firestoreUnitedStatesAddressAssignFn, firestoreUnixDateTimeSecondsNumber, firestoreUpdateWithNoDataError, firestoreWebsiteFileLink, firestoreWebsiteFileLinkAssignFn, firestoreWebsiteFileLinkEncodedArray, firestoreWebsiteFileLinkObjectArray, firestoreWebsiteLink, firestoreWebsiteLinkArray, firestoreWebsiteLinkAssignFn, flatFirestoreModelKey, getDataFromDocumentSnapshots, getDocumentSnapshotData, getDocumentSnapshotDataPair, getDocumentSnapshotDataPairs, getDocumentSnapshotDataPairsWithData, getDocumentSnapshotDataTuples, getDocumentSnapshotPair, getDocumentSnapshotPairs, getDocumentSnapshots, getDocumentSnapshotsData, grantFullAccessIfAdmin, grantFullAccessIfAuthUserRelated, grantModelRolesIfAdmin, grantModelRolesIfAdminFunction, grantModelRolesIfAuthUserRelatedModelFunction, grantModelRolesIfFunction, grantModelRolesIfHasAuthRolesFactory, grantModelRolesIfHasAuthRolesFunction, grantModelRolesOnlyIfFunction, grantStorageFileRolesForUserAuthFunction, inContextFirebaseModelServiceFactory, inContextFirebaseModelsServiceFactory, inMemoryFirestoreCollectionCacheDelegate, inMemoryFirestoreContextCache, inMemoryFirestoreContextCacheFactory, incrementUpdateWithAccessorFunction, inferKeyFromTwoWayFlatFirestoreModelKey, inferNotificationBoxRelatedModelKey, inferStorageFileGroupRelatedModelKey, inferredTargetModelIdParamsType, inferredTargetModelParamsType, initializeAllApplicableNotificationBoxesParamsType, initializeAllApplicableNotificationSummariesParamsType, initializeAllApplicableStorageFileGroupsParamsType, initializeAllStorageFilesFromUploadsParamsType, initializeNotificationModelParamsType, initializeStorageFileFromUploadParamsType, initializeStorageFileModelParamsType, interceptAccessorFactoryFunction, isAdminInFirebaseModelContext, isClientFirebaseError, isCompleteNotificationSendState, isFirebaseStorageObjectNotFoundError, isFirestoreModelId, isFirestoreModelIdOrKey, isFirestoreModelKey, isOwnerOfUserRelatedModelInFirebaseModelContext, iterateFirestoreDocumentSnapshotBatches, iterateFirestoreDocumentSnapshotCheckpoints, iterateFirestoreDocumentSnapshotPairBatches, iterateFirestoreDocumentSnapshotPairs, iterateFirestoreDocumentSnapshots, iterateStorageListFiles, iterateStorageListFilesByEachFile, iterateStorageListFilesFactory, iterationQueryDocChangeWatcher, iterationQueryDocChangeWatcherChangeTypeForGroup, latestDataFromDocuments, latestSnapshotsFromDocuments, lazyFirebaseFunctionsFactory, limit, limitToLast, limitUploadFileTypeDeterminer, limitedFirestoreDocumentAccessorFactory, limitedFirestoreDocumentAccessorSnapshotCache, loadAllFirestoreDocumentSnapshot, loadAllFirestoreDocumentSnapshotPairs, loadDocumentsForDocumentReferences, loadDocumentsForDocumentReferencesFromValues, loadDocumentsForIds, loadDocumentsForIdsFromValues, loadDocumentsForKeys, loadDocumentsForKeysFromValues, loadDocumentsForSnapshots, loadDocumentsForValues, loadNotificationBoxDocumentForReferencePair, loadStorageFileGroupDocumentForReferencePair, makeDocuments, makeFirestoreCollection, makeFirestoreCollectionGroup, makeFirestoreCollectionWithParent, makeFirestoreContextCache, makeFirestoreItemPageIteratorDelegate, makeFirestoreQueryConstraintFunctionsDriver, makeRootSingleItemFirestoreCollection, makeSingleItemFirestoreCollection, mapDataFromSnapshot, mapHttpsCallable, mapLatestSnapshotsFromDocuments, mergeNotificationBoxRecipientTemplateConfigRecords, mergeNotificationBoxRecipientTemplateConfigs, mergeNotificationBoxRecipients, mergeNotificationSendMessagesResult, mergeNotificationUserDefaultNotificationBoxRecipientConfig, mergeNotificationUserNotificationBoxRecipientConfigs, modelStorageSlashPathFactory, modifyBeforeSetInterceptAccessorFactoryFunction, newDocuments, newNotificationBoxRecipientForUid, noContentNotificationMessageFunctionFactory, noStringFormatInStorageUploadOptionsError, noopFirestoreCollectionCache, noopFirestoreCollectionCacheDelegate, noopFirestoreCollectionDocumentCache, noopFirestoreContextCache, notificationBoxCollectionReference, notificationBoxConverter, notificationBoxFirestoreCollection, notificationBoxIdForModel, notificationBoxIdentity, notificationBoxModelCrudFunctionsConfig, notificationBoxRecipientTemplateConfigArrayEntryParamType, notificationBoxRecipientTemplateConfigArrayToRecord, notificationBoxRecipientTemplateConfigRecordToArray, notificationBoxesFlaggedForNeedsInitializationQuery, notificationBoxesFlaggedInvalidQuery, notificationCollectionReference, notificationCollectionReferenceFactory, notificationConverter, notificationFirestoreCollectionFactory, notificationFirestoreCollectionGroup, notificationFunctionMap, notificationFunctionTypeConfigMap, notificationIdentity, notificationMessageFunction, notificationRecipientParamsType, notificationSendExclusionCanSendFunction, notificationSendFlagsImplyIsComplete, notificationSubtaskComplete, notificationSummariesFlaggedForNeedsInitializationQuery, notificationSummaryCollectionReference, notificationSummaryConverter, notificationSummaryFirestoreCollection, notificationSummaryIdForModel, notificationSummaryIdForUidFunctionForRootFirestoreModelIdentity, notificationSummaryIdentity, notificationTaskCanRunNextCheckpoint, notificationTaskComplete, notificationTaskDelayRetry, notificationTaskFailed, notificationTaskPartiallyComplete, notificationTaskUniqueId, notificationTemplateTypeInfoRecord, notificationUserCollectionReference, notificationUserConverter, notificationUserFirestoreCollection, notificationUserHasExclusionQuery, notificationUserIdentity, notificationUsersFlaggedForNeedsSyncQuery, notificationWeekCollectionReference, notificationWeekCollectionReferenceFactory, notificationWeekConverter, notificationWeekFirestoreCollectionFactory, notificationWeekFirestoreCollectionGroup, notificationWeekIdentity, notificationsPastSendAtTimeQuery, notificationsReadyForCleanupQuery, offset, oidcClientEntriesByOwnerQuery, oidcEntriesByGrantIdQuery, oidcEntriesByUidQuery, oidcEntriesByUserCodeQuery, oidcEntriesWithTypeQuery, oidcEntryCollectionReference, oidcEntryConverter, oidcEntryFirestoreCollection, oidcEntryIdentity, oidcFunctionTypeConfigMap, oidcModelCrudFunctionsConfig, oidcModelFunctionMap, onCallCreateModelParams, onCallCreateModelResult, onCallCreateModelResultWithDocs, onCallDeleteModelParams, onCallDevelopmentParams, onCallQueryModelParams, onCallReadModelParams, onCallTypedModelParams, onCallTypedModelParamsFunction, onCallUpdateModelParams, optionalFirestoreArray, optionalFirestoreBoolean, optionalFirestoreDate, optionalFirestoreDateNumber, optionalFirestoreEnum, optionalFirestoreField, optionalFirestoreNumber, optionalFirestoreString, optionalFirestoreUID, optionalFirestoreUnitedStatesAddress, optionalFirestoreUnixDateTimeSecondsNumber, orderBy, orderByDocumentId, processAllQueuedStorageFilesParamsType, processStorageFileParamsType, readFirestoreModelKey, readFirestoreModelKeyFromDocumentSnapshot, readLoggingFirestoreContextCache, readLoggingFirestoreContextCacheFactory, regenerateAllFlaggedStorageFileGroupsContentParamsType, regenerateStorageFileGroupContentParamsType, replaceConstraints, resyncAllNotificationUserParamsType, resyncNotificationUserParamsType, rotateOidcClientSecretParamsType, scheduledFunctionDevelopmentFirebaseFunctionParamsType, selectFromFirebaseModelsService, sendNotificationParamsType, sendQueuedNotificationsParamsType, separateConstraints, setIdAndKeyFromKeyIdRefOnDocumentData, setIdAndKeyFromSnapshotOnDocumentData, shouldSaveNotificationToNotificationWeek, shouldSendCreatedNotificationInput, snapshotConverterFunctions, snapshotStreamDataForAccessor, snapshotStreamForAccessor, sortNotificationItemsFunction, startAfter, startAt, startAtValue, storageFileCollectionReference, storageFileConverter, storageFileFirestoreCollection, storageFileFlaggedForSyncWithGroupsQuery, storageFileFunctionMap, storageFileFunctionTypeConfigMap, storageFileGroupCollectionReference, storageFileGroupConverter, storageFileGroupCreateStorageFileKeyFactory, storageFileGroupCreatedStorageFileKey, storageFileGroupEmbeddedFile, storageFileGroupFirestoreCollection, storageFileGroupFolderPath, storageFileGroupIdForModel, storageFileGroupIdentity, storageFileGroupZipFileStoragePath, storageFileGroupZipStorageFileKey, storageFileGroupsFlaggedForContentRegenerationQuery, storageFileGroupsFlaggedForNeedsInitializationQuery, storageFileGroupsFlaggedInvalidQuery, storageFileIdentity, storageFileModelCrudFunctionsConfig, storageFileProcessingNotificationTaskTemplate, storageFilePurposeAndUserQuery, storageFileUploadUserSimpleClaimsConfiguration, storageFilesQueuedForDeleteQuery, storageFilesQueuedForProcessingQuery, storageListFilesResultFactory, storageListFilesResultHasNoNextError, storagePathFactory, storedFileReaderFactory, streamDocumentSnapshotDataPairs, streamDocumentSnapshotDataPairsWithData, streamDocumentSnapshotsData, streamFromOnSnapshot, syncAllFlaggedStorageFilesWithGroupsParamsType, syncStorageFileWithGroupsParamsType, systemStateCollectionReference, systemStateConverter, systemStateFirestoreCollection, systemStateIdentity, targetModelIdParamsType, targetModelParamsType, twoWayFlatFirestoreModelKey, unreadNotificationItems, unsupportedFirestoreDriverFunctionError, updateNotificationBoxParamsType, updateNotificationBoxRecipientLikeParamsType, updateNotificationBoxRecipientParamsType, updateNotificationBoxRecipientTemplateConfigRecord, updateNotificationRecipient, updateNotificationSummaryParamsType, updateNotificationUserDefaultNotificationBoxRecipientConfig, updateNotificationUserDefaultNotificationBoxRecipientConfigParamsType, updateNotificationUserNotificationBoxRecipientConfigIfChanged, updateNotificationUserNotificationBoxRecipientConfigs, updateNotificationUserNotificationBoxRecipientParamsType, updateNotificationUserNotificationSendExclusions, updateNotificationUserParamsType, updateOidcClientFieldParamsType, updateOidcClientParamsType, updateStorageFileGroupEntryParamsType, updateStorageFileGroupParamsType, updateStorageFileParamsType, updateWithAccessorUpdateAndConverterFunction, uploadFileWithStream, useContextAuth, useContextAuthUid, useDocumentSnapshot, useDocumentSnapshotData, useFirebaseModelsService, userUploadsFolderSlashPathFactory, userUploadsFolderStoragePathFactory, where, whereDateIsAfter, whereDateIsAfterWithSort, whereDateIsBefore, whereDateIsBeforeWithSort, whereDateIsBetween, whereDateIsInRange, whereDateIsOnOrAfter, whereDateIsOnOrAfterWithSort, whereDateIsOnOrBefore, whereDateIsOnOrBeforeWithSort, whereDocumentId, whereStringHasRootIdentityModelKey, whereStringValueHasPrefix };
|
|
18895
|
+
export { ALL_OIDC_TOKEN_ENDPOINT_AUTH_METHOD_OPTIONS, ALL_STORAGE_FILE_NOTIFICATION_TASK_TYPES, ALL_USER_UPLOADS_FOLDER_NAME, ALL_USER_UPLOADS_FOLDER_PATH, ALREADY_EXISTS_ERROR_CODE, AbstractFirestoreDocument, AbstractFirestoreDocumentDataAccessorWrapper, AbstractFirestoreDocumentWithParent, AppNotificationTemplateTypeInfoRecordService, BAD_DOCUMENT_QUERY_CURSOR_ERROR_CODE, BAD_REQUEST_ERROR_CODE, BASE_MODEL_STORAGE_FILE_PATH, CALL_MODEL_APP_FUNCTION_KEY, CONFLICT_ERROR_CODE, COPY_USER_RELATED_DATA_ACCESSOR_FACTORY_FUNCTION, CREATE_NOTIFICATION_ID_REQUIRED_ERROR_CODE, ContextGrantedModelRolesReaderInstance, DBX_FIREBASE_SERVER_NO_AUTH_ERROR_CODE, DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE, DBX_FIREBASE_SERVER_PASSWORD_RESET_INVALID_CODE_ERROR_CODE, DBX_FIREBASE_SERVER_PASSWORD_RESET_NO_CONFIG_ERROR_CODE, DBX_FIREBASE_SERVER_PASSWORD_RESET_SEND_ONCE_ERROR_CODE, DBX_FIREBASE_SERVER_PASSWORD_RESET_THROTTLE_ERROR_CODE, DEFAULT_DATE_CELL_RANGE_VALUE, DEFAULT_FIRESTORE_DATE_CELL_SCHEDULE_VALUE, DEFAULT_FIRESTORE_ITEM_PAGE_ITERATOR_ITEMS_PER_PAGE, DEFAULT_FIRESTORE_STRING_FIELD_VALUE, DEFAULT_FIRESTORE_UNITED_STATES_ADDRESS_VALUE, DEFAULT_FIRESTORE_WEBSITE_FILE_LINK_VALUE, DEFAULT_ITERATE_FIRESTORE_DOCUMENT_SNAPSHOT_BATCHES_BATCH_SIZE, DEFAULT_NOTIFICATION_TASK_NOTIFICATION_MODEL_KEY, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY, DEFAULT_NOTIFICATION_TEMPLATE_TYPE, DEFAULT_ON_CALL_QUERY_MODEL_LIMIT, DEFAULT_QUERY_CHANGE_WATCHER_DELAY, DEFAULT_SINGLE_ITEM_FIRESTORE_COLLECTION_DOCUMENT_IDENTIFIER, DEFAULT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, DEFAULT_WEBSITE_LINK, DOWNLOAD_MULTIPLE_STORAGE_FILES_MAX_FILES, DOWNLOAD_MULTIPLE_STORAGE_FILES_MIN_FILES, EMPTY_STORAGE_FILE_PURPOSE_SUBGROUP, EXACT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, FIREBASE_AUTH_CREDENTIAL_ALREADY_IN_USE_ERROR, FIREBASE_AUTH_EMAIL_ALREADY_EXISTS_ERROR, FIREBASE_AUTH_EMAIL_ALREADY_IN_USE_ERROR, FIREBASE_AUTH_INVALID_PHONE_NUMBER_ERROR, FIREBASE_AUTH_NETWORK_REQUEST_ERROR, FIREBASE_AUTH_NETWORK_REQUEST_FAILED, FIREBASE_AUTH_PASSWORD_MAX_LENGTH, FIREBASE_AUTH_PASSWORD_MIN_LENGTH, FIREBASE_AUTH_PHONE_NUMBER_ALREADY_EXISTS_ERROR, FIREBASE_AUTH_PROVIDER_ALREADY_LINKED_ERROR, FIREBASE_AUTH_QUOTA_EXCEEDED_ERROR, FIREBASE_AUTH_USER_NOT_FOUND_ERROR, FIREBASE_AUTH_WRONG_PASSWORD, FIREBASE_DEVELOPMENT_FUNCTIONS_MAP_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_PASSWORD_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_PASSWORD_KEY, FIRESTORE_CLIENT_QUERY_CONSTRAINT_HANDLER_MAPPING, FIRESTORE_COLLECTION_NAME_SEPARATOR, FIRESTORE_DUMMY_MODEL_KEY, FIRESTORE_EMPTY_VALUE, FIRESTORE_END_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_BEFORE_QUERY_CONSTRAINT_TYPE, FIRESTORE_ITEM_PAGE_ITERATOR, FIRESTORE_ITEM_PAGE_ITERATOR_DELEGATE, FIRESTORE_LIMIT_QUERY_CONSTRAINT_TYPE, FIRESTORE_LIMIT_TO_LAST_QUERY_CONSTRAINT_TYPE, FIRESTORE_MAX_WHERE_IN_FILTER_ARGS_COUNT, FIRESTORE_MODEL_ID_REGEX, FIRESTORE_MODEL_KEY_REGEX, FIRESTORE_MODEL_KEY_REGEX_STRICT, FIRESTORE_OFFSET_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_QUERY_CONSTRAINT_TYPE, FIRESTORE_PASSTHROUGH_FIELD, FIRESTORE_PERMISSION_DENIED_ERROR_CODE, FIRESTORE_START_AFTER_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_QUERY_CONSTRAINT_TYPE, FORBIDDEN_ERROR_CODE, FirebaseDevelopmentFunctions, FirebaseModelPermissionServiceInstance, FirebaseServerError, FirestoreAccessorStreamMode, FirestoreDocumentContextType, HIGH_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, INTERNAL_SERVER_ERROR_CODE, IN_MEMORY_CACHE_DEFAULT_TTL, LOW_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MAX_ON_CALL_QUERY_MODEL_LIMIT, MIN_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_DEFAULT, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_SPLITTER, MODEL_NOT_AVAILABLE_ERROR_CODE, MODEL_STORAGE_FILE_SLASH_PATH_FACTORY, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, NOTIFICATION_BOX_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_BOX_EXCLUSION_TARGET_INVALID_ERROR_CODE, NOTIFICATION_BOX_EXISTS_FOR_MODEL_ERROR_CODE, NOTIFICATION_BOX_RECIPIENT_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_MESSAGE_MAX_LENGTH, NOTIFICATION_MESSAGE_MIN_LENGTH, NOTIFICATION_MODEL_ALREADY_INITIALIZED_ERROR_CODE, NOTIFICATION_RECIPIENT_NAME_MAX_LENGTH, NOTIFICATION_RECIPIENT_NAME_MIN_LENGTH, NOTIFICATION_SUBJECT_MAX_LENGTH, NOTIFICATION_SUBJECT_MIN_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_MESSAGE_MAX_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_SUBJECT_MAX_LENGTH, NOTIFICATION_SUMMARY_ITEM_LIMIT, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING, NOTIFICATION_USER_BLOCKED_FROM_BEING_ADD_TO_RECIPIENTS_ERROR_CODE, NOTIFICATION_USER_INVALID_UID_FOR_CREATE_ERROR_CODE, NOTIFICATION_USER_LOCKED_CONFIG_FROM_BEING_UPDATED_ERROR_CODE, NOTIFICATION_WEEK_NOTIFICATION_ITEM_LIMIT, NOT_FOUND_ERROR_CODE, NotificationBoxDocument, NotificationBoxRecipientFlag, NotificationBoxRecipientTemplateConfigBoolean, NotificationDocument, NotificationFirestoreCollections, NotificationFunctions, NotificationMessageFlag, NotificationRecipientSendFlag, NotificationSendState, NotificationSendType, NotificationSummaryDocument, NotificationUserDocument, NotificationWeekDocument, OIDC_ENTRY_CLIENT_TYPE, OidcEntryDocument, OidcModelFirestoreCollections, OidcModelFunctions, PERMISSION_DENIED_ERROR_CODE, PRIVATE_KEY_JWT_TOKEN_ENDPOINT_AUTH_METHOD, RUN_DEV_FUNCTION_APP_FUNCTION_KEY, SCHEDULED_FUNCTION_DEV_FUNCTION_SPECIFIER, STORAGEFILE_RELATED_FILE_METADATA_KEY, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_GROUP_CREATE_INPUT_ERROR_CODE, STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION_ERROR_CODE, STORAGE_FILE_GROUP_ROOT_FOLDER_PATH, STORAGE_FILE_GROUP_ZIP_FILE_PATH, STORAGE_FILE_GROUP_ZIP_INFO_JSON_FILE_NAME, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE_CREATE_ZIP_SUBTASK, STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE, STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING_ERROR_CODE, STORAGE_FILE_PROCESSING_STUCK_THROTTLE_CHECK_MS, STORAGE_FILE_UPLOAD_USER_ROLE, ScheduledFunctionDevelopmentFirebaseFunctionListEntry, ScheduledFunctionDevelopmentFunctionTypeEnum, StorageFileCreationType, StorageFileDocument, StorageFileFirestoreCollections, StorageFileFunctions, StorageFileGroupDocument, StorageFileProcessingState, StorageFileState, StorageFileUploadStreamUnsupportedError, SystemStateDocument, SystemStateFirestoreCollections, UNAUTHENTICATED_ERROR_CODE, UNAVAILABLE_ERROR_CODE, UNAVAILABLE_OR_DEACTIVATED_FUNCTION_ERROR_CODE, UNKNOWN_MODEL_TYPE_ERROR_CODE, UPLOADED_FILE_DOES_NOT_EXIST_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_DISCARDED_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_FAILED_ERROR_CODE, UPLOADED_FILE_NOT_ALLOWED_TO_BE_INITIALIZED_ERROR_CODE, UPLOADS_FOLDER_PATH, _createNotificationDocumentFromPair, abstractSubscribeOrUnsubscribeToNotificationBoxParamsType, abstractSubscribeToNotificationBoxParamsType, addConstraintToBuilder, addOrReplaceLimitInConstraints, allChildDocumentsUnderParent, allChildDocumentsUnderParentPath, allChildDocumentsUnderRelativePath, allowDocumentSnapshotWithPathOnceFilter, allowedNotificationRecipients, appNotificationTemplateTypeInfoRecordService, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, arrayUpdateWithAccessorFunction, asTopLevelFieldPath, asTopLevelFieldPaths, assertFirestoreUpdateHasData, assertStorageUploadOptionsStringFormat, assignDateCellRangeFunction, assignDateCellScheduleFunction, assignUnitedStatesAddressFunction, assignWebsiteFileLinkFunction, assignWebsiteLinkFunction, buildFirebaseCollectionTypeModelTypeMap, calculateNsForNotificationUserNotificationBoxRecipientConfigs, calculateStorageFileGroupEmbeddedFileUpdate, calculateStorageFileGroupRegeneration, callModelFirebaseFunctionMapFactory, canQueueStorageFileForProcessing, childFirestoreModelKey, childFirestoreModelKeyPath, childFirestoreModelKeys, cleanupSentNotificationsParamsType, clientFirebaseFirestoreContextFactory, clientFirebaseStorageContextFactory, combineUploadFileTypeDeterminers, completeSubtaskProcessingAndScheduleCleanupTaskResult, contextGrantedModelRolesReader, contextGrantedModelRolesReaderDoesNotExistErrorMessage, contextGrantedModelRolesReaderPermissionErrorMessage, convertHttpsCallableErrorToReadableError, copyDocumentIdForUserRelatedModifierFunction, copyDocumentIdToFieldModifierFunction, copyStoragePath, copyUserRelatedDataAccessorFactoryFunction, copyUserRelatedDataModifierConfig, createNotificationBoxParamsType, createNotificationDocument, createNotificationDocumentIfSending, createNotificationDocumentPair, createNotificationSummaryParamsType, createNotificationTaskTemplate, createNotificationTemplate, createNotificationUserParamsType, createOidcClientFieldParamsType, createOidcClientParamsType, createStorageFileDocumentPair, createStorageFileDocumentPairFactory, createStorageFileGroupParamsType, createStorageFileParamsType, dataFromDocumentSnapshots, dataFromSnapshotStream, delayCompletion, deleteAllQueuedStorageFilesParamsType, deleteOidcClientParamsType, deleteStorageFileParamsType, determineByFileName, determineByFilePath, determineByFolderName, determineUserByFolder, determineUserByFolderWrapperFunction, determineUserByUserUploadsFolderWrapperFunction, developmentFirebaseFunctionMapFactory, directDataHttpsCallable, documentData, documentDataFunction, documentDataWithIdAndKey, documentReferenceFromDocument, documentReferencesFromDocuments, documentReferencesFromSnapshot, downloadMultipleStorageFilesFileParamsType, downloadMultipleStorageFilesParamsType, downloadStorageFileParamsType, effectiveNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientTemplateConfig, endAt, endAtValue, endBefore, extendFirestoreCollectionWithSingleDocumentAccessor, filterConstraintsOfType, filterDisallowedFirestoreItemPageIteratorInputConstraints, filterRepeatCheckpointSnapshots, filterWithDateRange, firebaseAuthErrorToReadableError, firebaseFirestoreClientDrivers, firebaseFirestoreQueryConstraintFunctionsDriver, firebaseFirestoreQueryDriver, firebaseFunctionMapFactory, firebaseModelLoader, firebaseModelPermissionService, firebaseModelService, firebaseModelServiceFactory, firebaseModelsService, firebaseQueryItemAccumulator, firebaseQuerySnapshotAccumulator, firebaseStorageBucketFolderPath, firebaseStorageClientAccessorDriver, firebaseStorageClientAccessorFile, firebaseStorageClientAccessorFolder, firebaseStorageClientDrivers, firebaseStorageClientListFilesResultFactory, firebaseStorageContextFactory, firebaseStorageFileExists, firebaseStorageFilePathFromStorageFilePath, firebaseStorageRefForStorageFilePath, firestoreArray, firestoreArrayMap, firestoreBitwiseObjectMap, firestoreBitwiseSet, firestoreBitwiseSetMap, firestoreBoolean, firestoreClientAccessorDriver, firestoreClientArrayUpdateToUpdateData, firestoreClientIncrementUpdateToUpdateData, firestoreCollectionDocumentCache, firestoreCollectionQueryFactory, firestoreContextFactory, firestoreDate, firestoreDateCellRange, firestoreDateCellRangeArray, firestoreDateCellRangeAssignFn, firestoreDateCellSchedule, firestoreDateCellScheduleAssignFn, firestoreDateNumber, firestoreDencoderArray, firestoreDencoderMap, firestoreDencoderStringArray, firestoreDocumentAccessorContextExtension, firestoreDocumentAccessorFactory, firestoreDocumentLoader, firestoreDocumentSnapshotPairsLoader, firestoreDocumentSnapshotPairsLoaderInstance, firestoreDummyKey, firestoreEncodedArray, firestoreEncodedObjectMap, firestoreEnum, firestoreEnumArray, firestoreField, firestoreFieldConfigToModelMapFunctionsRef, firestoreFixedItemPageIteration, firestoreFixedItemPageIterationFactory, firestoreIdBatchVerifierFactory, firestoreIdentityTypeArray, firestoreIdentityTypeArrayName, firestoreItemPageIteration, firestoreItemPageIterationFactory, firestoreLatLngString, firestoreMap, firestoreMapZoomLevel, firestoreModelId, firestoreModelIdArrayField, firestoreModelIdFromDocument, firestoreModelIdFromEmail, firestoreModelIdGrantedRoleArrayMap, firestoreModelIdGrantedRoleMap, firestoreModelIdOrKeyType, firestoreModelIdString, firestoreModelIdType, firestoreModelIdentity, firestoreModelIdentityTypeMap, firestoreModelIdsFromDocuments, firestoreModelIdsFromKey, firestoreModelKey, firestoreModelKeyArrayField, firestoreModelKeyCollectionName, firestoreModelKeyCollectionType, firestoreModelKeyCollectionTypeArray, firestoreModelKeyCollectionTypeArrayName, firestoreModelKeyCollectionTypePair, firestoreModelKeyEncodedGrantedRoleMap, firestoreModelKeyFactory, firestoreModelKeyFromDocument, firestoreModelKeyGrantedRoleArrayMap, firestoreModelKeyGrantedRoleMap, firestoreModelKeyPairObject, firestoreModelKeyParentKey, firestoreModelKeyParentKeyPartPairs, firestoreModelKeyPart, firestoreModelKeyPartPairs, firestoreModelKeyPartPairsKeyPath, firestoreModelKeyPartPairsPaths, firestoreModelKeyPath, firestoreModelKeyString, firestoreModelKeyType, firestoreModelKeyTypePair, firestoreModelKeys, firestoreModelKeysFromDocuments, firestoreModelType, firestoreNotificationBoxRecipient, firestoreNotificationBoxRecipientTemplateConfigRecord, firestoreNotificationItem, firestoreNotificationRecipientWithConfig, firestoreNotificationUserDefaultNotificationBoxRecipientConfig, firestoreNotificationUserNotificationBoxRecipientConfig, firestoreNumber, firestoreObjectArray, firestorePassThroughField, firestoreQueryConstraint, firestoreQueryConstraintFactory, firestoreQueryDocumentSnapshotPairsLoader, firestoreQueryFactory, firestoreSingleDocumentAccessor, firestoreString, firestoreSubObject, firestoreTimezoneString, firestoreUID, firestoreUniqueArray, firestoreUniqueKeyedArray, firestoreUniqueNumberArray, firestoreUniqueStringArray, firestoreUnitedStatesAddress, firestoreUnitedStatesAddressAssignFn, firestoreUnixDateTimeSecondsNumber, firestoreUpdateWithNoDataError, firestoreWebsiteFileLink, firestoreWebsiteFileLinkAssignFn, firestoreWebsiteFileLinkEncodedArray, firestoreWebsiteFileLinkObjectArray, firestoreWebsiteLink, firestoreWebsiteLinkArray, firestoreWebsiteLinkAssignFn, flatFirestoreModelKey, getDataFromDocumentSnapshots, getDocumentSnapshotData, getDocumentSnapshotDataPair, getDocumentSnapshotDataPairs, getDocumentSnapshotDataPairsWithData, getDocumentSnapshotDataTuples, getDocumentSnapshotPair, getDocumentSnapshotPairs, getDocumentSnapshots, getDocumentSnapshotsData, grantFullAccessIfAdmin, grantFullAccessIfAuthUserRelated, grantModelRolesIfAdmin, grantModelRolesIfAdminFunction, grantModelRolesIfAuthUserRelatedModelFunction, grantModelRolesIfFunction, grantModelRolesIfHasAuthRolesFactory, grantModelRolesIfHasAuthRolesFunction, grantModelRolesOnlyIfFunction, grantStorageFileRolesForUserAuthFunction, inContextFirebaseModelServiceFactory, inContextFirebaseModelsServiceFactory, inMemoryFirestoreCollectionCacheDelegate, inMemoryFirestoreContextCache, inMemoryFirestoreContextCacheFactory, incrementUpdateWithAccessorFunction, inferKeyFromTwoWayFlatFirestoreModelKey, inferNotificationBoxRelatedModelKey, inferStorageFileGroupRelatedModelKey, inferredTargetModelIdParamsType, inferredTargetModelParamsType, initializeAllApplicableNotificationBoxesParamsType, initializeAllApplicableNotificationSummariesParamsType, initializeAllApplicableStorageFileGroupsParamsType, initializeAllStorageFilesFromUploadsParamsType, initializeNotificationModelParamsType, initializeStorageFileFromUploadParamsType, initializeStorageFileModelParamsType, interceptAccessorFactoryFunction, isAdminInFirebaseModelContext, isClientFirebaseError, isCompleteNotificationSendState, isFirebaseStorageObjectNotFoundError, isFirestoreModelId, isFirestoreModelIdOrKey, isFirestoreModelKey, isOwnerOfUserRelatedModelInFirebaseModelContext, iterateFirestoreDocumentSnapshotBatches, iterateFirestoreDocumentSnapshotCheckpoints, iterateFirestoreDocumentSnapshotPairBatches, iterateFirestoreDocumentSnapshotPairs, iterateFirestoreDocumentSnapshots, iterateStorageListFiles, iterateStorageListFilesByEachFile, iterateStorageListFilesFactory, iterationQueryDocChangeWatcher, iterationQueryDocChangeWatcherChangeTypeForGroup, latestDataFromDocuments, latestSnapshotsFromDocuments, lazyFirebaseFunctionsFactory, limit, limitToLast, limitUploadFileTypeDeterminer, limitedFirestoreDocumentAccessorFactory, limitedFirestoreDocumentAccessorSnapshotCache, loadAllFirestoreDocumentSnapshot, loadAllFirestoreDocumentSnapshotPairs, loadDocumentsForDocumentReferences, loadDocumentsForDocumentReferencesFromValues, loadDocumentsForIds, loadDocumentsForIdsFromValues, loadDocumentsForKeys, loadDocumentsForKeysFromValues, loadDocumentsForSnapshots, loadDocumentsForValues, loadNotificationBoxDocumentForReferencePair, loadStorageFileGroupDocumentForReferencePair, makeDocuments, makeFirestoreCollection, makeFirestoreCollectionGroup, makeFirestoreCollectionWithParent, makeFirestoreContextCache, makeFirestoreItemPageIteratorDelegate, makeFirestoreQueryConstraintFunctionsDriver, makeRootSingleItemFirestoreCollection, makeSingleItemFirestoreCollection, mapDataFromSnapshot, mapHttpsCallable, mapLatestSnapshotsFromDocuments, mergeNotificationBoxRecipientTemplateConfigRecords, mergeNotificationBoxRecipientTemplateConfigs, mergeNotificationBoxRecipients, mergeNotificationSendMessagesResult, mergeNotificationUserDefaultNotificationBoxRecipientConfig, mergeNotificationUserNotificationBoxRecipientConfigs, modelStorageSlashPathFactory, modifyBeforeSetInterceptAccessorFactoryFunction, newDocuments, newNotificationBoxRecipientForUid, noContentNotificationMessageFunctionFactory, noStringFormatInStorageUploadOptionsError, noopFirestoreCollectionCache, noopFirestoreCollectionCacheDelegate, noopFirestoreCollectionDocumentCache, noopFirestoreContextCache, notificationBoxCollectionReference, notificationBoxConverter, notificationBoxFirestoreCollection, notificationBoxIdForModel, notificationBoxIdentity, notificationBoxModelCrudFunctionsConfig, notificationBoxRecipientTemplateConfigArrayEntryParamType, notificationBoxRecipientTemplateConfigArrayToRecord, notificationBoxRecipientTemplateConfigRecordToArray, notificationBoxesFlaggedForNeedsInitializationQuery, notificationBoxesFlaggedInvalidQuery, notificationCollectionReference, notificationCollectionReferenceFactory, notificationConverter, notificationFirestoreCollectionFactory, notificationFirestoreCollectionGroup, notificationFunctionMap, notificationFunctionTypeConfigMap, notificationIdentity, notificationMessageFunction, notificationRecipientParamsType, notificationSendExclusionCanSendFunction, notificationSendFlagsImplyIsComplete, notificationSubtaskComplete, notificationSummariesFlaggedForNeedsInitializationQuery, notificationSummaryCollectionReference, notificationSummaryConverter, notificationSummaryFirestoreCollection, notificationSummaryIdForModel, notificationSummaryIdForUidFunctionForRootFirestoreModelIdentity, notificationSummaryIdentity, notificationTaskCanRunNextCheckpoint, notificationTaskComplete, notificationTaskDelayRetry, notificationTaskFailed, notificationTaskPartiallyComplete, notificationTaskUniqueId, notificationTemplateTypeInfoRecord, notificationUserCollectionReference, notificationUserConverter, notificationUserFirestoreCollection, notificationUserHasExclusionQuery, notificationUserIdentity, notificationUsersFlaggedForNeedsSyncQuery, notificationWeekCollectionReference, notificationWeekCollectionReferenceFactory, notificationWeekConverter, notificationWeekFirestoreCollectionFactory, notificationWeekFirestoreCollectionGroup, notificationWeekIdentity, notificationsPastSendAtTimeQuery, notificationsReadyForCleanupQuery, offset, oidcClientEntriesByOwnerQuery, oidcEntriesByGrantIdQuery, oidcEntriesByUidQuery, oidcEntriesByUserCodeQuery, oidcEntriesWithTypeQuery, oidcEntryCollectionReference, oidcEntryConverter, oidcEntryFirestoreCollection, oidcEntryIdentity, oidcFunctionTypeConfigMap, oidcModelCrudFunctionsConfig, oidcModelFunctionMap, onCallCreateModelParams, onCallCreateModelResult, onCallCreateModelResultWithDocs, onCallDeleteModelParams, onCallDevelopmentParams, onCallQueryModelParams, onCallReadModelParams, onCallTypedModelParams, onCallTypedModelParamsFunction, onCallUpdateModelParams, optionalFirestoreArray, optionalFirestoreBoolean, optionalFirestoreDate, optionalFirestoreDateNumber, optionalFirestoreEnum, optionalFirestoreField, optionalFirestoreNumber, optionalFirestoreString, optionalFirestoreUID, optionalFirestoreUnitedStatesAddress, optionalFirestoreUnixDateTimeSecondsNumber, orderBy, orderByDocumentId, processAllQueuedStorageFilesParamsType, processStorageFileParamsType, readFirestoreModelKey, readFirestoreModelKeyFromDocumentSnapshot, readLoggingFirestoreContextCache, readLoggingFirestoreContextCacheFactory, regenerateAllFlaggedStorageFileGroupsContentParamsType, regenerateStorageFileGroupContentParamsType, replaceConstraints, resyncAllNotificationUserParamsType, resyncNotificationUserParamsType, rotateOidcClientSecretParamsType, scheduledFunctionDevelopmentFirebaseFunctionParamsType, selectFromFirebaseModelsService, sendNotificationParamsType, sendQueuedNotificationsParamsType, separateConstraints, setIdAndKeyFromKeyIdRefOnDocumentData, setIdAndKeyFromSnapshotOnDocumentData, shouldSaveNotificationToNotificationWeek, shouldSendCreatedNotificationInput, snapshotConverterFunctions, snapshotStreamDataForAccessor, snapshotStreamForAccessor, sortNotificationItemsFunction, startAfter, startAt, startAtValue, storageFileCollectionReference, storageFileConverter, storageFileFirestoreCollection, storageFileFlaggedForSyncWithGroupsQuery, storageFileFunctionMap, storageFileFunctionTypeConfigMap, storageFileGroupCollectionReference, storageFileGroupConverter, storageFileGroupCreateStorageFileKeyFactory, storageFileGroupCreatedStorageFileKey, storageFileGroupEmbeddedFile, storageFileGroupFirestoreCollection, storageFileGroupFolderPath, storageFileGroupIdForModel, storageFileGroupIdentity, storageFileGroupZipFileStoragePath, storageFileGroupZipStorageFileKey, storageFileGroupsFlaggedForContentRegenerationQuery, storageFileGroupsFlaggedForNeedsInitializationQuery, storageFileGroupsFlaggedInvalidQuery, storageFileIdentity, storageFileModelCrudFunctionsConfig, storageFileProcessingNotificationTaskTemplate, storageFilePurposeAndUserQuery, storageFileUploadUserSimpleClaimsConfiguration, storageFilesQueuedForDeleteQuery, storageFilesQueuedForProcessingQuery, storageListFilesResultFactory, storageListFilesResultHasNoNextError, storagePathFactory, storedFileReaderFactory, streamDocumentSnapshotDataPairs, streamDocumentSnapshotDataPairsWithData, streamDocumentSnapshotsData, streamFromOnSnapshot, syncAllFlaggedStorageFilesWithGroupsParamsType, syncStorageFileWithGroupsParamsType, systemStateCollectionReference, systemStateConverter, systemStateFirestoreCollection, systemStateIdentity, targetModelIdParamsType, targetModelParamsType, twoWayFlatFirestoreModelKey, unreadNotificationItems, unsupportedFirestoreDriverFunctionError, updateNotificationBoxParamsType, updateNotificationBoxRecipientLikeParamsType, updateNotificationBoxRecipientParamsType, updateNotificationBoxRecipientTemplateConfigRecord, updateNotificationRecipient, updateNotificationSummaryParamsType, updateNotificationUserDefaultNotificationBoxRecipientConfig, updateNotificationUserDefaultNotificationBoxRecipientConfigParamsType, updateNotificationUserNotificationBoxRecipientConfigIfChanged, updateNotificationUserNotificationBoxRecipientConfigs, updateNotificationUserNotificationBoxRecipientParamsType, updateNotificationUserNotificationSendExclusions, updateNotificationUserParamsType, updateOidcClientFieldParamsType, updateOidcClientParamsType, updateStorageFileGroupEntryParamsType, updateStorageFileGroupParamsType, updateStorageFileParamsType, updateWithAccessorUpdateAndConverterFunction, uploadFileWithStream, useContextAuth, useContextAuthUid, useDocumentSnapshot, useDocumentSnapshotData, useFirebaseModelsService, userUploadsFolderSlashPathFactory, userUploadsFolderStoragePathFactory, where, whereDateIsAfter, whereDateIsAfterWithSort, whereDateIsBefore, whereDateIsBeforeWithSort, whereDateIsBetween, whereDateIsInRange, whereDateIsOnOrAfter, whereDateIsOnOrAfterWithSort, whereDateIsOnOrBefore, whereDateIsOnOrBeforeWithSort, whereDocumentId, whereStringHasRootIdentityModelKey, whereStringValueHasPrefix };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.9.0",
|
|
4
4
|
"exports": {
|
|
5
5
|
"./test": {
|
|
6
6
|
"module": "./test/index.esm.js",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@dereekb/util": "13.
|
|
21
|
-
"@dereekb/date": "13.
|
|
22
|
-
"@dereekb/model": "13.
|
|
23
|
-
"@dereekb/rxjs": "13.
|
|
20
|
+
"@dereekb/util": "13.9.0",
|
|
21
|
+
"@dereekb/date": "13.9.0",
|
|
22
|
+
"@dereekb/model": "13.9.0",
|
|
23
|
+
"@dereekb/rxjs": "13.9.0",
|
|
24
24
|
"@firebase/rules-unit-testing": "5.0.0",
|
|
25
25
|
"arktype": "^2.2.0",
|
|
26
26
|
"date-fns": "^4.0.0",
|
|
27
|
-
"firebase": "^12.
|
|
27
|
+
"firebase": "^12.12.0",
|
|
28
28
|
"make-error": "^1.3.0",
|
|
29
29
|
"rxjs": "^7.8.0",
|
|
30
30
|
"ts-essentials": "^10.0.0"
|
|
@@ -10,3 +10,19 @@ export declare const DBX_FIREBASE_SERVER_NO_AUTH_ERROR_CODE = "NO_AUTH";
|
|
|
10
10
|
* This can happen with anonymous or malformed tokens.
|
|
11
11
|
*/
|
|
12
12
|
export declare const DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE = "NO_USER_UID";
|
|
13
|
+
/**
|
|
14
|
+
* Error code used when the provided password reset code is invalid or expired.
|
|
15
|
+
*/
|
|
16
|
+
export declare const DBX_FIREBASE_SERVER_PASSWORD_RESET_INVALID_CODE_ERROR_CODE = "PASSWORD_RESET_INVALID_CODE";
|
|
17
|
+
/**
|
|
18
|
+
* Error code used when a password reset is attempted but no active reset exists for the user.
|
|
19
|
+
*/
|
|
20
|
+
export declare const DBX_FIREBASE_SERVER_PASSWORD_RESET_NO_CONFIG_ERROR_CODE = "PASSWORD_RESET_NO_CONFIG";
|
|
21
|
+
/**
|
|
22
|
+
* Error code used when a password reset email send is throttled due to a recent send.
|
|
23
|
+
*/
|
|
24
|
+
export declare const DBX_FIREBASE_SERVER_PASSWORD_RESET_THROTTLE_ERROR_CODE = "PASSWORD_RESET_THROTTLE";
|
|
25
|
+
/**
|
|
26
|
+
* Error code used when a password reset email has already been sent and the send-once constraint is active.
|
|
27
|
+
*/
|
|
28
|
+
export declare const DBX_FIREBASE_SERVER_PASSWORD_RESET_SEND_ONCE_ERROR_CODE = "PASSWORD_RESET_SEND_ONCE";
|
package/test/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase/test",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.9.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@dereekb/date": "13.
|
|
6
|
-
"@dereekb/firebase": "13.
|
|
7
|
-
"@dereekb/model": "13.
|
|
8
|
-
"@dereekb/rxjs": "13.
|
|
9
|
-
"@dereekb/util": "13.
|
|
5
|
+
"@dereekb/date": "13.9.0",
|
|
6
|
+
"@dereekb/firebase": "13.9.0",
|
|
7
|
+
"@dereekb/model": "13.9.0",
|
|
8
|
+
"@dereekb/rxjs": "13.9.0",
|
|
9
|
+
"@dereekb/util": "13.9.0",
|
|
10
10
|
"@firebase/rules-unit-testing": "5.0.0",
|
|
11
11
|
"date-fns": "^4.0.0",
|
|
12
|
-
"firebase": "^12.
|
|
12
|
+
"firebase": "^12.12.0",
|
|
13
13
|
"rxjs": "^7.8.0"
|
|
14
14
|
},
|
|
15
15
|
"exports": {
|