@dereekb/firebase 13.31.0 → 13.32.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/eslint/package.json +3 -3
- package/index.cjs.js +968 -311
- package/index.esm.js +942 -314
- package/package.json +5 -5
- package/src/lib/model/notification/index.d.ts +2 -0
- package/src/lib/model/notification/notification.api.d.ts +102 -0
- package/src/lib/model/notification/notification.api.error.d.ts +15 -0
- package/src/lib/model/notification/notification.d.ts +11 -0
- package/src/lib/model/notification/notification.healthcheck.d.ts +616 -0
- package/src/lib/model/notification/notification.healthcheck.mailgun.d.ts +57 -0
- package/test/package.json +6 -6
package/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { increment, arrayRemove, arrayUnion, onSnapshot, getDoc, deleteDoc, setDoc, updateDoc, collection, collectionGroup, doc, writeBatch, runTransaction, limit as limit$1, limitToLast as limitToLast$1, orderBy as orderBy$1, documentId, where as where$1, startAt as startAt$1, startAfter as startAfter$1, endAt as endAt$1, endBefore as endBefore$1, query, getDocs, getCountFromServer } from 'firebase/firestore';
|
|
2
|
-
import { cachedGetter, mergeModifiers, asArray, filterUndefinedValues, objectHasNoKeys, filterFalsyAndEmptyValues, build, compareStringsNumeric, wrapUseAsyncFunction, runAsyncTasksForValues, filterMaybeArrayValues, performMakeLoop, makeWithFactory, useAsync, MAP_IDENTITY, toModelFieldConversions, makeModelMapFunctions, modifyModelMapFunctions, assignValuesToPOJOFunction, KeyValueTypleValueFilter, toModelMapFunctions, asObjectCopyFactory, isEqualToValueDecisionFunction, passThrough,
|
|
2
|
+
import { cachedGetter, mergeModifiers, asArray, filterUndefinedValues, objectHasNoKeys, filterFalsyAndEmptyValues, build, compareStringsNumeric, wrapUseAsyncFunction, runAsyncTasksForValues, filterMaybeArrayValues, performMakeLoop, makeWithFactory, useAsync, MAP_IDENTITY, toModelFieldConversions, makeModelMapFunctions, modifyModelMapFunctions, assignValuesToPOJOFunction, KeyValueTypleValueFilter, toModelMapFunctions, asObjectCopyFactory, isEqualToValueDecisionFunction, passThrough, transformStringFunctionConfig, transformStringFunction, sortValuesFunctionOrMapIdentityWithSortRef, modelFieldMapFunctions, filterNullAndUndefinedValues, unique, filterUniqueTransform, bitwiseSetDencoder, sortAscendingIndexNumberRefFunction, filterFromPOJOFunction, mapObjectMap, copyObject, latLngStringFunction, mapObjectMapFunction, filterEmptyArrayValues, transformNumberFunction, filterUniqueFunction, dateFromDateOrTimeSecondsNumber, unixDateTimeSecondsNumberFromDate, isMapIdentityFunction, chainMapSameFunctions, isDate, DEFAULT_LAT_LNG_STRING_VALUE, pushItemOrArrayItemsIntoArray, separateValues, convertToArray, UTF_PRIVATE_USAGE_AREA_START, UTF_8_START_CHARACTER, mergeArraysIntoArray, lastValue, flattenArrayOrValueArray, allowValueOnceFilter, asGetter, getValueFromGetter, mapIdentityFunction, performTasksFromFactoryInParallelFunction, performAsyncTasks, batch, flattenArray, calculateExpirationDate, groupValues, forEachInIterable, arrayToObject, takeFront, stringContains, isOddNumber, objectToMap, ServerErrorResponse, toReadableError, capitalizeFirstLetter, lowercaseFirstLetter, toRelativeSlashPathStartType, splitStringAtFirstCharacterOccurence, mappedUseFunction, iterableToArray, setContainsAllValues, usePromise, slashPathFactory, errorMessageContainsString, bitwiseObjectDencoder, mergeObjectsFunction, mergeObjects, forEachKeyValue, updateMaybeValue, UNSET_INDEX_NUMBER, ModelRelationUtility, filterKeysOnPOJOFunction, areEqualPOJOValuesUsingPojoFilter, filterOnlyUndefinedValues, makeModelMap, isThrottled, MS_IN_HOUR, multiValueMapBuilder, mergeSlashPaths, slashPathDetails, toAbsoluteSlashPathStartType, SLASH_PATH_FILE_TYPE_SEPARATOR, slashPathPathMatcher, decisionFunction, slashPathSubPathMatcher } from '@dereekb/util';
|
|
3
3
|
import { filterMaybe, lazyFrom, itemAccumulator, ItemPageIterator, mappedPageItemIteration } from '@dereekb/rxjs';
|
|
4
4
|
import { map, from, EMPTY, tap, combineLatest, of, Subject, filter, exhaustMap, Observable, switchMap, timer, skip, shareReplay } from 'rxjs';
|
|
5
5
|
import { UNKNOWN_WEBSITE_LINK_TYPE, encodeWebsiteFileLinkToWebsiteLinkEncodedData, decodeWebsiteLinkEncodedDataToWebsiteFileLink, clearable, AbstractModelPermissionService, grantedRoleMapReader, noAccessRoleMap, fullAccessRoleMap, e164PhoneNumberType, ARKTYPE_DATE_DTO_TYPE } from '@dereekb/model';
|
|
@@ -9,7 +9,7 @@ import { getMetadata, ref, deleteObject, uploadBytesResumable, getBlob, getBytes
|
|
|
9
9
|
import { type } from 'arktype';
|
|
10
10
|
import { iterateFetchPages, iterateFetchPagesByEachItem, fetchPageFactory } from '@dereekb/util/fetch';
|
|
11
11
|
import { BaseError } from 'make-error';
|
|
12
|
-
import { isAfter, addDays } from 'date-fns';
|
|
12
|
+
import { addMinutes, addSeconds, isAfter, addDays } from 'date-fns';
|
|
13
13
|
|
|
14
14
|
function _type_of$c(obj) {
|
|
15
15
|
"@swc/helpers - typeof";
|
|
@@ -63,7 +63,7 @@ function _create_class$b(Constructor, protoProps, staticProps) {
|
|
|
63
63
|
if (protoProps) _defineProperties$b(Constructor.prototype, protoProps);
|
|
64
64
|
return Constructor;
|
|
65
65
|
}
|
|
66
|
-
function _define_property$
|
|
66
|
+
function _define_property$z(obj, key, value) {
|
|
67
67
|
if (key in obj) {
|
|
68
68
|
Object.defineProperty(obj, key, {
|
|
69
69
|
value: value,
|
|
@@ -89,7 +89,7 @@ function _define_property$y(obj, key, value) {
|
|
|
89
89
|
*/ var AbstractFirestoreDocumentDataAccessorWrapper = /*#__PURE__*/ function() {
|
|
90
90
|
function AbstractFirestoreDocumentDataAccessorWrapper(accessor) {
|
|
91
91
|
_class_call_check$j(this, AbstractFirestoreDocumentDataAccessorWrapper);
|
|
92
|
-
_define_property$
|
|
92
|
+
_define_property$z(this, "_accessor", void 0);
|
|
93
93
|
this._accessor = accessor;
|
|
94
94
|
}
|
|
95
95
|
_create_class$b(AbstractFirestoreDocumentDataAccessorWrapper, [
|
|
@@ -262,7 +262,7 @@ function _class_call_check$i(instance, Constructor) {
|
|
|
262
262
|
throw new TypeError("Cannot call a class as a function");
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
|
-
function _define_property$
|
|
265
|
+
function _define_property$y(obj, key, value) {
|
|
266
266
|
if (key in obj) {
|
|
267
267
|
Object.defineProperty(obj, key, {
|
|
268
268
|
value: value,
|
|
@@ -310,7 +310,7 @@ function _inherits$9(subClass, superClass) {
|
|
|
310
310
|
});
|
|
311
311
|
if (superClass) _set_prototype_of$9(subClass, superClass);
|
|
312
312
|
}
|
|
313
|
-
function _object_spread$
|
|
313
|
+
function _object_spread$r(target) {
|
|
314
314
|
for(var i = 1; i < arguments.length; i++){
|
|
315
315
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
316
316
|
var ownKeys = Object.keys(source);
|
|
@@ -320,7 +320,7 @@ function _object_spread$q(target) {
|
|
|
320
320
|
}));
|
|
321
321
|
}
|
|
322
322
|
ownKeys.forEach(function(key) {
|
|
323
|
-
_define_property$
|
|
323
|
+
_define_property$y(target, key, source[key]);
|
|
324
324
|
});
|
|
325
325
|
}
|
|
326
326
|
return target;
|
|
@@ -373,13 +373,13 @@ function _is_native_reflect_construct$9() {
|
|
|
373
373
|
var _this;
|
|
374
374
|
_this = _call_super$9(this, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, [
|
|
375
375
|
accessor
|
|
376
|
-
]), _define_property$
|
|
376
|
+
]), _define_property$y(_this, "config", void 0), _define_property$y(_this, "modifier", void 0), _define_property$y(_this, "set", void 0);
|
|
377
377
|
_this.config = config;
|
|
378
378
|
var when = config.when;
|
|
379
379
|
_this.modifier = mergeModifiers(asArray(config.modifier));
|
|
380
380
|
var setFn;
|
|
381
381
|
var modifyData = function modifyData(data, options) {
|
|
382
|
-
var copy = _object_spread$
|
|
382
|
+
var copy = _object_spread$r({}, data);
|
|
383
383
|
var input = {
|
|
384
384
|
data: copy,
|
|
385
385
|
documentRef: _this.documentRef,
|
|
@@ -1252,7 +1252,7 @@ function _create_class$a(Constructor, protoProps, staticProps) {
|
|
|
1252
1252
|
if (protoProps) _defineProperties$a(Constructor.prototype, protoProps);
|
|
1253
1253
|
return Constructor;
|
|
1254
1254
|
}
|
|
1255
|
-
function _define_property$
|
|
1255
|
+
function _define_property$x(obj, key, value) {
|
|
1256
1256
|
if (key in obj) {
|
|
1257
1257
|
Object.defineProperty(obj, key, {
|
|
1258
1258
|
value: value,
|
|
@@ -1327,13 +1327,13 @@ function _is_native_reflect_construct$8() {
|
|
|
1327
1327
|
function AbstractFirestoreDocument(accessor, documentAccessor) {
|
|
1328
1328
|
var _this = this;
|
|
1329
1329
|
_class_call_check$h(this, AbstractFirestoreDocument);
|
|
1330
|
-
_define_property$
|
|
1331
|
-
_define_property$
|
|
1332
|
-
_define_property$
|
|
1333
|
-
_define_property$
|
|
1330
|
+
_define_property$x(this, "_accessor", void 0);
|
|
1331
|
+
_define_property$x(this, "_documentAccessor", void 0);
|
|
1332
|
+
_define_property$x(this, "_cache", void 0);
|
|
1333
|
+
_define_property$x(this, "stream$", lazyFrom(function() {
|
|
1334
1334
|
return _this._accessor.stream();
|
|
1335
1335
|
}));
|
|
1336
|
-
_define_property$
|
|
1336
|
+
_define_property$x(this, "data$", lazyFrom(function() {
|
|
1337
1337
|
return dataFromSnapshotStream(_this.stream$);
|
|
1338
1338
|
}));
|
|
1339
1339
|
this._accessor = accessor;
|
|
@@ -1746,7 +1746,7 @@ var AbstractFirestoreDocumentWithParent = /*#__PURE__*/ function(AbstractFiresto
|
|
|
1746
1746
|
x.loadDocumentForWriteBatch = singleAccessor.loadDocumentForWriteBatch;
|
|
1747
1747
|
}
|
|
1748
1748
|
|
|
1749
|
-
function _array_like_to_array$
|
|
1749
|
+
function _array_like_to_array$i(arr, len) {
|
|
1750
1750
|
if (len == null || len > arr.length) len = arr.length;
|
|
1751
1751
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
1752
1752
|
return arr2;
|
|
@@ -1811,15 +1811,15 @@ function _non_iterable_rest$5() {
|
|
|
1811
1811
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1812
1812
|
}
|
|
1813
1813
|
function _sliced_to_array$5(arr, i) {
|
|
1814
|
-
return _array_with_holes$5(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$
|
|
1814
|
+
return _array_with_holes$5(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$i(arr, i) || _non_iterable_rest$5();
|
|
1815
1815
|
}
|
|
1816
|
-
function _unsupported_iterable_to_array$
|
|
1816
|
+
function _unsupported_iterable_to_array$i(o, minLen) {
|
|
1817
1817
|
if (!o) return;
|
|
1818
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
1818
|
+
if (typeof o === "string") return _array_like_to_array$i(o, minLen);
|
|
1819
1819
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1820
1820
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1821
1821
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
1822
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
1822
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$i(o, minLen);
|
|
1823
1823
|
}
|
|
1824
1824
|
function _ts_generator$k(thisArg, body) {
|
|
1825
1825
|
var f, y, t, _ = {
|
|
@@ -3858,7 +3858,7 @@ function _ts_generator$i(thisArg, body) {
|
|
|
3858
3858
|
return path;
|
|
3859
3859
|
}
|
|
3860
3860
|
|
|
3861
|
-
function _define_property$
|
|
3861
|
+
function _define_property$w(obj, key, value) {
|
|
3862
3862
|
if (key in obj) {
|
|
3863
3863
|
Object.defineProperty(obj, key, {
|
|
3864
3864
|
value: value,
|
|
@@ -3871,7 +3871,7 @@ function _define_property$v(obj, key, value) {
|
|
|
3871
3871
|
}
|
|
3872
3872
|
return obj;
|
|
3873
3873
|
}
|
|
3874
|
-
function _object_spread$
|
|
3874
|
+
function _object_spread$q(target) {
|
|
3875
3875
|
for(var i = 1; i < arguments.length; i++){
|
|
3876
3876
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
3877
3877
|
var ownKeys = Object.keys(source);
|
|
@@ -3881,12 +3881,12 @@ function _object_spread$p(target) {
|
|
|
3881
3881
|
}));
|
|
3882
3882
|
}
|
|
3883
3883
|
ownKeys.forEach(function(key) {
|
|
3884
|
-
_define_property$
|
|
3884
|
+
_define_property$w(target, key, source[key]);
|
|
3885
3885
|
});
|
|
3886
3886
|
}
|
|
3887
3887
|
return target;
|
|
3888
3888
|
}
|
|
3889
|
-
function ownKeys$
|
|
3889
|
+
function ownKeys$m(object, enumerableOnly) {
|
|
3890
3890
|
var keys = Object.keys(object);
|
|
3891
3891
|
if (Object.getOwnPropertySymbols) {
|
|
3892
3892
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -3894,12 +3894,12 @@ function ownKeys$l(object, enumerableOnly) {
|
|
|
3894
3894
|
}
|
|
3895
3895
|
return keys;
|
|
3896
3896
|
}
|
|
3897
|
-
function _object_spread_props$
|
|
3897
|
+
function _object_spread_props$m(target, source) {
|
|
3898
3898
|
source = source != null ? source : {};
|
|
3899
3899
|
if (Object.getOwnPropertyDescriptors) {
|
|
3900
3900
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
3901
3901
|
} else {
|
|
3902
|
-
ownKeys$
|
|
3902
|
+
ownKeys$m(Object(source)).forEach(function(key) {
|
|
3903
3903
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
3904
3904
|
});
|
|
3905
3905
|
}
|
|
@@ -3985,7 +3985,7 @@ function _object_spread_props$l(target, source) {
|
|
|
3985
3985
|
}
|
|
3986
3986
|
// If specific fields are specified for merging, only include those fields
|
|
3987
3987
|
if (mergeFields) {
|
|
3988
|
-
toOptions = _object_spread_props$
|
|
3988
|
+
toOptions = _object_spread_props$m(_object_spread$q({}, toOptions), {
|
|
3989
3989
|
fields: asTopLevelFieldPaths(mergeFields)
|
|
3990
3990
|
});
|
|
3991
3991
|
}
|
|
@@ -4032,7 +4032,7 @@ function _object_spread_props$l(target, source) {
|
|
|
4032
4032
|
* Using null is consistent with Firestore's approach to empty/unset values.
|
|
4033
4033
|
*/ var FIRESTORE_EMPTY_VALUE = null;
|
|
4034
4034
|
|
|
4035
|
-
function _define_property$
|
|
4035
|
+
function _define_property$v(obj, key, value) {
|
|
4036
4036
|
if (key in obj) {
|
|
4037
4037
|
Object.defineProperty(obj, key, {
|
|
4038
4038
|
value: value,
|
|
@@ -4045,7 +4045,7 @@ function _define_property$u(obj, key, value) {
|
|
|
4045
4045
|
}
|
|
4046
4046
|
return obj;
|
|
4047
4047
|
}
|
|
4048
|
-
function _object_spread$
|
|
4048
|
+
function _object_spread$p(target) {
|
|
4049
4049
|
for(var i = 1; i < arguments.length; i++){
|
|
4050
4050
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
4051
4051
|
var ownKeys = Object.keys(source);
|
|
@@ -4055,12 +4055,12 @@ function _object_spread$o(target) {
|
|
|
4055
4055
|
}));
|
|
4056
4056
|
}
|
|
4057
4057
|
ownKeys.forEach(function(key) {
|
|
4058
|
-
_define_property$
|
|
4058
|
+
_define_property$v(target, key, source[key]);
|
|
4059
4059
|
});
|
|
4060
4060
|
}
|
|
4061
4061
|
return target;
|
|
4062
4062
|
}
|
|
4063
|
-
function ownKeys$
|
|
4063
|
+
function ownKeys$l(object, enumerableOnly) {
|
|
4064
4064
|
var keys = Object.keys(object);
|
|
4065
4065
|
if (Object.getOwnPropertySymbols) {
|
|
4066
4066
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -4068,12 +4068,12 @@ function ownKeys$k(object, enumerableOnly) {
|
|
|
4068
4068
|
}
|
|
4069
4069
|
return keys;
|
|
4070
4070
|
}
|
|
4071
|
-
function _object_spread_props$
|
|
4071
|
+
function _object_spread_props$l(target, source) {
|
|
4072
4072
|
source = source != null ? source : {};
|
|
4073
4073
|
if (Object.getOwnPropertyDescriptors) {
|
|
4074
4074
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
4075
4075
|
} else {
|
|
4076
|
-
ownKeys$
|
|
4076
|
+
ownKeys$l(Object(source)).forEach(function(key) {
|
|
4077
4077
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
4078
4078
|
});
|
|
4079
4079
|
}
|
|
@@ -4273,7 +4273,7 @@ function optionalFirestoreField(config) {
|
|
|
4273
4273
|
*/ function firestoreString(config) {
|
|
4274
4274
|
var transform = transformStringFunctionConfig(config === null || config === void 0 ? void 0 : config.transform);
|
|
4275
4275
|
var transformData = transform ? transformStringFunction(transform) : passThrough;
|
|
4276
|
-
return firestoreField(_object_spread_props$
|
|
4276
|
+
return firestoreField(_object_spread_props$l(_object_spread$p({
|
|
4277
4277
|
default: DEFAULT_FIRESTORE_STRING_FIELD_VALUE
|
|
4278
4278
|
}, config), {
|
|
4279
4279
|
fromData: transformData,
|
|
@@ -4304,7 +4304,7 @@ function optionalFirestoreField(config) {
|
|
|
4304
4304
|
*/ function optionalFirestoreString(config) {
|
|
4305
4305
|
var transform = transformStringFunctionConfig(config === null || config === void 0 ? void 0 : config.transform);
|
|
4306
4306
|
var transformData = transform ? transformStringFunction(transform) : passThrough;
|
|
4307
|
-
return optionalFirestoreField(_object_spread_props$
|
|
4307
|
+
return optionalFirestoreField(_object_spread_props$l(_object_spread$p({}, config), {
|
|
4308
4308
|
transformData: transformData
|
|
4309
4309
|
}));
|
|
4310
4310
|
}
|
|
@@ -4329,7 +4329,7 @@ function optionalFirestoreField(config) {
|
|
|
4329
4329
|
*
|
|
4330
4330
|
* @__NO_SIDE_EFFECTS__
|
|
4331
4331
|
*/ function firestoreEnum(config) {
|
|
4332
|
-
return firestoreField(_object_spread_props$
|
|
4332
|
+
return firestoreField(_object_spread_props$l(_object_spread$p({}, config), {
|
|
4333
4333
|
fromData: passThrough,
|
|
4334
4334
|
toData: passThrough
|
|
4335
4335
|
}));
|
|
@@ -4483,7 +4483,7 @@ function optionalFirestoreField(config) {
|
|
|
4483
4483
|
return isSameDate(x, comparisonDate);
|
|
4484
4484
|
};
|
|
4485
4485
|
}
|
|
4486
|
-
return optionalFirestoreField(_object_spread_props$
|
|
4486
|
+
return optionalFirestoreField(_object_spread_props$l(_object_spread$p({}, config), {
|
|
4487
4487
|
dontStoreValueIf: dontStoreValueIf,
|
|
4488
4488
|
transformFromData: toJsDate,
|
|
4489
4489
|
transformToData: toISODateString
|
|
@@ -4538,7 +4538,7 @@ function optionalFirestoreField(config) {
|
|
|
4538
4538
|
return isSameDate(x, comparisonDate);
|
|
4539
4539
|
};
|
|
4540
4540
|
}
|
|
4541
|
-
return optionalFirestoreField(_object_spread_props$
|
|
4541
|
+
return optionalFirestoreField(_object_spread_props$l(_object_spread$p({}, config), {
|
|
4542
4542
|
dontStoreValueIf: dontStoreValueIf,
|
|
4543
4543
|
transformFromData: toDate,
|
|
4544
4544
|
transformToData: fromDate
|
|
@@ -4552,7 +4552,7 @@ function optionalFirestoreField(config) {
|
|
|
4552
4552
|
*
|
|
4553
4553
|
* @__NO_SIDE_EFFECTS__
|
|
4554
4554
|
*/ function firestoreUnixDateTimeSecondsNumber(config) {
|
|
4555
|
-
return firestoreDateNumber(_object_spread_props$
|
|
4555
|
+
return firestoreDateNumber(_object_spread_props$l(_object_spread$p({}, config), {
|
|
4556
4556
|
fromDate: unixDateTimeSecondsNumberFromDate,
|
|
4557
4557
|
toDate: dateFromDateOrTimeSecondsNumber
|
|
4558
4558
|
}));
|
|
@@ -4565,7 +4565,7 @@ function optionalFirestoreField(config) {
|
|
|
4565
4565
|
*
|
|
4566
4566
|
* @__NO_SIDE_EFFECTS__
|
|
4567
4567
|
*/ function optionalFirestoreUnixDateTimeSecondsNumber(config) {
|
|
4568
|
-
return optionalFirestoreDateNumber(_object_spread_props$
|
|
4568
|
+
return optionalFirestoreDateNumber(_object_spread_props$l(_object_spread$p({}, config), {
|
|
4569
4569
|
fromDate: unixDateTimeSecondsNumberFromDate,
|
|
4570
4570
|
toDate: dateFromDateOrTimeSecondsNumber
|
|
4571
4571
|
}));
|
|
@@ -4645,7 +4645,7 @@ function optionalFirestoreField(config) {
|
|
|
4645
4645
|
transform: config === null || config === void 0 ? void 0 : config.transform
|
|
4646
4646
|
} : config === null || config === void 0 ? void 0 : config.transform : undefined;
|
|
4647
4647
|
var transformData = transform ? transformNumberFunction(transform) : passThrough;
|
|
4648
|
-
return firestoreField(_object_spread_props$
|
|
4648
|
+
return firestoreField(_object_spread_props$l(_object_spread$p({}, config), {
|
|
4649
4649
|
defaultBeforeSave: ((_config_defaultBeforeSave = config.defaultBeforeSave) !== null && _config_defaultBeforeSave !== void 0 ? _config_defaultBeforeSave : config.saveDefault) ? config.default : undefined,
|
|
4650
4650
|
fromData: transformData,
|
|
4651
4651
|
toData: transformData
|
|
@@ -4670,7 +4670,7 @@ function optionalFirestoreField(config) {
|
|
|
4670
4670
|
transform: config === null || config === void 0 ? void 0 : config.transform
|
|
4671
4671
|
} : config === null || config === void 0 ? void 0 : config.transform : undefined;
|
|
4672
4672
|
var transformData = transform ? transformNumberFunction(transform) : passThrough;
|
|
4673
|
-
return optionalFirestoreField(_object_spread_props$
|
|
4673
|
+
return optionalFirestoreField(_object_spread_props$l(_object_spread$p({}, config), {
|
|
4674
4674
|
transformData: transformData
|
|
4675
4675
|
}));
|
|
4676
4676
|
}
|
|
@@ -4765,7 +4765,7 @@ function optionalFirestoreField(config) {
|
|
|
4765
4765
|
inputTransformData,
|
|
4766
4766
|
sortArrayFn
|
|
4767
4767
|
]);
|
|
4768
|
-
return optionalFirestoreField(_object_spread_props$
|
|
4768
|
+
return optionalFirestoreField(_object_spread_props$l(_object_spread$p({}, config), {
|
|
4769
4769
|
dontStoreIf: dontStoreIf,
|
|
4770
4770
|
transformData: transformData
|
|
4771
4771
|
}));
|
|
@@ -4809,7 +4809,7 @@ function optionalFirestoreField(config) {
|
|
|
4809
4809
|
*
|
|
4810
4810
|
* @__NO_SIDE_EFFECTS__
|
|
4811
4811
|
*/ function firestoreUniqueKeyedArray(config) {
|
|
4812
|
-
return firestoreUniqueArray(_object_spread_props$
|
|
4812
|
+
return firestoreUniqueArray(_object_spread_props$l(_object_spread$p({}, config), {
|
|
4813
4813
|
filterUnique: filterUniqueFunction(config.readKey)
|
|
4814
4814
|
}));
|
|
4815
4815
|
}
|
|
@@ -4827,7 +4827,7 @@ function optionalFirestoreField(config) {
|
|
|
4827
4827
|
* @__NO_SIDE_EFFECTS__
|
|
4828
4828
|
*/ function firestoreEnumArray() {
|
|
4829
4829
|
var config = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4830
|
-
return firestoreUniqueArray(_object_spread_props$
|
|
4830
|
+
return firestoreUniqueArray(_object_spread_props$l(_object_spread$p({}, config), {
|
|
4831
4831
|
filterUnique: unique
|
|
4832
4832
|
}));
|
|
4833
4833
|
}
|
|
@@ -4842,7 +4842,7 @@ function optionalFirestoreField(config) {
|
|
|
4842
4842
|
* @__NO_SIDE_EFFECTS__
|
|
4843
4843
|
*/ function firestoreUniqueStringArray(config) {
|
|
4844
4844
|
var filterUnique = config == null ? unique : filterUniqueTransform(config);
|
|
4845
|
-
return firestoreUniqueArray(_object_spread_props$
|
|
4845
|
+
return firestoreUniqueArray(_object_spread_props$l(_object_spread$p({}, config), {
|
|
4846
4846
|
filterUnique: filterUnique
|
|
4847
4847
|
}));
|
|
4848
4848
|
}
|
|
@@ -4878,7 +4878,7 @@ function optionalFirestoreField(config) {
|
|
|
4878
4878
|
* @__NO_SIDE_EFFECTS__
|
|
4879
4879
|
*/ // eslint-disable-next-line sonarjs/no-identical-functions -- exposes a distinct typed alias for number arrays
|
|
4880
4880
|
function firestoreUniqueNumberArray(config) {
|
|
4881
|
-
return firestoreUniqueArray(_object_spread_props$
|
|
4881
|
+
return firestoreUniqueArray(_object_spread_props$l(_object_spread$p({}, config), {
|
|
4882
4882
|
filterUnique: unique
|
|
4883
4883
|
}));
|
|
4884
4884
|
}
|
|
@@ -5075,7 +5075,7 @@ function firestoreUniqueNumberArray(config) {
|
|
|
5075
5075
|
* @__NO_SIDE_EFFECTS__
|
|
5076
5076
|
*/ function firestoreDencoderMap(config) {
|
|
5077
5077
|
var dencoder = config.dencoder;
|
|
5078
|
-
return firestoreEncodedObjectMap(_object_spread_props$
|
|
5078
|
+
return firestoreEncodedObjectMap(_object_spread_props$l(_object_spread$p({}, config), {
|
|
5079
5079
|
encoder: dencoder,
|
|
5080
5080
|
decoder: dencoder
|
|
5081
5081
|
}));
|
|
@@ -5111,7 +5111,7 @@ function firestoreUniqueNumberArray(config) {
|
|
|
5111
5111
|
* @__NO_SIDE_EFFECTS__
|
|
5112
5112
|
*/ function firestoreArrayMap() {
|
|
5113
5113
|
var config = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
5114
|
-
return firestoreMap(_object_spread$
|
|
5114
|
+
return firestoreMap(_object_spread$p({
|
|
5115
5115
|
mapFilter: KeyValueTypleValueFilter.EMPTY,
|
|
5116
5116
|
mapFieldValues: filterMaybeArrayValues
|
|
5117
5117
|
}, config));
|
|
@@ -5583,7 +5583,7 @@ var MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE = 22;
|
|
|
5583
5583
|
* @__NO_SIDE_EFFECTS__
|
|
5584
5584
|
*/ function firestoreBitwiseSet(config) {
|
|
5585
5585
|
var dencoder = bitwiseSetDencoder(config.maxIndex);
|
|
5586
|
-
return firestoreField(_object_spread_props$
|
|
5586
|
+
return firestoreField(_object_spread_props$l(_object_spread$p({
|
|
5587
5587
|
default: function _default() {
|
|
5588
5588
|
return new Set();
|
|
5589
5589
|
}
|
|
@@ -5604,7 +5604,7 @@ var MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE = 22;
|
|
|
5604
5604
|
* @__NO_SIDE_EFFECTS__
|
|
5605
5605
|
*/ function firestoreBitwiseSetMap(config) {
|
|
5606
5606
|
var dencoder = bitwiseSetDencoder(config.maxIndex);
|
|
5607
|
-
return firestoreEncodedObjectMap(_object_spread_props$
|
|
5607
|
+
return firestoreEncodedObjectMap(_object_spread_props$l(_object_spread$p({
|
|
5608
5608
|
mapFilter: KeyValueTypleValueFilter.FALSY
|
|
5609
5609
|
}, config), {
|
|
5610
5610
|
encoder: dencoder,
|
|
@@ -5623,7 +5623,7 @@ var MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE = 22;
|
|
|
5623
5623
|
* @__NO_SIDE_EFFECTS__
|
|
5624
5624
|
*/ function firestoreBitwiseObjectMap(config) {
|
|
5625
5625
|
var dencoder = config.dencoder;
|
|
5626
|
-
return firestoreEncodedObjectMap(_object_spread_props$
|
|
5626
|
+
return firestoreEncodedObjectMap(_object_spread_props$l(_object_spread$p({
|
|
5627
5627
|
mapFilter: KeyValueTypleValueFilter.FALSY
|
|
5628
5628
|
}, config), {
|
|
5629
5629
|
encoder: dencoder,
|
|
@@ -5682,30 +5682,30 @@ function firebaseQueryItemAccumulator(iteration, mapItem) {
|
|
|
5682
5682
|
return firebaseQuerySnapshotAccumulator(iteration, mapFn);
|
|
5683
5683
|
}
|
|
5684
5684
|
|
|
5685
|
-
function _array_like_to_array$
|
|
5685
|
+
function _array_like_to_array$h(arr, len) {
|
|
5686
5686
|
if (len == null || len > arr.length) len = arr.length;
|
|
5687
5687
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
5688
5688
|
return arr2;
|
|
5689
5689
|
}
|
|
5690
|
-
function _array_without_holes$
|
|
5691
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
5690
|
+
function _array_without_holes$c(arr) {
|
|
5691
|
+
if (Array.isArray(arr)) return _array_like_to_array$h(arr);
|
|
5692
5692
|
}
|
|
5693
|
-
function _iterable_to_array$
|
|
5693
|
+
function _iterable_to_array$c(iter) {
|
|
5694
5694
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
5695
5695
|
}
|
|
5696
|
-
function _non_iterable_spread$
|
|
5696
|
+
function _non_iterable_spread$c() {
|
|
5697
5697
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
5698
5698
|
}
|
|
5699
|
-
function _to_consumable_array$
|
|
5700
|
-
return _array_without_holes$
|
|
5699
|
+
function _to_consumable_array$c(arr) {
|
|
5700
|
+
return _array_without_holes$c(arr) || _iterable_to_array$c(arr) || _unsupported_iterable_to_array$h(arr) || _non_iterable_spread$c();
|
|
5701
5701
|
}
|
|
5702
|
-
function _unsupported_iterable_to_array$
|
|
5702
|
+
function _unsupported_iterable_to_array$h(o, minLen) {
|
|
5703
5703
|
if (!o) return;
|
|
5704
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
5704
|
+
if (typeof o === "string") return _array_like_to_array$h(o, minLen);
|
|
5705
5705
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
5706
5706
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
5707
5707
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
5708
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
5708
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$h(o, minLen);
|
|
5709
5709
|
}
|
|
5710
5710
|
/**
|
|
5711
5711
|
* Creates a {@link FirestoreQueryConstraint} with the given type identifier and data.
|
|
@@ -6085,7 +6085,7 @@ function orderBy(fieldPath, directionStr) {
|
|
|
6085
6085
|
* const newConstraints = replaceLimit(existingConstraints);
|
|
6086
6086
|
* ```
|
|
6087
6087
|
*/ function replaceConstraints(replaceFn, types) {
|
|
6088
|
-
var separateFn = separateConstraints.apply(void 0, _to_consumable_array$
|
|
6088
|
+
var separateFn = separateConstraints.apply(void 0, _to_consumable_array$c(types));
|
|
6089
6089
|
return function(constraints) {
|
|
6090
6090
|
var separated = separateFn(constraints);
|
|
6091
6091
|
var replacements = asArray(replaceFn(separated.excluded));
|
|
@@ -6281,15 +6281,15 @@ function whereDateIsBeforeWithSort(fieldPath) {
|
|
|
6281
6281
|
];
|
|
6282
6282
|
}
|
|
6283
6283
|
|
|
6284
|
-
function _array_like_to_array$
|
|
6284
|
+
function _array_like_to_array$g(arr, len) {
|
|
6285
6285
|
if (len == null || len > arr.length) len = arr.length;
|
|
6286
6286
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
6287
6287
|
return arr2;
|
|
6288
6288
|
}
|
|
6289
|
-
function _array_without_holes$
|
|
6290
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
6289
|
+
function _array_without_holes$b(arr) {
|
|
6290
|
+
if (Array.isArray(arr)) return _array_like_to_array$g(arr);
|
|
6291
6291
|
}
|
|
6292
|
-
function _define_property$
|
|
6292
|
+
function _define_property$u(obj, key, value) {
|
|
6293
6293
|
if (key in obj) {
|
|
6294
6294
|
Object.defineProperty(obj, key, {
|
|
6295
6295
|
value: value,
|
|
@@ -6302,13 +6302,13 @@ function _define_property$t(obj, key, value) {
|
|
|
6302
6302
|
}
|
|
6303
6303
|
return obj;
|
|
6304
6304
|
}
|
|
6305
|
-
function _iterable_to_array$
|
|
6305
|
+
function _iterable_to_array$b(iter) {
|
|
6306
6306
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
6307
6307
|
}
|
|
6308
|
-
function _non_iterable_spread$
|
|
6308
|
+
function _non_iterable_spread$b() {
|
|
6309
6309
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
6310
6310
|
}
|
|
6311
|
-
function _object_spread$
|
|
6311
|
+
function _object_spread$o(target) {
|
|
6312
6312
|
for(var i = 1; i < arguments.length; i++){
|
|
6313
6313
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
6314
6314
|
var ownKeys = Object.keys(source);
|
|
@@ -6318,12 +6318,12 @@ function _object_spread$n(target) {
|
|
|
6318
6318
|
}));
|
|
6319
6319
|
}
|
|
6320
6320
|
ownKeys.forEach(function(key) {
|
|
6321
|
-
_define_property$
|
|
6321
|
+
_define_property$u(target, key, source[key]);
|
|
6322
6322
|
});
|
|
6323
6323
|
}
|
|
6324
6324
|
return target;
|
|
6325
6325
|
}
|
|
6326
|
-
function ownKeys$
|
|
6326
|
+
function ownKeys$k(object, enumerableOnly) {
|
|
6327
6327
|
var keys = Object.keys(object);
|
|
6328
6328
|
if (Object.getOwnPropertySymbols) {
|
|
6329
6329
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -6331,27 +6331,27 @@ function ownKeys$j(object, enumerableOnly) {
|
|
|
6331
6331
|
}
|
|
6332
6332
|
return keys;
|
|
6333
6333
|
}
|
|
6334
|
-
function _object_spread_props$
|
|
6334
|
+
function _object_spread_props$k(target, source) {
|
|
6335
6335
|
source = source != null ? source : {};
|
|
6336
6336
|
if (Object.getOwnPropertyDescriptors) {
|
|
6337
6337
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
6338
6338
|
} else {
|
|
6339
|
-
ownKeys$
|
|
6339
|
+
ownKeys$k(Object(source)).forEach(function(key) {
|
|
6340
6340
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
6341
6341
|
});
|
|
6342
6342
|
}
|
|
6343
6343
|
return target;
|
|
6344
6344
|
}
|
|
6345
|
-
function _to_consumable_array$
|
|
6346
|
-
return _array_without_holes$
|
|
6345
|
+
function _to_consumable_array$b(arr) {
|
|
6346
|
+
return _array_without_holes$b(arr) || _iterable_to_array$b(arr) || _unsupported_iterable_to_array$g(arr) || _non_iterable_spread$b();
|
|
6347
6347
|
}
|
|
6348
|
-
function _unsupported_iterable_to_array$
|
|
6348
|
+
function _unsupported_iterable_to_array$g(o, minLen) {
|
|
6349
6349
|
if (!o) return;
|
|
6350
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
6350
|
+
if (typeof o === "string") return _array_like_to_array$g(o, minLen);
|
|
6351
6351
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
6352
6352
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
6353
6353
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
6354
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
6354
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$g(o, minLen);
|
|
6355
6355
|
}
|
|
6356
6356
|
/**
|
|
6357
6357
|
* Filters out constraints that should not be directly specified in pagination queries.
|
|
@@ -6416,13 +6416,13 @@ function _unsupported_iterable_to_array$f(o, minLen) {
|
|
|
6416
6416
|
// Add Limit
|
|
6417
6417
|
var limitCount = filterLimit !== null && filterLimit !== void 0 ? filterLimit : itemsPerPage + (startAfterFilter ? 1 : 0); // todo: may not be needed.
|
|
6418
6418
|
var limitConstraint = limit(limitCount);
|
|
6419
|
-
var constraintsWithLimit = _to_consumable_array$
|
|
6419
|
+
var constraintsWithLimit = _to_consumable_array$b(constraints).concat([
|
|
6420
6420
|
limitConstraint
|
|
6421
6421
|
]);
|
|
6422
6422
|
// make query
|
|
6423
6423
|
var batchQuery = (_driver = driver).query.apply(_driver, [
|
|
6424
6424
|
queryLike
|
|
6425
|
-
].concat(_to_consumable_array$
|
|
6425
|
+
].concat(_to_consumable_array$b(constraintsWithLimit)));
|
|
6426
6426
|
var resultPromise = driver.getDocs(batchQuery).then(function(snapshot) {
|
|
6427
6427
|
var time = new Date();
|
|
6428
6428
|
var docs = snapshot.docs;
|
|
@@ -6551,7 +6551,7 @@ function _firestoreItemPageIterationWithSnapshotIteration(snapshotIteration) {
|
|
|
6551
6551
|
return x.docs;
|
|
6552
6552
|
}
|
|
6553
6553
|
});
|
|
6554
|
-
var result = _object_spread_props$
|
|
6554
|
+
var result = _object_spread_props$k(_object_spread$o({}, mappedIteration), {
|
|
6555
6555
|
snapshotIteration: snapshotIteration
|
|
6556
6556
|
});
|
|
6557
6557
|
return result;
|
|
@@ -6693,13 +6693,13 @@ function _firestoreItemPageIterationWithSnapshotIteration(snapshotIteration) {
|
|
|
6693
6693
|
return _firestoreItemPageIterationWithSnapshotIteration(snapshotIteration);
|
|
6694
6694
|
}
|
|
6695
6695
|
|
|
6696
|
-
function _array_like_to_array$
|
|
6696
|
+
function _array_like_to_array$f(arr, len) {
|
|
6697
6697
|
if (len == null || len > arr.length) len = arr.length;
|
|
6698
6698
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
6699
6699
|
return arr2;
|
|
6700
6700
|
}
|
|
6701
|
-
function _array_without_holes$
|
|
6702
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
6701
|
+
function _array_without_holes$a(arr) {
|
|
6702
|
+
if (Array.isArray(arr)) return _array_like_to_array$f(arr);
|
|
6703
6703
|
}
|
|
6704
6704
|
function asyncGeneratorStep$h(gen, resolve, reject, _next, _throw, key, arg) {
|
|
6705
6705
|
try {
|
|
@@ -6730,22 +6730,22 @@ function _async_to_generator$h(fn) {
|
|
|
6730
6730
|
});
|
|
6731
6731
|
};
|
|
6732
6732
|
}
|
|
6733
|
-
function _iterable_to_array$
|
|
6733
|
+
function _iterable_to_array$a(iter) {
|
|
6734
6734
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
6735
6735
|
}
|
|
6736
|
-
function _non_iterable_spread$
|
|
6736
|
+
function _non_iterable_spread$a() {
|
|
6737
6737
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
6738
6738
|
}
|
|
6739
|
-
function _to_consumable_array$
|
|
6740
|
-
return _array_without_holes$
|
|
6739
|
+
function _to_consumable_array$a(arr) {
|
|
6740
|
+
return _array_without_holes$a(arr) || _iterable_to_array$a(arr) || _unsupported_iterable_to_array$f(arr) || _non_iterable_spread$a();
|
|
6741
6741
|
}
|
|
6742
|
-
function _unsupported_iterable_to_array$
|
|
6742
|
+
function _unsupported_iterable_to_array$f(o, minLen) {
|
|
6743
6743
|
if (!o) return;
|
|
6744
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
6744
|
+
if (typeof o === "string") return _array_like_to_array$f(o, minLen);
|
|
6745
6745
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
6746
6746
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
6747
6747
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
6748
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
6748
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$f(o, minLen);
|
|
6749
6749
|
}
|
|
6750
6750
|
function _ts_generator$h(thisArg, body) {
|
|
6751
6751
|
var f, y, t, _ = {
|
|
@@ -6886,7 +6886,7 @@ function _ts_generator$h(thisArg, body) {
|
|
|
6886
6886
|
var allConstraints = flattenArrayOrValueArray(queryConstraints);
|
|
6887
6887
|
var query = makeQuery.apply(void 0, [
|
|
6888
6888
|
inputQuery
|
|
6889
|
-
].concat(_to_consumable_array$
|
|
6889
|
+
].concat(_to_consumable_array$a(allConstraints)));
|
|
6890
6890
|
var result = {
|
|
6891
6891
|
query: query,
|
|
6892
6892
|
countDocs: function countDocs1() {
|
|
@@ -6908,7 +6908,7 @@ function _ts_generator$h(thisArg, body) {
|
|
|
6908
6908
|
constraintsForOneDoc = addOrReplaceLimitInConstraints(1)(allConstraints);
|
|
6909
6909
|
query = makeQuery.apply(void 0, [
|
|
6910
6910
|
inputQuery
|
|
6911
|
-
].concat(_to_consumable_array$
|
|
6911
|
+
].concat(_to_consumable_array$a(constraintsForOneDoc)));
|
|
6912
6912
|
return [
|
|
6913
6913
|
4,
|
|
6914
6914
|
getDocs(query, transaction)
|
|
@@ -7016,7 +7016,7 @@ function _ts_generator$h(thisArg, body) {
|
|
|
7016
7016
|
return snapshot.ref.path;
|
|
7017
7017
|
}
|
|
7018
7018
|
|
|
7019
|
-
function _array_like_to_array$
|
|
7019
|
+
function _array_like_to_array$e(arr, len) {
|
|
7020
7020
|
if (len == null || len > arr.length) len = arr.length;
|
|
7021
7021
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
7022
7022
|
return arr2;
|
|
@@ -7053,7 +7053,7 @@ function _async_to_generator$g(fn) {
|
|
|
7053
7053
|
});
|
|
7054
7054
|
};
|
|
7055
7055
|
}
|
|
7056
|
-
function _define_property$
|
|
7056
|
+
function _define_property$t(obj, key, value) {
|
|
7057
7057
|
if (key in obj) {
|
|
7058
7058
|
Object.defineProperty(obj, key, {
|
|
7059
7059
|
value: value,
|
|
@@ -7093,7 +7093,7 @@ function _iterable_to_array_limit$4(arr, i) {
|
|
|
7093
7093
|
function _non_iterable_rest$4() {
|
|
7094
7094
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7095
7095
|
}
|
|
7096
|
-
function _object_spread$
|
|
7096
|
+
function _object_spread$n(target) {
|
|
7097
7097
|
for(var i = 1; i < arguments.length; i++){
|
|
7098
7098
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
7099
7099
|
var ownKeys = Object.keys(source);
|
|
@@ -7103,12 +7103,12 @@ function _object_spread$m(target) {
|
|
|
7103
7103
|
}));
|
|
7104
7104
|
}
|
|
7105
7105
|
ownKeys.forEach(function(key) {
|
|
7106
|
-
_define_property$
|
|
7106
|
+
_define_property$t(target, key, source[key]);
|
|
7107
7107
|
});
|
|
7108
7108
|
}
|
|
7109
7109
|
return target;
|
|
7110
7110
|
}
|
|
7111
|
-
function ownKeys$
|
|
7111
|
+
function ownKeys$j(object, enumerableOnly) {
|
|
7112
7112
|
var keys = Object.keys(object);
|
|
7113
7113
|
if (Object.getOwnPropertySymbols) {
|
|
7114
7114
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -7116,27 +7116,27 @@ function ownKeys$i(object, enumerableOnly) {
|
|
|
7116
7116
|
}
|
|
7117
7117
|
return keys;
|
|
7118
7118
|
}
|
|
7119
|
-
function _object_spread_props$
|
|
7119
|
+
function _object_spread_props$j(target, source) {
|
|
7120
7120
|
source = source != null ? source : {};
|
|
7121
7121
|
if (Object.getOwnPropertyDescriptors) {
|
|
7122
7122
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7123
7123
|
} else {
|
|
7124
|
-
ownKeys$
|
|
7124
|
+
ownKeys$j(Object(source)).forEach(function(key) {
|
|
7125
7125
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7126
7126
|
});
|
|
7127
7127
|
}
|
|
7128
7128
|
return target;
|
|
7129
7129
|
}
|
|
7130
7130
|
function _sliced_to_array$4(arr, i) {
|
|
7131
|
-
return _array_with_holes$4(arr) || _iterable_to_array_limit$4(arr, i) || _unsupported_iterable_to_array$
|
|
7131
|
+
return _array_with_holes$4(arr) || _iterable_to_array_limit$4(arr, i) || _unsupported_iterable_to_array$e(arr, i) || _non_iterable_rest$4();
|
|
7132
7132
|
}
|
|
7133
|
-
function _unsupported_iterable_to_array$
|
|
7133
|
+
function _unsupported_iterable_to_array$e(o, minLen) {
|
|
7134
7134
|
if (!o) return;
|
|
7135
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
7135
|
+
if (typeof o === "string") return _array_like_to_array$e(o, minLen);
|
|
7136
7136
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
7137
7137
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
7138
7138
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
7139
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
7139
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$e(o, minLen);
|
|
7140
7140
|
}
|
|
7141
7141
|
function _ts_generator$g(thisArg, body) {
|
|
7142
7142
|
var f, y, t, _ = {
|
|
@@ -7270,7 +7270,7 @@ function _ts_generator$g(thisArg, body) {
|
|
|
7270
7270
|
loadPairForSnapshot = firestoreDocumentSnapshotPairsLoaderInstance(documentAccessor);
|
|
7271
7271
|
return [
|
|
7272
7272
|
2,
|
|
7273
|
-
iterateFirestoreDocumentSnapshots(_object_spread_props$
|
|
7273
|
+
iterateFirestoreDocumentSnapshots(_object_spread_props$j(_object_spread$n({}, config), {
|
|
7274
7274
|
iterateSnapshot: function iterateSnapshot(snapshot) {
|
|
7275
7275
|
return _async_to_generator$g(function() {
|
|
7276
7276
|
var pair;
|
|
@@ -7322,16 +7322,16 @@ function _ts_generator$g(thisArg, body) {
|
|
|
7322
7322
|
iterateSnapshot = config.iterateSnapshot, performTasksConfig = config.performTasksConfig, snapshotsPerformTasksConfig = config.snapshotsPerformTasksConfig;
|
|
7323
7323
|
return [
|
|
7324
7324
|
2,
|
|
7325
|
-
iterateFirestoreDocumentSnapshotBatches(_object_spread_props$
|
|
7325
|
+
iterateFirestoreDocumentSnapshotBatches(_object_spread_props$j(_object_spread$n({}, config), {
|
|
7326
7326
|
maxParallelCheckpoints: 1,
|
|
7327
7327
|
iterateSnapshotBatch: function iterateSnapshotBatch(docSnapshots) {
|
|
7328
7328
|
return _async_to_generator$g(function() {
|
|
7329
7329
|
return _ts_generator$g(this, function(_state) {
|
|
7330
7330
|
return [
|
|
7331
7331
|
2,
|
|
7332
|
-
performAsyncTasks(docSnapshots, iterateSnapshot, _object_spread$
|
|
7332
|
+
performAsyncTasks(docSnapshots, iterateSnapshot, _object_spread$n({
|
|
7333
7333
|
sequential: true
|
|
7334
|
-
}, snapshotsPerformTasksConfig !== null && snapshotsPerformTasksConfig !== void 0 ? snapshotsPerformTasksConfig : _object_spread_props$
|
|
7334
|
+
}, snapshotsPerformTasksConfig !== null && snapshotsPerformTasksConfig !== void 0 ? snapshotsPerformTasksConfig : _object_spread_props$j(_object_spread$n({}, performTasksConfig), {
|
|
7335
7335
|
nonConcurrentTaskKeyFactory: undefined,
|
|
7336
7336
|
beforeRetry: undefined
|
|
7337
7337
|
}) // don't pass the nonConcurrentTaskKeyFactory
|
|
@@ -7380,7 +7380,7 @@ function _ts_generator$g(thisArg, body) {
|
|
|
7380
7380
|
loadPairForSnapshot = firestoreDocumentSnapshotPairsLoaderInstance(documentAccessor);
|
|
7381
7381
|
return [
|
|
7382
7382
|
2,
|
|
7383
|
-
iterateFirestoreDocumentSnapshotBatches(_object_spread_props$
|
|
7383
|
+
iterateFirestoreDocumentSnapshotBatches(_object_spread_props$j(_object_spread$n({}, config), {
|
|
7384
7384
|
maxParallelCheckpoints: 1,
|
|
7385
7385
|
iterateSnapshotBatch: function iterateSnapshotBatch(snapshots, batchIndex) {
|
|
7386
7386
|
return _async_to_generator$g(function() {
|
|
@@ -7442,7 +7442,7 @@ function _ts_generator$g(thisArg, body) {
|
|
|
7442
7442
|
};
|
|
7443
7443
|
return [
|
|
7444
7444
|
2,
|
|
7445
|
-
iterateFirestoreDocumentSnapshotCheckpoints(_object_spread_props$
|
|
7445
|
+
iterateFirestoreDocumentSnapshotCheckpoints(_object_spread_props$j(_object_spread$n({}, config), {
|
|
7446
7446
|
iterateCheckpoint: function iterateCheckpoint(docSnapshots) {
|
|
7447
7447
|
return _async_to_generator$g(function() {
|
|
7448
7448
|
var result, batchSizeForSnapshotsResult, batches, i, performTasksResult;
|
|
@@ -7463,7 +7463,7 @@ function _ts_generator$g(thisArg, body) {
|
|
|
7463
7463
|
4,
|
|
7464
7464
|
performAsyncTasks(batches, function(x) {
|
|
7465
7465
|
return iterateSnapshotBatch(x, i++);
|
|
7466
|
-
}, _object_spread$
|
|
7466
|
+
}, _object_spread$n({
|
|
7467
7467
|
sequential: true
|
|
7468
7468
|
}, performTasksConfig))
|
|
7469
7469
|
];
|
|
@@ -8200,13 +8200,13 @@ function _ts_generator$f(thisArg, body) {
|
|
|
8200
8200
|
return type;
|
|
8201
8201
|
}
|
|
8202
8202
|
|
|
8203
|
-
function _array_like_to_array$
|
|
8203
|
+
function _array_like_to_array$d(arr, len) {
|
|
8204
8204
|
if (len == null || len > arr.length) len = arr.length;
|
|
8205
8205
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
8206
8206
|
return arr2;
|
|
8207
8207
|
}
|
|
8208
|
-
function _array_without_holes$
|
|
8209
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
8208
|
+
function _array_without_holes$9(arr) {
|
|
8209
|
+
if (Array.isArray(arr)) return _array_like_to_array$d(arr);
|
|
8210
8210
|
}
|
|
8211
8211
|
function asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, key, arg) {
|
|
8212
8212
|
try {
|
|
@@ -8237,22 +8237,22 @@ function _async_to_generator$e(fn) {
|
|
|
8237
8237
|
});
|
|
8238
8238
|
};
|
|
8239
8239
|
}
|
|
8240
|
-
function _iterable_to_array$
|
|
8240
|
+
function _iterable_to_array$9(iter) {
|
|
8241
8241
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
8242
8242
|
}
|
|
8243
|
-
function _non_iterable_spread$
|
|
8243
|
+
function _non_iterable_spread$9() {
|
|
8244
8244
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8245
8245
|
}
|
|
8246
|
-
function _to_consumable_array$
|
|
8247
|
-
return _array_without_holes$
|
|
8246
|
+
function _to_consumable_array$9(arr) {
|
|
8247
|
+
return _array_without_holes$9(arr) || _iterable_to_array$9(arr) || _unsupported_iterable_to_array$d(arr) || _non_iterable_spread$9();
|
|
8248
8248
|
}
|
|
8249
|
-
function _unsupported_iterable_to_array$
|
|
8249
|
+
function _unsupported_iterable_to_array$d(o, minLen) {
|
|
8250
8250
|
if (!o) return;
|
|
8251
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
8251
|
+
if (typeof o === "string") return _array_like_to_array$d(o, minLen);
|
|
8252
8252
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
8253
8253
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
8254
8254
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
8255
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
8255
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
|
|
8256
8256
|
}
|
|
8257
8257
|
function _ts_generator$e(thisArg, body) {
|
|
8258
8258
|
var f, y, t, _ = {
|
|
@@ -8474,7 +8474,7 @@ function _ts_generator$e(thisArg, body) {
|
|
|
8474
8474
|
for(var _len = arguments.length, queryConstraints = new Array(_len), _key = 0; _key < _len; _key++){
|
|
8475
8475
|
queryConstraints[_key] = arguments[_key];
|
|
8476
8476
|
}
|
|
8477
|
-
return wrapQuery((_baseQuery = baseQuery).filter.apply(_baseQuery, _to_consumable_array$
|
|
8477
|
+
return wrapQuery((_baseQuery = baseQuery).filter.apply(_baseQuery, _to_consumable_array$9(queryConstraints)));
|
|
8478
8478
|
}
|
|
8479
8479
|
};
|
|
8480
8480
|
};
|
|
@@ -8484,20 +8484,20 @@ function _ts_generator$e(thisArg, body) {
|
|
|
8484
8484
|
for(var _len = arguments.length, queryConstraints = new Array(_len), _key = 0; _key < _len; _key++){
|
|
8485
8485
|
queryConstraints[_key] = arguments[_key];
|
|
8486
8486
|
}
|
|
8487
|
-
return wrapQuery((_queryFactory = queryFactory).query.apply(_queryFactory, _to_consumable_array$
|
|
8487
|
+
return wrapQuery((_queryFactory = queryFactory).query.apply(_queryFactory, _to_consumable_array$9(queryConstraints)));
|
|
8488
8488
|
}
|
|
8489
8489
|
};
|
|
8490
8490
|
}
|
|
8491
8491
|
|
|
8492
|
-
function _array_like_to_array$
|
|
8492
|
+
function _array_like_to_array$c(arr, len) {
|
|
8493
8493
|
if (len == null || len > arr.length) len = arr.length;
|
|
8494
8494
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
8495
8495
|
return arr2;
|
|
8496
8496
|
}
|
|
8497
|
-
function _array_without_holes$
|
|
8498
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
8497
|
+
function _array_without_holes$8(arr) {
|
|
8498
|
+
if (Array.isArray(arr)) return _array_like_to_array$c(arr);
|
|
8499
8499
|
}
|
|
8500
|
-
function _define_property$
|
|
8500
|
+
function _define_property$s(obj, key, value) {
|
|
8501
8501
|
if (key in obj) {
|
|
8502
8502
|
Object.defineProperty(obj, key, {
|
|
8503
8503
|
value: value,
|
|
@@ -8510,13 +8510,13 @@ function _define_property$r(obj, key, value) {
|
|
|
8510
8510
|
}
|
|
8511
8511
|
return obj;
|
|
8512
8512
|
}
|
|
8513
|
-
function _iterable_to_array$
|
|
8513
|
+
function _iterable_to_array$8(iter) {
|
|
8514
8514
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
8515
8515
|
}
|
|
8516
|
-
function _non_iterable_spread$
|
|
8516
|
+
function _non_iterable_spread$8() {
|
|
8517
8517
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8518
8518
|
}
|
|
8519
|
-
function _object_spread$
|
|
8519
|
+
function _object_spread$m(target) {
|
|
8520
8520
|
for(var i = 1; i < arguments.length; i++){
|
|
8521
8521
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
8522
8522
|
var ownKeys = Object.keys(source);
|
|
@@ -8526,12 +8526,12 @@ function _object_spread$l(target) {
|
|
|
8526
8526
|
}));
|
|
8527
8527
|
}
|
|
8528
8528
|
ownKeys.forEach(function(key) {
|
|
8529
|
-
_define_property$
|
|
8529
|
+
_define_property$s(target, key, source[key]);
|
|
8530
8530
|
});
|
|
8531
8531
|
}
|
|
8532
8532
|
return target;
|
|
8533
8533
|
}
|
|
8534
|
-
function ownKeys$
|
|
8534
|
+
function ownKeys$i(object, enumerableOnly) {
|
|
8535
8535
|
var keys = Object.keys(object);
|
|
8536
8536
|
if (Object.getOwnPropertySymbols) {
|
|
8537
8537
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -8539,31 +8539,31 @@ function ownKeys$h(object, enumerableOnly) {
|
|
|
8539
8539
|
}
|
|
8540
8540
|
return keys;
|
|
8541
8541
|
}
|
|
8542
|
-
function _object_spread_props$
|
|
8542
|
+
function _object_spread_props$i(target, source) {
|
|
8543
8543
|
source = source != null ? source : {};
|
|
8544
8544
|
if (Object.getOwnPropertyDescriptors) {
|
|
8545
8545
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8546
8546
|
} else {
|
|
8547
|
-
ownKeys$
|
|
8547
|
+
ownKeys$i(Object(source)).forEach(function(key) {
|
|
8548
8548
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8549
8549
|
});
|
|
8550
8550
|
}
|
|
8551
8551
|
return target;
|
|
8552
8552
|
}
|
|
8553
|
-
function _to_consumable_array$
|
|
8554
|
-
return _array_without_holes$
|
|
8553
|
+
function _to_consumable_array$8(arr) {
|
|
8554
|
+
return _array_without_holes$8(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$c(arr) || _non_iterable_spread$8();
|
|
8555
8555
|
}
|
|
8556
8556
|
function _type_of$9(obj) {
|
|
8557
8557
|
"@swc/helpers - typeof";
|
|
8558
8558
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
8559
8559
|
}
|
|
8560
|
-
function _unsupported_iterable_to_array$
|
|
8560
|
+
function _unsupported_iterable_to_array$c(o, minLen) {
|
|
8561
8561
|
if (!o) return;
|
|
8562
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
8562
|
+
if (typeof o === "string") return _array_like_to_array$c(o, minLen);
|
|
8563
8563
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
8564
8564
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
8565
8565
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
8566
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
8566
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
|
|
8567
8567
|
}
|
|
8568
8568
|
/**
|
|
8569
8569
|
* Separator used in Firestore paths to separate collection and document IDs.
|
|
@@ -9009,7 +9009,7 @@ function firestoreModelIdentity(parentOrModelName, collectionNameOrModelName, in
|
|
|
9009
9009
|
* @returns
|
|
9010
9010
|
* @__NO_SIDE_EFFECTS__
|
|
9011
9011
|
*/ function firestoreModelKeyPartPairsKeyPath(input) {
|
|
9012
|
-
return firestoreModelKeyPath.apply(void 0, _to_consumable_array$
|
|
9012
|
+
return firestoreModelKeyPath.apply(void 0, _to_consumable_array$8(firestoreModelKeyPartPairsPaths(input)));
|
|
9013
9013
|
}
|
|
9014
9014
|
/**
|
|
9015
9015
|
* Maps the input FirestoreModelCollectionAndIdPair[] values to FirestoreModelKeyPart[] values.
|
|
@@ -9091,7 +9091,7 @@ var FIRESTORE_DUMMY_MODEL_KEY = 'dummymodel/dummykey';
|
|
|
9091
9091
|
var queryFactory = firestoreQueryFactory(config);
|
|
9092
9092
|
var queryDocument = firestoreCollectionQueryFactory(queryFactory, documentAccessorExtension).queryDocument;
|
|
9093
9093
|
var query = queryFactory.query;
|
|
9094
|
-
return _object_spread_props$
|
|
9094
|
+
return _object_spread_props$i(_object_spread$m({
|
|
9095
9095
|
config: config,
|
|
9096
9096
|
cache: cache,
|
|
9097
9097
|
modelIdentity: modelIdentity,
|
|
@@ -9130,7 +9130,7 @@ var FIRESTORE_DUMMY_MODEL_KEY = 'dummymodel/dummykey';
|
|
|
9130
9130
|
});
|
|
9131
9131
|
}
|
|
9132
9132
|
|
|
9133
|
-
function _define_property$
|
|
9133
|
+
function _define_property$r(obj, key, value) {
|
|
9134
9134
|
if (key in obj) {
|
|
9135
9135
|
Object.defineProperty(obj, key, {
|
|
9136
9136
|
value: value,
|
|
@@ -9143,7 +9143,7 @@ function _define_property$q(obj, key, value) {
|
|
|
9143
9143
|
}
|
|
9144
9144
|
return obj;
|
|
9145
9145
|
}
|
|
9146
|
-
function _object_spread$
|
|
9146
|
+
function _object_spread$l(target) {
|
|
9147
9147
|
for(var i = 1; i < arguments.length; i++){
|
|
9148
9148
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
9149
9149
|
var ownKeys = Object.keys(source);
|
|
@@ -9153,12 +9153,12 @@ function _object_spread$k(target) {
|
|
|
9153
9153
|
}));
|
|
9154
9154
|
}
|
|
9155
9155
|
ownKeys.forEach(function(key) {
|
|
9156
|
-
_define_property$
|
|
9156
|
+
_define_property$r(target, key, source[key]);
|
|
9157
9157
|
});
|
|
9158
9158
|
}
|
|
9159
9159
|
return target;
|
|
9160
9160
|
}
|
|
9161
|
-
function ownKeys$
|
|
9161
|
+
function ownKeys$h(object, enumerableOnly) {
|
|
9162
9162
|
var keys = Object.keys(object);
|
|
9163
9163
|
if (Object.getOwnPropertySymbols) {
|
|
9164
9164
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -9166,12 +9166,12 @@ function ownKeys$g(object, enumerableOnly) {
|
|
|
9166
9166
|
}
|
|
9167
9167
|
return keys;
|
|
9168
9168
|
}
|
|
9169
|
-
function _object_spread_props$
|
|
9169
|
+
function _object_spread_props$h(target, source) {
|
|
9170
9170
|
source = source != null ? source : {};
|
|
9171
9171
|
if (Object.getOwnPropertyDescriptors) {
|
|
9172
9172
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9173
9173
|
} else {
|
|
9174
|
-
ownKeys$
|
|
9174
|
+
ownKeys$h(Object(source)).forEach(function(key) {
|
|
9175
9175
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9176
9176
|
});
|
|
9177
9177
|
}
|
|
@@ -9218,7 +9218,7 @@ function _object_spread_props$g(target, source) {
|
|
|
9218
9218
|
var queryDocument = firestoreCollectionQueryFactory(queryFactory, documentAccessorExtension).queryDocument;
|
|
9219
9219
|
var query = queryFactory.query;
|
|
9220
9220
|
// Return the fully constructed collection group
|
|
9221
|
-
return _object_spread_props$
|
|
9221
|
+
return _object_spread_props$h(_object_spread$l({
|
|
9222
9222
|
config: config,
|
|
9223
9223
|
cache: cache,
|
|
9224
9224
|
queryLike: queryLike,
|
|
@@ -9304,7 +9304,7 @@ function _object_spread_props$g(target, source) {
|
|
|
9304
9304
|
});
|
|
9305
9305
|
}
|
|
9306
9306
|
|
|
9307
|
-
function _define_property$
|
|
9307
|
+
function _define_property$q(obj, key, value) {
|
|
9308
9308
|
if (key in obj) {
|
|
9309
9309
|
Object.defineProperty(obj, key, {
|
|
9310
9310
|
value: value,
|
|
@@ -9317,7 +9317,7 @@ function _define_property$p(obj, key, value) {
|
|
|
9317
9317
|
}
|
|
9318
9318
|
return obj;
|
|
9319
9319
|
}
|
|
9320
|
-
function _object_spread$
|
|
9320
|
+
function _object_spread$k(target) {
|
|
9321
9321
|
for(var i = 1; i < arguments.length; i++){
|
|
9322
9322
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
9323
9323
|
var ownKeys = Object.keys(source);
|
|
@@ -9327,12 +9327,12 @@ function _object_spread$j(target) {
|
|
|
9327
9327
|
}));
|
|
9328
9328
|
}
|
|
9329
9329
|
ownKeys.forEach(function(key) {
|
|
9330
|
-
_define_property$
|
|
9330
|
+
_define_property$q(target, key, source[key]);
|
|
9331
9331
|
});
|
|
9332
9332
|
}
|
|
9333
9333
|
return target;
|
|
9334
9334
|
}
|
|
9335
|
-
function ownKeys$
|
|
9335
|
+
function ownKeys$g(object, enumerableOnly) {
|
|
9336
9336
|
var keys = Object.keys(object);
|
|
9337
9337
|
if (Object.getOwnPropertySymbols) {
|
|
9338
9338
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -9340,12 +9340,12 @@ function ownKeys$f(object, enumerableOnly) {
|
|
|
9340
9340
|
}
|
|
9341
9341
|
return keys;
|
|
9342
9342
|
}
|
|
9343
|
-
function _object_spread_props$
|
|
9343
|
+
function _object_spread_props$g(target, source) {
|
|
9344
9344
|
source = source != null ? source : {};
|
|
9345
9345
|
if (Object.getOwnPropertyDescriptors) {
|
|
9346
9346
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9347
9347
|
} else {
|
|
9348
|
-
ownKeys$
|
|
9348
|
+
ownKeys$g(Object(source)).forEach(function(key) {
|
|
9349
9349
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9350
9350
|
});
|
|
9351
9351
|
}
|
|
@@ -9410,7 +9410,7 @@ function _object_spread_props$f(target, source) {
|
|
|
9410
9410
|
*/ function makePagedItemFirestoreCollection(config) {
|
|
9411
9411
|
var _config_converter;
|
|
9412
9412
|
var resolvedConverter = (_config_converter = config.converter) !== null && _config_converter !== void 0 ? _config_converter : defaultPagedItemPageDataConverter();
|
|
9413
|
-
var baseConfig = _object_spread_props$
|
|
9413
|
+
var baseConfig = _object_spread_props$g(_object_spread$k({}, config), {
|
|
9414
9414
|
converter: resolvedConverter
|
|
9415
9415
|
});
|
|
9416
9416
|
return build({
|
|
@@ -9426,15 +9426,15 @@ function _object_spread_props$f(target, source) {
|
|
|
9426
9426
|
});
|
|
9427
9427
|
}
|
|
9428
9428
|
|
|
9429
|
-
function _array_like_to_array$
|
|
9429
|
+
function _array_like_to_array$b(arr, len) {
|
|
9430
9430
|
if (len == null || len > arr.length) len = arr.length;
|
|
9431
9431
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
9432
9432
|
return arr2;
|
|
9433
9433
|
}
|
|
9434
|
-
function _array_without_holes$
|
|
9435
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
9434
|
+
function _array_without_holes$7(arr) {
|
|
9435
|
+
if (Array.isArray(arr)) return _array_like_to_array$b(arr);
|
|
9436
9436
|
}
|
|
9437
|
-
function _define_property$
|
|
9437
|
+
function _define_property$p(obj, key, value) {
|
|
9438
9438
|
if (key in obj) {
|
|
9439
9439
|
Object.defineProperty(obj, key, {
|
|
9440
9440
|
value: value,
|
|
@@ -9447,13 +9447,13 @@ function _define_property$o(obj, key, value) {
|
|
|
9447
9447
|
}
|
|
9448
9448
|
return obj;
|
|
9449
9449
|
}
|
|
9450
|
-
function _iterable_to_array$
|
|
9450
|
+
function _iterable_to_array$7(iter) {
|
|
9451
9451
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
9452
9452
|
}
|
|
9453
|
-
function _non_iterable_spread$
|
|
9453
|
+
function _non_iterable_spread$7() {
|
|
9454
9454
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
9455
9455
|
}
|
|
9456
|
-
function _object_spread$
|
|
9456
|
+
function _object_spread$j(target) {
|
|
9457
9457
|
for(var i = 1; i < arguments.length; i++){
|
|
9458
9458
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
9459
9459
|
var ownKeys = Object.keys(source);
|
|
@@ -9463,12 +9463,12 @@ function _object_spread$i(target) {
|
|
|
9463
9463
|
}));
|
|
9464
9464
|
}
|
|
9465
9465
|
ownKeys.forEach(function(key) {
|
|
9466
|
-
_define_property$
|
|
9466
|
+
_define_property$p(target, key, source[key]);
|
|
9467
9467
|
});
|
|
9468
9468
|
}
|
|
9469
9469
|
return target;
|
|
9470
9470
|
}
|
|
9471
|
-
function ownKeys$
|
|
9471
|
+
function ownKeys$f(object, enumerableOnly) {
|
|
9472
9472
|
var keys = Object.keys(object);
|
|
9473
9473
|
if (Object.getOwnPropertySymbols) {
|
|
9474
9474
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -9476,27 +9476,27 @@ function ownKeys$e(object, enumerableOnly) {
|
|
|
9476
9476
|
}
|
|
9477
9477
|
return keys;
|
|
9478
9478
|
}
|
|
9479
|
-
function _object_spread_props$
|
|
9479
|
+
function _object_spread_props$f(target, source) {
|
|
9480
9480
|
source = source != null ? source : {};
|
|
9481
9481
|
if (Object.getOwnPropertyDescriptors) {
|
|
9482
9482
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9483
9483
|
} else {
|
|
9484
|
-
ownKeys$
|
|
9484
|
+
ownKeys$f(Object(source)).forEach(function(key) {
|
|
9485
9485
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9486
9486
|
});
|
|
9487
9487
|
}
|
|
9488
9488
|
return target;
|
|
9489
9489
|
}
|
|
9490
|
-
function _to_consumable_array$
|
|
9491
|
-
return _array_without_holes$
|
|
9490
|
+
function _to_consumable_array$7(arr) {
|
|
9491
|
+
return _array_without_holes$7(arr) || _iterable_to_array$7(arr) || _unsupported_iterable_to_array$b(arr) || _non_iterable_spread$7();
|
|
9492
9492
|
}
|
|
9493
|
-
function _unsupported_iterable_to_array$
|
|
9493
|
+
function _unsupported_iterable_to_array$b(o, minLen) {
|
|
9494
9494
|
if (!o) return;
|
|
9495
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
9495
|
+
if (typeof o === "string") return _array_like_to_array$b(o, minLen);
|
|
9496
9496
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
9497
9497
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
9498
9498
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
9499
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
9499
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$b(o, minLen);
|
|
9500
9500
|
}
|
|
9501
9501
|
/**
|
|
9502
9502
|
* Creates a factory function for generating FirestoreContext instances.
|
|
@@ -9520,7 +9520,7 @@ function _unsupported_iterable_to_array$a(o, minLen) {
|
|
|
9520
9520
|
var makeFirestoreCollectionConfig = function makeFirestoreCollectionConfig(config) {
|
|
9521
9521
|
var collection = config.collection;
|
|
9522
9522
|
var queryLike = collection !== null && collection !== void 0 ? collection : config.queryLike;
|
|
9523
|
-
return _object_spread_props$
|
|
9523
|
+
return _object_spread_props$f(_object_spread$j({}, config), {
|
|
9524
9524
|
collection: config.converter ? collection === null || collection === void 0 ? void 0 : collection.withConverter(config.converter) : collection,
|
|
9525
9525
|
queryLike: config.converter ? queryLike.withConverter(config.converter) : queryLike,
|
|
9526
9526
|
firestoreContext: context,
|
|
@@ -9550,7 +9550,7 @@ function _unsupported_iterable_to_array$a(o, minLen) {
|
|
|
9550
9550
|
return (_drivers_firestoreAccessorDriver = drivers.firestoreAccessorDriver).collection.apply(_drivers_firestoreAccessorDriver, [
|
|
9551
9551
|
firestore,
|
|
9552
9552
|
path
|
|
9553
|
-
].concat(_to_consumable_array$
|
|
9553
|
+
].concat(_to_consumable_array$7(pathSegments)));
|
|
9554
9554
|
},
|
|
9555
9555
|
subcollection: drivers.firestoreAccessorDriver.subcollection,
|
|
9556
9556
|
runTransaction: drivers.firestoreAccessorDriver.transactionFactoryForFirestore(firestore),
|
|
@@ -9864,15 +9864,15 @@ function _ts_generator$d(thisArg, body) {
|
|
|
9864
9864
|
});
|
|
9865
9865
|
}
|
|
9866
9866
|
|
|
9867
|
-
function _array_like_to_array$
|
|
9867
|
+
function _array_like_to_array$a(arr, len) {
|
|
9868
9868
|
if (len == null || len > arr.length) len = arr.length;
|
|
9869
9869
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
9870
9870
|
return arr2;
|
|
9871
9871
|
}
|
|
9872
|
-
function _array_without_holes$
|
|
9873
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
9872
|
+
function _array_without_holes$6(arr) {
|
|
9873
|
+
if (Array.isArray(arr)) return _array_like_to_array$a(arr);
|
|
9874
9874
|
}
|
|
9875
|
-
function _define_property$
|
|
9875
|
+
function _define_property$o(obj, key, value) {
|
|
9876
9876
|
if (key in obj) {
|
|
9877
9877
|
Object.defineProperty(obj, key, {
|
|
9878
9878
|
value: value,
|
|
@@ -9885,13 +9885,13 @@ function _define_property$n(obj, key, value) {
|
|
|
9885
9885
|
}
|
|
9886
9886
|
return obj;
|
|
9887
9887
|
}
|
|
9888
|
-
function _iterable_to_array$
|
|
9888
|
+
function _iterable_to_array$6(iter) {
|
|
9889
9889
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
9890
9890
|
}
|
|
9891
|
-
function _non_iterable_spread$
|
|
9891
|
+
function _non_iterable_spread$6() {
|
|
9892
9892
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
9893
9893
|
}
|
|
9894
|
-
function _object_spread$
|
|
9894
|
+
function _object_spread$i(target) {
|
|
9895
9895
|
for(var i = 1; i < arguments.length; i++){
|
|
9896
9896
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
9897
9897
|
var ownKeys = Object.keys(source);
|
|
@@ -9901,21 +9901,21 @@ function _object_spread$h(target) {
|
|
|
9901
9901
|
}));
|
|
9902
9902
|
}
|
|
9903
9903
|
ownKeys.forEach(function(key) {
|
|
9904
|
-
_define_property$
|
|
9904
|
+
_define_property$o(target, key, source[key]);
|
|
9905
9905
|
});
|
|
9906
9906
|
}
|
|
9907
9907
|
return target;
|
|
9908
9908
|
}
|
|
9909
|
-
function _to_consumable_array$
|
|
9910
|
-
return _array_without_holes$
|
|
9909
|
+
function _to_consumable_array$6(arr) {
|
|
9910
|
+
return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$a(arr) || _non_iterable_spread$6();
|
|
9911
9911
|
}
|
|
9912
|
-
function _unsupported_iterable_to_array$
|
|
9912
|
+
function _unsupported_iterable_to_array$a(o, minLen) {
|
|
9913
9913
|
if (!o) return;
|
|
9914
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
9914
|
+
if (typeof o === "string") return _array_like_to_array$a(o, minLen);
|
|
9915
9915
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
9916
9916
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
9917
9917
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
9918
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
9918
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$a(o, minLen);
|
|
9919
9919
|
}
|
|
9920
9920
|
/**
|
|
9921
9921
|
* Converts a {@link FirestoreAccessorArrayUpdate} into Firestore `UpdateData` using the
|
|
@@ -9946,14 +9946,14 @@ function _unsupported_iterable_to_array$9(o, minLen) {
|
|
|
9946
9946
|
result = mapObjectMap(fieldUpdate, function(arrayUpdate) {
|
|
9947
9947
|
var result;
|
|
9948
9948
|
if (arrayUpdate) {
|
|
9949
|
-
result = arrayUpdateFunction.apply(void 0, _to_consumable_array$
|
|
9949
|
+
result = arrayUpdateFunction.apply(void 0, _to_consumable_array$6(arrayUpdate)); // use spread operator to insert each value as an argument, as "nested arrays" are not allowed in the Firestore
|
|
9950
9950
|
}
|
|
9951
9951
|
return result;
|
|
9952
9952
|
});
|
|
9953
9953
|
}
|
|
9954
9954
|
return result;
|
|
9955
9955
|
}
|
|
9956
|
-
var updateData = _object_spread$
|
|
9956
|
+
var updateData = _object_spread$i({}, createUpdatesWithArrayFunction(union, arrayUnion), createUpdatesWithArrayFunction(remove, arrayRemove));
|
|
9957
9957
|
return updateData;
|
|
9958
9958
|
}
|
|
9959
9959
|
|
|
@@ -9975,7 +9975,7 @@ function _create_class$9(Constructor, protoProps, staticProps) {
|
|
|
9975
9975
|
if (protoProps) _defineProperties$9(Constructor.prototype, protoProps);
|
|
9976
9976
|
return Constructor;
|
|
9977
9977
|
}
|
|
9978
|
-
function _define_property$
|
|
9978
|
+
function _define_property$n(obj, key, value) {
|
|
9979
9979
|
if (key in obj) {
|
|
9980
9980
|
Object.defineProperty(obj, key, {
|
|
9981
9981
|
value: value,
|
|
@@ -10000,7 +10000,7 @@ function _define_property$m(obj, key, value) {
|
|
|
10000
10000
|
*/ var DefaultFirestoreDocumentDataAccessor = /*#__PURE__*/ function() {
|
|
10001
10001
|
function DefaultFirestoreDocumentDataAccessor(documentRef) {
|
|
10002
10002
|
_class_call_check$g(this, DefaultFirestoreDocumentDataAccessor);
|
|
10003
|
-
_define_property$
|
|
10003
|
+
_define_property$n(this, "_documentRef", void 0);
|
|
10004
10004
|
this._documentRef = documentRef;
|
|
10005
10005
|
}
|
|
10006
10006
|
_create_class$9(DefaultFirestoreDocumentDataAccessor, [
|
|
@@ -10151,7 +10151,7 @@ function _create_class$8(Constructor, protoProps, staticProps) {
|
|
|
10151
10151
|
if (protoProps) _defineProperties$8(Constructor.prototype, protoProps);
|
|
10152
10152
|
return Constructor;
|
|
10153
10153
|
}
|
|
10154
|
-
function _define_property$
|
|
10154
|
+
function _define_property$m(obj, key, value) {
|
|
10155
10155
|
if (key in obj) {
|
|
10156
10156
|
Object.defineProperty(obj, key, {
|
|
10157
10157
|
value: value,
|
|
@@ -10222,7 +10222,7 @@ function _is_native_reflect_construct$7() {
|
|
|
10222
10222
|
var _this;
|
|
10223
10223
|
_this = _call_super$7(this, WriteBatchFirestoreDocumentDataAccessor, [
|
|
10224
10224
|
documentRef
|
|
10225
|
-
]), _define_property$
|
|
10225
|
+
]), _define_property$m(_this, "_batch", void 0);
|
|
10226
10226
|
_this._batch = batch;
|
|
10227
10227
|
return _this;
|
|
10228
10228
|
}
|
|
@@ -10292,9 +10292,9 @@ function _is_native_reflect_construct$7() {
|
|
|
10292
10292
|
*/ var WriteBatchFirestoreDocumentContext = /*#__PURE__*/ function() {
|
|
10293
10293
|
function WriteBatchFirestoreDocumentContext(batch) {
|
|
10294
10294
|
_class_call_check$f(this, WriteBatchFirestoreDocumentContext);
|
|
10295
|
-
_define_property$
|
|
10296
|
-
_define_property$
|
|
10297
|
-
_define_property$
|
|
10295
|
+
_define_property$m(this, "_batch", void 0);
|
|
10296
|
+
_define_property$m(this, "contextType", FirestoreDocumentContextType.BATCH);
|
|
10297
|
+
_define_property$m(this, "accessorFactory", void 0);
|
|
10298
10298
|
this._batch = batch;
|
|
10299
10299
|
this.accessorFactory = writeBatchAccessorFactory(batch);
|
|
10300
10300
|
}
|
|
@@ -10341,7 +10341,7 @@ function _create_class$7(Constructor, protoProps, staticProps) {
|
|
|
10341
10341
|
if (protoProps) _defineProperties$7(Constructor.prototype, protoProps);
|
|
10342
10342
|
return Constructor;
|
|
10343
10343
|
}
|
|
10344
|
-
function _define_property$
|
|
10344
|
+
function _define_property$l(obj, key, value) {
|
|
10345
10345
|
if (key in obj) {
|
|
10346
10346
|
Object.defineProperty(obj, key, {
|
|
10347
10347
|
value: value,
|
|
@@ -10364,8 +10364,8 @@ function _define_property$k(obj, key, value) {
|
|
|
10364
10364
|
*/ var TransactionFirestoreDocumentDataAccessor = /*#__PURE__*/ function() {
|
|
10365
10365
|
function TransactionFirestoreDocumentDataAccessor(transaction, documentRef) {
|
|
10366
10366
|
_class_call_check$e(this, TransactionFirestoreDocumentDataAccessor);
|
|
10367
|
-
_define_property$
|
|
10368
|
-
_define_property$
|
|
10367
|
+
_define_property$l(this, "_transaction", void 0);
|
|
10368
|
+
_define_property$l(this, "_documentRef", void 0);
|
|
10369
10369
|
this._transaction = transaction;
|
|
10370
10370
|
this._documentRef = documentRef;
|
|
10371
10371
|
}
|
|
@@ -10486,9 +10486,9 @@ function _define_property$k(obj, key, value) {
|
|
|
10486
10486
|
*/ var TransactionFirestoreDocumentContext = /*#__PURE__*/ function() {
|
|
10487
10487
|
function TransactionFirestoreDocumentContext(transaction) {
|
|
10488
10488
|
_class_call_check$e(this, TransactionFirestoreDocumentContext);
|
|
10489
|
-
_define_property$
|
|
10490
|
-
_define_property$
|
|
10491
|
-
_define_property$
|
|
10489
|
+
_define_property$l(this, "_transaction", void 0);
|
|
10490
|
+
_define_property$l(this, "contextType", FirestoreDocumentContextType.TRANSACTION);
|
|
10491
|
+
_define_property$l(this, "accessorFactory", void 0);
|
|
10492
10492
|
this._transaction = transaction;
|
|
10493
10493
|
this.accessorFactory = transactionAccessorFactory(transaction);
|
|
10494
10494
|
}
|
|
@@ -10693,15 +10693,15 @@ function _ts_generator$c(thisArg, body) {
|
|
|
10693
10693
|
};
|
|
10694
10694
|
}
|
|
10695
10695
|
|
|
10696
|
-
function _array_like_to_array$
|
|
10696
|
+
function _array_like_to_array$9(arr, len) {
|
|
10697
10697
|
if (len == null || len > arr.length) len = arr.length;
|
|
10698
10698
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
10699
10699
|
return arr2;
|
|
10700
10700
|
}
|
|
10701
|
-
function _array_without_holes$
|
|
10702
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
10701
|
+
function _array_without_holes$5(arr) {
|
|
10702
|
+
if (Array.isArray(arr)) return _array_like_to_array$9(arr);
|
|
10703
10703
|
}
|
|
10704
|
-
function _define_property$
|
|
10704
|
+
function _define_property$k(obj, key, value) {
|
|
10705
10705
|
if (key in obj) {
|
|
10706
10706
|
Object.defineProperty(obj, key, {
|
|
10707
10707
|
value: value,
|
|
@@ -10714,13 +10714,13 @@ function _define_property$j(obj, key, value) {
|
|
|
10714
10714
|
}
|
|
10715
10715
|
return obj;
|
|
10716
10716
|
}
|
|
10717
|
-
function _iterable_to_array$
|
|
10717
|
+
function _iterable_to_array$5(iter) {
|
|
10718
10718
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
10719
10719
|
}
|
|
10720
|
-
function _non_iterable_spread$
|
|
10720
|
+
function _non_iterable_spread$5() {
|
|
10721
10721
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10722
10722
|
}
|
|
10723
|
-
function _object_spread$
|
|
10723
|
+
function _object_spread$h(target) {
|
|
10724
10724
|
for(var i = 1; i < arguments.length; i++){
|
|
10725
10725
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
10726
10726
|
var ownKeys = Object.keys(source);
|
|
@@ -10730,12 +10730,12 @@ function _object_spread$g(target) {
|
|
|
10730
10730
|
}));
|
|
10731
10731
|
}
|
|
10732
10732
|
ownKeys.forEach(function(key) {
|
|
10733
|
-
_define_property$
|
|
10733
|
+
_define_property$k(target, key, source[key]);
|
|
10734
10734
|
});
|
|
10735
10735
|
}
|
|
10736
10736
|
return target;
|
|
10737
10737
|
}
|
|
10738
|
-
function ownKeys$
|
|
10738
|
+
function ownKeys$e(object, enumerableOnly) {
|
|
10739
10739
|
var keys = Object.keys(object);
|
|
10740
10740
|
if (Object.getOwnPropertySymbols) {
|
|
10741
10741
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -10743,27 +10743,27 @@ function ownKeys$d(object, enumerableOnly) {
|
|
|
10743
10743
|
}
|
|
10744
10744
|
return keys;
|
|
10745
10745
|
}
|
|
10746
|
-
function _object_spread_props$
|
|
10746
|
+
function _object_spread_props$e(target, source) {
|
|
10747
10747
|
source = source != null ? source : {};
|
|
10748
10748
|
if (Object.getOwnPropertyDescriptors) {
|
|
10749
10749
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
10750
10750
|
} else {
|
|
10751
|
-
ownKeys$
|
|
10751
|
+
ownKeys$e(Object(source)).forEach(function(key) {
|
|
10752
10752
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
10753
10753
|
});
|
|
10754
10754
|
}
|
|
10755
10755
|
return target;
|
|
10756
10756
|
}
|
|
10757
|
-
function _to_consumable_array$
|
|
10758
|
-
return _array_without_holes$
|
|
10757
|
+
function _to_consumable_array$5(arr) {
|
|
10758
|
+
return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$9(arr) || _non_iterable_spread$5();
|
|
10759
10759
|
}
|
|
10760
|
-
function _unsupported_iterable_to_array$
|
|
10760
|
+
function _unsupported_iterable_to_array$9(o, minLen) {
|
|
10761
10761
|
if (!o) return;
|
|
10762
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
10762
|
+
if (typeof o === "string") return _array_like_to_array$9(o, minLen);
|
|
10763
10763
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10764
10764
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10765
10765
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10766
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
10766
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$9(o, minLen);
|
|
10767
10767
|
}
|
|
10768
10768
|
/**
|
|
10769
10769
|
* Appends one or more `QueryConstraint` values to the builder, returning a new builder instance.
|
|
@@ -10774,41 +10774,41 @@ function _unsupported_iterable_to_array$8(o, minLen) {
|
|
|
10774
10774
|
*/ function addConstraintToBuilder(builder, constraint) {
|
|
10775
10775
|
return {
|
|
10776
10776
|
query: builder.query,
|
|
10777
|
-
constraints: _to_consumable_array$
|
|
10777
|
+
constraints: _to_consumable_array$5(builder.constraints).concat(_to_consumable_array$5(Array.isArray(constraint) ? constraint : [
|
|
10778
10778
|
constraint
|
|
10779
10779
|
]))
|
|
10780
10780
|
};
|
|
10781
10781
|
}
|
|
10782
|
-
var _obj;
|
|
10782
|
+
var _obj$1;
|
|
10783
10783
|
/**
|
|
10784
10784
|
* Maps each abstract {@link FirestoreQueryConstraintType} to its client-side `firebase/firestore`
|
|
10785
10785
|
* implementation. The `FIRESTORE_OFFSET_QUERY_CONSTRAINT_TYPE` is `undefined` because Firestore
|
|
10786
10786
|
* client SDK does not support offset-based pagination (server-only feature).
|
|
10787
|
-
*/ var FIRESTORE_CLIENT_QUERY_CONSTRAINT_HANDLER_MAPPING = (_obj = {}, _define_property$
|
|
10787
|
+
*/ var FIRESTORE_CLIENT_QUERY_CONSTRAINT_HANDLER_MAPPING = (_obj$1 = {}, _define_property$k(_obj$1, FIRESTORE_LIMIT_QUERY_CONSTRAINT_TYPE, function(builder, data) {
|
|
10788
10788
|
return addConstraintToBuilder(builder, limit$1(data.limit));
|
|
10789
|
-
}), _define_property$
|
|
10789
|
+
}), _define_property$k(_obj$1, FIRESTORE_LIMIT_TO_LAST_QUERY_CONSTRAINT_TYPE, function(builder, data) {
|
|
10790
10790
|
return addConstraintToBuilder(builder, limitToLast$1(data.limit));
|
|
10791
|
-
}), _define_property$
|
|
10791
|
+
}), _define_property$k(_obj$1, FIRESTORE_ORDER_BY_QUERY_CONSTRAINT_TYPE, function(builder, data) {
|
|
10792
10792
|
return addConstraintToBuilder(builder, orderBy$1(data.fieldPath, data.directionStr));
|
|
10793
|
-
}), _define_property$
|
|
10793
|
+
}), _define_property$k(_obj$1, FIRESTORE_ORDER_BY_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, function(builder, data) {
|
|
10794
10794
|
return addConstraintToBuilder(builder, orderBy$1(documentId(), data.directionStr));
|
|
10795
|
-
}), _define_property$
|
|
10795
|
+
}), _define_property$k(_obj$1, FIRESTORE_WHERE_QUERY_CONSTRAINT_TYPE, function(builder, data) {
|
|
10796
10796
|
return addConstraintToBuilder(builder, where$1(data.fieldPath, data.opStr, data.value));
|
|
10797
|
-
}), _define_property$
|
|
10797
|
+
}), _define_property$k(_obj$1, FIRESTORE_WHERE_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, function(builder, data) {
|
|
10798
10798
|
return addConstraintToBuilder(builder, where$1(documentId(), data.opStr, data.value));
|
|
10799
|
-
}), _define_property$
|
|
10799
|
+
}), _define_property$k(_obj$1, FIRESTORE_OFFSET_QUERY_CONSTRAINT_TYPE, undefined), _define_property$k(_obj$1, FIRESTORE_START_AT_QUERY_CONSTRAINT_TYPE, function(builder, data) {
|
|
10800
10800
|
return addConstraintToBuilder(builder, startAt$1(data.snapshot));
|
|
10801
|
-
}), _define_property$
|
|
10802
|
-
return addConstraintToBuilder(builder, startAt$1.apply(void 0, _to_consumable_array$
|
|
10803
|
-
}), _define_property$
|
|
10801
|
+
}), _define_property$k(_obj$1, FIRESTORE_START_AT_VALUE_QUERY_CONSTRAINT_TYPE, function(builder, data) {
|
|
10802
|
+
return addConstraintToBuilder(builder, startAt$1.apply(void 0, _to_consumable_array$5(data.fieldValues)));
|
|
10803
|
+
}), _define_property$k(_obj$1, FIRESTORE_START_AFTER_QUERY_CONSTRAINT_TYPE, function(builder, data) {
|
|
10804
10804
|
return addConstraintToBuilder(builder, startAfter$1(data.snapshot));
|
|
10805
|
-
}), _define_property$
|
|
10805
|
+
}), _define_property$k(_obj$1, FIRESTORE_END_AT_QUERY_CONSTRAINT_TYPE, function(builder, data) {
|
|
10806
10806
|
return addConstraintToBuilder(builder, endAt$1(data.snapshot));
|
|
10807
|
-
}), _define_property$
|
|
10808
|
-
return addConstraintToBuilder(builder, endAt$1.apply(void 0, _to_consumable_array$
|
|
10809
|
-
}), _define_property$
|
|
10807
|
+
}), _define_property$k(_obj$1, FIRESTORE_END_AT_VALUE_QUERY_CONSTRAINT_TYPE, function(builder, data) {
|
|
10808
|
+
return addConstraintToBuilder(builder, endAt$1.apply(void 0, _to_consumable_array$5(data.fieldValues)));
|
|
10809
|
+
}), _define_property$k(_obj$1, FIRESTORE_END_BEFORE_QUERY_CONSTRAINT_TYPE, function(builder, data) {
|
|
10810
10810
|
return addConstraintToBuilder(builder, endBefore$1(data.snapshot));
|
|
10811
|
-
}), _obj);
|
|
10811
|
+
}), _obj$1);
|
|
10812
10812
|
/**
|
|
10813
10813
|
* Creates a {@link FirestoreQueryConstraintFunctionsDriver} for the client `firebase/firestore` SDK.
|
|
10814
10814
|
*
|
|
@@ -10829,7 +10829,7 @@ var _obj;
|
|
|
10829
10829
|
var initialQuery = param.query, constraints = param.constraints;
|
|
10830
10830
|
return query.apply(void 0, [
|
|
10831
10831
|
initialQuery
|
|
10832
|
-
].concat(_to_consumable_array$
|
|
10832
|
+
].concat(_to_consumable_array$5(constraints)));
|
|
10833
10833
|
},
|
|
10834
10834
|
documentIdFieldPath: function documentIdFieldPath() {
|
|
10835
10835
|
return documentId();
|
|
@@ -10851,7 +10851,7 @@ var _obj;
|
|
|
10851
10851
|
* // Used internally by firebaseFirestoreClientDrivers()
|
|
10852
10852
|
* ```
|
|
10853
10853
|
*/ function firebaseFirestoreQueryDriver() {
|
|
10854
|
-
return _object_spread_props$
|
|
10854
|
+
return _object_spread_props$e(_object_spread$h({}, firebaseFirestoreQueryConstraintFunctionsDriver()), {
|
|
10855
10855
|
countDocs: function countDocs(query) {
|
|
10856
10856
|
return getCountFromServer(query).then(function(x) {
|
|
10857
10857
|
return x.data().count;
|
|
@@ -10947,7 +10947,7 @@ function _create_class$6(Constructor, protoProps, staticProps) {
|
|
|
10947
10947
|
if (staticProps) _defineProperties$6(Constructor, staticProps);
|
|
10948
10948
|
return Constructor;
|
|
10949
10949
|
}
|
|
10950
|
-
function _define_property$
|
|
10950
|
+
function _define_property$j(obj, key, value) {
|
|
10951
10951
|
if (key in obj) {
|
|
10952
10952
|
Object.defineProperty(obj, key, {
|
|
10953
10953
|
value: value,
|
|
@@ -10979,7 +10979,7 @@ function _inherits$6(subClass, superClass) {
|
|
|
10979
10979
|
});
|
|
10980
10980
|
if (superClass) _set_prototype_of$6(subClass, superClass);
|
|
10981
10981
|
}
|
|
10982
|
-
function _object_spread$
|
|
10982
|
+
function _object_spread$g(target) {
|
|
10983
10983
|
for(var i = 1; i < arguments.length; i++){
|
|
10984
10984
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
10985
10985
|
var ownKeys = Object.keys(source);
|
|
@@ -10989,7 +10989,7 @@ function _object_spread$f(target) {
|
|
|
10989
10989
|
}));
|
|
10990
10990
|
}
|
|
10991
10991
|
ownKeys.forEach(function(key) {
|
|
10992
|
-
_define_property$
|
|
10992
|
+
_define_property$j(target, key, source[key]);
|
|
10993
10993
|
});
|
|
10994
10994
|
}
|
|
10995
10995
|
return target;
|
|
@@ -11052,7 +11052,7 @@ function _is_native_reflect_construct$6() {
|
|
|
11052
11052
|
var _this;
|
|
11053
11053
|
_this = _call_super$6(this, FirebaseServerError, [
|
|
11054
11054
|
serverError
|
|
11055
|
-
]), _define_property$
|
|
11055
|
+
]), _define_property$j(_this, "firebaseError", void 0);
|
|
11056
11056
|
_this.firebaseError = firebaseError;
|
|
11057
11057
|
return _this;
|
|
11058
11058
|
}
|
|
@@ -11074,7 +11074,7 @@ function _is_native_reflect_construct$6() {
|
|
|
11074
11074
|
* @returns A new {@link FirebaseServerError} wrapping the given Firebase error with structured server error details.
|
|
11075
11075
|
*/ function fromFirebaseError(error) {
|
|
11076
11076
|
var details = error.details;
|
|
11077
|
-
details = _object_spread$
|
|
11077
|
+
details = _object_spread$g({
|
|
11078
11078
|
status: 0,
|
|
11079
11079
|
message: error.message || error.name,
|
|
11080
11080
|
code: error.code
|
|
@@ -11116,7 +11116,7 @@ function _async_to_generator$b(fn) {
|
|
|
11116
11116
|
});
|
|
11117
11117
|
};
|
|
11118
11118
|
}
|
|
11119
|
-
function _define_property$
|
|
11119
|
+
function _define_property$i(obj, key, value) {
|
|
11120
11120
|
if (key in obj) {
|
|
11121
11121
|
Object.defineProperty(obj, key, {
|
|
11122
11122
|
value: value,
|
|
@@ -11129,7 +11129,7 @@ function _define_property$h(obj, key, value) {
|
|
|
11129
11129
|
}
|
|
11130
11130
|
return obj;
|
|
11131
11131
|
}
|
|
11132
|
-
function _object_spread$
|
|
11132
|
+
function _object_spread$f(target) {
|
|
11133
11133
|
for(var i = 1; i < arguments.length; i++){
|
|
11134
11134
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
11135
11135
|
var ownKeys = Object.keys(source);
|
|
@@ -11139,12 +11139,12 @@ function _object_spread$e(target) {
|
|
|
11139
11139
|
}));
|
|
11140
11140
|
}
|
|
11141
11141
|
ownKeys.forEach(function(key) {
|
|
11142
|
-
_define_property$
|
|
11142
|
+
_define_property$i(target, key, source[key]);
|
|
11143
11143
|
});
|
|
11144
11144
|
}
|
|
11145
11145
|
return target;
|
|
11146
11146
|
}
|
|
11147
|
-
function ownKeys$
|
|
11147
|
+
function ownKeys$d(object, enumerableOnly) {
|
|
11148
11148
|
var keys = Object.keys(object);
|
|
11149
11149
|
if (Object.getOwnPropertySymbols) {
|
|
11150
11150
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -11152,12 +11152,12 @@ function ownKeys$c(object, enumerableOnly) {
|
|
|
11152
11152
|
}
|
|
11153
11153
|
return keys;
|
|
11154
11154
|
}
|
|
11155
|
-
function _object_spread_props$
|
|
11155
|
+
function _object_spread_props$d(target, source) {
|
|
11156
11156
|
source = source != null ? source : {};
|
|
11157
11157
|
if (Object.getOwnPropertyDescriptors) {
|
|
11158
11158
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
11159
11159
|
} else {
|
|
11160
|
-
ownKeys$
|
|
11160
|
+
ownKeys$d(Object(source)).forEach(function(key) {
|
|
11161
11161
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
11162
11162
|
});
|
|
11163
11163
|
}
|
|
@@ -11308,7 +11308,7 @@ function mapHttpsCallable(callable, wrap) {
|
|
|
11308
11308
|
mappedResultData = _state.sent();
|
|
11309
11309
|
return [
|
|
11310
11310
|
2,
|
|
11311
|
-
directData ? mappedResultData : _object_spread_props$
|
|
11311
|
+
directData ? mappedResultData : _object_spread_props$d(_object_spread$f({}, result), {
|
|
11312
11312
|
data: mappedResultData
|
|
11313
11313
|
})
|
|
11314
11314
|
];
|
|
@@ -11551,7 +11551,7 @@ function onCallTypedModelParams(modelTypeInput, data, specifier, call) {
|
|
|
11551
11551
|
return onCallTypedModelParamsFunction(call)(modelTypeInput, data, specifier);
|
|
11552
11552
|
}
|
|
11553
11553
|
|
|
11554
|
-
function _array_like_to_array$
|
|
11554
|
+
function _array_like_to_array$8(arr, len) {
|
|
11555
11555
|
if (len == null || len > arr.length) len = arr.length;
|
|
11556
11556
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
11557
11557
|
return arr2;
|
|
@@ -11587,15 +11587,15 @@ function _non_iterable_rest$3() {
|
|
|
11587
11587
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
11588
11588
|
}
|
|
11589
11589
|
function _sliced_to_array$3(arr, i) {
|
|
11590
|
-
return _array_with_holes$3(arr) || _iterable_to_array_limit$3(arr, i) || _unsupported_iterable_to_array$
|
|
11590
|
+
return _array_with_holes$3(arr) || _iterable_to_array_limit$3(arr, i) || _unsupported_iterable_to_array$8(arr, i) || _non_iterable_rest$3();
|
|
11591
11591
|
}
|
|
11592
|
-
function _unsupported_iterable_to_array$
|
|
11592
|
+
function _unsupported_iterable_to_array$8(o, minLen) {
|
|
11593
11593
|
if (!o) return;
|
|
11594
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
11594
|
+
if (typeof o === "string") return _array_like_to_array$8(o, minLen);
|
|
11595
11595
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
11596
11596
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
11597
11597
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
11598
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
11598
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$8(o, minLen);
|
|
11599
11599
|
}
|
|
11600
11600
|
/**
|
|
11601
11601
|
* Default specifier string (`'_'`) used when a CRUD operation has specifiers but one
|
|
@@ -12432,7 +12432,7 @@ var OFFLINE_ACCESS_OIDC_SCOPE_DETAILS = {
|
|
|
12432
12432
|
return result;
|
|
12433
12433
|
}
|
|
12434
12434
|
|
|
12435
|
-
function _array_like_to_array$
|
|
12435
|
+
function _array_like_to_array$7(arr, len) {
|
|
12436
12436
|
if (len == null || len > arr.length) len = arr.length;
|
|
12437
12437
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
12438
12438
|
return arr2;
|
|
@@ -12468,15 +12468,15 @@ function _non_iterable_rest$2() {
|
|
|
12468
12468
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
12469
12469
|
}
|
|
12470
12470
|
function _sliced_to_array$2(arr, i) {
|
|
12471
|
-
return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$
|
|
12471
|
+
return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$7(arr, i) || _non_iterable_rest$2();
|
|
12472
12472
|
}
|
|
12473
|
-
function _unsupported_iterable_to_array$
|
|
12473
|
+
function _unsupported_iterable_to_array$7(o, minLen) {
|
|
12474
12474
|
if (!o) return;
|
|
12475
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
12475
|
+
if (typeof o === "string") return _array_like_to_array$7(o, minLen);
|
|
12476
12476
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
12477
12477
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
12478
12478
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
12479
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
12479
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$7(o, minLen);
|
|
12480
12480
|
}
|
|
12481
12481
|
/**
|
|
12482
12482
|
* Minimum password length enforced by Firebase Authentication.
|
|
@@ -12709,7 +12709,7 @@ function _class_call_check$b(instance, Constructor) {
|
|
|
12709
12709
|
throw new TypeError("Cannot call a class as a function");
|
|
12710
12710
|
}
|
|
12711
12711
|
}
|
|
12712
|
-
function _define_property$
|
|
12712
|
+
function _define_property$h(obj, key, value) {
|
|
12713
12713
|
if (key in obj) {
|
|
12714
12714
|
Object.defineProperty(obj, key, {
|
|
12715
12715
|
value: value,
|
|
@@ -12739,7 +12739,7 @@ function _define_property$g(obj, key, value) {
|
|
|
12739
12739
|
* Entry in the list of available scheduled functions returned by the development endpoint.
|
|
12740
12740
|
*/ var ScheduledFunctionDevelopmentFirebaseFunctionListEntry = function ScheduledFunctionDevelopmentFirebaseFunctionListEntry() {
|
|
12741
12741
|
_class_call_check$b(this, ScheduledFunctionDevelopmentFirebaseFunctionListEntry);
|
|
12742
|
-
_define_property$
|
|
12742
|
+
_define_property$h(this, "name", void 0);
|
|
12743
12743
|
};
|
|
12744
12744
|
/**
|
|
12745
12745
|
* Development function specifier used to route requests to the scheduled function endpoint.
|
|
@@ -12904,7 +12904,7 @@ function _create_class$5(Constructor, protoProps, staticProps) {
|
|
|
12904
12904
|
if (protoProps) _defineProperties$5(Constructor.prototype, protoProps);
|
|
12905
12905
|
return Constructor;
|
|
12906
12906
|
}
|
|
12907
|
-
function _define_property$
|
|
12907
|
+
function _define_property$g(obj, key, value) {
|
|
12908
12908
|
if (key in obj) {
|
|
12909
12909
|
Object.defineProperty(obj, key, {
|
|
12910
12910
|
value: value,
|
|
@@ -13072,7 +13072,7 @@ function _ts_generator$a(thisArg, body) {
|
|
|
13072
13072
|
var _this;
|
|
13073
13073
|
_this = _call_super$5(this, FirebaseModelPermissionServiceInstance, [
|
|
13074
13074
|
delegate
|
|
13075
|
-
]), _define_property$
|
|
13075
|
+
]), _define_property$g(_this, "_delegate", void 0);
|
|
13076
13076
|
_this._delegate = delegate;
|
|
13077
13077
|
return _this;
|
|
13078
13078
|
}
|
|
@@ -13157,7 +13157,7 @@ function _create_class$4(Constructor, protoProps, staticProps) {
|
|
|
13157
13157
|
if (protoProps) _defineProperties$4(Constructor.prototype, protoProps);
|
|
13158
13158
|
return Constructor;
|
|
13159
13159
|
}
|
|
13160
|
-
function _define_property$
|
|
13160
|
+
function _define_property$f(obj, key, value) {
|
|
13161
13161
|
if (key in obj) {
|
|
13162
13162
|
Object.defineProperty(obj, key, {
|
|
13163
13163
|
value: value,
|
|
@@ -13178,8 +13178,8 @@ function _define_property$e(obj, key, value) {
|
|
|
13178
13178
|
*/ var ContextGrantedModelRolesReaderInstance = /*#__PURE__*/ function() {
|
|
13179
13179
|
function ContextGrantedModelRolesReaderInstance(contextGrantedModelRoles) {
|
|
13180
13180
|
_class_call_check$9(this, ContextGrantedModelRolesReaderInstance);
|
|
13181
|
-
_define_property$
|
|
13182
|
-
_define_property$
|
|
13181
|
+
_define_property$f(this, "_contextGrantedModelRoles", void 0);
|
|
13182
|
+
_define_property$f(this, "_roleReader", void 0);
|
|
13183
13183
|
this._contextGrantedModelRoles = contextGrantedModelRoles;
|
|
13184
13184
|
this._roleReader = grantedRoleMapReader(contextGrantedModelRoles.roleMap);
|
|
13185
13185
|
}
|
|
@@ -13701,7 +13701,7 @@ function _ts_generator$9(thisArg, body) {
|
|
|
13701
13701
|
* Error code for an invalid or inaccessible cursor document key in a query request.
|
|
13702
13702
|
*/ var BAD_DOCUMENT_QUERY_CURSOR_ERROR_CODE = 'BAD_DOCUMENT_QUERY_CURSOR';
|
|
13703
13703
|
|
|
13704
|
-
function _define_property$
|
|
13704
|
+
function _define_property$e(obj, key, value) {
|
|
13705
13705
|
if (key in obj) {
|
|
13706
13706
|
Object.defineProperty(obj, key, {
|
|
13707
13707
|
value: value,
|
|
@@ -13714,7 +13714,7 @@ function _define_property$d(obj, key, value) {
|
|
|
13714
13714
|
}
|
|
13715
13715
|
return obj;
|
|
13716
13716
|
}
|
|
13717
|
-
function _object_spread$
|
|
13717
|
+
function _object_spread$e(target) {
|
|
13718
13718
|
for(var i = 1; i < arguments.length; i++){
|
|
13719
13719
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
13720
13720
|
var ownKeys = Object.keys(source);
|
|
@@ -13724,12 +13724,12 @@ function _object_spread$d(target) {
|
|
|
13724
13724
|
}));
|
|
13725
13725
|
}
|
|
13726
13726
|
ownKeys.forEach(function(key) {
|
|
13727
|
-
_define_property$
|
|
13727
|
+
_define_property$e(target, key, source[key]);
|
|
13728
13728
|
});
|
|
13729
13729
|
}
|
|
13730
13730
|
return target;
|
|
13731
13731
|
}
|
|
13732
|
-
function ownKeys$
|
|
13732
|
+
function ownKeys$c(object, enumerableOnly) {
|
|
13733
13733
|
var keys = Object.keys(object);
|
|
13734
13734
|
if (Object.getOwnPropertySymbols) {
|
|
13735
13735
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -13737,12 +13737,12 @@ function ownKeys$b(object, enumerableOnly) {
|
|
|
13737
13737
|
}
|
|
13738
13738
|
return keys;
|
|
13739
13739
|
}
|
|
13740
|
-
function _object_spread_props$
|
|
13740
|
+
function _object_spread_props$c(target, source) {
|
|
13741
13741
|
source = source != null ? source : {};
|
|
13742
13742
|
if (Object.getOwnPropertyDescriptors) {
|
|
13743
13743
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
13744
13744
|
} else {
|
|
13745
|
-
ownKeys$
|
|
13745
|
+
ownKeys$c(Object(source)).forEach(function(key) {
|
|
13746
13746
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
13747
13747
|
});
|
|
13748
13748
|
}
|
|
@@ -13881,7 +13881,7 @@ function _object_spread_props$b(target, source) {
|
|
|
13881
13881
|
*/ function firebaseModelsService(services) {
|
|
13882
13882
|
var firebaseModelsServiceFunction = function firebaseModelsServiceFunction1(type, context) {
|
|
13883
13883
|
var firebaseModelService = services[type];
|
|
13884
|
-
var contextWithService = _object_spread_props$
|
|
13884
|
+
var contextWithService = _object_spread_props$c(_object_spread$e({}, context), {
|
|
13885
13885
|
service: firebaseModelsServiceFunction
|
|
13886
13886
|
});
|
|
13887
13887
|
var service = inContextFirebaseModelServiceFactory(firebaseModelService)(contextWithService);
|
|
@@ -14034,7 +14034,7 @@ function _async_to_generator$8(fn) {
|
|
|
14034
14034
|
});
|
|
14035
14035
|
};
|
|
14036
14036
|
}
|
|
14037
|
-
function _define_property$
|
|
14037
|
+
function _define_property$d(obj, key, value) {
|
|
14038
14038
|
if (key in obj) {
|
|
14039
14039
|
Object.defineProperty(obj, key, {
|
|
14040
14040
|
value: value,
|
|
@@ -14047,7 +14047,7 @@ function _define_property$c(obj, key, value) {
|
|
|
14047
14047
|
}
|
|
14048
14048
|
return obj;
|
|
14049
14049
|
}
|
|
14050
|
-
function _object_spread$
|
|
14050
|
+
function _object_spread$d(target) {
|
|
14051
14051
|
for(var i = 1; i < arguments.length; i++){
|
|
14052
14052
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
14053
14053
|
var ownKeys = Object.keys(source);
|
|
@@ -14057,12 +14057,12 @@ function _object_spread$c(target) {
|
|
|
14057
14057
|
}));
|
|
14058
14058
|
}
|
|
14059
14059
|
ownKeys.forEach(function(key) {
|
|
14060
|
-
_define_property$
|
|
14060
|
+
_define_property$d(target, key, source[key]);
|
|
14061
14061
|
});
|
|
14062
14062
|
}
|
|
14063
14063
|
return target;
|
|
14064
14064
|
}
|
|
14065
|
-
function ownKeys$
|
|
14065
|
+
function ownKeys$b(object, enumerableOnly) {
|
|
14066
14066
|
var keys = Object.keys(object);
|
|
14067
14067
|
if (Object.getOwnPropertySymbols) {
|
|
14068
14068
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -14070,12 +14070,12 @@ function ownKeys$a(object, enumerableOnly) {
|
|
|
14070
14070
|
}
|
|
14071
14071
|
return keys;
|
|
14072
14072
|
}
|
|
14073
|
-
function _object_spread_props$
|
|
14073
|
+
function _object_spread_props$b(target, source) {
|
|
14074
14074
|
source = source != null ? source : {};
|
|
14075
14075
|
if (Object.getOwnPropertyDescriptors) {
|
|
14076
14076
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
14077
14077
|
} else {
|
|
14078
|
-
ownKeys$
|
|
14078
|
+
ownKeys$b(Object(source)).forEach(function(key) {
|
|
14079
14079
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
14080
14080
|
});
|
|
14081
14081
|
}
|
|
@@ -14224,7 +14224,7 @@ function _ts_generator$8(thisArg, body) {
|
|
|
14224
14224
|
},
|
|
14225
14225
|
buildInputForNextPage: function buildInputForNextPage(pageResult, input, _options) {
|
|
14226
14226
|
var _pageResult_nextPageCursor;
|
|
14227
|
-
return _object_spread_props$
|
|
14227
|
+
return _object_spread_props$b(_object_spread$d({}, input), {
|
|
14228
14228
|
pageToken: (_pageResult_nextPageCursor = pageResult.nextPageCursor) !== null && _pageResult_nextPageCursor !== void 0 ? _pageResult_nextPageCursor : undefined
|
|
14229
14229
|
});
|
|
14230
14230
|
}
|
|
@@ -14239,7 +14239,7 @@ function _ts_generator$8(thisArg, body) {
|
|
|
14239
14239
|
* @returns The result of the paginated per-item iteration.
|
|
14240
14240
|
*/ function iterateStorageListFilesByEachFile(input) {
|
|
14241
14241
|
var folder = input.folder, includeNestedResults = input.includeNestedResults, pageToken = input.pageToken;
|
|
14242
|
-
return iterateFetchPagesByEachItem(_object_spread_props$
|
|
14242
|
+
return iterateFetchPagesByEachItem(_object_spread_props$b(_object_spread$d({}, input), {
|
|
14243
14243
|
input: {
|
|
14244
14244
|
folder: folder,
|
|
14245
14245
|
includeNestedResults: includeNestedResults,
|
|
@@ -14257,7 +14257,7 @@ function _ts_generator$8(thisArg, body) {
|
|
|
14257
14257
|
* @returns The result of the paginated page-level iteration.
|
|
14258
14258
|
*/ function iterateStorageListFiles(input) {
|
|
14259
14259
|
var folder = input.folder, includeNestedResults = input.includeNestedResults, pageToken = input.pageToken;
|
|
14260
|
-
return iterateFetchPages(_object_spread_props$
|
|
14260
|
+
return iterateFetchPages(_object_spread_props$b(_object_spread$d({}, input), {
|
|
14261
14261
|
input: {
|
|
14262
14262
|
folder: folder,
|
|
14263
14263
|
includeNestedResults: includeNestedResults,
|
|
@@ -14652,13 +14652,13 @@ function _ts_generator$7(thisArg, body) {
|
|
|
14652
14652
|
};
|
|
14653
14653
|
}
|
|
14654
14654
|
|
|
14655
|
-
function _array_like_to_array$
|
|
14655
|
+
function _array_like_to_array$6(arr, len) {
|
|
14656
14656
|
if (len == null || len > arr.length) len = arr.length;
|
|
14657
14657
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
14658
14658
|
return arr2;
|
|
14659
14659
|
}
|
|
14660
|
-
function _array_without_holes$
|
|
14661
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
14660
|
+
function _array_without_holes$4(arr) {
|
|
14661
|
+
if (Array.isArray(arr)) return _array_like_to_array$6(arr);
|
|
14662
14662
|
}
|
|
14663
14663
|
function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
|
|
14664
14664
|
try {
|
|
@@ -14689,7 +14689,7 @@ function _async_to_generator$6(fn) {
|
|
|
14689
14689
|
});
|
|
14690
14690
|
};
|
|
14691
14691
|
}
|
|
14692
|
-
function _define_property$
|
|
14692
|
+
function _define_property$c(obj, key, value) {
|
|
14693
14693
|
if (key in obj) {
|
|
14694
14694
|
Object.defineProperty(obj, key, {
|
|
14695
14695
|
value: value,
|
|
@@ -14702,13 +14702,13 @@ function _define_property$b(obj, key, value) {
|
|
|
14702
14702
|
}
|
|
14703
14703
|
return obj;
|
|
14704
14704
|
}
|
|
14705
|
-
function _iterable_to_array$
|
|
14705
|
+
function _iterable_to_array$4(iter) {
|
|
14706
14706
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
14707
14707
|
}
|
|
14708
|
-
function _non_iterable_spread$
|
|
14708
|
+
function _non_iterable_spread$4() {
|
|
14709
14709
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14710
14710
|
}
|
|
14711
|
-
function _object_spread$
|
|
14711
|
+
function _object_spread$c(target) {
|
|
14712
14712
|
for(var i = 1; i < arguments.length; i++){
|
|
14713
14713
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
14714
14714
|
var ownKeys = Object.keys(source);
|
|
@@ -14718,12 +14718,12 @@ function _object_spread$b(target) {
|
|
|
14718
14718
|
}));
|
|
14719
14719
|
}
|
|
14720
14720
|
ownKeys.forEach(function(key) {
|
|
14721
|
-
_define_property$
|
|
14721
|
+
_define_property$c(target, key, source[key]);
|
|
14722
14722
|
});
|
|
14723
14723
|
}
|
|
14724
14724
|
return target;
|
|
14725
14725
|
}
|
|
14726
|
-
function ownKeys$
|
|
14726
|
+
function ownKeys$a(object, enumerableOnly) {
|
|
14727
14727
|
var keys = Object.keys(object);
|
|
14728
14728
|
if (Object.getOwnPropertySymbols) {
|
|
14729
14729
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -14731,27 +14731,27 @@ function ownKeys$9(object, enumerableOnly) {
|
|
|
14731
14731
|
}
|
|
14732
14732
|
return keys;
|
|
14733
14733
|
}
|
|
14734
|
-
function _object_spread_props$
|
|
14734
|
+
function _object_spread_props$a(target, source) {
|
|
14735
14735
|
source = source != null ? source : {};
|
|
14736
14736
|
if (Object.getOwnPropertyDescriptors) {
|
|
14737
14737
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
14738
14738
|
} else {
|
|
14739
|
-
ownKeys$
|
|
14739
|
+
ownKeys$a(Object(source)).forEach(function(key) {
|
|
14740
14740
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
14741
14741
|
});
|
|
14742
14742
|
}
|
|
14743
14743
|
return target;
|
|
14744
14744
|
}
|
|
14745
|
-
function _to_consumable_array$
|
|
14746
|
-
return _array_without_holes$
|
|
14745
|
+
function _to_consumable_array$4(arr) {
|
|
14746
|
+
return _array_without_holes$4(arr) || _iterable_to_array$4(arr) || _unsupported_iterable_to_array$6(arr) || _non_iterable_spread$4();
|
|
14747
14747
|
}
|
|
14748
|
-
function _unsupported_iterable_to_array$
|
|
14748
|
+
function _unsupported_iterable_to_array$6(o, minLen) {
|
|
14749
14749
|
if (!o) return;
|
|
14750
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
14750
|
+
if (typeof o === "string") return _array_like_to_array$6(o, minLen);
|
|
14751
14751
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
14752
14752
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
14753
14753
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
14754
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
14754
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
|
|
14755
14755
|
}
|
|
14756
14756
|
function _ts_generator$6(thisArg, body) {
|
|
14757
14757
|
var f, y, t, _ = {
|
|
@@ -14922,7 +14922,7 @@ function _ts_generator$6(thisArg, body) {
|
|
|
14922
14922
|
contentEncoding: (_options_metadata2 = options.metadata) === null || _options_metadata2 === void 0 ? void 0 : _options_metadata2.contentEncoding,
|
|
14923
14923
|
contentLanguage: (_options_metadata3 = options.metadata) === null || _options_metadata3 === void 0 ? void 0 : _options_metadata3.contentLanguage,
|
|
14924
14924
|
contentType: (_options_metadata4 = options.metadata) === null || _options_metadata4 === void 0 ? void 0 : _options_metadata4.contentType,
|
|
14925
|
-
customMetadata: filterUndefinedValues(_object_spread$
|
|
14925
|
+
customMetadata: filterUndefinedValues(_object_spread$c({}, (_options_metadata5 = options.metadata) === null || _options_metadata5 === void 0 ? void 0 : _options_metadata5.customMetadata, options.customMetadata))
|
|
14926
14926
|
});
|
|
14927
14927
|
}
|
|
14928
14928
|
function uploadMetadataFromStorageUploadOptions(options) {
|
|
@@ -14931,7 +14931,7 @@ function _ts_generator$6(thisArg, body) {
|
|
|
14931
14931
|
var _options_contentType;
|
|
14932
14932
|
var _options_metadata;
|
|
14933
14933
|
result = _configureMetadata({
|
|
14934
|
-
metadata: _object_spread_props$
|
|
14934
|
+
metadata: _object_spread_props$a(_object_spread$c({}, options.metadata), {
|
|
14935
14935
|
contentType: (_options_contentType = options.contentType) !== null && _options_contentType !== void 0 ? _options_contentType : (_options_metadata = options.metadata) === null || _options_metadata === void 0 ? void 0 : _options_metadata.contentType
|
|
14936
14936
|
}),
|
|
14937
14937
|
customMetadata: options.customMetadata
|
|
@@ -15048,7 +15048,7 @@ function _ts_generator$6(thisArg, body) {
|
|
|
15048
15048
|
},
|
|
15049
15049
|
next: function next(param, result) {
|
|
15050
15050
|
var options = param.options, folder = param.folder;
|
|
15051
|
-
return folder.list(_object_spread_props$
|
|
15051
|
+
return folder.list(_object_spread_props$a(_object_spread$c({}, options, result.options), {
|
|
15052
15052
|
pageToken: result.listResult.nextPageToken
|
|
15053
15053
|
}));
|
|
15054
15054
|
},
|
|
@@ -15149,8 +15149,8 @@ function _ts_generator$6(thisArg, body) {
|
|
|
15149
15149
|
case 2:
|
|
15150
15150
|
allNestedFolderFileResults = _state.sent();
|
|
15151
15151
|
allNestedFiles = allNestedFolderFileResults.flat();
|
|
15152
|
-
allFiles = _to_consumable_array$
|
|
15153
|
-
result = _object_spread_props$
|
|
15152
|
+
allFiles = _to_consumable_array$4(allImmediateFiles).concat(_to_consumable_array$4(allNestedFiles));
|
|
15153
|
+
result = _object_spread_props$a(_object_spread$c({}, rootResults), {
|
|
15154
15154
|
files: function files() {
|
|
15155
15155
|
return allFiles;
|
|
15156
15156
|
},
|
|
@@ -15320,7 +15320,7 @@ function _ts_generator$6(thisArg, body) {
|
|
|
15320
15320
|
return "".concat(firestoreModelId(input), "_").concat(taskType); // combineation of model id and template type
|
|
15321
15321
|
}
|
|
15322
15322
|
|
|
15323
|
-
function _define_property$
|
|
15323
|
+
function _define_property$b(obj, key, value) {
|
|
15324
15324
|
if (key in obj) {
|
|
15325
15325
|
Object.defineProperty(obj, key, {
|
|
15326
15326
|
value: value,
|
|
@@ -15333,7 +15333,7 @@ function _define_property$a(obj, key, value) {
|
|
|
15333
15333
|
}
|
|
15334
15334
|
return obj;
|
|
15335
15335
|
}
|
|
15336
|
-
function _object_spread$
|
|
15336
|
+
function _object_spread$b(target) {
|
|
15337
15337
|
for(var i = 1; i < arguments.length; i++){
|
|
15338
15338
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
15339
15339
|
var ownKeys = Object.keys(source);
|
|
@@ -15343,12 +15343,12 @@ function _object_spread$a(target) {
|
|
|
15343
15343
|
}));
|
|
15344
15344
|
}
|
|
15345
15345
|
ownKeys.forEach(function(key) {
|
|
15346
|
-
_define_property$
|
|
15346
|
+
_define_property$b(target, key, source[key]);
|
|
15347
15347
|
});
|
|
15348
15348
|
}
|
|
15349
15349
|
return target;
|
|
15350
15350
|
}
|
|
15351
|
-
function ownKeys$
|
|
15351
|
+
function ownKeys$9(object, enumerableOnly) {
|
|
15352
15352
|
var keys = Object.keys(object);
|
|
15353
15353
|
if (Object.getOwnPropertySymbols) {
|
|
15354
15354
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
@@ -15356,12 +15356,12 @@ function ownKeys$8(object, enumerableOnly) {
|
|
|
15356
15356
|
}
|
|
15357
15357
|
return keys;
|
|
15358
15358
|
}
|
|
15359
|
-
function _object_spread_props$
|
|
15359
|
+
function _object_spread_props$9(target, source) {
|
|
15360
15360
|
source = source != null ? source : {};
|
|
15361
15361
|
if (Object.getOwnPropertyDescriptors) {
|
|
15362
15362
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
15363
15363
|
} else {
|
|
15364
|
-
ownKeys$
|
|
15364
|
+
ownKeys$9(Object(source)).forEach(function(key) {
|
|
15365
15365
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
15366
15366
|
});
|
|
15367
15367
|
}
|
|
@@ -15491,7 +15491,7 @@ function _object_spread_props$8(target, source) {
|
|
|
15491
15491
|
* @returns The merged config.
|
|
15492
15492
|
*/ function mergeNotificationUserDefaultNotificationBoxRecipientConfig(a, b) {
|
|
15493
15493
|
var c = mergeNotificationBoxRecipientTemplateConfigRecords(a.c, b.c);
|
|
15494
|
-
var result = _object_spread_props$
|
|
15494
|
+
var result = _object_spread_props$9(_object_spread$b({}, mergeObjects([
|
|
15495
15495
|
a,
|
|
15496
15496
|
b
|
|
15497
15497
|
], KeyValueTypleValueFilter.UNDEFINED)), {
|
|
@@ -15689,7 +15689,7 @@ var notificationBoxRecipientTemplateConfigDencoder = bitwiseObjectDencoder({
|
|
|
15689
15689
|
var array = [];
|
|
15690
15690
|
forEachKeyValue(input, {
|
|
15691
15691
|
forEach: function forEach(x) {
|
|
15692
|
-
array.push(_object_spread$
|
|
15692
|
+
array.push(_object_spread$b({
|
|
15693
15693
|
type: x[0]
|
|
15694
15694
|
}, x[1]));
|
|
15695
15695
|
}
|
|
@@ -15715,6 +15715,564 @@ var notificationBoxRecipientTemplateConfigDencoder = bitwiseObjectDencoder({
|
|
|
15715
15715
|
return map;
|
|
15716
15716
|
}
|
|
15717
15717
|
|
|
15718
|
+
function _array_like_to_array$5(arr, len) {
|
|
15719
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
15720
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
15721
|
+
return arr2;
|
|
15722
|
+
}
|
|
15723
|
+
function _array_without_holes$3(arr) {
|
|
15724
|
+
if (Array.isArray(arr)) return _array_like_to_array$5(arr);
|
|
15725
|
+
}
|
|
15726
|
+
function _define_property$a(obj, key, value) {
|
|
15727
|
+
if (key in obj) {
|
|
15728
|
+
Object.defineProperty(obj, key, {
|
|
15729
|
+
value: value,
|
|
15730
|
+
enumerable: true,
|
|
15731
|
+
configurable: true,
|
|
15732
|
+
writable: true
|
|
15733
|
+
});
|
|
15734
|
+
} else {
|
|
15735
|
+
obj[key] = value;
|
|
15736
|
+
}
|
|
15737
|
+
return obj;
|
|
15738
|
+
}
|
|
15739
|
+
function _iterable_to_array$3(iter) {
|
|
15740
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
15741
|
+
}
|
|
15742
|
+
function _non_iterable_spread$3() {
|
|
15743
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15744
|
+
}
|
|
15745
|
+
function _object_spread$a(target) {
|
|
15746
|
+
for(var i = 1; i < arguments.length; i++){
|
|
15747
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
15748
|
+
var ownKeys = Object.keys(source);
|
|
15749
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
15750
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
15751
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
15752
|
+
}));
|
|
15753
|
+
}
|
|
15754
|
+
ownKeys.forEach(function(key) {
|
|
15755
|
+
_define_property$a(target, key, source[key]);
|
|
15756
|
+
});
|
|
15757
|
+
}
|
|
15758
|
+
return target;
|
|
15759
|
+
}
|
|
15760
|
+
function ownKeys$8(object, enumerableOnly) {
|
|
15761
|
+
var keys = Object.keys(object);
|
|
15762
|
+
if (Object.getOwnPropertySymbols) {
|
|
15763
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
15764
|
+
keys.push.apply(keys, symbols);
|
|
15765
|
+
}
|
|
15766
|
+
return keys;
|
|
15767
|
+
}
|
|
15768
|
+
function _object_spread_props$8(target, source) {
|
|
15769
|
+
source = source != null ? source : {};
|
|
15770
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
15771
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
15772
|
+
} else {
|
|
15773
|
+
ownKeys$8(Object(source)).forEach(function(key) {
|
|
15774
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
15775
|
+
});
|
|
15776
|
+
}
|
|
15777
|
+
return target;
|
|
15778
|
+
}
|
|
15779
|
+
function _to_consumable_array$3(arr) {
|
|
15780
|
+
return _array_without_holes$3(arr) || _iterable_to_array$3(arr) || _unsupported_iterable_to_array$5(arr) || _non_iterable_spread$3();
|
|
15781
|
+
}
|
|
15782
|
+
function _unsupported_iterable_to_array$5(o, minLen) {
|
|
15783
|
+
if (!o) return;
|
|
15784
|
+
if (typeof o === "string") return _array_like_to_array$5(o, minLen);
|
|
15785
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
15786
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
15787
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
15788
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$5(o, minLen);
|
|
15789
|
+
}
|
|
15790
|
+
/**
|
|
15791
|
+
* A delivery method (channel) that notifications can be sent through.
|
|
15792
|
+
*
|
|
15793
|
+
* The values mirror the per-method flags on {@link NotificationBoxRecipientTemplateConfig}
|
|
15794
|
+
* (`se`/`st`/`sp`/`sn`), so a method maps directly onto the config field that gates it.
|
|
15795
|
+
*/ var NotificationDeliveryMethod;
|
|
15796
|
+
(function(NotificationDeliveryMethod) {
|
|
15797
|
+
/**
|
|
15798
|
+
* Email delivery. Gated by `se`.
|
|
15799
|
+
*/ NotificationDeliveryMethod["EMAIL"] = "e";
|
|
15800
|
+
/**
|
|
15801
|
+
* Text/SMS delivery. Gated by `st`.
|
|
15802
|
+
*/ NotificationDeliveryMethod["TEXT"] = "t";
|
|
15803
|
+
/**
|
|
15804
|
+
* Push notification delivery. Gated by `sp`.
|
|
15805
|
+
*/ NotificationDeliveryMethod["PUSH"] = "p";
|
|
15806
|
+
/**
|
|
15807
|
+
* In-app delivery to a NotificationSummary. Gated by `sn`.
|
|
15808
|
+
*/ NotificationDeliveryMethod["NOTIFICATION_SUMMARY"] = "n";
|
|
15809
|
+
})(NotificationDeliveryMethod || (NotificationDeliveryMethod = {}));
|
|
15810
|
+
/**
|
|
15811
|
+
* All delivery methods, in the order a report should present them.
|
|
15812
|
+
*/ var ALL_NOTIFICATION_DELIVERY_METHODS = [
|
|
15813
|
+
NotificationDeliveryMethod.EMAIL,
|
|
15814
|
+
NotificationDeliveryMethod.TEXT,
|
|
15815
|
+
NotificationDeliveryMethod.PUSH,
|
|
15816
|
+
NotificationDeliveryMethod.NOTIFICATION_SUMMARY
|
|
15817
|
+
];
|
|
15818
|
+
/**
|
|
15819
|
+
* The outcome of a health check, or of one individual finding within it.
|
|
15820
|
+
*/ var NotificationHealthCheckStatus;
|
|
15821
|
+
(function(NotificationHealthCheckStatus) {
|
|
15822
|
+
/**
|
|
15823
|
+
* Everything that was checked looks healthy.
|
|
15824
|
+
*/ NotificationHealthCheckStatus["OK"] = "ok";
|
|
15825
|
+
/**
|
|
15826
|
+
* Something looks off, but delivery is probably still working.
|
|
15827
|
+
*/ NotificationHealthCheckStatus["WARNING"] = "warn";
|
|
15828
|
+
/**
|
|
15829
|
+
* Delivery is blocked or broken.
|
|
15830
|
+
*/ NotificationHealthCheckStatus["ERROR"] = "error";
|
|
15831
|
+
/**
|
|
15832
|
+
* Waiting on an asynchronous result, such as an in-flight delivery probe.
|
|
15833
|
+
*/ NotificationHealthCheckStatus["PENDING"] = "pending";
|
|
15834
|
+
/**
|
|
15835
|
+
* Not checked. Either the method is not configured for this app, or no check was available.
|
|
15836
|
+
*/ NotificationHealthCheckStatus["SKIPPED"] = "skipped";
|
|
15837
|
+
/**
|
|
15838
|
+
* The check ran but could not reach a conclusion, such as when a provider API was unreachable.
|
|
15839
|
+
*/ NotificationHealthCheckStatus["UNKNOWN"] = "unknown";
|
|
15840
|
+
})(NotificationHealthCheckStatus || (NotificationHealthCheckStatus = {}));
|
|
15841
|
+
var _obj;
|
|
15842
|
+
/**
|
|
15843
|
+
* Severity ranking used to roll several statuses up into one.
|
|
15844
|
+
*
|
|
15845
|
+
* Higher wins. `ERROR` outranks `PENDING` so that a method with a known problem is not masked by an
|
|
15846
|
+
* unrelated in-flight probe, and `SKIPPED` ranks lowest so an unconfigured method never drags a
|
|
15847
|
+
* report down.
|
|
15848
|
+
*/ var NOTIFICATION_HEALTH_CHECK_STATUS_SEVERITY = (_obj = {}, _define_property$a(_obj, NotificationHealthCheckStatus.SKIPPED, 0), _define_property$a(_obj, NotificationHealthCheckStatus.OK, 1), _define_property$a(_obj, NotificationHealthCheckStatus.UNKNOWN, 2), _define_property$a(_obj, NotificationHealthCheckStatus.PENDING, 3), _define_property$a(_obj, NotificationHealthCheckStatus.WARNING, 4), _define_property$a(_obj, NotificationHealthCheckStatus.ERROR, 5), _obj);
|
|
15849
|
+
/**
|
|
15850
|
+
* Rolls a set of statuses up into the single most severe one.
|
|
15851
|
+
*
|
|
15852
|
+
* @param statuses - The statuses to roll up.
|
|
15853
|
+
* @returns The most severe status, or {@link NotificationHealthCheckStatus.SKIPPED} if none were given.
|
|
15854
|
+
*
|
|
15855
|
+
* @example
|
|
15856
|
+
* ```ts
|
|
15857
|
+
* rollupNotificationHealthCheckStatus([NotificationHealthCheckStatus.OK, NotificationHealthCheckStatus.ERROR]);
|
|
15858
|
+
* // NotificationHealthCheckStatus.ERROR
|
|
15859
|
+
* ```
|
|
15860
|
+
*/ function rollupNotificationHealthCheckStatus(statuses) {
|
|
15861
|
+
var result = NotificationHealthCheckStatus.SKIPPED;
|
|
15862
|
+
statuses.forEach(function(x) {
|
|
15863
|
+
if (NOTIFICATION_HEALTH_CHECK_STATUS_SEVERITY[x] > NOTIFICATION_HEALTH_CHECK_STATUS_SEVERITY[result]) {
|
|
15864
|
+
result = x;
|
|
15865
|
+
}
|
|
15866
|
+
});
|
|
15867
|
+
return result;
|
|
15868
|
+
}
|
|
15869
|
+
/**
|
|
15870
|
+
* True if the status represents a problem the user should act on.
|
|
15871
|
+
*
|
|
15872
|
+
* @param status - The status to test.
|
|
15873
|
+
* @returns True for errors and warnings; false for statuses that need no action.
|
|
15874
|
+
*/ function isProblemNotificationHealthCheckStatus(status) {
|
|
15875
|
+
return status === NotificationHealthCheckStatus.ERROR || status === NotificationHealthCheckStatus.WARNING;
|
|
15876
|
+
}
|
|
15877
|
+
/**
|
|
15878
|
+
* Issue codes emitted by the health checks the library performs itself.
|
|
15879
|
+
*
|
|
15880
|
+
* Apps and delivery providers may emit additional codes of their own — see
|
|
15881
|
+
* {@link NotificationHealthCheckIssueCode}.
|
|
15882
|
+
*/ var KnownNotificationHealthCheckIssueCode;
|
|
15883
|
+
(function(KnownNotificationHealthCheckIssueCode) {
|
|
15884
|
+
/**
|
|
15885
|
+
* The server has no send service configured for this delivery method, so nothing will ever be sent through it.
|
|
15886
|
+
*/ KnownNotificationHealthCheckIssueCode["SEND_SERVICE_NOT_CONFIGURED"] = "sendServiceNotConfigured";
|
|
15887
|
+
/**
|
|
15888
|
+
* No send service health check is available for this delivery method, so only configuration was inspected.
|
|
15889
|
+
*/ KnownNotificationHealthCheckIssueCode["SEND_SERVICE_HEALTH_CHECK_UNAVAILABLE"] = "sendServiceHealthCheckUnavailable";
|
|
15890
|
+
/**
|
|
15891
|
+
* No delivery target could be resolved for this method — e.g. no email address on the auth record and no override.
|
|
15892
|
+
*/ KnownNotificationHealthCheckIssueCode["NO_DELIVERY_TARGET"] = "noDeliveryTarget";
|
|
15893
|
+
/**
|
|
15894
|
+
* The recipient has opted out of all notifications.
|
|
15895
|
+
*/ KnownNotificationHealthCheckIssueCode["RECIPIENT_OPTED_OUT"] = "recipientOptedOut";
|
|
15896
|
+
/**
|
|
15897
|
+
* The recipient's notifications are disabled.
|
|
15898
|
+
*/ KnownNotificationHealthCheckIssueCode["RECIPIENT_DISABLED"] = "recipientDisabled";
|
|
15899
|
+
/**
|
|
15900
|
+
* This delivery method is switched off by the user's global or default configuration.
|
|
15901
|
+
*/ KnownNotificationHealthCheckIssueCode["METHOD_DISABLED_GLOBALLY"] = "methodDisabledGlobally";
|
|
15902
|
+
/**
|
|
15903
|
+
* This delivery method is switched off for the notification template type that was checked.
|
|
15904
|
+
*/ KnownNotificationHealthCheckIssueCode["METHOD_DISABLED_FOR_TEMPLATE"] = "methodDisabledForTemplate";
|
|
15905
|
+
/**
|
|
15906
|
+
* This delivery method is switched off for one or more of the user's individual notification boxes.
|
|
15907
|
+
*/ KnownNotificationHealthCheckIssueCode["METHOD_DISABLED_FOR_BOX"] = "methodDisabledForBox";
|
|
15908
|
+
/**
|
|
15909
|
+
* The user is not subscribed to any notification boxes, so no model-driven notifications will reach them.
|
|
15910
|
+
*/ KnownNotificationHealthCheckIssueCode["NO_NOTIFICATION_BOXES"] = "noNotificationBoxes";
|
|
15911
|
+
/**
|
|
15912
|
+
* The user has notification box exclusions that suppress notifications from matching boxes.
|
|
15913
|
+
*/ KnownNotificationHealthCheckIssueCode["NOTIFICATION_BOX_EXCLUSIONS"] = "notificationBoxExclusions";
|
|
15914
|
+
/**
|
|
15915
|
+
* The user's configuration has not finished syncing to their notification boxes.
|
|
15916
|
+
*/ KnownNotificationHealthCheckIssueCode["NEEDS_CONFIG_SYNC"] = "needsConfigSync";
|
|
15917
|
+
/**
|
|
15918
|
+
* One or more of the user's subscriptions is broken and will never send.
|
|
15919
|
+
*/ KnownNotificationHealthCheckIssueCode["SUBSCRIPTION_BROKEN"] = "subscriptionBroken";
|
|
15920
|
+
/**
|
|
15921
|
+
* One or more of the user's subscriptions has not finished being set up, so its notifications are delayed.
|
|
15922
|
+
*/ KnownNotificationHealthCheckIssueCode["SUBSCRIPTION_NOT_READY"] = "subscriptionNotReady";
|
|
15923
|
+
/**
|
|
15924
|
+
* A test message was dispatched and its outcome is not known yet.
|
|
15925
|
+
*/ KnownNotificationHealthCheckIssueCode["PROBE_PENDING"] = "probePending";
|
|
15926
|
+
/**
|
|
15927
|
+
* A test message was confirmed delivered.
|
|
15928
|
+
*/ KnownNotificationHealthCheckIssueCode["PROBE_DELIVERED"] = "probeDelivered";
|
|
15929
|
+
/**
|
|
15930
|
+
* A test message failed to deliver.
|
|
15931
|
+
*/ KnownNotificationHealthCheckIssueCode["PROBE_FAILED"] = "probeFailed";
|
|
15932
|
+
/**
|
|
15933
|
+
* A test message could not be dispatched at all.
|
|
15934
|
+
*/ KnownNotificationHealthCheckIssueCode["PROBE_DISPATCH_FAILED"] = "probeDispatchFailed";
|
|
15935
|
+
})(KnownNotificationHealthCheckIssueCode || (KnownNotificationHealthCheckIssueCode = {}));
|
|
15936
|
+
/**
|
|
15937
|
+
* Creates a {@link NotificationHealthCheckIssue}.
|
|
15938
|
+
*
|
|
15939
|
+
* @param code - The issue code.
|
|
15940
|
+
* @param status - The severity.
|
|
15941
|
+
* @param content - The message, plus an optional suggested fix and structured detail.
|
|
15942
|
+
* @returns The issue.
|
|
15943
|
+
*
|
|
15944
|
+
* @example
|
|
15945
|
+
* ```ts
|
|
15946
|
+
* notificationHealthCheckIssue(KnownNotificationHealthCheckIssueCode.NO_DELIVERY_TARGET, NotificationHealthCheckStatus.ERROR, {
|
|
15947
|
+
* message: 'There is no email address on your account.',
|
|
15948
|
+
* fix: 'Add an email address to your account.'
|
|
15949
|
+
* });
|
|
15950
|
+
* ```
|
|
15951
|
+
*/ function notificationHealthCheckIssue(code, status, content) {
|
|
15952
|
+
return {
|
|
15953
|
+
c: code,
|
|
15954
|
+
s: status,
|
|
15955
|
+
m: content.message,
|
|
15956
|
+
f: content.fix,
|
|
15957
|
+
d: content.data
|
|
15958
|
+
};
|
|
15959
|
+
}
|
|
15960
|
+
/**
|
|
15961
|
+
* True if the probe is still awaiting an outcome and should be re-checked.
|
|
15962
|
+
*
|
|
15963
|
+
* @param probe - The probe to test, if one exists.
|
|
15964
|
+
* @returns True if the probe is pending.
|
|
15965
|
+
*/ function isPendingNotificationHealthCheckProbe(probe) {
|
|
15966
|
+
return (probe === null || probe === void 0 ? void 0 : probe.s) === NotificationHealthCheckStatus.PENDING;
|
|
15967
|
+
}
|
|
15968
|
+
/**
|
|
15969
|
+
* The correlation id of a probe the provider gave nothing to track it by.
|
|
15970
|
+
*
|
|
15971
|
+
* Empty rather than absent because the field is what a provider looks the outcome up with, and there is
|
|
15972
|
+
* nothing to look up — such a probe is always recorded already settled, so it is never queried.
|
|
15973
|
+
*/ var UNTRACKABLE_NOTIFICATION_HEALTH_CHECK_PROBE_ID = '';
|
|
15974
|
+
/**
|
|
15975
|
+
* Records a dispatch attempt the provider gave no way to track.
|
|
15976
|
+
*
|
|
15977
|
+
* A send that produced no correlation id still happened, and the test message window is derived from the
|
|
15978
|
+
* recorded probe — so an attempt recorded as nothing at all would leave the server's throttle and the
|
|
15979
|
+
* client's countdown with nothing to key on, making the action look successful and be immediately
|
|
15980
|
+
* repeatable. Always settled ({@link NotificationHealthCheckStatus.UNKNOWN} when the provider accepted it,
|
|
15981
|
+
* `ERROR` when it did not), never pending: there is no outcome coming for it.
|
|
15982
|
+
*
|
|
15983
|
+
* @param probe - The attempt's time, settled status, target, and provider detail.
|
|
15984
|
+
* @returns The probe recording the attempt.
|
|
15985
|
+
*/ function untrackableNotificationHealthCheckProbe(probe) {
|
|
15986
|
+
return _object_spread_props$8(_object_spread$a({}, probe), {
|
|
15987
|
+
id: UNTRACKABLE_NOTIFICATION_HEALTH_CHECK_PROBE_ID
|
|
15988
|
+
});
|
|
15989
|
+
}
|
|
15990
|
+
/**
|
|
15991
|
+
* Rolls a delivery method's findings and probe up into a single status.
|
|
15992
|
+
*
|
|
15993
|
+
* @param result - The per-method result, without its rolled-up status.
|
|
15994
|
+
* @returns The most severe status across the method's findings and probe.
|
|
15995
|
+
*/ function rollupNotificationDeliveryHealthCheckResultStatus(result) {
|
|
15996
|
+
var statuses = result.is.map(function(x) {
|
|
15997
|
+
return x.s;
|
|
15998
|
+
});
|
|
15999
|
+
if (result.pr) {
|
|
16000
|
+
statuses.push(result.pr.s);
|
|
16001
|
+
}
|
|
16002
|
+
return rollupNotificationHealthCheckStatus(statuses);
|
|
16003
|
+
}
|
|
16004
|
+
/**
|
|
16005
|
+
* The delivery methods whose test message is still awaiting an outcome.
|
|
16006
|
+
*
|
|
16007
|
+
* A pending probe is the whole reason to keep watching a check: it is the one part of a report that
|
|
16008
|
+
* changes on its own, as the provider records what happened to the message. Both the client (which
|
|
16009
|
+
* polls until they settle) and the server (which only consults a provider it has something to ask
|
|
16010
|
+
* about) scope their work to exactly these methods.
|
|
16011
|
+
*
|
|
16012
|
+
* @param healthCheck - The health check to read.
|
|
16013
|
+
* @returns The methods carrying a pending probe, in report order. Empty when nothing is in flight.
|
|
16014
|
+
*/ function notificationHealthCheckPendingProbeMethods(healthCheck) {
|
|
16015
|
+
var _ref;
|
|
16016
|
+
return ((_ref = healthCheck === null || healthCheck === void 0 ? void 0 : healthCheck.m) !== null && _ref !== void 0 ? _ref : []).filter(function(x) {
|
|
16017
|
+
return isPendingNotificationHealthCheckProbe(x.pr);
|
|
16018
|
+
}).map(function(x) {
|
|
16019
|
+
return x.me;
|
|
16020
|
+
});
|
|
16021
|
+
}
|
|
16022
|
+
/**
|
|
16023
|
+
* Finds the result for a specific delivery method.
|
|
16024
|
+
*
|
|
16025
|
+
* @param healthCheck - The health check to read.
|
|
16026
|
+
* @param method - The delivery method to look for.
|
|
16027
|
+
* @returns The method's result, or undefined if the method was not checked.
|
|
16028
|
+
*/ function notificationDeliveryHealthCheckResultForMethod(healthCheck, method) {
|
|
16029
|
+
return healthCheck === null || healthCheck === void 0 ? void 0 : healthCheck.m.find(function(x) {
|
|
16030
|
+
return x.me === method;
|
|
16031
|
+
});
|
|
16032
|
+
}
|
|
16033
|
+
/**
|
|
16034
|
+
* Every issue in a health check, account-wide findings first.
|
|
16035
|
+
*
|
|
16036
|
+
* @param healthCheck - The health check to read.
|
|
16037
|
+
* @returns All issues, account-wide first and then in method order.
|
|
16038
|
+
*/ function allNotificationHealthCheckIssues(healthCheck) {
|
|
16039
|
+
if (!healthCheck) {
|
|
16040
|
+
return [];
|
|
16041
|
+
}
|
|
16042
|
+
return _to_consumable_array$3(healthCheck.is).concat(_to_consumable_array$3(healthCheck.m.flatMap(function(x) {
|
|
16043
|
+
return x.is;
|
|
16044
|
+
})));
|
|
16045
|
+
}
|
|
16046
|
+
/**
|
|
16047
|
+
* Rolls a whole health check up into a single status.
|
|
16048
|
+
*
|
|
16049
|
+
* @param healthCheck - The check's account-wide findings and per-method results.
|
|
16050
|
+
* @returns The most severe status across everything the check found.
|
|
16051
|
+
*/ function rollupNotificationHealthCheckResultStatus(healthCheck) {
|
|
16052
|
+
return rollupNotificationHealthCheckStatus(_to_consumable_array$3(healthCheck.is.map(function(x) {
|
|
16053
|
+
return x.s;
|
|
16054
|
+
})).concat(_to_consumable_array$3(healthCheck.m.map(function(x) {
|
|
16055
|
+
return x.s;
|
|
16056
|
+
}))));
|
|
16057
|
+
}
|
|
16058
|
+
// MARK: Throttle
|
|
16059
|
+
/**
|
|
16060
|
+
* How long a user must wait between health check runs.
|
|
16061
|
+
*
|
|
16062
|
+
* A run calls out to each delivery provider and can dispatch real messages, so it is throttled against
|
|
16063
|
+
* the check stored on the NotificationUser rather than being runnable on demand.
|
|
16064
|
+
*/ var DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_THROTTLE_MINUTES = 2;
|
|
16065
|
+
/**
|
|
16066
|
+
* The earliest time another health check may be run for a NotificationUser.
|
|
16067
|
+
*
|
|
16068
|
+
* Both the server (which enforces the throttle) and the client (which disables the action until then)
|
|
16069
|
+
* derive the window from the same stored check, so the UI cannot offer a run the server would reject.
|
|
16070
|
+
*
|
|
16071
|
+
* @param input - The stored check, and optionally a throttle window to use instead of the default.
|
|
16072
|
+
* @returns The time the next run is allowed, or undefined when no check has been run yet.
|
|
16073
|
+
*/ function notificationUserHealthCheckNextRunAt(input) {
|
|
16074
|
+
var healthCheck = input.healthCheck, throttleMinutes = input.throttleMinutes;
|
|
16075
|
+
return (healthCheck === null || healthCheck === void 0 ? void 0 : healthCheck.at) == null ? undefined : addMinutes(healthCheck.at, throttleMinutes !== null && throttleMinutes !== void 0 ? throttleMinutes : DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_THROTTLE_MINUTES);
|
|
16076
|
+
}
|
|
16077
|
+
/**
|
|
16078
|
+
* How long a user must wait between test messages on a single delivery method.
|
|
16079
|
+
*
|
|
16080
|
+
* Throttled separately from — and more strictly than — a plain run: a probe delivers a real message to
|
|
16081
|
+
* the user, while a run only reads configuration and provider state. Running the check must therefore
|
|
16082
|
+
* not consume the test message allowance, and vice versa.
|
|
16083
|
+
*
|
|
16084
|
+
* Only the default. An app that wants a different cadence declares its own value and passes it to both
|
|
16085
|
+
* the server (which enforces the window) and the client (which counts down to it) — see
|
|
16086
|
+
* {@link NotificationUserHealthCheckNextProbeAtInput.throttleMinutes}. Both sides must use the same
|
|
16087
|
+
* value, or the UI will offer a test message the server rejects.
|
|
16088
|
+
*/ var DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_PROBE_THROTTLE_MINUTES = 5;
|
|
16089
|
+
/**
|
|
16090
|
+
* The earliest time another test message may be dispatched for a NotificationUser.
|
|
16091
|
+
*
|
|
16092
|
+
* The window is per delivery method: each method has its own test message action, so a test email must
|
|
16093
|
+
* not hold the test text message off. Pass the methods being probed to get their window — the most
|
|
16094
|
+
* recent probe among just those methods — and pass none for the window across every checked method.
|
|
16095
|
+
*
|
|
16096
|
+
* Both the server (which enforces the window) and the client (which disables the action until then)
|
|
16097
|
+
* derive it from the same stored check, so the UI cannot offer a test message the server would reject.
|
|
16098
|
+
*
|
|
16099
|
+
* @param input - The stored check, the methods being probed, and optionally a throttle window to use
|
|
16100
|
+
* instead of the default.
|
|
16101
|
+
* @returns The time the next probe is allowed, or undefined when none of those methods has ever
|
|
16102
|
+
* dispatched one.
|
|
16103
|
+
*/ function notificationUserHealthCheckNextProbeAt(input) {
|
|
16104
|
+
var _Math;
|
|
16105
|
+
var _ref, _ref1;
|
|
16106
|
+
var healthCheck = input.healthCheck, methods = input.methods, throttleMinutes = input.throttleMinutes;
|
|
16107
|
+
var scopedMethods = (methods === null || methods === void 0 ? void 0 : methods.length) ? new Set(methods) : undefined;
|
|
16108
|
+
var scopedResults = scopedMethods ? ((_ref = healthCheck === null || healthCheck === void 0 ? void 0 : healthCheck.m) !== null && _ref !== void 0 ? _ref : []).filter(function(x) {
|
|
16109
|
+
return scopedMethods.has(x.me);
|
|
16110
|
+
}) : (_ref1 = healthCheck === null || healthCheck === void 0 ? void 0 : healthCheck.m) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
16111
|
+
var probeTimes = filterMaybeArrayValues(scopedResults.map(function(x) {
|
|
16112
|
+
var _x_pr;
|
|
16113
|
+
return (_x_pr = x.pr) === null || _x_pr === void 0 ? void 0 : _x_pr.at;
|
|
16114
|
+
})).map(function(x) {
|
|
16115
|
+
return x.getTime();
|
|
16116
|
+
});
|
|
16117
|
+
var latestProbeAt = probeTimes.length > 0 ? new Date((_Math = Math).max.apply(_Math, _to_consumable_array$3(probeTimes))) : undefined;
|
|
16118
|
+
return latestProbeAt == null ? undefined : addMinutes(latestProbeAt, throttleMinutes !== null && throttleMinutes !== void 0 ? throttleMinutes : DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_PROBE_THROTTLE_MINUTES);
|
|
16119
|
+
}
|
|
16120
|
+
// MARK: Verify
|
|
16121
|
+
/**
|
|
16122
|
+
* How long a caller must wait between verifications of a check's pending probes.
|
|
16123
|
+
*
|
|
16124
|
+
* A verify-only run exists to be polled: a dispatched test message settles on the provider's schedule,
|
|
16125
|
+
* so something has to keep asking until it does. It is throttled far more loosely than a run or a probe
|
|
16126
|
+
* because it is far cheaper — it consults a provider only for a method with a probe actually in flight,
|
|
16127
|
+
* and touches nothing else — but it is throttled all the same, so a client cannot poll a provider's API
|
|
16128
|
+
* in a tight loop.
|
|
16129
|
+
*
|
|
16130
|
+
* Seconds rather than minutes: the point of the verification is that the outcome appears while the user
|
|
16131
|
+
* is still looking at the report.
|
|
16132
|
+
*/ var DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_VERIFY_THROTTLE_SECONDS = 15;
|
|
16133
|
+
/**
|
|
16134
|
+
* The earliest time a check's pending probes may be verified again.
|
|
16135
|
+
*
|
|
16136
|
+
* Derived from `vat` rather than `at`, so verifying an in-flight test message neither answers to nor
|
|
16137
|
+
* consumes the user's run window. Both the server (which enforces the window) and the client (which
|
|
16138
|
+
* paces its polling to it) derive it the same way.
|
|
16139
|
+
*
|
|
16140
|
+
* @param input - The stored check, and optionally a window to use instead of the default.
|
|
16141
|
+
* @returns The time the next verification is allowed, or undefined when none has happened yet.
|
|
16142
|
+
*/ function notificationUserHealthCheckNextVerifyAt(input) {
|
|
16143
|
+
var healthCheck = input.healthCheck, throttleSeconds = input.throttleSeconds;
|
|
16144
|
+
return (healthCheck === null || healthCheck === void 0 ? void 0 : healthCheck.vat) == null ? undefined : addSeconds(healthCheck.vat, throttleSeconds !== null && throttleSeconds !== void 0 ? throttleSeconds : DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_VERIFY_THROTTLE_SECONDS);
|
|
16145
|
+
}
|
|
16146
|
+
/**
|
|
16147
|
+
* The earliest time another test message may be dispatched through each of a check's delivery methods.
|
|
16148
|
+
*
|
|
16149
|
+
* The per-method form of {@link notificationUserHealthCheckNextProbeAt}, for a UI that renders one test
|
|
16150
|
+
* message action per method and needs every method's window at once.
|
|
16151
|
+
*
|
|
16152
|
+
* @param input - The stored check, and optionally a throttle window to use instead of the default.
|
|
16153
|
+
* @returns The time the next probe is allowed on each checked method. A method that has never
|
|
16154
|
+
* dispatched a probe maps to undefined.
|
|
16155
|
+
*/ function notificationUserHealthCheckNextProbeAtByMethod(input) {
|
|
16156
|
+
var _ref;
|
|
16157
|
+
var healthCheck = input.healthCheck, throttleMinutes = input.throttleMinutes;
|
|
16158
|
+
var nextProbeAtByMethod = {};
|
|
16159
|
+
((_ref = healthCheck === null || healthCheck === void 0 ? void 0 : healthCheck.m) !== null && _ref !== void 0 ? _ref : []).forEach(function(methodResult) {
|
|
16160
|
+
nextProbeAtByMethod[methodResult.me] = notificationUserHealthCheckNextProbeAt({
|
|
16161
|
+
healthCheck: healthCheck,
|
|
16162
|
+
methods: [
|
|
16163
|
+
methodResult.me
|
|
16164
|
+
],
|
|
16165
|
+
throttleMinutes: throttleMinutes
|
|
16166
|
+
});
|
|
16167
|
+
});
|
|
16168
|
+
return nextProbeAtByMethod;
|
|
16169
|
+
}
|
|
16170
|
+
// MARK: Firestore
|
|
16171
|
+
/**
|
|
16172
|
+
* Firestore sub-object converter for {@link NotificationHealthCheckIssue}.
|
|
16173
|
+
*/ var firestoreNotificationHealthCheckIssue = /* @__PURE__ */ firestoreSubObject({
|
|
16174
|
+
objectField: {
|
|
16175
|
+
fields: {
|
|
16176
|
+
c: firestoreString({
|
|
16177
|
+
default: ''
|
|
16178
|
+
}),
|
|
16179
|
+
s: firestoreEnum({
|
|
16180
|
+
default: NotificationHealthCheckStatus.UNKNOWN
|
|
16181
|
+
}),
|
|
16182
|
+
m: firestoreString({
|
|
16183
|
+
default: ''
|
|
16184
|
+
}),
|
|
16185
|
+
f: optionalFirestoreString(),
|
|
16186
|
+
d: optionalFirestoreField()
|
|
16187
|
+
}
|
|
16188
|
+
}
|
|
16189
|
+
});
|
|
16190
|
+
/**
|
|
16191
|
+
* Firestore sub-object converter for {@link NotificationHealthCheckProbe}.
|
|
16192
|
+
*/ var firestoreNotificationHealthCheckProbe = /* @__PURE__ */ firestoreSubObject({
|
|
16193
|
+
objectField: {
|
|
16194
|
+
fields: {
|
|
16195
|
+
id: firestoreString({
|
|
16196
|
+
default: ''
|
|
16197
|
+
}),
|
|
16198
|
+
at: firestoreDate({
|
|
16199
|
+
saveDefaultAsNow: true
|
|
16200
|
+
}),
|
|
16201
|
+
s: firestoreEnum({
|
|
16202
|
+
default: NotificationHealthCheckStatus.PENDING
|
|
16203
|
+
}),
|
|
16204
|
+
tg: firestoreString({
|
|
16205
|
+
default: ''
|
|
16206
|
+
}),
|
|
16207
|
+
d: optionalFirestoreString()
|
|
16208
|
+
}
|
|
16209
|
+
}
|
|
16210
|
+
});
|
|
16211
|
+
var notificationHealthCheckProbeMapFunctions = firestoreNotificationHealthCheckProbe.mapFunctions;
|
|
16212
|
+
/**
|
|
16213
|
+
* Firestore sub-object converter for {@link NotificationDeliveryHealthCheckResult}.
|
|
16214
|
+
*/ var firestoreNotificationDeliveryHealthCheckResult = /* @__PURE__ */ firestoreSubObject({
|
|
16215
|
+
objectField: {
|
|
16216
|
+
fields: {
|
|
16217
|
+
me: firestoreEnum({
|
|
16218
|
+
default: NotificationDeliveryMethod.EMAIL
|
|
16219
|
+
}),
|
|
16220
|
+
s: firestoreEnum({
|
|
16221
|
+
default: NotificationHealthCheckStatus.UNKNOWN
|
|
16222
|
+
}),
|
|
16223
|
+
tg: optionalFirestoreString(),
|
|
16224
|
+
is: firestoreObjectArray({
|
|
16225
|
+
objectField: firestoreNotificationHealthCheckIssue
|
|
16226
|
+
}),
|
|
16227
|
+
pr: optionalFirestoreField({
|
|
16228
|
+
transformFromData: function transformFromData(x) {
|
|
16229
|
+
return notificationHealthCheckProbeMapFunctions.from(x);
|
|
16230
|
+
},
|
|
16231
|
+
transformToData: function transformToData(x) {
|
|
16232
|
+
return notificationHealthCheckProbeMapFunctions.to(x);
|
|
16233
|
+
}
|
|
16234
|
+
}),
|
|
16235
|
+
pb: optionalFirestoreBoolean()
|
|
16236
|
+
}
|
|
16237
|
+
}
|
|
16238
|
+
});
|
|
16239
|
+
/**
|
|
16240
|
+
* Firestore sub-object converter for {@link NotificationHealthCheck}.
|
|
16241
|
+
*/ var firestoreNotificationHealthCheck = /* @__PURE__ */ firestoreSubObject({
|
|
16242
|
+
objectField: {
|
|
16243
|
+
fields: {
|
|
16244
|
+
at: firestoreDate({
|
|
16245
|
+
saveDefaultAsNow: true
|
|
16246
|
+
}),
|
|
16247
|
+
vat: optionalFirestoreDate(),
|
|
16248
|
+
s: firestoreEnum({
|
|
16249
|
+
default: NotificationHealthCheckStatus.UNKNOWN
|
|
16250
|
+
}),
|
|
16251
|
+
t: optionalFirestoreString(),
|
|
16252
|
+
is: firestoreObjectArray({
|
|
16253
|
+
objectField: firestoreNotificationHealthCheckIssue
|
|
16254
|
+
}),
|
|
16255
|
+
m: firestoreObjectArray({
|
|
16256
|
+
objectField: firestoreNotificationDeliveryHealthCheckResult
|
|
16257
|
+
})
|
|
16258
|
+
}
|
|
16259
|
+
}
|
|
16260
|
+
});
|
|
16261
|
+
var notificationHealthCheckMapFunctions = firestoreNotificationHealthCheck.mapFunctions;
|
|
16262
|
+
/**
|
|
16263
|
+
* Field config for the optional {@link NotificationHealthCheck} stored on a NotificationUser.
|
|
16264
|
+
*
|
|
16265
|
+
* Unlike {@link firestoreNotificationHealthCheck}, this leaves the field absent instead of defaulting
|
|
16266
|
+
* to an empty check, so "never run" stays distinguishable from "ran and found nothing".
|
|
16267
|
+
*/ var optionalFirestoreNotificationHealthCheck = /* @__PURE__ */ optionalFirestoreField({
|
|
16268
|
+
transformFromData: function transformFromData(x) {
|
|
16269
|
+
return notificationHealthCheckMapFunctions.from(x);
|
|
16270
|
+
},
|
|
16271
|
+
transformToData: function transformToData(x) {
|
|
16272
|
+
return notificationHealthCheckMapFunctions.to(x);
|
|
16273
|
+
}
|
|
16274
|
+
});
|
|
16275
|
+
|
|
15718
16276
|
/**
|
|
15719
16277
|
* Firestore sub-object converter for embedding {@link NotificationItem} within parent documents.
|
|
15720
16278
|
*/ var firestoreNotificationItem = firestoreSubObject({
|
|
@@ -15884,7 +16442,8 @@ var NotificationUserDocument = /*#__PURE__*/ function(AbstractFirestoreDocument)
|
|
|
15884
16442
|
bc: firestoreObjectArray({
|
|
15885
16443
|
objectField: firestoreNotificationUserNotificationBoxRecipientConfig
|
|
15886
16444
|
}),
|
|
15887
|
-
ns: optionalFirestoreBoolean()
|
|
16445
|
+
ns: optionalFirestoreBoolean(),
|
|
16446
|
+
hc: optionalFirestoreNotificationHealthCheck
|
|
15888
16447
|
}
|
|
15889
16448
|
});
|
|
15890
16449
|
/**
|
|
@@ -16613,6 +17172,15 @@ var updateNotificationUserParamsType = targetModelParamsType.merge({
|
|
|
16613
17172
|
'dc?': clearable(updateNotificationUserDefaultNotificationBoxRecipientConfigParamsType),
|
|
16614
17173
|
'bc?': clearable(updateNotificationUserNotificationBoxRecipientParamsType.array())
|
|
16615
17174
|
});
|
|
17175
|
+
var notificationUserHealthCheckParamsType = targetModelParamsType.merge({
|
|
17176
|
+
'methods?': clearable(type.enumerated(NotificationDeliveryMethod.EMAIL, NotificationDeliveryMethod.TEXT, NotificationDeliveryMethod.PUSH, NotificationDeliveryMethod.NOTIFICATION_SUMMARY).array()),
|
|
17177
|
+
'sendProbe?': clearable('boolean'),
|
|
17178
|
+
'verifyPendingProbesOnly?': clearable('boolean'),
|
|
17179
|
+
'notificationTemplateType?': clearable('string > 0'),
|
|
17180
|
+
'skipSubscriptionChecks?': clearable('boolean'),
|
|
17181
|
+
'force?': clearable('boolean'),
|
|
17182
|
+
'returnFullHealthCheck?': clearable('boolean')
|
|
17183
|
+
});
|
|
16616
17184
|
var resyncAllNotificationUserParamsType = /* @__PURE__ */ type({});
|
|
16617
17185
|
var createNotificationSummaryParamsType = /* @__PURE__ */ type({
|
|
16618
17186
|
model: firestoreModelKeyType
|
|
@@ -16666,7 +17234,8 @@ var cleanupOldNotificationLoggedEventDaysParamsType = /* @__PURE__ */ type({
|
|
|
16666
17234
|
var NOTIFICATION_FUNCTION_TYPE_CONFIG_MAP = {};
|
|
16667
17235
|
var NOTIFICATION_BOX_MODEL_CRUD_FUNCTIONS_CONFIG = {
|
|
16668
17236
|
notificationUser: [
|
|
16669
|
-
'update:_,resync'
|
|
17237
|
+
'update:_,resync',
|
|
17238
|
+
'invoke:healthCheck'
|
|
16670
17239
|
],
|
|
16671
17240
|
notificationSummary: [
|
|
16672
17241
|
'update:_'
|
|
@@ -16722,6 +17291,18 @@ var NOTIFICATION_BOX_MODEL_CRUD_FUNCTIONS_CONFIG = {
|
|
|
16722
17291
|
/**
|
|
16723
17292
|
* Thrown when attempting to update a recipient config that is locked by the user.
|
|
16724
17293
|
*/ var NOTIFICATION_USER_LOCKED_CONFIG_FROM_BEING_UPDATED_ERROR_CODE = 'NOTIFICATION_USER_LOCKED_CONFIG_FROM_BEING_UPDATED';
|
|
17294
|
+
/**
|
|
17295
|
+
* Thrown when a NotificationUser health check is run again before its throttle window has passed.
|
|
17296
|
+
*/ var NOTIFICATION_USER_HEALTH_CHECK_THROTTLED_ERROR_CODE = 'NOTIFICATION_USER_HEALTH_CHECK_THROTTLED';
|
|
17297
|
+
/**
|
|
17298
|
+
* Thrown when a NotificationUser health check test message is dispatched again before its throttle
|
|
17299
|
+
* window has passed. Tracked separately from the run throttle, since a probe sends a real message.
|
|
17300
|
+
*/ var NOTIFICATION_USER_HEALTH_CHECK_PROBE_THROTTLED_ERROR_CODE = 'NOTIFICATION_USER_HEALTH_CHECK_PROBE_THROTTLED';
|
|
17301
|
+
/**
|
|
17302
|
+
* Thrown when a NotificationUser health check's pending probes are verified again before its throttle
|
|
17303
|
+
* window has passed. Tracked separately from the run throttle: verifying an in-flight test message is
|
|
17304
|
+
* cheap and meant to be polled, so it neither answers to nor consumes the user's run allowance.
|
|
17305
|
+
*/ var NOTIFICATION_USER_HEALTH_CHECK_VERIFY_THROTTLED_ERROR_CODE = 'NOTIFICATION_USER_HEALTH_CHECK_VERIFY_THROTTLED';
|
|
16725
17306
|
|
|
16726
17307
|
function _define_property$9(obj, key, value) {
|
|
16727
17308
|
if (key in obj) {
|
|
@@ -17954,6 +18535,53 @@ function _unsupported_iterable_to_array$4(o, minLen) {
|
|
|
17954
18535
|
return service;
|
|
17955
18536
|
}
|
|
17956
18537
|
|
|
18538
|
+
/**
|
|
18539
|
+
* @module notification.healthcheck.mailgun
|
|
18540
|
+
*
|
|
18541
|
+
* Issue codes emitted by the Mailgun-backed email health check.
|
|
18542
|
+
*
|
|
18543
|
+
* These live here, rather than next to the server-side check that emits them, so a browser can ship a
|
|
18544
|
+
* first-class presentation for each code without re-declaring the strings. The check itself stays in
|
|
18545
|
+
* `@dereekb/firebase-server/model` and imports these codes from here.
|
|
18546
|
+
*/ /**
|
|
18547
|
+
* Issue codes emitted by the Mailgun email health check.
|
|
18548
|
+
*
|
|
18549
|
+
* These are Mailgun-specific and sit alongside the library's own
|
|
18550
|
+
* {@link KnownNotificationHealthCheckIssueCode} values.
|
|
18551
|
+
*/ var MailgunNotificationHealthCheckIssueCode;
|
|
18552
|
+
(function(MailgunNotificationHealthCheckIssueCode) {
|
|
18553
|
+
/**
|
|
18554
|
+
* The address is on the domain's bounce suppression list, so Mailgun drops every message to it.
|
|
18555
|
+
*/ MailgunNotificationHealthCheckIssueCode["SUPPRESSED_BOUNCE"] = "mailgunSuppressedBounce";
|
|
18556
|
+
/**
|
|
18557
|
+
* The address is on the domain's spam complaint list, so Mailgun drops every message to it.
|
|
18558
|
+
*/ MailgunNotificationHealthCheckIssueCode["SUPPRESSED_COMPLAINT"] = "mailgunSuppressedComplaint";
|
|
18559
|
+
/**
|
|
18560
|
+
* The address is on the domain's unsubscribe list.
|
|
18561
|
+
*/ MailgunNotificationHealthCheckIssueCode["SUPPRESSED_UNSUBSCRIBE"] = "mailgunSuppressedUnsubscribe";
|
|
18562
|
+
/**
|
|
18563
|
+
* A recent message to the address failed or was rejected.
|
|
18564
|
+
*/ MailgunNotificationHealthCheckIssueCode["RECENT_DELIVERY_FAILURE"] = "mailgunRecentDeliveryFailure";
|
|
18565
|
+
/**
|
|
18566
|
+
* A recent message to the address was delivered successfully.
|
|
18567
|
+
*/ MailgunNotificationHealthCheckIssueCode["RECENT_DELIVERY_SUCCESS"] = "mailgunRecentDeliverySuccess";
|
|
18568
|
+
/**
|
|
18569
|
+
* No email activity was recorded for the address in the window that was inspected.
|
|
18570
|
+
*/ MailgunNotificationHealthCheckIssueCode["NO_RECENT_ACTIVITY"] = "mailgunNoRecentActivity";
|
|
18571
|
+
/**
|
|
18572
|
+
* The sending domain is not active, which blocks delivery for everyone.
|
|
18573
|
+
*/ MailgunNotificationHealthCheckIssueCode["DOMAIN_NOT_ACTIVE"] = "mailgunDomainNotActive";
|
|
18574
|
+
/**
|
|
18575
|
+
* Address validation says the address cannot receive mail.
|
|
18576
|
+
*/ MailgunNotificationHealthCheckIssueCode["ADDRESS_UNDELIVERABLE"] = "mailgunAddressUndeliverable";
|
|
18577
|
+
/**
|
|
18578
|
+
* The address belongs to a disposable email provider.
|
|
18579
|
+
*/ MailgunNotificationHealthCheckIssueCode["ADDRESS_DISPOSABLE"] = "mailgunAddressDisposable";
|
|
18580
|
+
/**
|
|
18581
|
+
* A probe was requested but no probe message builder is configured.
|
|
18582
|
+
*/ MailgunNotificationHealthCheckIssueCode["PROBE_NOT_CONFIGURED"] = "mailgunProbeNotConfigured";
|
|
18583
|
+
})(MailgunNotificationHealthCheckIssueCode || (MailgunNotificationHealthCheckIssueCode = {}));
|
|
18584
|
+
|
|
17957
18585
|
function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
17958
18586
|
try {
|
|
17959
18587
|
var info = gen[key](arg);
|
|
@@ -21760,4 +22388,4 @@ function _is_native_reflect_construct() {
|
|
|
21760
22388
|
});
|
|
21761
22389
|
}
|
|
21762
22390
|
|
|
21763
|
-
export { ALL_OIDC_TOKEN_ENDPOINT_AUTH_METHODS, 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, CALL_MODEL_MISSING_OIDC_SCOPE_ERROR_CODE, CALL_MODEL_OIDC_SCOPES, CALL_MODEL_OIDC_SCOPE_DETAILS, CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE, CALL_MODEL_OIDC_SCOPE_PREFIX, CLIENT_SECRET_BASIC_TOKEN_ENDPOINT_AUTH_METHOD, CLIENT_SECRET_JWT_TOKEN_ENDPOINT_AUTH_METHOD, CLIENT_SECRET_POST_TOKEN_ENDPOINT_AUTH_METHOD, CONFLICT_ERROR_CODE, COPY_USER_RELATED_DATA_ACCESSOR_FACTORY_FUNCTION, CREATE_MODEL_OIDC_SCOPE, CREATE_NOTIFICATION_ID_REQUIRED_ERROR_CODE, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MAX_EXPIRES_IN_MS, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MAX_FILENAME_LENGTH, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MIN_EXPIRES_IN_MS, 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_CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_EXPIRES_IN_MS, 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_IN_MEMORY_CACHE_TTL, DEFAULT_ITERATE_FIRESTORE_DOCUMENT_SNAPSHOT_BATCHES_BATCH_SIZE, DEFAULT_MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER, 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_PAGED_ITEM_INDEX_DOCUMENT_ID, DEFAULT_PAGED_ITEM_MAX_ITEMS_PER_PAGE, DEFAULT_QUERY_CHANGE_WATCHER_DELAY, DEFAULT_SINGLE_ITEM_FIRESTORE_COLLECTION_DOCUMENT_IDENTIFIER, DEFAULT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, DEFAULT_WEBSITE_LINK, DELETE_MODEL_OIDC_SCOPE, DOWNLOAD_MULTIPLE_STORAGE_FILES_MAX_FILES, DOWNLOAD_MULTIPLE_STORAGE_FILES_MIN_FILES, EMAIL_OIDC_SCOPE, EMAIL_OIDC_SCOPE_DETAILS, 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_OOB_CODE_DATA_PAIR_DELIMITER, 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_EXPIRES_AT_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, INVOKE_MODEL_OIDC_SCOPE, 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_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_MODEL_CRUD_FUNCTIONS_CONFIG, NOTIFICATION_BOX_RECIPIENT_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_FUNCTION_TYPE_CONFIG_MAP, NOTIFICATION_LOGGED_EVENT_DAY_ITEM_CONVERTER, 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, NotificationLoggedEventDayDocument, NotificationLoggedEventDayPageDocument, NotificationMessageFlag, NotificationRecipientSendFlag, NotificationSendState, NotificationSendType, NotificationSummaryDocument, NotificationUserDocument, NotificationWeekDocument, OFFLINE_ACCESS_OIDC_SCOPE, OFFLINE_ACCESS_OIDC_SCOPE_DETAILS, OIDC_ENTRY_CLIENT_TYPE, OIDC_FUNCTION_TYPE_CONFIG_MAP, OIDC_MODEL_CRUD_FUNCTIONS_CONFIG, OIDC_PROVIDER_PROFILE_DEFAULT_DESCRIPTION_SUFFIX, OPENID_OIDC_SCOPE, OPENID_OIDC_SCOPE_DETAILS, OidcEntryDocument, OidcModelFirestoreCollections, OidcModelFunctions, PERMISSION_DENIED_ERROR_CODE, PRIVATE_KEY_JWT_TOKEN_ENDPOINT_AUTH_METHOD, PROFILE_OIDC_SCOPE, PROFILE_OIDC_SCOPE_DETAILS, PUBLIC_PKCE_TOKEN_ENDPOINT_AUTH_METHOD, QUERY_MODEL_OIDC_SCOPE, READ_MODEL_OIDC_SCOPE, RUN_DEV_FUNCTION_APP_FUNCTION_KEY, SCHEDULED_FUNCTION_DEV_FUNCTION_SPECIFIER, SERVICE_TOKEN_OIDC_SCOPE, SERVICE_TOKEN_OIDC_SCOPE_DETAILS, STANDARD_OIDC_SCOPES, STANDARD_OIDC_SCOPE_DETAILS, STORAGEFILE_RELATED_FILE_METADATA_KEY, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_FUNCTION_TYPE_CONFIG_MAP, 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_MODEL_CRUD_FUNCTIONS_CONFIG, 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, STORAGE_FILE_UPLOAD_USER_SIMPLE_CLAIMS_CONFIGURATION, 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, UPDATE_MODEL_OIDC_SCOPE, 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, adminOnlyScopesForOidcProviderProfiles, allChildDocumentsUnderParent, allChildDocumentsUnderParentPath, allChildDocumentsUnderRelativePath, allowDocumentSnapshotWithPathOnceFilter, allowedNotificationRecipients, appNotificationTemplateTypeInfoRecordService, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, arrayUpdateWithAccessorFunction, asTopLevelFieldPath, asTopLevelFieldPaths, assertFirestoreUpdateHasData, assertStorageUploadOptionsStringFormat, assignDateCellRangeFunction, assignDateCellScheduleFunction, assignUnitedStatesAddressFunction, assignWebsiteFileLinkFunction, assignWebsiteLinkFunction, assignmentOnlyScopesForOidcProviderProfiles, buildFirebaseCollectionTypeModelTypeMap, calculateNsForNotificationUserNotificationBoxRecipientConfigs, calculateStorageFileGroupEmbeddedFileUpdate, calculateStorageFileGroupRegeneration, callModelFirebaseFunctionMapFactory, callModelOidcScopeForCallType, canQueueStorageFileForProcessing, childFirestoreModelKey, childFirestoreModelKeyPath, childFirestoreModelKeys, cleanupOldNotificationLoggedEventDaysParamsType, cleanupSentNotificationsParamsType, clientFirebaseFirestoreContextFactory, clientFirebaseStorageContextFactory, combineUploadFileTypeDeterminers, completeSubtaskProcessingAndScheduleCleanupTaskResult, contextGrantedModelRolesReader, contextGrantedModelRolesReaderDoesNotExistErrorMessage, contextGrantedModelRolesReaderPermissionErrorMessage, convertHttpsCallableErrorToReadableError, copyDocumentIdForUserRelatedModifierFunction, copyDocumentIdToFieldModifierFunction, copyStoragePath, copyUserRelatedDataAccessorFactoryFunction, copyUserRelatedDataModifierConfig, createNotificationBoxParamsType, createNotificationDocument, createNotificationDocumentIfSending, createNotificationDocumentPair, createNotificationLoggedEventTemplate, createNotificationSummaryParamsType, createNotificationTaskTemplate, createNotificationTemplate, createNotificationUserParamsType, createOidcClientFieldParamsType, createOidcClientParamsType, createStorageFileDocumentPair, createStorageFileDocumentPairFactory, createStorageFileGroupParamsType, createStorageFileParamsType, createStorageFileSignedUploadUrlParamsType, dataFromDocumentSnapshots, dataFromSnapshotStream, decodeFirebaseAuthOobCode, defaultOidcProviderProfiles, defaultPagedItemPageDataConverter, defaultUnlockedScopesForOidcProviderProfiles, delayCompletion, deleteAllQueuedStorageFilesParamsType, targetModelParamsType as deleteOidcClientParamsType, targetModelParamsType as deleteOidcTokenParamsType, deleteStorageFileParamsType, determineByFileName, determineByFilePath, determineByFolderName, determineUserByFolder, determineUserByFolderWrapperFunction, determineUserByUserUploadsFolderWrapperFunction, developmentFirebaseFunctionMapFactory, directDataHttpsCallable, documentData, documentDataFunction, documentDataWithIdAndKey, documentReferenceFromDocument, documentReferencesFromDocuments, documentReferencesFromSnapshot, downloadMultipleStorageFilesFileParamsType, downloadMultipleStorageFilesParamsType, downloadStorageFileParamsType, effectiveNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientTemplateConfig, encodeFirebaseAuthOobCode, endAt, endAtValue, endBefore, extendFirestoreCollectionWithPagedItemAccessor, 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, isLoggedEventNotification, 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, makePagedItemFirestoreCollection, 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, notificationBoxRecipientTemplateConfigArrayEntryParamType, notificationBoxRecipientTemplateConfigArrayToRecord, notificationBoxRecipientTemplateConfigRecordToArray, notificationBoxesFlaggedForNeedsInitializationQuery, notificationBoxesFlaggedInvalidQuery, notificationCollectionReference, notificationCollectionReferenceFactory, notificationConverter, notificationFirestoreCollectionFactory, notificationFirestoreCollectionGroup, notificationFunctionMap, notificationIdentity, notificationLoggedEventDayCollectionReference, notificationLoggedEventDayCollectionReferenceFactory, notificationLoggedEventDayConverter, notificationLoggedEventDayFirestoreCollectionFactory, notificationLoggedEventDayFirestoreCollectionGroup, notificationLoggedEventDayId, notificationLoggedEventDayIdentity, notificationLoggedEventDayPageCollectionReference, notificationLoggedEventDayPageFirestoreCollectionGroup, notificationLoggedEventDayPageIdentity, notificationLoggedEventDayPagedItemsCollectionFactory, notificationLoggedEventDayPagedItemsCollectionReferenceFactory, notificationLoggedEventDaysOlderThanQuery, notificationLoggedEventLoader, 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, oidcEntriesByClientIdQuery, oidcEntriesByGrantIdQuery, oidcEntriesByUidQuery, oidcEntriesByUserCodeQuery, oidcEntriesWithTypeQuery, oidcEntryCollectionReference, oidcEntryConverter, oidcEntryFirestoreCollection, oidcEntryIdentity, oidcGrantEntriesByUidQuery, oidcModelFunctionMap, oidcProviderProfileDetails, oidcProviderProfilesForClient, oidcProviderProfilesForKeys, oidcScopeTermSatisfied, oidcScopeTermsSatisfied, oidcScopesFromScopeClaim, onCallCreateModelParams, onCallCreateModelResult, onCallCreateModelResultWithDocs, onCallDeleteModelParams, onCallDevelopmentParams, onCallInvokeModelParams, onCallQueryModelParams, onCallReadModelParams, onCallTypedModelParams, onCallTypedModelParamsFunction, onCallUpdateModelParams, optionalFirestoreArray, optionalFirestoreBoolean, optionalFirestoreDate, optionalFirestoreDateNumber, optionalFirestoreEnum, optionalFirestoreField, optionalFirestoreNumber, optionalFirestoreString, optionalFirestoreUID, optionalFirestoreUnitedStatesAddress, optionalFirestoreUnixDateTimeSecondsNumber, orderBy, orderByDocumentId, processAllQueuedStorageFilesParamsType, processStorageFileParamsType, readFirestoreModelKey, readFirestoreModelKeyFromDocumentSnapshot, readLoggingFirestoreContextCache, readLoggingFirestoreContextCacheFactory, readMultipleStorageFilesMetadataFileParamsType, readMultipleStorageFilesMetadataParamsType, readStorageFileMetadataParamsType, regenerateAllFlaggedStorageFileGroupsContentParamsType, regenerateStorageFileGroupContentParamsType, replaceConstraints, requiredScopesForOidcProviderProfiles, resolveEffectiveOidcScopeTerms, resolveOidcModelScopeRequirement, resyncAllNotificationUserParamsType, targetModelParamsType as resyncNotificationUserParamsType, targetModelParamsType as rotateOidcClientSecretParamsType, scheduledFunctionDevelopmentFirebaseFunctionParamsType, scopesForOidcProviderProfiles, selectFromFirebaseModelsService, sendNotificationParamsType, sendQueuedNotificationsParamsType, separateConstraints, setIdAndKeyFromKeyIdRefOnDocumentData, setIdAndKeyFromSnapshotOnDocumentData, shouldSaveNotificationToNotificationWeek, shouldSendCreatedNotificationInput, snapshotConverterFunctions, snapshotStreamDataForAccessor, snapshotStreamForAccessor, sortNotificationItemsFunction, startAfter, startAt, startAtValue, storageFileCollectionReference, storageFileConverter, storageFileFirestoreCollection, storageFileFlaggedForSyncWithGroupsQuery, storageFileFunctionMap, storageFileGroupCollectionReference, storageFileGroupConverter, storageFileGroupCreateStorageFileKeyFactory, storageFileGroupCreatedStorageFileKey, storageFileGroupEmbeddedFile, storageFileGroupFirestoreCollection, storageFileGroupFolderPath, storageFileGroupIdForModel, storageFileGroupIdentity, storageFileGroupZipFileStoragePath, storageFileGroupZipStorageFileKey, storageFileGroupsFlaggedForContentRegenerationQuery, storageFileGroupsFlaggedForNeedsInitializationQuery, storageFileGroupsFlaggedInvalidQuery, storageFileIdentity, storageFileProcessingNotificationTaskTemplate, storageFilePurposeAndUserQuery, storageFilesQueuedForDeleteQuery, storageFilesQueuedForProcessingQuery, storageListFilesResultFactory, storageListFilesResultHasNoNextError, storagePathFactory, storedFileReaderFactory, streamDocumentSnapshotDataPairs, streamDocumentSnapshotDataPairsWithData, streamDocumentSnapshotsData, streamFromOnSnapshot, syncAllFlaggedStorageFilesWithGroupsParamsType, syncStorageFileWithGroupsParamsType, systemStateCollectionReference, systemStateConverter, systemStateFirestoreCollection, systemStateIdentity, targetModelIdParamsType, targetModelParamsType, twoWayFlatFirestoreModelKey, unreadNotificationItems, unsupportedFirestoreDriverFunctionError, targetModelParamsType as 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 };
|
|
22391
|
+
export { ALL_NOTIFICATION_DELIVERY_METHODS, ALL_OIDC_TOKEN_ENDPOINT_AUTH_METHODS, 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, CALL_MODEL_MISSING_OIDC_SCOPE_ERROR_CODE, CALL_MODEL_OIDC_SCOPES, CALL_MODEL_OIDC_SCOPE_DETAILS, CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE, CALL_MODEL_OIDC_SCOPE_PREFIX, CLIENT_SECRET_BASIC_TOKEN_ENDPOINT_AUTH_METHOD, CLIENT_SECRET_JWT_TOKEN_ENDPOINT_AUTH_METHOD, CLIENT_SECRET_POST_TOKEN_ENDPOINT_AUTH_METHOD, CONFLICT_ERROR_CODE, COPY_USER_RELATED_DATA_ACCESSOR_FACTORY_FUNCTION, CREATE_MODEL_OIDC_SCOPE, CREATE_NOTIFICATION_ID_REQUIRED_ERROR_CODE, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MAX_EXPIRES_IN_MS, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MAX_FILENAME_LENGTH, CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_MIN_EXPIRES_IN_MS, 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_CREATE_STORAGE_FILE_SIGNED_UPLOAD_URL_EXPIRES_IN_MS, 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_IN_MEMORY_CACHE_TTL, DEFAULT_ITERATE_FIRESTORE_DOCUMENT_SNAPSHOT_BATCHES_BATCH_SIZE, DEFAULT_MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER, 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_NOTIFICATION_USER_HEALTH_CHECK_PROBE_THROTTLE_MINUTES, DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_THROTTLE_MINUTES, DEFAULT_NOTIFICATION_USER_HEALTH_CHECK_VERIFY_THROTTLE_SECONDS, DEFAULT_ON_CALL_QUERY_MODEL_LIMIT, DEFAULT_PAGED_ITEM_INDEX_DOCUMENT_ID, DEFAULT_PAGED_ITEM_MAX_ITEMS_PER_PAGE, DEFAULT_QUERY_CHANGE_WATCHER_DELAY, DEFAULT_SINGLE_ITEM_FIRESTORE_COLLECTION_DOCUMENT_IDENTIFIER, DEFAULT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, DEFAULT_WEBSITE_LINK, DELETE_MODEL_OIDC_SCOPE, DOWNLOAD_MULTIPLE_STORAGE_FILES_MAX_FILES, DOWNLOAD_MULTIPLE_STORAGE_FILES_MIN_FILES, EMAIL_OIDC_SCOPE, EMAIL_OIDC_SCOPE_DETAILS, 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_OOB_CODE_DATA_PAIR_DELIMITER, 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_EXPIRES_AT_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, INVOKE_MODEL_OIDC_SCOPE, KnownNotificationHealthCheckIssueCode, 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_SPLITTER, MODEL_NOT_AVAILABLE_ERROR_CODE, MODEL_STORAGE_FILE_SLASH_PATH_FACTORY, MailgunNotificationHealthCheckIssueCode, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, NOTIFICATION_BOX_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_BOX_EXCLUSION_TARGET_INVALID_ERROR_CODE, NOTIFICATION_BOX_EXISTS_FOR_MODEL_ERROR_CODE, NOTIFICATION_BOX_MODEL_CRUD_FUNCTIONS_CONFIG, NOTIFICATION_BOX_RECIPIENT_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_FUNCTION_TYPE_CONFIG_MAP, NOTIFICATION_HEALTH_CHECK_STATUS_SEVERITY, NOTIFICATION_LOGGED_EVENT_DAY_ITEM_CONVERTER, 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_HEALTH_CHECK_PROBE_THROTTLED_ERROR_CODE, NOTIFICATION_USER_HEALTH_CHECK_THROTTLED_ERROR_CODE, NOTIFICATION_USER_HEALTH_CHECK_VERIFY_THROTTLED_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, NotificationDeliveryMethod, NotificationDocument, NotificationFirestoreCollections, NotificationFunctions, NotificationHealthCheckStatus, NotificationLoggedEventDayDocument, NotificationLoggedEventDayPageDocument, NotificationMessageFlag, NotificationRecipientSendFlag, NotificationSendState, NotificationSendType, NotificationSummaryDocument, NotificationUserDocument, NotificationWeekDocument, OFFLINE_ACCESS_OIDC_SCOPE, OFFLINE_ACCESS_OIDC_SCOPE_DETAILS, OIDC_ENTRY_CLIENT_TYPE, OIDC_FUNCTION_TYPE_CONFIG_MAP, OIDC_MODEL_CRUD_FUNCTIONS_CONFIG, OIDC_PROVIDER_PROFILE_DEFAULT_DESCRIPTION_SUFFIX, OPENID_OIDC_SCOPE, OPENID_OIDC_SCOPE_DETAILS, OidcEntryDocument, OidcModelFirestoreCollections, OidcModelFunctions, PERMISSION_DENIED_ERROR_CODE, PRIVATE_KEY_JWT_TOKEN_ENDPOINT_AUTH_METHOD, PROFILE_OIDC_SCOPE, PROFILE_OIDC_SCOPE_DETAILS, PUBLIC_PKCE_TOKEN_ENDPOINT_AUTH_METHOD, QUERY_MODEL_OIDC_SCOPE, READ_MODEL_OIDC_SCOPE, RUN_DEV_FUNCTION_APP_FUNCTION_KEY, SCHEDULED_FUNCTION_DEV_FUNCTION_SPECIFIER, SERVICE_TOKEN_OIDC_SCOPE, SERVICE_TOKEN_OIDC_SCOPE_DETAILS, STANDARD_OIDC_SCOPES, STANDARD_OIDC_SCOPE_DETAILS, STORAGEFILE_RELATED_FILE_METADATA_KEY, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_FUNCTION_TYPE_CONFIG_MAP, 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_MODEL_CRUD_FUNCTIONS_CONFIG, 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, STORAGE_FILE_UPLOAD_USER_SIMPLE_CLAIMS_CONFIGURATION, 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, UNTRACKABLE_NOTIFICATION_HEALTH_CHECK_PROBE_ID, UPDATE_MODEL_OIDC_SCOPE, 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, adminOnlyScopesForOidcProviderProfiles, allChildDocumentsUnderParent, allChildDocumentsUnderParentPath, allChildDocumentsUnderRelativePath, allNotificationHealthCheckIssues, allowDocumentSnapshotWithPathOnceFilter, allowedNotificationRecipients, appNotificationTemplateTypeInfoRecordService, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, arrayUpdateWithAccessorFunction, asTopLevelFieldPath, asTopLevelFieldPaths, assertFirestoreUpdateHasData, assertStorageUploadOptionsStringFormat, assignDateCellRangeFunction, assignDateCellScheduleFunction, assignUnitedStatesAddressFunction, assignWebsiteFileLinkFunction, assignWebsiteLinkFunction, assignmentOnlyScopesForOidcProviderProfiles, buildFirebaseCollectionTypeModelTypeMap, calculateNsForNotificationUserNotificationBoxRecipientConfigs, calculateStorageFileGroupEmbeddedFileUpdate, calculateStorageFileGroupRegeneration, callModelFirebaseFunctionMapFactory, callModelOidcScopeForCallType, canQueueStorageFileForProcessing, childFirestoreModelKey, childFirestoreModelKeyPath, childFirestoreModelKeys, cleanupOldNotificationLoggedEventDaysParamsType, cleanupSentNotificationsParamsType, clientFirebaseFirestoreContextFactory, clientFirebaseStorageContextFactory, combineUploadFileTypeDeterminers, completeSubtaskProcessingAndScheduleCleanupTaskResult, contextGrantedModelRolesReader, contextGrantedModelRolesReaderDoesNotExistErrorMessage, contextGrantedModelRolesReaderPermissionErrorMessage, convertHttpsCallableErrorToReadableError, copyDocumentIdForUserRelatedModifierFunction, copyDocumentIdToFieldModifierFunction, copyStoragePath, copyUserRelatedDataAccessorFactoryFunction, copyUserRelatedDataModifierConfig, createNotificationBoxParamsType, createNotificationDocument, createNotificationDocumentIfSending, createNotificationDocumentPair, createNotificationLoggedEventTemplate, createNotificationSummaryParamsType, createNotificationTaskTemplate, createNotificationTemplate, createNotificationUserParamsType, createOidcClientFieldParamsType, createOidcClientParamsType, createStorageFileDocumentPair, createStorageFileDocumentPairFactory, createStorageFileGroupParamsType, createStorageFileParamsType, createStorageFileSignedUploadUrlParamsType, dataFromDocumentSnapshots, dataFromSnapshotStream, decodeFirebaseAuthOobCode, defaultOidcProviderProfiles, defaultPagedItemPageDataConverter, defaultUnlockedScopesForOidcProviderProfiles, delayCompletion, deleteAllQueuedStorageFilesParamsType, targetModelParamsType as deleteOidcClientParamsType, targetModelParamsType as deleteOidcTokenParamsType, deleteStorageFileParamsType, determineByFileName, determineByFilePath, determineByFolderName, determineUserByFolder, determineUserByFolderWrapperFunction, determineUserByUserUploadsFolderWrapperFunction, developmentFirebaseFunctionMapFactory, directDataHttpsCallable, documentData, documentDataFunction, documentDataWithIdAndKey, documentReferenceFromDocument, documentReferencesFromDocuments, documentReferencesFromSnapshot, downloadMultipleStorageFilesFileParamsType, downloadMultipleStorageFilesParamsType, downloadStorageFileParamsType, effectiveNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientTemplateConfig, encodeFirebaseAuthOobCode, endAt, endAtValue, endBefore, extendFirestoreCollectionWithPagedItemAccessor, 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, firestoreNotificationDeliveryHealthCheckResult, firestoreNotificationHealthCheck, firestoreNotificationHealthCheckIssue, firestoreNotificationHealthCheckProbe, 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, isLoggedEventNotification, isOwnerOfUserRelatedModelInFirebaseModelContext, isPendingNotificationHealthCheckProbe, isProblemNotificationHealthCheckStatus, 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, makePagedItemFirestoreCollection, 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, notificationBoxRecipientTemplateConfigArrayEntryParamType, notificationBoxRecipientTemplateConfigArrayToRecord, notificationBoxRecipientTemplateConfigRecordToArray, notificationBoxesFlaggedForNeedsInitializationQuery, notificationBoxesFlaggedInvalidQuery, notificationCollectionReference, notificationCollectionReferenceFactory, notificationConverter, notificationDeliveryHealthCheckResultForMethod, notificationFirestoreCollectionFactory, notificationFirestoreCollectionGroup, notificationFunctionMap, notificationHealthCheckIssue, notificationHealthCheckPendingProbeMethods, notificationIdentity, notificationLoggedEventDayCollectionReference, notificationLoggedEventDayCollectionReferenceFactory, notificationLoggedEventDayConverter, notificationLoggedEventDayFirestoreCollectionFactory, notificationLoggedEventDayFirestoreCollectionGroup, notificationLoggedEventDayId, notificationLoggedEventDayIdentity, notificationLoggedEventDayPageCollectionReference, notificationLoggedEventDayPageFirestoreCollectionGroup, notificationLoggedEventDayPageIdentity, notificationLoggedEventDayPagedItemsCollectionFactory, notificationLoggedEventDayPagedItemsCollectionReferenceFactory, notificationLoggedEventDaysOlderThanQuery, notificationLoggedEventLoader, notificationMessageFunction, notificationRecipientParamsType, notificationSendExclusionCanSendFunction, notificationSendFlagsImplyIsComplete, notificationSubtaskComplete, notificationSummariesFlaggedForNeedsInitializationQuery, notificationSummaryCollectionReference, notificationSummaryConverter, notificationSummaryFirestoreCollection, notificationSummaryIdForModel, notificationSummaryIdForUidFunctionForRootFirestoreModelIdentity, notificationSummaryIdentity, notificationTaskCanRunNextCheckpoint, notificationTaskComplete, notificationTaskDelayRetry, notificationTaskFailed, notificationTaskPartiallyComplete, notificationTaskUniqueId, notificationTemplateTypeInfoRecord, notificationUserCollectionReference, notificationUserConverter, notificationUserFirestoreCollection, notificationUserHasExclusionQuery, notificationUserHealthCheckNextProbeAt, notificationUserHealthCheckNextProbeAtByMethod, notificationUserHealthCheckNextRunAt, notificationUserHealthCheckNextVerifyAt, notificationUserHealthCheckParamsType, notificationUserIdentity, notificationUsersFlaggedForNeedsSyncQuery, notificationWeekCollectionReference, notificationWeekCollectionReferenceFactory, notificationWeekConverter, notificationWeekFirestoreCollectionFactory, notificationWeekFirestoreCollectionGroup, notificationWeekIdentity, notificationsPastSendAtTimeQuery, notificationsReadyForCleanupQuery, offset, oidcClientEntriesByOwnerQuery, oidcEntriesByClientIdQuery, oidcEntriesByGrantIdQuery, oidcEntriesByUidQuery, oidcEntriesByUserCodeQuery, oidcEntriesWithTypeQuery, oidcEntryCollectionReference, oidcEntryConverter, oidcEntryFirestoreCollection, oidcEntryIdentity, oidcGrantEntriesByUidQuery, oidcModelFunctionMap, oidcProviderProfileDetails, oidcProviderProfilesForClient, oidcProviderProfilesForKeys, oidcScopeTermSatisfied, oidcScopeTermsSatisfied, oidcScopesFromScopeClaim, onCallCreateModelParams, onCallCreateModelResult, onCallCreateModelResultWithDocs, onCallDeleteModelParams, onCallDevelopmentParams, onCallInvokeModelParams, onCallQueryModelParams, onCallReadModelParams, onCallTypedModelParams, onCallTypedModelParamsFunction, onCallUpdateModelParams, optionalFirestoreArray, optionalFirestoreBoolean, optionalFirestoreDate, optionalFirestoreDateNumber, optionalFirestoreEnum, optionalFirestoreField, optionalFirestoreNotificationHealthCheck, optionalFirestoreNumber, optionalFirestoreString, optionalFirestoreUID, optionalFirestoreUnitedStatesAddress, optionalFirestoreUnixDateTimeSecondsNumber, orderBy, orderByDocumentId, processAllQueuedStorageFilesParamsType, processStorageFileParamsType, readFirestoreModelKey, readFirestoreModelKeyFromDocumentSnapshot, readLoggingFirestoreContextCache, readLoggingFirestoreContextCacheFactory, readMultipleStorageFilesMetadataFileParamsType, readMultipleStorageFilesMetadataParamsType, readStorageFileMetadataParamsType, regenerateAllFlaggedStorageFileGroupsContentParamsType, regenerateStorageFileGroupContentParamsType, replaceConstraints, requiredScopesForOidcProviderProfiles, resolveEffectiveOidcScopeTerms, resolveOidcModelScopeRequirement, resyncAllNotificationUserParamsType, targetModelParamsType as resyncNotificationUserParamsType, rollupNotificationDeliveryHealthCheckResultStatus, rollupNotificationHealthCheckResultStatus, rollupNotificationHealthCheckStatus, targetModelParamsType as rotateOidcClientSecretParamsType, scheduledFunctionDevelopmentFirebaseFunctionParamsType, scopesForOidcProviderProfiles, selectFromFirebaseModelsService, sendNotificationParamsType, sendQueuedNotificationsParamsType, separateConstraints, setIdAndKeyFromKeyIdRefOnDocumentData, setIdAndKeyFromSnapshotOnDocumentData, shouldSaveNotificationToNotificationWeek, shouldSendCreatedNotificationInput, snapshotConverterFunctions, snapshotStreamDataForAccessor, snapshotStreamForAccessor, sortNotificationItemsFunction, startAfter, startAt, startAtValue, storageFileCollectionReference, storageFileConverter, storageFileFirestoreCollection, storageFileFlaggedForSyncWithGroupsQuery, storageFileFunctionMap, storageFileGroupCollectionReference, storageFileGroupConverter, storageFileGroupCreateStorageFileKeyFactory, storageFileGroupCreatedStorageFileKey, storageFileGroupEmbeddedFile, storageFileGroupFirestoreCollection, storageFileGroupFolderPath, storageFileGroupIdForModel, storageFileGroupIdentity, storageFileGroupZipFileStoragePath, storageFileGroupZipStorageFileKey, storageFileGroupsFlaggedForContentRegenerationQuery, storageFileGroupsFlaggedForNeedsInitializationQuery, storageFileGroupsFlaggedInvalidQuery, storageFileIdentity, storageFileProcessingNotificationTaskTemplate, storageFilePurposeAndUserQuery, storageFilesQueuedForDeleteQuery, storageFilesQueuedForProcessingQuery, storageListFilesResultFactory, storageListFilesResultHasNoNextError, storagePathFactory, storedFileReaderFactory, streamDocumentSnapshotDataPairs, streamDocumentSnapshotDataPairsWithData, streamDocumentSnapshotsData, streamFromOnSnapshot, syncAllFlaggedStorageFilesWithGroupsParamsType, syncStorageFileWithGroupsParamsType, systemStateCollectionReference, systemStateConverter, systemStateFirestoreCollection, systemStateIdentity, targetModelIdParamsType, targetModelParamsType, twoWayFlatFirestoreModelKey, unreadNotificationItems, unsupportedFirestoreDriverFunctionError, untrackableNotificationHealthCheckProbe, targetModelParamsType as 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 };
|