@dereekb/firebase 13.0.7 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +216 -1086
- package/index.cjs.js.map +1 -1
- package/index.esm.js +171 -1041
- package/index.esm.js.map +1 -1
- package/package.json +6 -7
- package/src/lib/common/development/function.schedule.d.ts +5 -6
- package/src/lib/common/model/model/model.param.d.ts +15 -10
- package/src/lib/common/model/model/model.validator.d.ts +6 -8
- package/src/lib/model/notification/notification.api.d.ts +101 -294
- package/src/lib/model/storagefile/storagefile.api.d.ts +67 -184
- package/test/package.json +6 -6
package/index.esm.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { increment, arrayRemove, arrayUnion, onSnapshot, getDoc, deleteDoc, setDoc, updateDoc, collection, collectionGroup, doc, writeBatch, runTransaction, getDocs, getCountFromServer, endBefore as endBefore$1, endAt as endAt$1, startAfter as startAfter$1, startAt as startAt$1, where as where$1, documentId, orderBy as orderBy$1, limitToLast as limitToLast$1, limit as limit$1, query } from 'firebase/firestore';
|
|
2
|
-
import { cachedGetter, mergeModifiers, asArray, filterUndefinedValues, objectHasNoKeys, filterFalsyAndEmptyValues, build, wrapUseAsyncFunction, useAsync, runAsyncTasksForValues, filterMaybeArrayValues, performMakeLoop, makeWithFactory, MAP_IDENTITY, toModelFieldConversions, makeModelMapFunctions, modifyModelMapFunctions, assignValuesToPOJOFunction, KeyValueTypleValueFilter, asObjectCopyFactory, transformStringFunctionConfig, transformStringFunction, passThrough, filterUniqueTransform, unique, transformNumberFunction, sortValuesFunctionOrMapIdentityWithSortRef, toModelMapFunctions, isEqualToValueDecisionFunction, filterFromPOJOFunction, mapObjectMap, copyObject, modelFieldMapFunctions, filterNullAndUndefinedValues, isDate, bitwiseSetDencoder, sortAscendingIndexNumberRefFunction, latLngStringFunction, DEFAULT_LAT_LNG_STRING_VALUE, mapObjectMapFunction, filterEmptyArrayValues, filterUniqueFunction, isMapIdentityFunction, chainMapSameFunctions, unixDateTimeSecondsNumberFromDate, dateFromDateOrTimeSecondsNumber, 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,
|
|
2
|
+
import { cachedGetter, mergeModifiers, asArray, filterUndefinedValues, objectHasNoKeys, filterFalsyAndEmptyValues, build, wrapUseAsyncFunction, useAsync, runAsyncTasksForValues, filterMaybeArrayValues, performMakeLoop, makeWithFactory, MAP_IDENTITY, toModelFieldConversions, makeModelMapFunctions, modifyModelMapFunctions, assignValuesToPOJOFunction, KeyValueTypleValueFilter, asObjectCopyFactory, transformStringFunctionConfig, transformStringFunction, passThrough, filterUniqueTransform, unique, transformNumberFunction, sortValuesFunctionOrMapIdentityWithSortRef, toModelMapFunctions, isEqualToValueDecisionFunction, filterFromPOJOFunction, mapObjectMap, copyObject, modelFieldMapFunctions, filterNullAndUndefinedValues, isDate, bitwiseSetDencoder, sortAscendingIndexNumberRefFunction, latLngStringFunction, DEFAULT_LAT_LNG_STRING_VALUE, mapObjectMapFunction, filterEmptyArrayValues, filterUniqueFunction, isMapIdentityFunction, chainMapSameFunctions, unixDateTimeSecondsNumberFromDate, dateFromDateOrTimeSecondsNumber, 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, stringContains, forEachInIterable, arrayToObject, takeFront, isOddNumber, objectToMap, ServerErrorResponse, toReadableError, capitalizeFirstLetter, lowercaseFirstLetter, toRelativeSlashPathStartType, mappedUseFunction, iterableToArray, setContainsAllValues, usePromise, slashPathFactory, errorMessageContainsString, bitwiseObjectDencoder, UNSET_INDEX_NUMBER, mergeObjectsFunction, mergeObjects, forEachKeyValue, updateMaybeValue, 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, combineLatest, of, exhaustMap, Observable, switchMap, timer, skip, shareReplay } from 'rxjs';
|
|
5
|
-
import { UNKNOWN_WEBSITE_LINK_TYPE, encodeWebsiteFileLinkToWebsiteLinkEncodedData, decodeWebsiteLinkEncodedDataToWebsiteFileLink, AbstractModelPermissionService, grantedRoleMapReader, noAccessRoleMap, fullAccessRoleMap,
|
|
5
|
+
import { UNKNOWN_WEBSITE_LINK_TYPE, encodeWebsiteFileLinkToWebsiteLinkEncodedData, decodeWebsiteLinkEncodedDataToWebsiteFileLink, AbstractModelPermissionService, grantedRoleMapReader, noAccessRoleMap, fullAccessRoleMap, clearable, e164PhoneNumberType } from '@dereekb/model';
|
|
6
6
|
import { toISODateString, formatToISO8601DateString, toJsDate, isSameDate, dateRange, sortByDateFunction, yearWeekCode, UNKNOWN_YEAR_WEEK_CODE } from '@dereekb/date';
|
|
7
7
|
import { httpsCallable } from 'firebase/functions';
|
|
8
8
|
import { getMetadata, ref, deleteObject, uploadBytesResumable, getBlob, getBytes, uploadString, uploadBytes, updateMetadata, getDownloadURL, list } from 'firebase/storage';
|
|
9
|
-
import {
|
|
10
|
-
import { IsEnum, IsString, IsOptional, registerDecorator, buildMessage, IsNotEmpty, IsBoolean, IsNumber, IsEmail, IsArray, ValidateNested, IsPhoneNumber, IsDate, MinLength, MaxLength, Min, IsMimeType } from 'class-validator';
|
|
9
|
+
import { type } from 'arktype';
|
|
11
10
|
import { iterateFetchPages, iterateFetchPagesByEachItem, fetchPageFactory } from '@dereekb/util/fetch';
|
|
12
11
|
import { BaseError } from 'make-error';
|
|
13
12
|
import { isAfter } from 'date-fns';
|
|
@@ -5442,62 +5441,15 @@ const DBX_FIREBASE_SERVER_NO_AUTH_ERROR_CODE = 'NO_AUTH';
|
|
|
5442
5441
|
*/
|
|
5443
5442
|
const DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE = 'NO_USER_UID';
|
|
5444
5443
|
|
|
5445
|
-
/******************************************************************************
|
|
5446
|
-
Copyright (c) Microsoft Corporation.
|
|
5447
|
-
|
|
5448
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
5449
|
-
purpose with or without fee is hereby granted.
|
|
5450
|
-
|
|
5451
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
5452
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
5453
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
5454
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
5455
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
5456
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
5457
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
5458
|
-
***************************************************************************** */
|
|
5459
|
-
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
function __decorate(decorators, target, key, desc) {
|
|
5463
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5464
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5465
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5466
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5467
|
-
}
|
|
5468
|
-
|
|
5469
|
-
function __metadata(metadataKey, metadataValue) {
|
|
5470
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
5471
|
-
}
|
|
5472
|
-
|
|
5473
|
-
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
5474
|
-
var e = new Error(message);
|
|
5475
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
5476
|
-
};
|
|
5477
|
-
|
|
5478
5444
|
var ScheduledFunctionDevelopmentFunctionTypeEnum;
|
|
5479
5445
|
(function (ScheduledFunctionDevelopmentFunctionTypeEnum) {
|
|
5480
5446
|
ScheduledFunctionDevelopmentFunctionTypeEnum["LIST"] = "list";
|
|
5481
5447
|
ScheduledFunctionDevelopmentFunctionTypeEnum["RUN"] = "run";
|
|
5482
5448
|
})(ScheduledFunctionDevelopmentFunctionTypeEnum || (ScheduledFunctionDevelopmentFunctionTypeEnum = {}));
|
|
5483
|
-
|
|
5484
|
-
type
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
*/
|
|
5488
|
-
run;
|
|
5489
|
-
}
|
|
5490
|
-
__decorate([
|
|
5491
|
-
Expose(),
|
|
5492
|
-
IsEnum(ScheduledFunctionDevelopmentFunctionTypeEnum),
|
|
5493
|
-
__metadata("design:type", String)
|
|
5494
|
-
], ScheduledFunctionDevelopmentFirebaseFunctionParams.prototype, "type", void 0);
|
|
5495
|
-
__decorate([
|
|
5496
|
-
Expose(),
|
|
5497
|
-
IsString(),
|
|
5498
|
-
IsOptional(),
|
|
5499
|
-
__metadata("design:type", String)
|
|
5500
|
-
], ScheduledFunctionDevelopmentFirebaseFunctionParams.prototype, "run", void 0);
|
|
5449
|
+
const scheduledFunctionDevelopmentFirebaseFunctionParamsType = type({
|
|
5450
|
+
type: "'list' | 'run'",
|
|
5451
|
+
'run?': 'string'
|
|
5452
|
+
});
|
|
5501
5453
|
class ScheduledFunctionDevelopmentFirebaseFunctionListEntry {
|
|
5502
5454
|
name;
|
|
5503
5455
|
}
|
|
@@ -5524,101 +5476,30 @@ function firebaseModelLoader(getFirestoreCollection) {
|
|
|
5524
5476
|
}
|
|
5525
5477
|
|
|
5526
5478
|
/**
|
|
5527
|
-
*
|
|
5528
|
-
*/
|
|
5529
|
-
|
|
5530
|
-
return function (object, propertyName) {
|
|
5531
|
-
registerDecorator({
|
|
5532
|
-
name: 'isFirestoreModelKey',
|
|
5533
|
-
target: object.constructor,
|
|
5534
|
-
propertyName: propertyName,
|
|
5535
|
-
options: validationOptions,
|
|
5536
|
-
validator: {
|
|
5537
|
-
validate: isFirestoreModelKey,
|
|
5538
|
-
defaultMessage: buildMessage((eachPrefix, args) => eachPrefix + `$property value of "${args?.value}" is not a FirestoreModelKey.`, validationOptions)
|
|
5539
|
-
}
|
|
5540
|
-
});
|
|
5541
|
-
};
|
|
5542
|
-
}
|
|
5479
|
+
* ArkType schema for a FirestoreModelKey (full path like "collection/12345").
|
|
5480
|
+
*/
|
|
5481
|
+
const firestoreModelKeyType = type('string > 0').narrow((val, ctx) => isFirestoreModelKey(val) || ctx.mustBe('a valid FirestoreModelKey'));
|
|
5543
5482
|
/**
|
|
5544
|
-
*
|
|
5483
|
+
* ArkType schema for a FirestoreModelId (document ID like "12345").
|
|
5545
5484
|
*/
|
|
5546
|
-
|
|
5547
|
-
return function (object, propertyName) {
|
|
5548
|
-
registerDecorator({
|
|
5549
|
-
name: 'isFirestoreModelId',
|
|
5550
|
-
target: object.constructor,
|
|
5551
|
-
propertyName: propertyName,
|
|
5552
|
-
options: validationOptions,
|
|
5553
|
-
validator: {
|
|
5554
|
-
validate: isFirestoreModelId,
|
|
5555
|
-
defaultMessage: buildMessage((eachPrefix, args) => eachPrefix + `$property value of "${args?.value}" is not a FirestoreModelId.`, validationOptions)
|
|
5556
|
-
}
|
|
5557
|
-
});
|
|
5558
|
-
};
|
|
5559
|
-
}
|
|
5485
|
+
const firestoreModelIdType = type('string > 0').narrow((val, ctx) => isFirestoreModelId(val) || ctx.mustBe('a valid FirestoreModelId'));
|
|
5560
5486
|
/**
|
|
5561
|
-
*
|
|
5487
|
+
* ArkType schema for a FirestoreModelId or FirestoreModelKey.
|
|
5562
5488
|
*/
|
|
5563
|
-
|
|
5564
|
-
return function (object, propertyName) {
|
|
5565
|
-
registerDecorator({
|
|
5566
|
-
name: 'isFirestoreModelIdOrKey',
|
|
5567
|
-
target: object.constructor,
|
|
5568
|
-
propertyName: propertyName,
|
|
5569
|
-
options: validationOptions,
|
|
5570
|
-
validator: {
|
|
5571
|
-
validate: isFirestoreModelIdOrKey,
|
|
5572
|
-
defaultMessage: buildMessage((eachPrefix, args) => eachPrefix + `$property value of "${args?.value}" is not a FirestoreModelId or FirestoreModelKey.`, validationOptions)
|
|
5573
|
-
}
|
|
5574
|
-
});
|
|
5575
|
-
};
|
|
5576
|
-
}
|
|
5489
|
+
const firestoreModelIdOrKeyType = type('string > 0').narrow((val, ctx) => isFirestoreModelIdOrKey(val) || ctx.mustBe('a valid FirestoreModelId or FirestoreModelKey'));
|
|
5577
5490
|
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
key
|
|
5583
|
-
}
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
class InferredTargetModelParams {
|
|
5591
|
-
key;
|
|
5592
|
-
}
|
|
5593
|
-
__decorate([
|
|
5594
|
-
Expose(),
|
|
5595
|
-
IsOptional(),
|
|
5596
|
-
IsNotEmpty(),
|
|
5597
|
-
IsFirestoreModelKey(),
|
|
5598
|
-
__metadata("design:type", String)
|
|
5599
|
-
], InferredTargetModelParams.prototype, "key", void 0);
|
|
5600
|
-
/**
|
|
5601
|
-
* Simple annotated params that implements FirestoreModelKeyRef but key is a FirestoreModelId.
|
|
5602
|
-
*/
|
|
5603
|
-
class TargetModelIdParams {
|
|
5604
|
-
key;
|
|
5605
|
-
}
|
|
5606
|
-
__decorate([
|
|
5607
|
-
Expose(),
|
|
5608
|
-
IsNotEmpty(),
|
|
5609
|
-
IsFirestoreModelId(),
|
|
5610
|
-
__metadata("design:type", String)
|
|
5611
|
-
], TargetModelIdParams.prototype, "key", void 0);
|
|
5612
|
-
class InferredTargetModelIdParams {
|
|
5613
|
-
key;
|
|
5614
|
-
}
|
|
5615
|
-
__decorate([
|
|
5616
|
-
Expose(),
|
|
5617
|
-
IsOptional(),
|
|
5618
|
-
IsNotEmpty(),
|
|
5619
|
-
IsFirestoreModelId(),
|
|
5620
|
-
__metadata("design:type", String)
|
|
5621
|
-
], InferredTargetModelIdParams.prototype, "key", void 0);
|
|
5491
|
+
const targetModelParamsType = type({
|
|
5492
|
+
key: firestoreModelKeyType
|
|
5493
|
+
});
|
|
5494
|
+
const inferredTargetModelParamsType = type({
|
|
5495
|
+
'key?': firestoreModelKeyType
|
|
5496
|
+
});
|
|
5497
|
+
const targetModelIdParamsType = type({
|
|
5498
|
+
key: firestoreModelIdType
|
|
5499
|
+
});
|
|
5500
|
+
const inferredTargetModelIdParamsType = type({
|
|
5501
|
+
'key?': firestoreModelIdType
|
|
5502
|
+
});
|
|
5622
5503
|
|
|
5623
5504
|
/**
|
|
5624
5505
|
* Abstract AbstractModelPermissionService implementation for FirebaseModelsPermissionService.
|
|
@@ -6991,582 +6872,95 @@ const NOTIFICATION_SUBJECT_MIN_LENGTH = 2;
|
|
|
6991
6872
|
const NOTIFICATION_SUBJECT_MAX_LENGTH = 100;
|
|
6992
6873
|
const NOTIFICATION_MESSAGE_MIN_LENGTH = 2;
|
|
6993
6874
|
const NOTIFICATION_MESSAGE_MAX_LENGTH = 1000;
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
*/
|
|
7084
|
-
configs;
|
|
7085
|
-
lk;
|
|
7086
|
-
bk;
|
|
7087
|
-
f;
|
|
7088
|
-
}
|
|
7089
|
-
__decorate([
|
|
7090
|
-
Expose(),
|
|
7091
|
-
IsOptional(),
|
|
7092
|
-
IsNumber(),
|
|
7093
|
-
__metadata("design:type", Object)
|
|
7094
|
-
], UpdateNotificationUserDefaultNotificationBoxRecipientConfigParams.prototype, "i", void 0);
|
|
7095
|
-
__decorate([
|
|
7096
|
-
Expose(),
|
|
7097
|
-
IsOptional(),
|
|
7098
|
-
IsEmail(),
|
|
7099
|
-
__metadata("design:type", Object)
|
|
7100
|
-
], UpdateNotificationUserDefaultNotificationBoxRecipientConfigParams.prototype, "e", void 0);
|
|
7101
|
-
__decorate([
|
|
7102
|
-
Expose(),
|
|
7103
|
-
IsOptional(),
|
|
7104
|
-
IsE164PhoneNumber(),
|
|
7105
|
-
__metadata("design:type", Object)
|
|
7106
|
-
], UpdateNotificationUserDefaultNotificationBoxRecipientConfigParams.prototype, "t", void 0);
|
|
7107
|
-
__decorate([
|
|
7108
|
-
Expose(),
|
|
7109
|
-
IsOptional(),
|
|
7110
|
-
IsArray(),
|
|
7111
|
-
ValidateNested({ each: true }),
|
|
7112
|
-
Type(() => NotificationBoxRecipientTemplateConfigArrayEntryParam),
|
|
7113
|
-
__metadata("design:type", Object)
|
|
7114
|
-
], UpdateNotificationUserDefaultNotificationBoxRecipientConfigParams.prototype, "configs", void 0);
|
|
7115
|
-
__decorate([
|
|
7116
|
-
Expose(),
|
|
7117
|
-
IsBoolean(),
|
|
7118
|
-
IsOptional(),
|
|
7119
|
-
__metadata("design:type", Object)
|
|
7120
|
-
], UpdateNotificationUserDefaultNotificationBoxRecipientConfigParams.prototype, "lk", void 0);
|
|
7121
|
-
__decorate([
|
|
7122
|
-
Expose(),
|
|
7123
|
-
IsBoolean(),
|
|
7124
|
-
IsOptional(),
|
|
7125
|
-
__metadata("design:type", Object)
|
|
7126
|
-
], UpdateNotificationUserDefaultNotificationBoxRecipientConfigParams.prototype, "bk", void 0);
|
|
7127
|
-
__decorate([
|
|
7128
|
-
Expose(),
|
|
7129
|
-
IsOptional(),
|
|
7130
|
-
IsEnum(NotificationBoxRecipientFlag),
|
|
7131
|
-
__metadata("design:type", Object)
|
|
7132
|
-
], UpdateNotificationUserDefaultNotificationBoxRecipientConfigParams.prototype, "f", void 0);
|
|
7133
|
-
class UpdateNotificationBoxRecipientLikeParams {
|
|
7134
|
-
/**
|
|
7135
|
-
* Override email address
|
|
7136
|
-
*/
|
|
7137
|
-
e;
|
|
7138
|
-
/**
|
|
7139
|
-
* Override phone number
|
|
7140
|
-
*/
|
|
7141
|
-
t;
|
|
7142
|
-
/**
|
|
7143
|
-
* Notification summary id
|
|
7144
|
-
*/
|
|
7145
|
-
s;
|
|
7146
|
-
/**
|
|
7147
|
-
* Array of configs
|
|
7148
|
-
*/
|
|
7149
|
-
configs;
|
|
7150
|
-
}
|
|
7151
|
-
__decorate([
|
|
7152
|
-
Expose(),
|
|
7153
|
-
IsOptional(),
|
|
7154
|
-
IsEmail(),
|
|
7155
|
-
__metadata("design:type", Object)
|
|
7156
|
-
], UpdateNotificationBoxRecipientLikeParams.prototype, "e", void 0);
|
|
7157
|
-
__decorate([
|
|
7158
|
-
Expose(),
|
|
7159
|
-
IsOptional(),
|
|
7160
|
-
IsE164PhoneNumber(),
|
|
7161
|
-
__metadata("design:type", Object)
|
|
7162
|
-
], UpdateNotificationBoxRecipientLikeParams.prototype, "t", void 0);
|
|
7163
|
-
__decorate([
|
|
7164
|
-
Expose(),
|
|
7165
|
-
IsOptional(),
|
|
7166
|
-
IsPhoneNumber(),
|
|
7167
|
-
__metadata("design:type", Object)
|
|
7168
|
-
], UpdateNotificationBoxRecipientLikeParams.prototype, "s", void 0);
|
|
7169
|
-
__decorate([
|
|
7170
|
-
Expose(),
|
|
7171
|
-
IsOptional(),
|
|
7172
|
-
IsArray(),
|
|
7173
|
-
ValidateNested({ each: true }),
|
|
7174
|
-
Type(() => NotificationBoxRecipientTemplateConfigArrayEntryParam),
|
|
7175
|
-
__metadata("design:type", Object)
|
|
7176
|
-
], UpdateNotificationBoxRecipientLikeParams.prototype, "configs", void 0);
|
|
7177
|
-
/**
|
|
7178
|
-
* Used for updating the target NotificationUserNotificationBoxRecipientConfig.
|
|
7179
|
-
*/
|
|
7180
|
-
class UpdateNotificationUserNotificationBoxRecipientParams extends UpdateNotificationBoxRecipientLikeParams {
|
|
7181
|
-
/**
|
|
7182
|
-
* NotificationBox config to update
|
|
7183
|
-
*/
|
|
7184
|
-
nb;
|
|
7185
|
-
rm;
|
|
7186
|
-
lk;
|
|
7187
|
-
bk;
|
|
7188
|
-
f;
|
|
7189
|
-
/**
|
|
7190
|
-
* Whether or not to delete this configuration entirely.
|
|
7191
|
-
*
|
|
7192
|
-
* Will only delete if rm is true and ns is false. Is ignored otherwise.
|
|
7193
|
-
*/
|
|
7194
|
-
deleteRemovedConfig;
|
|
7195
|
-
}
|
|
7196
|
-
__decorate([
|
|
7197
|
-
Expose(),
|
|
7198
|
-
IsFirestoreModelId(),
|
|
7199
|
-
__metadata("design:type", String)
|
|
7200
|
-
], UpdateNotificationUserNotificationBoxRecipientParams.prototype, "nb", void 0);
|
|
7201
|
-
__decorate([
|
|
7202
|
-
Expose(),
|
|
7203
|
-
IsOptional(),
|
|
7204
|
-
IsBoolean(),
|
|
7205
|
-
__metadata("design:type", Object)
|
|
7206
|
-
], UpdateNotificationUserNotificationBoxRecipientParams.prototype, "rm", void 0);
|
|
7207
|
-
__decorate([
|
|
7208
|
-
Expose(),
|
|
7209
|
-
IsOptional(),
|
|
7210
|
-
IsBoolean(),
|
|
7211
|
-
__metadata("design:type", Object)
|
|
7212
|
-
], UpdateNotificationUserNotificationBoxRecipientParams.prototype, "lk", void 0);
|
|
7213
|
-
__decorate([
|
|
7214
|
-
Expose(),
|
|
7215
|
-
IsOptional(),
|
|
7216
|
-
IsBoolean(),
|
|
7217
|
-
__metadata("design:type", Object)
|
|
7218
|
-
], UpdateNotificationUserNotificationBoxRecipientParams.prototype, "bk", void 0);
|
|
7219
|
-
__decorate([
|
|
7220
|
-
Expose(),
|
|
7221
|
-
IsOptional(),
|
|
7222
|
-
IsEnum(() => NotificationBoxRecipientFlag),
|
|
7223
|
-
__metadata("design:type", Object)
|
|
7224
|
-
], UpdateNotificationUserNotificationBoxRecipientParams.prototype, "f", void 0);
|
|
7225
|
-
__decorate([
|
|
7226
|
-
Expose(),
|
|
7227
|
-
IsOptional(),
|
|
7228
|
-
IsBoolean(),
|
|
7229
|
-
__metadata("design:type", Object)
|
|
7230
|
-
], UpdateNotificationUserNotificationBoxRecipientParams.prototype, "deleteRemovedConfig", void 0);
|
|
7231
|
-
/**
|
|
7232
|
-
* Used for updating the NotificationUser.
|
|
7233
|
-
*/
|
|
7234
|
-
class UpdateNotificationUserParams extends TargetModelParams {
|
|
7235
|
-
// TODO: update configs...
|
|
7236
|
-
gc;
|
|
7237
|
-
dc;
|
|
7238
|
-
bc;
|
|
7239
|
-
}
|
|
7240
|
-
__decorate([
|
|
7241
|
-
Expose(),
|
|
7242
|
-
IsOptional(),
|
|
7243
|
-
ValidateNested(),
|
|
7244
|
-
Type(() => UpdateNotificationUserDefaultNotificationBoxRecipientConfigParams),
|
|
7245
|
-
__metadata("design:type", Object)
|
|
7246
|
-
], UpdateNotificationUserParams.prototype, "gc", void 0);
|
|
7247
|
-
__decorate([
|
|
7248
|
-
Expose(),
|
|
7249
|
-
IsOptional(),
|
|
7250
|
-
ValidateNested(),
|
|
7251
|
-
Type(() => UpdateNotificationUserDefaultNotificationBoxRecipientConfigParams),
|
|
7252
|
-
__metadata("design:type", Object)
|
|
7253
|
-
], UpdateNotificationUserParams.prototype, "dc", void 0);
|
|
7254
|
-
__decorate([
|
|
7255
|
-
Expose(),
|
|
7256
|
-
IsOptional(),
|
|
7257
|
-
IsArray(),
|
|
7258
|
-
ValidateNested({ each: true }),
|
|
7259
|
-
Type(() => UpdateNotificationUserNotificationBoxRecipientParams),
|
|
7260
|
-
__metadata("design:type", Object)
|
|
7261
|
-
], UpdateNotificationUserParams.prototype, "bc", void 0);
|
|
7262
|
-
class ResyncNotificationUserParams extends TargetModelParams {
|
|
7263
|
-
}
|
|
7264
|
-
class ResyncAllNotificationUserParams {
|
|
7265
|
-
}
|
|
7266
|
-
/**
|
|
7267
|
-
* Used for creating a new NotificationSummary for a model.
|
|
7268
|
-
*/
|
|
7269
|
-
class CreateNotificationSummaryParams {
|
|
7270
|
-
/**
|
|
7271
|
-
* Model to create the NotificationSummary for.
|
|
7272
|
-
*/
|
|
7273
|
-
model;
|
|
7274
|
-
}
|
|
7275
|
-
__decorate([
|
|
7276
|
-
Expose(),
|
|
7277
|
-
IsNotEmpty(),
|
|
7278
|
-
IsFirestoreModelKey(),
|
|
7279
|
-
__metadata("design:type", String)
|
|
7280
|
-
], CreateNotificationSummaryParams.prototype, "model", void 0);
|
|
7281
|
-
/**
|
|
7282
|
-
* Used for updating the NotificationSummary.
|
|
7283
|
-
*/
|
|
7284
|
-
class UpdateNotificationSummaryParams extends TargetModelParams {
|
|
7285
|
-
/**
|
|
7286
|
-
* Updates the "rat" time to now.
|
|
7287
|
-
*/
|
|
7288
|
-
flagAllRead;
|
|
7289
|
-
/**
|
|
7290
|
-
* Sets the "rat" time to the given date, or clears it.
|
|
7291
|
-
*/
|
|
7292
|
-
setReadAtTime;
|
|
7293
|
-
}
|
|
7294
|
-
__decorate([
|
|
7295
|
-
Expose(),
|
|
7296
|
-
IsOptional(),
|
|
7297
|
-
IsBoolean(),
|
|
7298
|
-
__metadata("design:type", Object)
|
|
7299
|
-
], UpdateNotificationSummaryParams.prototype, "flagAllRead", void 0);
|
|
7300
|
-
__decorate([
|
|
7301
|
-
Expose(),
|
|
7302
|
-
IsOptional(),
|
|
7303
|
-
IsDate(),
|
|
7304
|
-
Type(() => Date),
|
|
7305
|
-
__metadata("design:type", Object)
|
|
7306
|
-
], UpdateNotificationSummaryParams.prototype, "setReadAtTime", void 0);
|
|
7307
|
-
/**
|
|
7308
|
-
* Used for creating or initializing a new NotificationBox for a model.
|
|
7309
|
-
*
|
|
7310
|
-
* Mainly used for testing. Not exposed to the API.
|
|
7311
|
-
*
|
|
7312
|
-
* The preferred way is to create a NotificationBox through a Notification.
|
|
7313
|
-
*/
|
|
7314
|
-
class CreateNotificationBoxParams {
|
|
7315
|
-
model;
|
|
7316
|
-
}
|
|
7317
|
-
__decorate([
|
|
7318
|
-
Expose(),
|
|
7319
|
-
IsNotEmpty(),
|
|
7320
|
-
IsFirestoreModelKey(),
|
|
7321
|
-
__metadata("design:type", String)
|
|
7322
|
-
], CreateNotificationBoxParams.prototype, "model", void 0);
|
|
7323
|
-
/**
|
|
7324
|
-
* Used for initializing an uninitialized model like NotificationBox or NotificationSummary.
|
|
7325
|
-
*/
|
|
7326
|
-
class InitializeNotificationModelParams extends TargetModelParams {
|
|
7327
|
-
/**
|
|
7328
|
-
* Whether or not to throw an error if the notification has already been sent or is being sent.
|
|
7329
|
-
*/
|
|
7330
|
-
throwErrorIfAlreadyInitialized;
|
|
7331
|
-
}
|
|
7332
|
-
__decorate([
|
|
7333
|
-
Expose(),
|
|
7334
|
-
IsBoolean(),
|
|
7335
|
-
IsOptional(),
|
|
7336
|
-
__metadata("design:type", Boolean)
|
|
7337
|
-
], InitializeNotificationModelParams.prototype, "throwErrorIfAlreadyInitialized", void 0);
|
|
7338
|
-
class InitializeAllApplicableNotificationBoxesParams {
|
|
7339
|
-
}
|
|
7340
|
-
class InitializeAllApplicableNotificationSummariesParams {
|
|
7341
|
-
}
|
|
7342
|
-
/**
|
|
7343
|
-
* Used for updating the NotificationBox.
|
|
7344
|
-
*/
|
|
7345
|
-
class UpdateNotificationBoxParams extends TargetModelParams {
|
|
7346
|
-
}
|
|
7347
|
-
/**
|
|
7348
|
-
* Used to create/update a notification box recipient.
|
|
7349
|
-
*/
|
|
7350
|
-
class UpdateNotificationBoxRecipientParams extends UpdateNotificationBoxRecipientLikeParams {
|
|
7351
|
-
/**
|
|
7352
|
-
* NotificationBox key to update.
|
|
7353
|
-
*/
|
|
7354
|
-
key;
|
|
7355
|
-
/**
|
|
7356
|
-
* NotificationBox recipient to update. Is ignored if UID is provided and matches a user. Used for external recipients/users.
|
|
7357
|
-
*/
|
|
7358
|
-
i;
|
|
7359
|
-
/**
|
|
7360
|
-
* Notification recipient to update by UID, if applicable.
|
|
7361
|
-
*/
|
|
7362
|
-
uid;
|
|
7363
|
-
/**
|
|
7364
|
-
* Whether or not to create the user if they currently do not exist. Defaults to false.
|
|
7365
|
-
*/
|
|
7366
|
-
insert;
|
|
7367
|
-
/**
|
|
7368
|
-
* Whether or not to enable/disable the recipient from recieving items from this box.
|
|
7369
|
-
*/
|
|
7370
|
-
enabled;
|
|
7371
|
-
/**
|
|
7372
|
-
* Whether or not to remove the user if they exist. Defaults to false.
|
|
7373
|
-
*/
|
|
7374
|
-
remove;
|
|
7375
|
-
/**
|
|
7376
|
-
* If true, the target recipient will have this NotificationBox added to their exclusion list.
|
|
7377
|
-
* If false, the target recipient will have this NotificationBox removed from their exclusion list.
|
|
7378
|
-
*
|
|
7379
|
-
* If set, the other functions are ignored.
|
|
7380
|
-
*
|
|
7381
|
-
* If targeting the user by the index, the NotificationBox must exist, and the user must have a uid, otherwise an error will be thrown.
|
|
7382
|
-
*/
|
|
7383
|
-
setExclusion;
|
|
7384
|
-
}
|
|
7385
|
-
__decorate([
|
|
7386
|
-
Expose(),
|
|
7387
|
-
IsNotEmpty(),
|
|
7388
|
-
IsFirestoreModelKey(),
|
|
7389
|
-
__metadata("design:type", String)
|
|
7390
|
-
], UpdateNotificationBoxRecipientParams.prototype, "key", void 0);
|
|
7391
|
-
__decorate([
|
|
7392
|
-
Expose(),
|
|
7393
|
-
IsOptional(),
|
|
7394
|
-
IsNumber(),
|
|
7395
|
-
__metadata("design:type", Object)
|
|
7396
|
-
], UpdateNotificationBoxRecipientParams.prototype, "i", void 0);
|
|
7397
|
-
__decorate([
|
|
7398
|
-
Expose(),
|
|
7399
|
-
IsOptional(),
|
|
7400
|
-
IsFirestoreModelId(),
|
|
7401
|
-
__metadata("design:type", Object)
|
|
7402
|
-
], UpdateNotificationBoxRecipientParams.prototype, "uid", void 0);
|
|
7403
|
-
__decorate([
|
|
7404
|
-
Expose(),
|
|
7405
|
-
IsOptional(),
|
|
7406
|
-
IsBoolean(),
|
|
7407
|
-
__metadata("design:type", Object)
|
|
7408
|
-
], UpdateNotificationBoxRecipientParams.prototype, "insert", void 0);
|
|
7409
|
-
__decorate([
|
|
7410
|
-
Expose(),
|
|
7411
|
-
IsOptional(),
|
|
7412
|
-
IsBoolean(),
|
|
7413
|
-
__metadata("design:type", Object)
|
|
7414
|
-
], UpdateNotificationBoxRecipientParams.prototype, "enabled", void 0);
|
|
7415
|
-
__decorate([
|
|
7416
|
-
Expose(),
|
|
7417
|
-
IsOptional(),
|
|
7418
|
-
IsBoolean(),
|
|
7419
|
-
__metadata("design:type", Object)
|
|
7420
|
-
], UpdateNotificationBoxRecipientParams.prototype, "remove", void 0);
|
|
7421
|
-
__decorate([
|
|
7422
|
-
Expose(),
|
|
7423
|
-
IsOptional(),
|
|
7424
|
-
IsBoolean(),
|
|
7425
|
-
__metadata("design:type", Object)
|
|
7426
|
-
], UpdateNotificationBoxRecipientParams.prototype, "setExclusion", void 0);
|
|
7427
|
-
class NotificationRecipientParams {
|
|
7428
|
-
/**
|
|
7429
|
-
* User to send the notification to.
|
|
7430
|
-
*/
|
|
7431
|
-
uid;
|
|
7432
|
-
/**
|
|
7433
|
-
* Recipient Name
|
|
7434
|
-
*/
|
|
7435
|
-
un;
|
|
7436
|
-
/**
|
|
7437
|
-
* Email address
|
|
7438
|
-
*/
|
|
7439
|
-
e;
|
|
7440
|
-
/**
|
|
7441
|
-
* Phone number
|
|
7442
|
-
*/
|
|
7443
|
-
p;
|
|
7444
|
-
}
|
|
7445
|
-
__decorate([
|
|
7446
|
-
Expose(),
|
|
7447
|
-
IsOptional(),
|
|
7448
|
-
IsFirestoreModelId(),
|
|
7449
|
-
__metadata("design:type", Object)
|
|
7450
|
-
], NotificationRecipientParams.prototype, "uid", void 0);
|
|
7451
|
-
__decorate([
|
|
7452
|
-
Expose(),
|
|
7453
|
-
IsOptional(),
|
|
7454
|
-
IsString(),
|
|
7455
|
-
MinLength(NOTIFICATION_RECIPIENT_NAME_MIN_LENGTH),
|
|
7456
|
-
MaxLength(NOTIFICATION_RECIPIENT_NAME_MAX_LENGTH),
|
|
7457
|
-
__metadata("design:type", Object)
|
|
7458
|
-
], NotificationRecipientParams.prototype, "un", void 0);
|
|
7459
|
-
__decorate([
|
|
7460
|
-
Expose(),
|
|
7461
|
-
IsOptional(),
|
|
7462
|
-
IsEmail(),
|
|
7463
|
-
__metadata("design:type", Object)
|
|
7464
|
-
], NotificationRecipientParams.prototype, "e", void 0);
|
|
7465
|
-
__decorate([
|
|
7466
|
-
Expose(),
|
|
7467
|
-
IsOptional(),
|
|
7468
|
-
IsPhoneNumber(),
|
|
7469
|
-
__metadata("design:type", Object)
|
|
7470
|
-
], NotificationRecipientParams.prototype, "p", void 0);
|
|
7471
|
-
/**
|
|
7472
|
-
* Used for sending the notification immediately, if it has not already been sent.
|
|
7473
|
-
*/
|
|
7474
|
-
class SendNotificationParams extends TargetModelParams {
|
|
7475
|
-
/**
|
|
7476
|
-
* Whether or not to ignore the send at time. Defaults to false.
|
|
7477
|
-
*
|
|
7478
|
-
* If true, the send at time will be ignored and the notification will be sent immediately.
|
|
7479
|
-
*/
|
|
7480
|
-
ignoreSendAtThrottle;
|
|
7481
|
-
/**
|
|
7482
|
-
* Whether or not to throw an error if the notification has already been sent or is being sent.
|
|
7483
|
-
*
|
|
7484
|
-
* Defaults to false.
|
|
7485
|
-
*/
|
|
7486
|
-
throwErrorIfSent;
|
|
7487
|
-
}
|
|
7488
|
-
__decorate([
|
|
7489
|
-
Expose(),
|
|
7490
|
-
IsOptional(),
|
|
7491
|
-
IsBoolean(),
|
|
7492
|
-
__metadata("design:type", Object)
|
|
7493
|
-
], SendNotificationParams.prototype, "ignoreSendAtThrottle", void 0);
|
|
7494
|
-
__decorate([
|
|
7495
|
-
Expose(),
|
|
7496
|
-
IsOptional(),
|
|
7497
|
-
IsBoolean(),
|
|
7498
|
-
__metadata("design:type", Object)
|
|
7499
|
-
], SendNotificationParams.prototype, "throwErrorIfSent", void 0);
|
|
7500
|
-
/**
|
|
7501
|
-
* Params class used for subscribing a system user to a NotificationBox for a model.
|
|
7502
|
-
*/
|
|
7503
|
-
class AbstractSubscribeToNotificationBoxParams extends TargetModelParams {
|
|
7504
|
-
/**
|
|
7505
|
-
* Notification recipient to subscribe to notifications
|
|
7506
|
-
*/
|
|
7507
|
-
uid;
|
|
7508
|
-
}
|
|
7509
|
-
__decorate([
|
|
7510
|
-
Expose(),
|
|
7511
|
-
IsFirestoreModelId(),
|
|
7512
|
-
__metadata("design:type", String)
|
|
7513
|
-
], AbstractSubscribeToNotificationBoxParams.prototype, "uid", void 0);
|
|
7514
|
-
class AbstractSubscribeOrUnsubscribeToNotificationBoxParams extends AbstractSubscribeToNotificationBoxParams {
|
|
7515
|
-
/**
|
|
7516
|
-
* If true, unsubscribes from the notification box instead.
|
|
7517
|
-
*/
|
|
7518
|
-
unsubscribe;
|
|
7519
|
-
}
|
|
7520
|
-
__decorate([
|
|
7521
|
-
Expose(),
|
|
7522
|
-
IsOptional(),
|
|
7523
|
-
IsBoolean(),
|
|
7524
|
-
__metadata("design:type", Object)
|
|
7525
|
-
], AbstractSubscribeOrUnsubscribeToNotificationBoxParams.prototype, "unsubscribe", void 0);
|
|
7526
|
-
/**
|
|
7527
|
-
* Used for sending queued notifications in the system.
|
|
7528
|
-
*/
|
|
7529
|
-
class SendQueuedNotificationsParams {
|
|
7530
|
-
/**
|
|
7531
|
-
* The max number of send loops to run.
|
|
7532
|
-
*
|
|
7533
|
-
* No limit by default.
|
|
7534
|
-
*/
|
|
7535
|
-
maxSendNotificationLoops;
|
|
7536
|
-
/**
|
|
7537
|
-
* The max number of parallel send tasks to run.
|
|
7538
|
-
*
|
|
7539
|
-
* Defaults to 5.
|
|
7540
|
-
*/
|
|
7541
|
-
maxParellelSendTasks;
|
|
7542
|
-
/**
|
|
7543
|
-
* The threshold to use when to log a warning for an excessive of notification loops.
|
|
7544
|
-
*/
|
|
7545
|
-
sendNotificationLoopsTaskExcessThreshold;
|
|
7546
|
-
}
|
|
7547
|
-
__decorate([
|
|
7548
|
-
Expose(),
|
|
7549
|
-
IsOptional(),
|
|
7550
|
-
IsNumber(),
|
|
7551
|
-
__metadata("design:type", Object)
|
|
7552
|
-
], SendQueuedNotificationsParams.prototype, "maxSendNotificationLoops", void 0);
|
|
7553
|
-
__decorate([
|
|
7554
|
-
Expose(),
|
|
7555
|
-
IsOptional(),
|
|
7556
|
-
IsNumber(),
|
|
7557
|
-
__metadata("design:type", Object)
|
|
7558
|
-
], SendQueuedNotificationsParams.prototype, "maxParellelSendTasks", void 0);
|
|
7559
|
-
__decorate([
|
|
7560
|
-
Expose(),
|
|
7561
|
-
IsOptional(),
|
|
7562
|
-
IsNumber(),
|
|
7563
|
-
__metadata("design:type", Object)
|
|
7564
|
-
], SendQueuedNotificationsParams.prototype, "sendNotificationLoopsTaskExcessThreshold", void 0);
|
|
7565
|
-
/**
|
|
7566
|
-
* Used for sending queued notifications in the system.
|
|
7567
|
-
*/
|
|
7568
|
-
class CleanupSentNotificationsParams {
|
|
7569
|
-
}
|
|
6875
|
+
const notificationBoxRecipientTemplateConfigArrayEntryParamType = type({
|
|
6876
|
+
type: 'string > 0',
|
|
6877
|
+
'sd?': clearable('boolean'),
|
|
6878
|
+
'se?': clearable('boolean'),
|
|
6879
|
+
'st?': clearable('boolean'),
|
|
6880
|
+
'sp?': clearable('boolean'),
|
|
6881
|
+
'sn?': clearable('boolean'),
|
|
6882
|
+
'remove?': clearable('boolean')
|
|
6883
|
+
});
|
|
6884
|
+
const createNotificationUserParamsType = type({
|
|
6885
|
+
uid: firestoreModelIdType
|
|
6886
|
+
});
|
|
6887
|
+
const updateNotificationUserDefaultNotificationBoxRecipientConfigParamsType = type({
|
|
6888
|
+
'i?': clearable('number'),
|
|
6889
|
+
'e?': clearable('string.email'),
|
|
6890
|
+
't?': clearable(e164PhoneNumberType),
|
|
6891
|
+
'configs?': clearable(notificationBoxRecipientTemplateConfigArrayEntryParamType.array()),
|
|
6892
|
+
'lk?': clearable('boolean'),
|
|
6893
|
+
'bk?': clearable('boolean'),
|
|
6894
|
+
'f?': clearable(type.enumerated(NotificationBoxRecipientFlag.ENABLED, NotificationBoxRecipientFlag.DISABLED, NotificationBoxRecipientFlag.OPT_OUT))
|
|
6895
|
+
});
|
|
6896
|
+
const updateNotificationBoxRecipientLikeParamsType = type({
|
|
6897
|
+
'e?': clearable('string.email'),
|
|
6898
|
+
't?': clearable(e164PhoneNumberType),
|
|
6899
|
+
's?': clearable('string'),
|
|
6900
|
+
'configs?': clearable(notificationBoxRecipientTemplateConfigArrayEntryParamType.array())
|
|
6901
|
+
});
|
|
6902
|
+
const updateNotificationUserNotificationBoxRecipientParamsType = updateNotificationBoxRecipientLikeParamsType.merge({
|
|
6903
|
+
nb: firestoreModelIdType,
|
|
6904
|
+
'rm?': clearable('boolean'),
|
|
6905
|
+
'lk?': clearable('boolean'),
|
|
6906
|
+
'bk?': clearable('boolean'),
|
|
6907
|
+
'f?': clearable(type.enumerated(NotificationBoxRecipientFlag.ENABLED, NotificationBoxRecipientFlag.DISABLED, NotificationBoxRecipientFlag.OPT_OUT)),
|
|
6908
|
+
'deleteRemovedConfig?': clearable('boolean')
|
|
6909
|
+
});
|
|
6910
|
+
const updateNotificationUserParamsType = targetModelParamsType.merge({
|
|
6911
|
+
'gc?': clearable(updateNotificationUserDefaultNotificationBoxRecipientConfigParamsType),
|
|
6912
|
+
'dc?': clearable(updateNotificationUserDefaultNotificationBoxRecipientConfigParamsType),
|
|
6913
|
+
'bc?': clearable(updateNotificationUserNotificationBoxRecipientParamsType.array())
|
|
6914
|
+
});
|
|
6915
|
+
const resyncNotificationUserParamsType = targetModelParamsType;
|
|
6916
|
+
const resyncAllNotificationUserParamsType = type({});
|
|
6917
|
+
const createNotificationSummaryParamsType = type({
|
|
6918
|
+
model: firestoreModelKeyType
|
|
6919
|
+
});
|
|
6920
|
+
const updateNotificationSummaryParamsType = targetModelParamsType.merge({
|
|
6921
|
+
'flagAllRead?': clearable('boolean'),
|
|
6922
|
+
'setReadAtTime?': clearable('string.date.parse')
|
|
6923
|
+
});
|
|
6924
|
+
const createNotificationBoxParamsType = type({
|
|
6925
|
+
model: firestoreModelKeyType
|
|
6926
|
+
});
|
|
6927
|
+
const initializeNotificationModelParamsType = targetModelParamsType.merge({
|
|
6928
|
+
'throwErrorIfAlreadyInitialized?': 'boolean'
|
|
6929
|
+
});
|
|
6930
|
+
const initializeAllApplicableNotificationBoxesParamsType = type({});
|
|
6931
|
+
const initializeAllApplicableNotificationSummariesParamsType = type({});
|
|
6932
|
+
const updateNotificationBoxParamsType = targetModelParamsType;
|
|
6933
|
+
const updateNotificationBoxRecipientParamsType = updateNotificationBoxRecipientLikeParamsType.merge({
|
|
6934
|
+
key: firestoreModelKeyType,
|
|
6935
|
+
'i?': clearable('number'),
|
|
6936
|
+
'uid?': clearable(firestoreModelIdType),
|
|
6937
|
+
'insert?': clearable('boolean'),
|
|
6938
|
+
'enabled?': clearable('boolean'),
|
|
6939
|
+
'remove?': clearable('boolean'),
|
|
6940
|
+
'setExclusion?': clearable('boolean')
|
|
6941
|
+
});
|
|
6942
|
+
const notificationRecipientParamsType = type({
|
|
6943
|
+
'uid?': clearable(firestoreModelIdType),
|
|
6944
|
+
'un?': clearable(`string >= ${NOTIFICATION_RECIPIENT_NAME_MIN_LENGTH} & string <= ${NOTIFICATION_RECIPIENT_NAME_MAX_LENGTH}`),
|
|
6945
|
+
'e?': clearable('string.email'),
|
|
6946
|
+
'p?': clearable('string')
|
|
6947
|
+
});
|
|
6948
|
+
const sendNotificationParamsType = targetModelParamsType.merge({
|
|
6949
|
+
'ignoreSendAtThrottle?': clearable('boolean'),
|
|
6950
|
+
'throwErrorIfSent?': clearable('boolean')
|
|
6951
|
+
});
|
|
6952
|
+
const abstractSubscribeToNotificationBoxParamsType = targetModelParamsType.merge({
|
|
6953
|
+
uid: firestoreModelIdType
|
|
6954
|
+
});
|
|
6955
|
+
const abstractSubscribeOrUnsubscribeToNotificationBoxParamsType = abstractSubscribeToNotificationBoxParamsType.merge({
|
|
6956
|
+
'unsubscribe?': clearable('boolean')
|
|
6957
|
+
});
|
|
6958
|
+
const sendQueuedNotificationsParamsType = type({
|
|
6959
|
+
'maxSendNotificationLoops?': clearable('number'),
|
|
6960
|
+
'maxParellelSendTasks?': clearable('number'),
|
|
6961
|
+
'sendNotificationLoopsTaskExcessThreshold?': clearable('number')
|
|
6962
|
+
});
|
|
6963
|
+
const cleanupSentNotificationsParamsType = type({});
|
|
7570
6964
|
const notificationFunctionTypeConfigMap = {};
|
|
7571
6965
|
const notificationBoxModelCrudFunctionsConfig = {
|
|
7572
6966
|
notificationUser: ['update:_,resync'],
|
|
@@ -8497,325 +7891,61 @@ const STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION_ERROR_CODE = 'STORAGE_FILE_GR
|
|
|
8497
7891
|
*/
|
|
8498
7892
|
const STORAGE_FILE_GROUP_CREATE_INPUT_ERROR_CODE = 'STORAGE_FILE_GROUP_CREATE_INPUT_ERROR';
|
|
8499
7893
|
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
|
|
8514
|
-
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
|
|
8528
|
-
|
|
8529
|
-
|
|
8530
|
-
|
|
8531
|
-
|
|
8532
|
-
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
*/
|
|
8556
|
-
expediteProcessing;
|
|
8557
|
-
}
|
|
8558
|
-
__decorate([
|
|
8559
|
-
Expose(),
|
|
8560
|
-
IsOptional(),
|
|
8561
|
-
IsString(),
|
|
8562
|
-
__metadata("design:type", Object)
|
|
8563
|
-
], InitializeStorageFileFromUploadParams.prototype, "bucketId", void 0);
|
|
8564
|
-
__decorate([
|
|
8565
|
-
Expose(),
|
|
8566
|
-
IsString(),
|
|
8567
|
-
__metadata("design:type", String)
|
|
8568
|
-
], InitializeStorageFileFromUploadParams.prototype, "pathString", void 0);
|
|
8569
|
-
__decorate([
|
|
8570
|
-
Expose(),
|
|
8571
|
-
IsBoolean(),
|
|
8572
|
-
IsOptional(),
|
|
8573
|
-
__metadata("design:type", Boolean)
|
|
8574
|
-
], InitializeStorageFileFromUploadParams.prototype, "expediteProcessing", void 0);
|
|
8575
|
-
class ProcessStorageFileParams extends TargetModelParams {
|
|
8576
|
-
/**
|
|
8577
|
-
* If set, will start/run the processing immediately instead of waiting for the next scheduled run.
|
|
8578
|
-
*/
|
|
8579
|
-
runImmediately;
|
|
8580
|
-
/**
|
|
8581
|
-
* If set, will check and retry processing if the StorageFile is in a failed processing state.
|
|
8582
|
-
*/
|
|
8583
|
-
checkRetryProcessing;
|
|
8584
|
-
/**
|
|
8585
|
-
* Used with checkRetryProcessing.
|
|
8586
|
-
*
|
|
8587
|
-
* If set, will forcibly create a new processing task even if the existing processing task appears to be ok, or if processing was already marked complete.
|
|
8588
|
-
*/
|
|
8589
|
-
forceRestartProcessing;
|
|
8590
|
-
/**
|
|
8591
|
-
* If set, will start the processing again if the StorageFile is in a successful processing state.
|
|
8592
|
-
*/
|
|
8593
|
-
processAgainIfSuccessful;
|
|
8594
|
-
}
|
|
8595
|
-
__decorate([
|
|
8596
|
-
Expose(),
|
|
8597
|
-
IsBoolean(),
|
|
8598
|
-
IsOptional(),
|
|
8599
|
-
__metadata("design:type", Object)
|
|
8600
|
-
], ProcessStorageFileParams.prototype, "runImmediately", void 0);
|
|
8601
|
-
__decorate([
|
|
8602
|
-
Expose(),
|
|
8603
|
-
IsBoolean(),
|
|
8604
|
-
IsOptional(),
|
|
8605
|
-
__metadata("design:type", Object)
|
|
8606
|
-
], ProcessStorageFileParams.prototype, "checkRetryProcessing", void 0);
|
|
8607
|
-
__decorate([
|
|
8608
|
-
Expose(),
|
|
8609
|
-
IsBoolean(),
|
|
8610
|
-
IsOptional(),
|
|
8611
|
-
__metadata("design:type", Object)
|
|
8612
|
-
], ProcessStorageFileParams.prototype, "forceRestartProcessing", void 0);
|
|
8613
|
-
__decorate([
|
|
8614
|
-
Expose(),
|
|
8615
|
-
IsBoolean(),
|
|
8616
|
-
IsOptional(),
|
|
8617
|
-
__metadata("design:type", Object)
|
|
8618
|
-
], ProcessStorageFileParams.prototype, "processAgainIfSuccessful", void 0);
|
|
8619
|
-
/**
|
|
8620
|
-
* Processes all StorageFiles that are queued for processing.
|
|
8621
|
-
*/
|
|
8622
|
-
class ProcessAllQueuedStorageFilesParams {
|
|
8623
|
-
}
|
|
8624
|
-
class UpdateStorageFileParams extends TargetModelParams {
|
|
8625
|
-
/**
|
|
8626
|
-
* Sets the delete at time for the given StorageFileDocument, and queues the file for deletion.
|
|
8627
|
-
*/
|
|
8628
|
-
sdat;
|
|
8629
|
-
}
|
|
8630
|
-
__decorate([
|
|
8631
|
-
Expose(),
|
|
8632
|
-
IsDate(),
|
|
8633
|
-
IsOptional(),
|
|
8634
|
-
Type(() => Date),
|
|
8635
|
-
__metadata("design:type", Object)
|
|
8636
|
-
], UpdateStorageFileParams.prototype, "sdat", void 0);
|
|
8637
|
-
class DeleteStorageFileParams extends TargetModelParams {
|
|
8638
|
-
/**
|
|
8639
|
-
* If true, will force the deletion of the StorageFile even if it is not queued for deletion.
|
|
8640
|
-
*/
|
|
8641
|
-
force;
|
|
8642
|
-
}
|
|
8643
|
-
__decorate([
|
|
8644
|
-
Expose(),
|
|
8645
|
-
IsBoolean(),
|
|
8646
|
-
IsOptional(),
|
|
8647
|
-
__metadata("design:type", Object)
|
|
8648
|
-
], DeleteStorageFileParams.prototype, "force", void 0);
|
|
8649
|
-
/**
|
|
8650
|
-
* Processes all StorageFiles that are queued for processing.
|
|
8651
|
-
*/
|
|
8652
|
-
class DeleteAllQueuedStorageFilesParams {
|
|
8653
|
-
}
|
|
8654
|
-
class DownloadStorageFileParams extends TargetModelParams {
|
|
8655
|
-
/**
|
|
8656
|
-
* Date to expire the download URL.
|
|
8657
|
-
*/
|
|
8658
|
-
expiresAt;
|
|
8659
|
-
/**
|
|
8660
|
-
* Duration in milliseconds to expire the download URL from now.
|
|
8661
|
-
*/
|
|
8662
|
-
expiresIn;
|
|
8663
|
-
/**
|
|
8664
|
-
* The content disposition for the response to use.
|
|
8665
|
-
*/
|
|
8666
|
-
responseDisposition;
|
|
8667
|
-
/**
|
|
8668
|
-
* The content type for the response to use.
|
|
8669
|
-
*
|
|
8670
|
-
* Only available to admins.
|
|
8671
|
-
*/
|
|
8672
|
-
responseContentType;
|
|
8673
|
-
/**
|
|
8674
|
-
* Whether or not an admin is creating the link.
|
|
8675
|
-
*
|
|
8676
|
-
* Allows a longer expiration.
|
|
8677
|
-
*/
|
|
8678
|
-
asAdmin;
|
|
8679
|
-
}
|
|
8680
|
-
__decorate([
|
|
8681
|
-
Expose(),
|
|
8682
|
-
IsDate(),
|
|
8683
|
-
IsOptional(),
|
|
8684
|
-
Type(() => Date),
|
|
8685
|
-
__metadata("design:type", Object)
|
|
8686
|
-
], DownloadStorageFileParams.prototype, "expiresAt", void 0);
|
|
8687
|
-
__decorate([
|
|
8688
|
-
Expose(),
|
|
8689
|
-
Min(0),
|
|
8690
|
-
IsNumber(),
|
|
8691
|
-
IsOptional(),
|
|
8692
|
-
__metadata("design:type", Object)
|
|
8693
|
-
], DownloadStorageFileParams.prototype, "expiresIn", void 0);
|
|
8694
|
-
__decorate([
|
|
8695
|
-
Expose(),
|
|
8696
|
-
IsOptional(),
|
|
8697
|
-
IsString(),
|
|
8698
|
-
__metadata("design:type", Object)
|
|
8699
|
-
], DownloadStorageFileParams.prototype, "responseDisposition", void 0);
|
|
8700
|
-
__decorate([
|
|
8701
|
-
Expose(),
|
|
8702
|
-
IsOptional(),
|
|
8703
|
-
IsString(),
|
|
8704
|
-
IsMimeType(),
|
|
8705
|
-
__metadata("design:type", Object)
|
|
8706
|
-
], DownloadStorageFileParams.prototype, "responseContentType", void 0);
|
|
8707
|
-
__decorate([
|
|
8708
|
-
Expose(),
|
|
8709
|
-
IsBoolean(),
|
|
8710
|
-
IsOptional(),
|
|
8711
|
-
__metadata("design:type", Object)
|
|
8712
|
-
], DownloadStorageFileParams.prototype, "asAdmin", void 0);
|
|
8713
|
-
/**
|
|
8714
|
-
* Used for creating or initializing a new StorageFileGroup for a StorageFile.
|
|
8715
|
-
*
|
|
8716
|
-
* Mainly used for testing. Not exposed to the API.
|
|
8717
|
-
*
|
|
8718
|
-
* The preferred way is to create a StorageFileGroup through a StorageFile.
|
|
8719
|
-
*/
|
|
8720
|
-
class CreateStorageFileGroupParams {
|
|
8721
|
-
/**
|
|
8722
|
-
* ModelKey to use for creating the StorageFileGroup.
|
|
8723
|
-
*/
|
|
8724
|
-
model;
|
|
8725
|
-
/**
|
|
8726
|
-
* StorageFileId to use for creating the StorageFileGroup.
|
|
8727
|
-
*/
|
|
8728
|
-
storageFileId;
|
|
8729
|
-
}
|
|
8730
|
-
__decorate([
|
|
8731
|
-
Expose(),
|
|
8732
|
-
IsOptional(),
|
|
8733
|
-
IsNotEmpty(),
|
|
8734
|
-
IsFirestoreModelKey(),
|
|
8735
|
-
__metadata("design:type", Object)
|
|
8736
|
-
], CreateStorageFileGroupParams.prototype, "model", void 0);
|
|
8737
|
-
__decorate([
|
|
8738
|
-
Expose(),
|
|
8739
|
-
IsNotEmpty(),
|
|
8740
|
-
IsFirestoreModelId(),
|
|
8741
|
-
__metadata("design:type", Object)
|
|
8742
|
-
], CreateStorageFileGroupParams.prototype, "storageFileId", void 0);
|
|
8743
|
-
class SyncStorageFileWithGroupsParams extends TargetModelParams {
|
|
8744
|
-
/**
|
|
8745
|
-
* If true, will force syncing even if the StorageFile is not flagged for a resync.
|
|
8746
|
-
*/
|
|
8747
|
-
force;
|
|
8748
|
-
}
|
|
8749
|
-
__decorate([
|
|
8750
|
-
Expose(),
|
|
8751
|
-
IsBoolean(),
|
|
8752
|
-
IsOptional(),
|
|
8753
|
-
__metadata("design:type", Boolean)
|
|
8754
|
-
], SyncStorageFileWithGroupsParams.prototype, "force", void 0);
|
|
8755
|
-
class SyncAllFlaggedStorageFilesWithGroupsParams {
|
|
8756
|
-
}
|
|
8757
|
-
class UpdateStorageFileGroupParams extends TargetModelParams {
|
|
8758
|
-
/**
|
|
8759
|
-
* Entries to update, if selected.
|
|
8760
|
-
*/
|
|
8761
|
-
entries;
|
|
8762
|
-
}
|
|
8763
|
-
__decorate([
|
|
8764
|
-
Expose(),
|
|
8765
|
-
IsArray(),
|
|
8766
|
-
IsOptional(),
|
|
8767
|
-
Type(() => UpdateStorageFileGroupEntryParams),
|
|
8768
|
-
ValidateNested({ each: true }),
|
|
8769
|
-
__metadata("design:type", Object)
|
|
8770
|
-
], UpdateStorageFileGroupParams.prototype, "entries", void 0);
|
|
8771
|
-
class UpdateStorageFileGroupEntryParams {
|
|
8772
|
-
s;
|
|
8773
|
-
n;
|
|
8774
|
-
}
|
|
8775
|
-
__decorate([
|
|
8776
|
-
Expose(),
|
|
8777
|
-
IsNotEmpty(),
|
|
8778
|
-
IsFirestoreModelId(),
|
|
8779
|
-
__metadata("design:type", String)
|
|
8780
|
-
], UpdateStorageFileGroupEntryParams.prototype, "s", void 0);
|
|
8781
|
-
__decorate([
|
|
8782
|
-
Expose(),
|
|
8783
|
-
IsString(),
|
|
8784
|
-
IsOptional(),
|
|
8785
|
-
IsNotEmpty(),
|
|
8786
|
-
__metadata("design:type", Object)
|
|
8787
|
-
], UpdateStorageFileGroupEntryParams.prototype, "n", void 0);
|
|
8788
|
-
class RegenerateStorageFileGroupContentParams extends TargetModelParams {
|
|
8789
|
-
/**
|
|
8790
|
-
* If true, will force syncing even if the StorageFile is not flagged for a resync.
|
|
8791
|
-
*/
|
|
8792
|
-
force;
|
|
8793
|
-
}
|
|
8794
|
-
__decorate([
|
|
8795
|
-
Expose(),
|
|
8796
|
-
IsBoolean(),
|
|
8797
|
-
IsOptional(),
|
|
8798
|
-
__metadata("design:type", Boolean)
|
|
8799
|
-
], RegenerateStorageFileGroupContentParams.prototype, "force", void 0);
|
|
8800
|
-
class RegenerateAllFlaggedStorageFileGroupsContentParams {
|
|
8801
|
-
}
|
|
8802
|
-
/**
|
|
8803
|
-
* Used for initializing an uninitialized model like NotificationBox or NotificationSummary.
|
|
8804
|
-
*/
|
|
8805
|
-
class InitializeStorageFileModelParams extends TargetModelParams {
|
|
8806
|
-
/**
|
|
8807
|
-
* Whether or not to throw an error if the notification has already been sent or is being sent.
|
|
8808
|
-
*/
|
|
8809
|
-
throwErrorIfAlreadyInitialized;
|
|
8810
|
-
}
|
|
8811
|
-
__decorate([
|
|
8812
|
-
Expose(),
|
|
8813
|
-
IsBoolean(),
|
|
8814
|
-
IsOptional(),
|
|
8815
|
-
__metadata("design:type", Boolean)
|
|
8816
|
-
], InitializeStorageFileModelParams.prototype, "throwErrorIfAlreadyInitialized", void 0);
|
|
8817
|
-
class InitializeAllApplicableStorageFileGroupsParams {
|
|
8818
|
-
}
|
|
7894
|
+
const createStorageFileParamsType = type({});
|
|
7895
|
+
const initializeAllStorageFilesFromUploadsParamsType = type({
|
|
7896
|
+
'maxFilesToInitialize?': clearable('number'),
|
|
7897
|
+
'folderPath?': clearable('string'),
|
|
7898
|
+
'overrideUploadsFolderPath?': clearable('string')
|
|
7899
|
+
});
|
|
7900
|
+
const initializeStorageFileFromUploadParamsType = type({
|
|
7901
|
+
'bucketId?': clearable('string'),
|
|
7902
|
+
pathString: 'string > 0',
|
|
7903
|
+
'expediteProcessing?': 'boolean'
|
|
7904
|
+
});
|
|
7905
|
+
const processStorageFileParamsType = targetModelParamsType.merge({
|
|
7906
|
+
'runImmediately?': clearable('boolean'),
|
|
7907
|
+
'checkRetryProcessing?': clearable('boolean'),
|
|
7908
|
+
'forceRestartProcessing?': clearable('boolean'),
|
|
7909
|
+
'processAgainIfSuccessful?': clearable('boolean')
|
|
7910
|
+
});
|
|
7911
|
+
const processAllQueuedStorageFilesParamsType = type({});
|
|
7912
|
+
const updateStorageFileParamsType = targetModelParamsType.merge({
|
|
7913
|
+
'sdat?': clearable('string.date.parse')
|
|
7914
|
+
});
|
|
7915
|
+
const deleteStorageFileParamsType = targetModelParamsType.merge({
|
|
7916
|
+
'force?': clearable('boolean')
|
|
7917
|
+
});
|
|
7918
|
+
const deleteAllQueuedStorageFilesParamsType = type({});
|
|
7919
|
+
const downloadStorageFileParamsType = targetModelParamsType.merge({
|
|
7920
|
+
'expiresAt?': clearable('string.date.parse'),
|
|
7921
|
+
'expiresIn?': clearable('number >= 0'),
|
|
7922
|
+
'responseDisposition?': clearable('string'),
|
|
7923
|
+
'responseContentType?': clearable('string'),
|
|
7924
|
+
'asAdmin?': clearable('boolean')
|
|
7925
|
+
});
|
|
7926
|
+
const createStorageFileGroupParamsType = type({
|
|
7927
|
+
'model?': clearable(firestoreModelKeyType),
|
|
7928
|
+
'storageFileId?': clearable(firestoreModelIdType)
|
|
7929
|
+
});
|
|
7930
|
+
const syncStorageFileWithGroupsParamsType = targetModelParamsType.merge({
|
|
7931
|
+
'force?': 'boolean'
|
|
7932
|
+
});
|
|
7933
|
+
const syncAllFlaggedStorageFilesWithGroupsParamsType = type({});
|
|
7934
|
+
const updateStorageFileGroupEntryParamsType = type({
|
|
7935
|
+
s: firestoreModelIdType,
|
|
7936
|
+
'n?': clearable('string > 0')
|
|
7937
|
+
});
|
|
7938
|
+
const updateStorageFileGroupParamsType = targetModelParamsType.merge({
|
|
7939
|
+
'entries?': clearable(updateStorageFileGroupEntryParamsType.array())
|
|
7940
|
+
});
|
|
7941
|
+
const regenerateStorageFileGroupContentParamsType = targetModelParamsType.merge({
|
|
7942
|
+
'force?': 'boolean'
|
|
7943
|
+
});
|
|
7944
|
+
const regenerateAllFlaggedStorageFileGroupsContentParamsType = type({});
|
|
7945
|
+
const initializeStorageFileModelParamsType = targetModelParamsType.merge({
|
|
7946
|
+
'throwErrorIfAlreadyInitialized?': 'boolean'
|
|
7947
|
+
});
|
|
7948
|
+
const initializeAllApplicableStorageFileGroupsParamsType = type({});
|
|
8819
7949
|
const storageFileFunctionTypeConfigMap = {};
|
|
8820
7950
|
const storageFileModelCrudFunctionsConfig = {
|
|
8821
7951
|
storageFile: ['create:_,fromUpload,allFromUpload', 'update:_,process,syncWithGroups', 'delete:_', 'read:download'],
|
|
@@ -9673,5 +8803,5 @@ function systemStateFirestoreCollection(firestoreContext, converters) {
|
|
|
9673
8803
|
});
|
|
9674
8804
|
}
|
|
9675
8805
|
|
|
9676
|
-
export { ALL_STORAGE_FILE_NOTIFICATION_TASK_TYPES, ALL_USER_UPLOADS_FOLDER_NAME, ALL_USER_UPLOADS_FOLDER_PATH, AbstractFirestoreDocument, AbstractFirestoreDocumentDataAccessorWrapper, AbstractFirestoreDocumentWithParent, AbstractSubscribeOrUnsubscribeToNotificationBoxParams, AbstractSubscribeToNotificationBoxParams, AppNotificationTemplateTypeInfoRecordService, BASE_MODEL_STORAGE_FILE_PATH, CALL_MODEL_APP_FUNCTION_KEY, COPY_USER_RELATED_DATA_ACCESSOR_FACTORY_FUNCTION, CREATE_NOTIFICATION_ID_REQUIRED_ERROR_CODE, CleanupSentNotificationsParams, ContextGrantedModelRolesReaderInstance, CreateNotificationBoxParams, CreateNotificationSummaryParams, CreateNotificationUserParams, CreateStorageFileGroupParams, CreateStorageFileParams, DBX_FIREBASE_SERVER_NO_AUTH_ERROR_CODE, DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE, DEFAULT_DATE_CELL_RANGE_VALUE, DEFAULT_FIRESTORE_DATE_CELL_SCHEDULE_VALUE, DEFAULT_FIRESTORE_ITEM_PAGE_ITERATOR_ITEMS_PER_PAGE, DEFAULT_FIRESTORE_STRING_FIELD_VALUE, DEFAULT_FIRESTORE_UNITED_STATES_ADDRESS_VALUE, DEFAULT_FIRESTORE_WEBSITE_FILE_LINK_VALUE, DEFAULT_ITERATE_FIRESTORE_DOCUMENT_SNAPSHOT_BATCHES_BATCH_SIZE, DEFAULT_NOTIFICATION_TASK_NOTIFICATION_MODEL_KEY, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY, DEFAULT_NOTIFICATION_TEMPLATE_TYPE, DEFAULT_QUERY_CHANGE_WATCHER_DELAY, DEFAULT_SINGLE_ITEM_FIRESTORE_COLLECTION_DOCUMENT_IDENTIFIER, DEFAULT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, DEFAULT_WEBSITE_LINK, DeleteAllQueuedStorageFilesParams, DeleteStorageFileParams, DownloadStorageFileParams, EMPTY_STORAGE_FILE_PURPOSE_SUBGROUP, EXACT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, FIREBASE_AUTH_NETWORK_REQUEST_ERROR, FIREBASE_AUTH_NETWORK_REQUEST_FAILED, FIREBASE_AUTH_PASSWORD_MAX_LENGTH, FIREBASE_AUTH_PASSWORD_MIN_LENGTH, FIREBASE_AUTH_USER_NOT_FOUND_ERROR, FIREBASE_AUTH_WRONG_PASSWORD, FIREBASE_DEVELOPMENT_FUNCTIONS_MAP_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_PASSWORD_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_PASSWORD_KEY, FIRESTORE_CLIENT_QUERY_CONSTRAINT_HANDLER_MAPPING, FIRESTORE_COLLECTION_NAME_SEPARATOR, FIRESTORE_DUMMY_MODEL_KEY, FIRESTORE_EMPTY_VALUE, FIRESTORE_END_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_BEFORE_QUERY_CONSTRAINT_TYPE, FIRESTORE_ITEM_PAGE_ITERATOR, FIRESTORE_ITEM_PAGE_ITERATOR_DELEGATE, FIRESTORE_LIMIT_QUERY_CONSTRAINT_TYPE, FIRESTORE_LIMIT_TO_LAST_QUERY_CONSTRAINT_TYPE, FIRESTORE_MAX_WHERE_IN_FILTER_ARGS_COUNT, FIRESTORE_MODEL_ID_REGEX, FIRESTORE_MODEL_KEY_REGEX, FIRESTORE_MODEL_KEY_REGEX_STRICT, FIRESTORE_OFFSET_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_QUERY_CONSTRAINT_TYPE, FIRESTORE_PASSTHROUGH_FIELD, FIRESTORE_PERMISSION_DENIED_ERROR_CODE, FIRESTORE_START_AFTER_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_QUERY_CONSTRAINT_TYPE, FirebaseDevelopmentFunctions, FirebaseModelPermissionServiceInstance, FirebaseServerError, FirestoreAccessorStreamMode, FirestoreDocumentContextType, HIGH_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, InferredTargetModelIdParams, InferredTargetModelParams, InitializeAllApplicableNotificationBoxesParams, InitializeAllApplicableNotificationSummariesParams, InitializeAllApplicableStorageFileGroupsParams, InitializeAllStorageFilesFromUploadsParams, InitializeNotificationModelParams, InitializeStorageFileFromUploadParams, InitializeStorageFileModelParams, IsFirestoreModelId, IsFirestoreModelIdOrKey, IsFirestoreModelKey, LOW_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MIN_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_DEFAULT, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_SPLITTER, MODEL_STORAGE_FILE_SLASH_PATH_FACTORY, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, NOTIFICATION_BOX_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_BOX_EXCLUSION_TARGET_INVALID_ERROR_CODE, NOTIFICATION_BOX_EXISTS_FOR_MODEL_ERROR_CODE, NOTIFICATION_BOX_RECIPIENT_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_MESSAGE_MAX_LENGTH, NOTIFICATION_MESSAGE_MIN_LENGTH, NOTIFICATION_MODEL_ALREADY_INITIALIZED_ERROR_CODE, NOTIFICATION_RECIPIENT_NAME_MAX_LENGTH, NOTIFICATION_RECIPIENT_NAME_MIN_LENGTH, NOTIFICATION_SUBJECT_MAX_LENGTH, NOTIFICATION_SUBJECT_MIN_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_MESSAGE_MAX_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_SUBJECT_MAX_LENGTH, NOTIFICATION_SUMMARY_ITEM_LIMIT, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING, NOTIFICATION_USER_BLOCKED_FROM_BEING_ADD_TO_RECIPIENTS_ERROR_CODE, NOTIFICATION_USER_INVALID_UID_FOR_CREATE_ERROR_CODE, NOTIFICATION_USER_LOCKED_CONFIG_FROM_BEING_UPDATED_ERROR_CODE, NOTIFICATION_WEEK_NOTIFICATION_ITEM_LIMIT, NotificationBoxDocument, NotificationBoxRecipientFlag, NotificationBoxRecipientTemplateConfigArrayEntryParam, NotificationBoxRecipientTemplateConfigBoolean, NotificationDocument, NotificationFirestoreCollections, NotificationFunctions, NotificationMessageFlag, NotificationRecipientParams, NotificationRecipientSendFlag, NotificationSendState, NotificationSendType, NotificationSummaryDocument, NotificationUserDocument, NotificationWeekDocument, ProcessAllQueuedStorageFilesParams, ProcessStorageFileParams, RUN_DEV_FUNCTION_APP_FUNCTION_KEY, RegenerateAllFlaggedStorageFileGroupsContentParams, RegenerateStorageFileGroupContentParams, ResyncAllNotificationUserParams, ResyncNotificationUserParams, SCHEDULED_FUNCTION_DEV_FUNCTION_SPECIFIER, STORAGEFILE_RELATED_FILE_METADATA_KEY, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_GROUP_CREATE_INPUT_ERROR_CODE, STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION_ERROR_CODE, STORAGE_FILE_GROUP_ROOT_FOLDER_PATH, STORAGE_FILE_GROUP_ZIP_FILE_PATH, STORAGE_FILE_GROUP_ZIP_INFO_JSON_FILE_NAME, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE_CREATE_ZIP_SUBTASK, STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE, STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING_ERROR_CODE, STORAGE_FILE_PROCESSING_STUCK_THROTTLE_CHECK_MS, STORAGE_FILE_UPLOAD_USER_ROLE, ScheduledFunctionDevelopmentFirebaseFunctionListEntry, ScheduledFunctionDevelopmentFirebaseFunctionParams, ScheduledFunctionDevelopmentFunctionTypeEnum, SendNotificationParams, SendQueuedNotificationsParams, StorageFileCreationType, StorageFileDocument, StorageFileFirestoreCollections, StorageFileFunctions, StorageFileGroupDocument, StorageFileProcessingState, StorageFileState, StorageFileUploadStreamUnsupportedError, SyncAllFlaggedStorageFilesWithGroupsParams, SyncStorageFileWithGroupsParams, SystemStateDocument, SystemStateFirestoreCollections, TargetModelIdParams, TargetModelParams, 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, UpdateNotificationBoxParams, UpdateNotificationBoxRecipientLikeParams, UpdateNotificationBoxRecipientParams, UpdateNotificationSummaryParams, UpdateNotificationUserDefaultNotificationBoxRecipientConfigParams, UpdateNotificationUserNotificationBoxRecipientParams, UpdateNotificationUserParams, UpdateStorageFileGroupEntryParams, UpdateStorageFileGroupParams, UpdateStorageFileParams, _createNotificationDocumentFromPair, addConstraintToBuilder, addOrReplaceLimitInConstraints, allChildDocumentsUnderParent, allChildDocumentsUnderParentPath, allChildDocumentsUnderRelativePath, allowDocumentSnapshotWithPathOnceFilter, allowedNotificationRecipients, appNotificationTemplateTypeInfoRecordService, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, arrayUpdateWithAccessorFunction, asTopLevelFieldPath, asTopLevelFieldPaths, assertFirestoreUpdateHasData, assertStorageUploadOptionsStringFormat, assignDateCellRangeFunction, assignDateCellScheduleFunction, assignUnitedStatesAddressFunction, assignWebsiteFileLinkFunction, assignWebsiteLinkFunction, buildFirebaseCollectionTypeModelTypeMap, calculateNsForNotificationUserNotificationBoxRecipientConfigs, calculateStorageFileGroupEmbeddedFileUpdate, calculateStorageFileGroupRegeneration, callModelFirebaseFunctionMapFactory, canQueueStorageFileForProcessing, childFirestoreModelKey, childFirestoreModelKeyPath, childFirestoreModelKeys, clientFirebaseFirestoreContextFactory, clientFirebaseStorageContextFactory, combineUploadFileTypeDeterminers, completeSubtaskProcessingAndScheduleCleanupTaskResult, contextGrantedModelRolesReader, contextGrantedModelRolesReaderDoesNotExistErrorMessage, contextGrantedModelRolesReaderPermissionErrorMessage, convertHttpsCallableErrorToReadableError, copyDocumentIdForUserRelatedModifierFunction, copyDocumentIdToFieldModifierFunction, copyStoragePath, copyUserRelatedDataAccessorFactoryFunction, copyUserRelatedDataModifierConfig, createNotificationDocument, createNotificationDocumentIfSending, createNotificationDocumentPair, createNotificationTaskTemplate, createNotificationTemplate, createStorageFileDocumentPair, createStorageFileDocumentPairFactory, dataFromDocumentSnapshots, dataFromSnapshotStream, delayCompletion, determineByFileName, determineByFilePath, determineByFolderName, determineUserByFolder, determineUserByFolderWrapperFunction, determineUserByUserUploadsFolderWrapperFunction, developmentFirebaseFunctionMapFactory, directDataHttpsCallable, documentData, documentDataFunction, documentDataWithIdAndKey, documentReferenceFromDocument, documentReferencesFromDocuments, documentReferencesFromSnapshot, effectiveNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientTemplateConfig, endAt, endAtValue, endBefore, extendFirestoreCollectionWithSingleDocumentAccessor, filterConstraintsOfType, filterDisallowedFirestoreItemPageIteratorInputConstraints, filterRepeatCheckpointSnapshots, filterWithDateRange, firebaseAuthErrorToReadableError, firebaseFirestoreClientDrivers, firebaseFirestoreQueryConstraintFunctionsDriver, firebaseFirestoreQueryDriver, firebaseFunctionMapFactory, firebaseModelLoader, firebaseModelPermissionService, firebaseModelService, firebaseModelServiceFactory, firebaseModelsService, firebaseQueryItemAccumulator, firebaseQuerySnapshotAccumulator, firebaseStorageBucketFolderPath, firebaseStorageClientAccessorDriver, firebaseStorageClientAccessorFile, firebaseStorageClientAccessorFolder, firebaseStorageClientDrivers, firebaseStorageClientListFilesResultFactory, firebaseStorageContextFactory, firebaseStorageFileExists, firebaseStorageFilePathFromStorageFilePath, firebaseStorageRefForStorageFilePath, firestoreArray, firestoreArrayMap, firestoreBitwiseObjectMap, firestoreBitwiseSet, firestoreBitwiseSetMap, firestoreBoolean, firestoreClientAccessorDriver, firestoreClientArrayUpdateToUpdateData, firestoreClientIncrementUpdateToUpdateData, 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, firestoreModelIdString, 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, 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, incrementUpdateWithAccessorFunction, inferKeyFromTwoWayFlatFirestoreModelKey, inferNotificationBoxRelatedModelKey, inferStorageFileGroupRelatedModelKey, interceptAccessorFactoryFunction, isAdminInFirebaseModelContext, isClientFirebaseError, isCompleteNotificationSendState, isFirebaseStorageObjectNotFoundError, isFirestoreModelId, isFirestoreModelIdOrKey, isFirestoreModelKey, isOwnerOfUserRelatedModelInFirebaseModelContext, iterateFirestoreDocumentSnapshotBatches, iterateFirestoreDocumentSnapshotCheckpoints, iterateFirestoreDocumentSnapshotPairBatches, iterateFirestoreDocumentSnapshotPairs, iterateFirestoreDocumentSnapshots, iterateStorageListFiles, iterateStorageListFilesByEachFile, iterateStorageListFilesFactory, iterationQueryDocChangeWatcher, iterationQueryDocChangeWatcherChangeTypeForGroup, latestDataFromDocuments, latestSnapshotsFromDocuments, lazyFirebaseFunctionsFactory, limit, limitToLast, limitUploadFileTypeDeterminer, limitedFirestoreDocumentAccessorFactory, limitedFirestoreDocumentAccessorSnapshotCache, loadAllFirestoreDocumentSnapshot, loadAllFirestoreDocumentSnapshotPairs, loadDocumentsForDocumentReferences, loadDocumentsForDocumentReferencesFromValues, loadDocumentsForIds, loadDocumentsForIdsFromValues, loadDocumentsForKeys, loadDocumentsForKeysFromValues, loadDocumentsForSnapshots, loadDocumentsForValues, loadNotificationBoxDocumentForReferencePair, loadStorageFileGroupDocumentForReferencePair, makeDocuments, makeFirestoreCollection, makeFirestoreCollectionGroup, makeFirestoreCollectionWithParent, makeFirestoreItemPageIteratorDelegate, makeFirestoreQueryConstraintFunctionsDriver, makeRootSingleItemFirestoreCollection, makeSingleItemFirestoreCollection, mapDataFromSnapshot, mapHttpsCallable, mapLatestSnapshotsFromDocuments, mergeNotificationBoxRecipientTemplateConfigRecords, mergeNotificationBoxRecipientTemplateConfigs, mergeNotificationBoxRecipients, mergeNotificationSendMessagesResult, mergeNotificationUserDefaultNotificationBoxRecipientConfig, mergeNotificationUserNotificationBoxRecipientConfigs, modelStorageSlashPathFactory, modifyBeforeSetInterceptAccessorFactoryFunction, newDocuments, newNotificationBoxRecipientForUid, noContentNotificationMessageFunctionFactory, noStringFormatInStorageUploadOptionsError, notificationBoxCollectionReference, notificationBoxConverter, notificationBoxFirestoreCollection, notificationBoxIdForModel, notificationBoxIdentity, notificationBoxModelCrudFunctionsConfig, notificationBoxRecipientTemplateConfigArrayToRecord, notificationBoxRecipientTemplateConfigRecordToArray, notificationBoxesFlaggedForNeedsInitializationQuery, notificationBoxesFlaggedInvalidQuery, notificationCollectionReference, notificationCollectionReferenceFactory, notificationConverter, notificationFirestoreCollectionFactory, notificationFirestoreCollectionGroup, notificationFunctionMap, notificationFunctionTypeConfigMap, notificationIdentity, notificationMessageFunction, 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, onCallCreateModelParams, onCallCreateModelResult, onCallCreateModelResultWithDocs, onCallDeleteModelParams, onCallDevelopmentParams, onCallReadModelParams, onCallTypedModelParams, onCallTypedModelParamsFunction, onCallUpdateModelParams, optionalFirestoreArray, optionalFirestoreBoolean, optionalFirestoreDate, optionalFirestoreDateNumber, optionalFirestoreEnum, optionalFirestoreField, optionalFirestoreNumber, optionalFirestoreString, optionalFirestoreUID, optionalFirestoreUnitedStatesAddress, optionalFirestoreUnixDateTimeSecondsNumber, orderBy, orderByDocumentId, readFirestoreModelKey, readFirestoreModelKeyFromDocumentSnapshot, replaceConstraints, selectFromFirebaseModelsService, separateConstraints, setIdAndKeyFromKeyIdRefOnDocumentData, setIdAndKeyFromSnapshotOnDocumentData, shouldSaveNotificationToNotificationWeek, shouldSendCreatedNotificationInput, snapshotConverterFunctions, snapshotStreamDataForAccessor, snapshotStreamForAccessor, sortNotificationItemsFunction, startAfter, startAt, startAtValue, storageFileCollectionReference, storageFileConverter, storageFileFirestoreCollection, storageFileFlaggedForSyncWithGroupsQuery, storageFileFunctionMap, storageFileFunctionTypeConfigMap, storageFileGroupCollectionReference, storageFileGroupConverter, storageFileGroupCreateStorageFileKeyFactory, storageFileGroupCreatedStorageFileKey, storageFileGroupEmbeddedFile, storageFileGroupFirestoreCollection, storageFileGroupFolderPath, storageFileGroupIdForModel, storageFileGroupIdentity, storageFileGroupZipFileStoragePath, storageFileGroupZipStorageFileKey, storageFileGroupsFlaggedForContentRegenerationQuery, storageFileGroupsFlaggedForNeedsInitializationQuery, storageFileGroupsFlaggedInvalidQuery, storageFileIdentity, storageFileModelCrudFunctionsConfig, storageFileProcessingNotificationTaskTemplate, storageFilePurposeAndUserQuery, storageFileUploadUserSimpleClaimsConfiguration, storageFilesQueuedForDeleteQuery, storageFilesQueuedForProcessingQuery, storageListFilesResultFactory, storageListFilesResultHasNoNextError, storagePathFactory, storedFileReaderFactory, streamDocumentSnapshotDataPairs, streamDocumentSnapshotDataPairsWithData, streamDocumentSnapshotsData, streamFromOnSnapshot, systemStateCollectionReference, systemStateConverter, systemStateFirestoreCollection, systemStateIdentity, twoWayFlatFirestoreModelKey, unreadNotificationItems, unsupportedFirestoreDriverFunctionError, updateNotificationBoxRecipientTemplateConfigRecord, updateNotificationRecipient, updateNotificationUserDefaultNotificationBoxRecipientConfig, updateNotificationUserNotificationBoxRecipientConfigIfChanged, updateNotificationUserNotificationBoxRecipientConfigs, updateNotificationUserNotificationSendExclusions, updateWithAccessorUpdateAndConverterFunction, uploadFileWithStream, useContextAuth, useContextAuthUid, useDocumentSnapshot, useDocumentSnapshotData, useFirebaseModelsService, userUploadsFolderSlashPathFactory, userUploadsFolderStoragePathFactory, where, whereDateIsAfter, whereDateIsAfterWithSort, whereDateIsBefore, whereDateIsBeforeWithSort, whereDateIsBetween, whereDateIsInRange, whereDateIsOnOrAfter, whereDateIsOnOrAfterWithSort, whereDateIsOnOrBefore, whereDateIsOnOrBeforeWithSort, whereDocumentId, whereStringHasRootIdentityModelKey, whereStringValueHasPrefix };
|
|
8806
|
+
export { ALL_STORAGE_FILE_NOTIFICATION_TASK_TYPES, ALL_USER_UPLOADS_FOLDER_NAME, ALL_USER_UPLOADS_FOLDER_PATH, AbstractFirestoreDocument, AbstractFirestoreDocumentDataAccessorWrapper, AbstractFirestoreDocumentWithParent, AppNotificationTemplateTypeInfoRecordService, BASE_MODEL_STORAGE_FILE_PATH, CALL_MODEL_APP_FUNCTION_KEY, COPY_USER_RELATED_DATA_ACCESSOR_FACTORY_FUNCTION, CREATE_NOTIFICATION_ID_REQUIRED_ERROR_CODE, ContextGrantedModelRolesReaderInstance, DBX_FIREBASE_SERVER_NO_AUTH_ERROR_CODE, DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE, DEFAULT_DATE_CELL_RANGE_VALUE, DEFAULT_FIRESTORE_DATE_CELL_SCHEDULE_VALUE, DEFAULT_FIRESTORE_ITEM_PAGE_ITERATOR_ITEMS_PER_PAGE, DEFAULT_FIRESTORE_STRING_FIELD_VALUE, DEFAULT_FIRESTORE_UNITED_STATES_ADDRESS_VALUE, DEFAULT_FIRESTORE_WEBSITE_FILE_LINK_VALUE, DEFAULT_ITERATE_FIRESTORE_DOCUMENT_SNAPSHOT_BATCHES_BATCH_SIZE, DEFAULT_NOTIFICATION_TASK_NOTIFICATION_MODEL_KEY, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY, DEFAULT_NOTIFICATION_TEMPLATE_TYPE, DEFAULT_QUERY_CHANGE_WATCHER_DELAY, DEFAULT_SINGLE_ITEM_FIRESTORE_COLLECTION_DOCUMENT_IDENTIFIER, DEFAULT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, DEFAULT_WEBSITE_LINK, EMPTY_STORAGE_FILE_PURPOSE_SUBGROUP, EXACT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, FIREBASE_AUTH_NETWORK_REQUEST_ERROR, FIREBASE_AUTH_NETWORK_REQUEST_FAILED, FIREBASE_AUTH_PASSWORD_MAX_LENGTH, FIREBASE_AUTH_PASSWORD_MIN_LENGTH, FIREBASE_AUTH_USER_NOT_FOUND_ERROR, FIREBASE_AUTH_WRONG_PASSWORD, FIREBASE_DEVELOPMENT_FUNCTIONS_MAP_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_PASSWORD_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_PASSWORD_KEY, FIRESTORE_CLIENT_QUERY_CONSTRAINT_HANDLER_MAPPING, FIRESTORE_COLLECTION_NAME_SEPARATOR, FIRESTORE_DUMMY_MODEL_KEY, FIRESTORE_EMPTY_VALUE, FIRESTORE_END_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_BEFORE_QUERY_CONSTRAINT_TYPE, FIRESTORE_ITEM_PAGE_ITERATOR, FIRESTORE_ITEM_PAGE_ITERATOR_DELEGATE, FIRESTORE_LIMIT_QUERY_CONSTRAINT_TYPE, FIRESTORE_LIMIT_TO_LAST_QUERY_CONSTRAINT_TYPE, FIRESTORE_MAX_WHERE_IN_FILTER_ARGS_COUNT, FIRESTORE_MODEL_ID_REGEX, FIRESTORE_MODEL_KEY_REGEX, FIRESTORE_MODEL_KEY_REGEX_STRICT, FIRESTORE_OFFSET_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_QUERY_CONSTRAINT_TYPE, FIRESTORE_PASSTHROUGH_FIELD, FIRESTORE_PERMISSION_DENIED_ERROR_CODE, FIRESTORE_START_AFTER_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_QUERY_CONSTRAINT_TYPE, FirebaseDevelopmentFunctions, FirebaseModelPermissionServiceInstance, FirebaseServerError, FirestoreAccessorStreamMode, FirestoreDocumentContextType, HIGH_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, LOW_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MIN_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_DEFAULT, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_SPLITTER, MODEL_STORAGE_FILE_SLASH_PATH_FACTORY, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, NOTIFICATION_BOX_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_BOX_EXCLUSION_TARGET_INVALID_ERROR_CODE, NOTIFICATION_BOX_EXISTS_FOR_MODEL_ERROR_CODE, NOTIFICATION_BOX_RECIPIENT_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_MESSAGE_MAX_LENGTH, NOTIFICATION_MESSAGE_MIN_LENGTH, NOTIFICATION_MODEL_ALREADY_INITIALIZED_ERROR_CODE, NOTIFICATION_RECIPIENT_NAME_MAX_LENGTH, NOTIFICATION_RECIPIENT_NAME_MIN_LENGTH, NOTIFICATION_SUBJECT_MAX_LENGTH, NOTIFICATION_SUBJECT_MIN_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_MESSAGE_MAX_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_SUBJECT_MAX_LENGTH, NOTIFICATION_SUMMARY_ITEM_LIMIT, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING, NOTIFICATION_USER_BLOCKED_FROM_BEING_ADD_TO_RECIPIENTS_ERROR_CODE, NOTIFICATION_USER_INVALID_UID_FOR_CREATE_ERROR_CODE, NOTIFICATION_USER_LOCKED_CONFIG_FROM_BEING_UPDATED_ERROR_CODE, NOTIFICATION_WEEK_NOTIFICATION_ITEM_LIMIT, NotificationBoxDocument, NotificationBoxRecipientFlag, NotificationBoxRecipientTemplateConfigBoolean, NotificationDocument, NotificationFirestoreCollections, NotificationFunctions, NotificationMessageFlag, NotificationRecipientSendFlag, NotificationSendState, NotificationSendType, NotificationSummaryDocument, NotificationUserDocument, NotificationWeekDocument, RUN_DEV_FUNCTION_APP_FUNCTION_KEY, SCHEDULED_FUNCTION_DEV_FUNCTION_SPECIFIER, STORAGEFILE_RELATED_FILE_METADATA_KEY, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_GROUP_CREATE_INPUT_ERROR_CODE, STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION_ERROR_CODE, STORAGE_FILE_GROUP_ROOT_FOLDER_PATH, STORAGE_FILE_GROUP_ZIP_FILE_PATH, STORAGE_FILE_GROUP_ZIP_INFO_JSON_FILE_NAME, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE_CREATE_ZIP_SUBTASK, STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE, STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING_ERROR_CODE, STORAGE_FILE_PROCESSING_STUCK_THROTTLE_CHECK_MS, STORAGE_FILE_UPLOAD_USER_ROLE, ScheduledFunctionDevelopmentFirebaseFunctionListEntry, ScheduledFunctionDevelopmentFunctionTypeEnum, StorageFileCreationType, StorageFileDocument, StorageFileFirestoreCollections, StorageFileFunctions, StorageFileGroupDocument, StorageFileProcessingState, StorageFileState, StorageFileUploadStreamUnsupportedError, SystemStateDocument, SystemStateFirestoreCollections, UPLOADED_FILE_DOES_NOT_EXIST_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_DISCARDED_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_FAILED_ERROR_CODE, UPLOADED_FILE_NOT_ALLOWED_TO_BE_INITIALIZED_ERROR_CODE, UPLOADS_FOLDER_PATH, _createNotificationDocumentFromPair, abstractSubscribeOrUnsubscribeToNotificationBoxParamsType, abstractSubscribeToNotificationBoxParamsType, addConstraintToBuilder, addOrReplaceLimitInConstraints, allChildDocumentsUnderParent, allChildDocumentsUnderParentPath, allChildDocumentsUnderRelativePath, allowDocumentSnapshotWithPathOnceFilter, allowedNotificationRecipients, appNotificationTemplateTypeInfoRecordService, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, arrayUpdateWithAccessorFunction, asTopLevelFieldPath, asTopLevelFieldPaths, assertFirestoreUpdateHasData, assertStorageUploadOptionsStringFormat, assignDateCellRangeFunction, assignDateCellScheduleFunction, assignUnitedStatesAddressFunction, assignWebsiteFileLinkFunction, assignWebsiteLinkFunction, buildFirebaseCollectionTypeModelTypeMap, calculateNsForNotificationUserNotificationBoxRecipientConfigs, calculateStorageFileGroupEmbeddedFileUpdate, calculateStorageFileGroupRegeneration, callModelFirebaseFunctionMapFactory, canQueueStorageFileForProcessing, childFirestoreModelKey, childFirestoreModelKeyPath, childFirestoreModelKeys, cleanupSentNotificationsParamsType, clientFirebaseFirestoreContextFactory, clientFirebaseStorageContextFactory, combineUploadFileTypeDeterminers, completeSubtaskProcessingAndScheduleCleanupTaskResult, contextGrantedModelRolesReader, contextGrantedModelRolesReaderDoesNotExistErrorMessage, contextGrantedModelRolesReaderPermissionErrorMessage, convertHttpsCallableErrorToReadableError, copyDocumentIdForUserRelatedModifierFunction, copyDocumentIdToFieldModifierFunction, copyStoragePath, copyUserRelatedDataAccessorFactoryFunction, copyUserRelatedDataModifierConfig, createNotificationBoxParamsType, createNotificationDocument, createNotificationDocumentIfSending, createNotificationDocumentPair, createNotificationSummaryParamsType, createNotificationTaskTemplate, createNotificationTemplate, createNotificationUserParamsType, createStorageFileDocumentPair, createStorageFileDocumentPairFactory, createStorageFileGroupParamsType, createStorageFileParamsType, dataFromDocumentSnapshots, dataFromSnapshotStream, delayCompletion, deleteAllQueuedStorageFilesParamsType, deleteStorageFileParamsType, determineByFileName, determineByFilePath, determineByFolderName, determineUserByFolder, determineUserByFolderWrapperFunction, determineUserByUserUploadsFolderWrapperFunction, developmentFirebaseFunctionMapFactory, directDataHttpsCallable, documentData, documentDataFunction, documentDataWithIdAndKey, documentReferenceFromDocument, documentReferencesFromDocuments, documentReferencesFromSnapshot, downloadStorageFileParamsType, effectiveNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientTemplateConfig, endAt, endAtValue, endBefore, extendFirestoreCollectionWithSingleDocumentAccessor, filterConstraintsOfType, filterDisallowedFirestoreItemPageIteratorInputConstraints, filterRepeatCheckpointSnapshots, filterWithDateRange, firebaseAuthErrorToReadableError, firebaseFirestoreClientDrivers, firebaseFirestoreQueryConstraintFunctionsDriver, firebaseFirestoreQueryDriver, firebaseFunctionMapFactory, firebaseModelLoader, firebaseModelPermissionService, firebaseModelService, firebaseModelServiceFactory, firebaseModelsService, firebaseQueryItemAccumulator, firebaseQuerySnapshotAccumulator, firebaseStorageBucketFolderPath, firebaseStorageClientAccessorDriver, firebaseStorageClientAccessorFile, firebaseStorageClientAccessorFolder, firebaseStorageClientDrivers, firebaseStorageClientListFilesResultFactory, firebaseStorageContextFactory, firebaseStorageFileExists, firebaseStorageFilePathFromStorageFilePath, firebaseStorageRefForStorageFilePath, firestoreArray, firestoreArrayMap, firestoreBitwiseObjectMap, firestoreBitwiseSet, firestoreBitwiseSetMap, firestoreBoolean, firestoreClientAccessorDriver, firestoreClientArrayUpdateToUpdateData, firestoreClientIncrementUpdateToUpdateData, 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, incrementUpdateWithAccessorFunction, inferKeyFromTwoWayFlatFirestoreModelKey, inferNotificationBoxRelatedModelKey, inferStorageFileGroupRelatedModelKey, inferredTargetModelIdParamsType, inferredTargetModelParamsType, initializeAllApplicableNotificationBoxesParamsType, initializeAllApplicableNotificationSummariesParamsType, initializeAllApplicableStorageFileGroupsParamsType, initializeAllStorageFilesFromUploadsParamsType, initializeNotificationModelParamsType, initializeStorageFileFromUploadParamsType, initializeStorageFileModelParamsType, interceptAccessorFactoryFunction, isAdminInFirebaseModelContext, isClientFirebaseError, isCompleteNotificationSendState, isFirebaseStorageObjectNotFoundError, isFirestoreModelId, isFirestoreModelIdOrKey, isFirestoreModelKey, isOwnerOfUserRelatedModelInFirebaseModelContext, iterateFirestoreDocumentSnapshotBatches, iterateFirestoreDocumentSnapshotCheckpoints, iterateFirestoreDocumentSnapshotPairBatches, iterateFirestoreDocumentSnapshotPairs, iterateFirestoreDocumentSnapshots, iterateStorageListFiles, iterateStorageListFilesByEachFile, iterateStorageListFilesFactory, iterationQueryDocChangeWatcher, iterationQueryDocChangeWatcherChangeTypeForGroup, latestDataFromDocuments, latestSnapshotsFromDocuments, lazyFirebaseFunctionsFactory, limit, limitToLast, limitUploadFileTypeDeterminer, limitedFirestoreDocumentAccessorFactory, limitedFirestoreDocumentAccessorSnapshotCache, loadAllFirestoreDocumentSnapshot, loadAllFirestoreDocumentSnapshotPairs, loadDocumentsForDocumentReferences, loadDocumentsForDocumentReferencesFromValues, loadDocumentsForIds, loadDocumentsForIdsFromValues, loadDocumentsForKeys, loadDocumentsForKeysFromValues, loadDocumentsForSnapshots, loadDocumentsForValues, loadNotificationBoxDocumentForReferencePair, loadStorageFileGroupDocumentForReferencePair, makeDocuments, makeFirestoreCollection, makeFirestoreCollectionGroup, makeFirestoreCollectionWithParent, makeFirestoreItemPageIteratorDelegate, makeFirestoreQueryConstraintFunctionsDriver, makeRootSingleItemFirestoreCollection, makeSingleItemFirestoreCollection, mapDataFromSnapshot, mapHttpsCallable, mapLatestSnapshotsFromDocuments, mergeNotificationBoxRecipientTemplateConfigRecords, mergeNotificationBoxRecipientTemplateConfigs, mergeNotificationBoxRecipients, mergeNotificationSendMessagesResult, mergeNotificationUserDefaultNotificationBoxRecipientConfig, mergeNotificationUserNotificationBoxRecipientConfigs, modelStorageSlashPathFactory, modifyBeforeSetInterceptAccessorFactoryFunction, newDocuments, newNotificationBoxRecipientForUid, noContentNotificationMessageFunctionFactory, noStringFormatInStorageUploadOptionsError, notificationBoxCollectionReference, notificationBoxConverter, notificationBoxFirestoreCollection, notificationBoxIdForModel, notificationBoxIdentity, notificationBoxModelCrudFunctionsConfig, notificationBoxRecipientTemplateConfigArrayEntryParamType, notificationBoxRecipientTemplateConfigArrayToRecord, notificationBoxRecipientTemplateConfigRecordToArray, notificationBoxesFlaggedForNeedsInitializationQuery, notificationBoxesFlaggedInvalidQuery, notificationCollectionReference, notificationCollectionReferenceFactory, notificationConverter, notificationFirestoreCollectionFactory, notificationFirestoreCollectionGroup, notificationFunctionMap, notificationFunctionTypeConfigMap, notificationIdentity, notificationMessageFunction, notificationRecipientParamsType, notificationSendExclusionCanSendFunction, notificationSendFlagsImplyIsComplete, notificationSubtaskComplete, notificationSummariesFlaggedForNeedsInitializationQuery, notificationSummaryCollectionReference, notificationSummaryConverter, notificationSummaryFirestoreCollection, notificationSummaryIdForModel, notificationSummaryIdForUidFunctionForRootFirestoreModelIdentity, notificationSummaryIdentity, notificationTaskCanRunNextCheckpoint, notificationTaskComplete, notificationTaskDelayRetry, notificationTaskFailed, notificationTaskPartiallyComplete, notificationTaskUniqueId, notificationTemplateTypeInfoRecord, notificationUserCollectionReference, notificationUserConverter, notificationUserFirestoreCollection, notificationUserHasExclusionQuery, notificationUserIdentity, notificationUsersFlaggedForNeedsSyncQuery, notificationWeekCollectionReference, notificationWeekCollectionReferenceFactory, notificationWeekConverter, notificationWeekFirestoreCollectionFactory, notificationWeekFirestoreCollectionGroup, notificationWeekIdentity, notificationsPastSendAtTimeQuery, notificationsReadyForCleanupQuery, offset, onCallCreateModelParams, onCallCreateModelResult, onCallCreateModelResultWithDocs, onCallDeleteModelParams, onCallDevelopmentParams, onCallReadModelParams, onCallTypedModelParams, onCallTypedModelParamsFunction, onCallUpdateModelParams, optionalFirestoreArray, optionalFirestoreBoolean, optionalFirestoreDate, optionalFirestoreDateNumber, optionalFirestoreEnum, optionalFirestoreField, optionalFirestoreNumber, optionalFirestoreString, optionalFirestoreUID, optionalFirestoreUnitedStatesAddress, optionalFirestoreUnixDateTimeSecondsNumber, orderBy, orderByDocumentId, processAllQueuedStorageFilesParamsType, processStorageFileParamsType, readFirestoreModelKey, readFirestoreModelKeyFromDocumentSnapshot, regenerateAllFlaggedStorageFileGroupsContentParamsType, regenerateStorageFileGroupContentParamsType, replaceConstraints, resyncAllNotificationUserParamsType, resyncNotificationUserParamsType, scheduledFunctionDevelopmentFirebaseFunctionParamsType, selectFromFirebaseModelsService, sendNotificationParamsType, sendQueuedNotificationsParamsType, separateConstraints, setIdAndKeyFromKeyIdRefOnDocumentData, setIdAndKeyFromSnapshotOnDocumentData, shouldSaveNotificationToNotificationWeek, shouldSendCreatedNotificationInput, snapshotConverterFunctions, snapshotStreamDataForAccessor, snapshotStreamForAccessor, sortNotificationItemsFunction, startAfter, startAt, startAtValue, storageFileCollectionReference, storageFileConverter, storageFileFirestoreCollection, storageFileFlaggedForSyncWithGroupsQuery, storageFileFunctionMap, storageFileFunctionTypeConfigMap, storageFileGroupCollectionReference, storageFileGroupConverter, storageFileGroupCreateStorageFileKeyFactory, storageFileGroupCreatedStorageFileKey, storageFileGroupEmbeddedFile, storageFileGroupFirestoreCollection, storageFileGroupFolderPath, storageFileGroupIdForModel, storageFileGroupIdentity, storageFileGroupZipFileStoragePath, storageFileGroupZipStorageFileKey, storageFileGroupsFlaggedForContentRegenerationQuery, storageFileGroupsFlaggedForNeedsInitializationQuery, storageFileGroupsFlaggedInvalidQuery, storageFileIdentity, storageFileModelCrudFunctionsConfig, storageFileProcessingNotificationTaskTemplate, storageFilePurposeAndUserQuery, storageFileUploadUserSimpleClaimsConfiguration, storageFilesQueuedForDeleteQuery, storageFilesQueuedForProcessingQuery, storageListFilesResultFactory, storageListFilesResultHasNoNextError, storagePathFactory, storedFileReaderFactory, streamDocumentSnapshotDataPairs, streamDocumentSnapshotDataPairsWithData, streamDocumentSnapshotsData, streamFromOnSnapshot, syncAllFlaggedStorageFilesWithGroupsParamsType, syncStorageFileWithGroupsParamsType, systemStateCollectionReference, systemStateConverter, systemStateFirestoreCollection, systemStateIdentity, targetModelIdParamsType, targetModelParamsType, twoWayFlatFirestoreModelKey, unreadNotificationItems, unsupportedFirestoreDriverFunctionError, updateNotificationBoxParamsType, updateNotificationBoxRecipientLikeParamsType, updateNotificationBoxRecipientParamsType, updateNotificationBoxRecipientTemplateConfigRecord, updateNotificationRecipient, updateNotificationSummaryParamsType, updateNotificationUserDefaultNotificationBoxRecipientConfig, updateNotificationUserDefaultNotificationBoxRecipientConfigParamsType, updateNotificationUserNotificationBoxRecipientConfigIfChanged, updateNotificationUserNotificationBoxRecipientConfigs, updateNotificationUserNotificationBoxRecipientParamsType, updateNotificationUserNotificationSendExclusions, updateNotificationUserParamsType, 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 };
|
|
9677
8807
|
//# sourceMappingURL=index.esm.js.map
|