@dereekb/util 13.6.11 → 13.6.13

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@dereekb/util/fetch",
3
- "version": "13.6.11",
3
+ "version": "13.6.13",
4
4
  "peerDependencies": {
5
- "@dereekb/util": "13.6.11",
5
+ "@dereekb/util": "13.6.13",
6
6
  "make-error": "^1.3.0",
7
7
  "fast-content-type-parse": "^3.0.0"
8
8
  },
package/index.cjs.js CHANGED
@@ -12825,6 +12825,12 @@ function dateFromDateOrTimeMillisecondsNumber(input) {
12825
12825
  /**
12826
12826
  * Number of milliseconds in a day.
12827
12827
  */ var MS_IN_DAY = MS_IN_HOUR * HOURS_IN_DAY;
12828
+ /**
12829
+ * Number of days in a week.
12830
+ */ var DAYS_IN_WEEK = 7;
12831
+ /**
12832
+ * Number of milliseconds in a week.
12833
+ */ var MS_IN_WEEK = MS_IN_DAY * DAYS_IN_WEEK;
12828
12834
  /**
12829
12835
  * Retrieves the MonthOfYear value (1-12) from the input Date in the current system timezone.
12830
12836
  *
@@ -16844,6 +16850,145 @@ function dateFromLogicalDate(logicalDate) {
16844
16850
  return isLogicalDateStringCode;
16845
16851
  }
16846
16852
 
16853
+ /**
16854
+ * All time units ordered from smallest to largest.
16855
+ */ var ALL_TIME_UNITS = [
16856
+ 'ms',
16857
+ 's',
16858
+ 'min',
16859
+ 'h',
16860
+ 'd',
16861
+ 'w'
16862
+ ];
16863
+ /**
16864
+ * Human-readable labels for each time unit.
16865
+ */ var TIME_UNIT_LABEL_MAP = {
16866
+ ms: 'Milliseconds',
16867
+ s: 'Seconds',
16868
+ min: 'Minutes',
16869
+ h: 'Hours',
16870
+ d: 'Days',
16871
+ w: 'Weeks'
16872
+ };
16873
+ /**
16874
+ * Short labels for each time unit.
16875
+ */ var TIME_UNIT_SHORT_LABEL_MAP = {
16876
+ ms: 'ms',
16877
+ s: 'sec',
16878
+ min: 'min',
16879
+ h: 'hr',
16880
+ d: 'day',
16881
+ w: 'wk'
16882
+ };
16883
+ /**
16884
+ * Maps each TimeUnit to the number of milliseconds in one of that unit.
16885
+ */ var TIME_UNIT_MS_MAP = {
16886
+ ms: 1,
16887
+ s: MS_IN_SECOND,
16888
+ min: MS_IN_MINUTE,
16889
+ h: MS_IN_HOUR,
16890
+ d: MS_IN_DAY,
16891
+ w: MS_IN_WEEK
16892
+ };
16893
+ /**
16894
+ * Converts an amount in the given time unit to milliseconds.
16895
+ *
16896
+ * @param amount - The numeric amount in the given unit
16897
+ * @param unit - The time unit of the amount
16898
+ * @returns The equivalent number of milliseconds
16899
+ *
16900
+ * @example
16901
+ * ```typescript
16902
+ * timeUnitToMilliseconds(2, 'h'); // 7200000
16903
+ * timeUnitToMilliseconds(30, 'min'); // 1800000
16904
+ * ```
16905
+ */ function timeUnitToMilliseconds(amount, unit) {
16906
+ return amount * TIME_UNIT_MS_MAP[unit];
16907
+ }
16908
+ /**
16909
+ * Converts milliseconds to an amount in the given time unit.
16910
+ *
16911
+ * @param ms - The number of milliseconds
16912
+ * @param unit - The target time unit
16913
+ * @returns The equivalent amount in the target unit
16914
+ *
16915
+ * @example
16916
+ * ```typescript
16917
+ * millisecondsToTimeUnit(7200000, 'h'); // 2
16918
+ * millisecondsToTimeUnit(1800000, 'min'); // 30
16919
+ * ```
16920
+ */ function millisecondsToTimeUnit(ms, unit) {
16921
+ return ms / TIME_UNIT_MS_MAP[unit];
16922
+ }
16923
+ /**
16924
+ * Converts a duration amount from one time unit to another.
16925
+ *
16926
+ * Goes through milliseconds as an intermediary for the conversion.
16927
+ *
16928
+ * @param amount - The numeric amount in the source unit
16929
+ * @param fromUnit - The source time unit
16930
+ * @param toUnit - The target time unit
16931
+ * @returns The equivalent amount in the target unit
16932
+ *
16933
+ * @example
16934
+ * ```typescript
16935
+ * convertTimeDuration(2, 'h', 'min'); // 120
16936
+ * convertTimeDuration(1, 'd', 'h'); // 24
16937
+ * convertTimeDuration(500, 'ms', 's'); // 0.5
16938
+ * ```
16939
+ */ function convertTimeDuration(amount, fromUnit, toUnit) {
16940
+ if (fromUnit === toUnit) {
16941
+ return amount;
16942
+ }
16943
+ return millisecondsToTimeUnit(timeUnitToMilliseconds(amount, fromUnit), toUnit);
16944
+ }
16945
+ /**
16946
+ * Converts a TimeDuration to milliseconds.
16947
+ *
16948
+ * @param duration - The duration to convert
16949
+ * @returns The equivalent number of milliseconds
16950
+ *
16951
+ * @example
16952
+ * ```typescript
16953
+ * timeDurationToMilliseconds({ amount: 5, unit: 'min' }); // 300000
16954
+ * ```
16955
+ */ function timeDurationToMilliseconds(duration) {
16956
+ return timeUnitToMilliseconds(duration.amount, duration.unit);
16957
+ }
16958
+ /**
16959
+ * Converts a TimeDuration to an HoursAndMinutes object.
16960
+ *
16961
+ * First converts to total minutes, then splits into hours and minutes.
16962
+ *
16963
+ * @param duration - The duration to convert
16964
+ * @returns An HoursAndMinutes object
16965
+ *
16966
+ * @example
16967
+ * ```typescript
16968
+ * timeDurationToHoursAndMinutes({ amount: 90, unit: 'min' }); // { hour: 1, minute: 30 }
16969
+ * timeDurationToHoursAndMinutes({ amount: 2.5, unit: 'h' }); // { hour: 2, minute: 30 }
16970
+ * ```
16971
+ */ function timeDurationToHoursAndMinutes(duration) {
16972
+ var totalMinutes = convertTimeDuration(duration.amount, duration.unit, 'min');
16973
+ return minutesToHoursAndMinutes(Math.round(totalMinutes));
16974
+ }
16975
+ /**
16976
+ * Converts an HoursAndMinutes object to a total number in the specified time unit.
16977
+ *
16978
+ * @param hoursAndMinutes - The hours and minutes to convert
16979
+ * @param toUnit - The target time unit
16980
+ * @returns The equivalent amount in the target unit
16981
+ *
16982
+ * @example
16983
+ * ```typescript
16984
+ * hoursAndMinutesToTimeUnit({ hour: 1, minute: 30 }, 'min'); // 90
16985
+ * hoursAndMinutesToTimeUnit({ hour: 2, minute: 0 }, 'h'); // 2
16986
+ * ```
16987
+ */ function hoursAndMinutesToTimeUnit(hoursAndMinutes, toUnit) {
16988
+ var totalMinutes = hoursAndMinutes.hour * 60 + hoursAndMinutes.minute;
16989
+ return convertTimeDuration(totalMinutes, 'min', toUnit);
16990
+ }
16991
+
16847
16992
  function _array_like_to_array$7(arr, len) {
16848
16993
  if (len == null || len > arr.length) len = arr.length;
16849
16994
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
@@ -20631,6 +20776,7 @@ function _ts_generator(thisArg, body) {
20631
20776
  exports.ALL_DOUBLE_SLASHES_REGEX = ALL_DOUBLE_SLASHES_REGEX;
20632
20777
  exports.ALL_SLASHES_REGEX = ALL_SLASHES_REGEX;
20633
20778
  exports.ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX = ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX;
20779
+ exports.ALL_TIME_UNITS = ALL_TIME_UNITS;
20634
20780
  exports.APPLICATION_FILE_EXTENSION_TO_MIME_TYPES_RECORD = APPLICATION_FILE_EXTENSION_TO_MIME_TYPES_RECORD;
20635
20781
  exports.APPLICATION_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD = APPLICATION_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD;
20636
20782
  exports.ASSERTION_ERROR_CODE = ASSERTION_ERROR_CODE;
@@ -20655,6 +20801,7 @@ exports.CSV_MIME_TYPE = CSV_MIME_TYPE;
20655
20801
  exports.CUT_VALUE_TO_ZERO_PRECISION = CUT_VALUE_TO_ZERO_PRECISION;
20656
20802
  exports.DASH_CHARACTER_PREFIX_INSTANCE = DASH_CHARACTER_PREFIX_INSTANCE;
20657
20803
  exports.DATE_NOW_VALUE = DATE_NOW_VALUE;
20804
+ exports.DAYS_IN_WEEK = DAYS_IN_WEEK;
20658
20805
  exports.DAYS_IN_YEAR = DAYS_IN_YEAR;
20659
20806
  exports.DEFAULT_CUT_STRING_END_TEXT = DEFAULT_CUT_STRING_END_TEXT;
20660
20807
  exports.DEFAULT_ENCRYPTED_FIELD_PREFIX = DEFAULT_ENCRYPTED_FIELD_PREFIX;
@@ -20728,6 +20875,7 @@ exports.MS_IN_DAY = MS_IN_DAY;
20728
20875
  exports.MS_IN_HOUR = MS_IN_HOUR;
20729
20876
  exports.MS_IN_MINUTE = MS_IN_MINUTE;
20730
20877
  exports.MS_IN_SECOND = MS_IN_SECOND;
20878
+ exports.MS_IN_WEEK = MS_IN_WEEK;
20731
20879
  exports.MemoryStorageInstance = MemoryStorageInstance;
20732
20880
  exports.ModelRelationUtility = ModelRelationUtility;
20733
20881
  exports.NOOP_MODIFIER = NOOP_MODIFIER;
@@ -20761,6 +20909,8 @@ exports.StorageObject = StorageObject;
20761
20909
  exports.StorageObjectUtility = StorageObjectUtility;
20762
20910
  exports.StoredDataError = StoredDataError;
20763
20911
  exports.TIFF_MIME_TYPE = TIFF_MIME_TYPE;
20912
+ exports.TIME_UNIT_LABEL_MAP = TIME_UNIT_LABEL_MAP;
20913
+ exports.TIME_UNIT_SHORT_LABEL_MAP = TIME_UNIT_SHORT_LABEL_MAP;
20764
20914
  exports.TOTAL_LATITUDE_RANGE = TOTAL_LATITUDE_RANGE;
20765
20915
  exports.TOTAL_LONGITUDE_RANGE = TOTAL_LONGITUDE_RANGE;
20766
20916
  exports.TOTAL_SPAN_OF_LONGITUDE = TOTAL_SPAN_OF_LONGITUDE;
@@ -20892,6 +21042,7 @@ exports.convertEmailParticipantStringToParticipant = convertEmailParticipantStri
20892
21042
  exports.convertMaybeToArray = convertMaybeToArray;
20893
21043
  exports.convertMaybeToNonEmptyArray = convertMaybeToNonEmptyArray;
20894
21044
  exports.convertParticipantToEmailParticipantString = convertParticipantToEmailParticipantString;
21045
+ exports.convertTimeDuration = convertTimeDuration;
20895
21046
  exports.convertToArray = convertToArray;
20896
21047
  exports.copyArray = copyArray;
20897
21048
  exports.copyField = copyField;
@@ -21073,6 +21224,7 @@ exports.hasWebsiteTopLevelDomain = hasWebsiteTopLevelDomain;
21073
21224
  exports.hashSetForIndexed = hashSetForIndexed;
21074
21225
  exports.hourToFractionalHour = hourToFractionalHour;
21075
21226
  exports.hoursAndMinutesToString = hoursAndMinutesToString;
21227
+ exports.hoursAndMinutesToTimeUnit = hoursAndMinutesToTimeUnit;
21076
21228
  exports.idBatchFactory = idBatchFactory;
21077
21229
  exports.imageFileExtensionForMimeType = imageFileExtensionForMimeType;
21078
21230
  exports.incrementingNumberFactory = incrementingNumberFactory;
@@ -21281,6 +21433,7 @@ exports.mergeSlashPaths = mergeSlashPaths;
21281
21433
  exports.messageFromError = messageFromError;
21282
21434
  exports.millisecondsToMinutes = millisecondsToMinutes;
21283
21435
  exports.millisecondsToMinutesAndSeconds = millisecondsToMinutesAndSeconds;
21436
+ exports.millisecondsToTimeUnit = millisecondsToTimeUnit;
21284
21437
  exports.mimeTypeForApplicationFileExtension = mimeTypeForApplicationFileExtension;
21285
21438
  exports.mimeTypeForDocumentFileExtension = mimeTypeForDocumentFileExtension;
21286
21439
  exports.mimeTypeForFileExtension = mimeTypeForFileExtension;
@@ -21530,7 +21683,10 @@ exports.telUrlString = telUrlString;
21530
21683
  exports.telUrlStringForE164PhoneNumberPair = telUrlStringForE164PhoneNumberPair;
21531
21684
  exports.terminatingFactoryFromArray = terminatingFactoryFromArray;
21532
21685
  exports.throwKeyIsRequired = throwKeyIsRequired;
21686
+ exports.timeDurationToHoursAndMinutes = timeDurationToHoursAndMinutes;
21687
+ exports.timeDurationToMilliseconds = timeDurationToMilliseconds;
21533
21688
  exports.timePeriodCounter = timePeriodCounter;
21689
+ exports.timeUnitToMilliseconds = timeUnitToMilliseconds;
21534
21690
  exports.toAbsoluteSlashPathStartType = toAbsoluteSlashPathStartType;
21535
21691
  exports.toCaseInsensitiveStringArray = toCaseInsensitiveStringArray;
21536
21692
  exports.toMinuteOfDay = toMinuteOfDay;
package/index.esm.js CHANGED
@@ -12823,6 +12823,12 @@ function dateFromDateOrTimeMillisecondsNumber(input) {
12823
12823
  /**
12824
12824
  * Number of milliseconds in a day.
12825
12825
  */ var MS_IN_DAY = MS_IN_HOUR * HOURS_IN_DAY;
12826
+ /**
12827
+ * Number of days in a week.
12828
+ */ var DAYS_IN_WEEK = 7;
12829
+ /**
12830
+ * Number of milliseconds in a week.
12831
+ */ var MS_IN_WEEK = MS_IN_DAY * DAYS_IN_WEEK;
12826
12832
  /**
12827
12833
  * Retrieves the MonthOfYear value (1-12) from the input Date in the current system timezone.
12828
12834
  *
@@ -16842,6 +16848,145 @@ function dateFromLogicalDate(logicalDate) {
16842
16848
  return isLogicalDateStringCode;
16843
16849
  }
16844
16850
 
16851
+ /**
16852
+ * All time units ordered from smallest to largest.
16853
+ */ var ALL_TIME_UNITS = [
16854
+ 'ms',
16855
+ 's',
16856
+ 'min',
16857
+ 'h',
16858
+ 'd',
16859
+ 'w'
16860
+ ];
16861
+ /**
16862
+ * Human-readable labels for each time unit.
16863
+ */ var TIME_UNIT_LABEL_MAP = {
16864
+ ms: 'Milliseconds',
16865
+ s: 'Seconds',
16866
+ min: 'Minutes',
16867
+ h: 'Hours',
16868
+ d: 'Days',
16869
+ w: 'Weeks'
16870
+ };
16871
+ /**
16872
+ * Short labels for each time unit.
16873
+ */ var TIME_UNIT_SHORT_LABEL_MAP = {
16874
+ ms: 'ms',
16875
+ s: 'sec',
16876
+ min: 'min',
16877
+ h: 'hr',
16878
+ d: 'day',
16879
+ w: 'wk'
16880
+ };
16881
+ /**
16882
+ * Maps each TimeUnit to the number of milliseconds in one of that unit.
16883
+ */ var TIME_UNIT_MS_MAP = {
16884
+ ms: 1,
16885
+ s: MS_IN_SECOND,
16886
+ min: MS_IN_MINUTE,
16887
+ h: MS_IN_HOUR,
16888
+ d: MS_IN_DAY,
16889
+ w: MS_IN_WEEK
16890
+ };
16891
+ /**
16892
+ * Converts an amount in the given time unit to milliseconds.
16893
+ *
16894
+ * @param amount - The numeric amount in the given unit
16895
+ * @param unit - The time unit of the amount
16896
+ * @returns The equivalent number of milliseconds
16897
+ *
16898
+ * @example
16899
+ * ```typescript
16900
+ * timeUnitToMilliseconds(2, 'h'); // 7200000
16901
+ * timeUnitToMilliseconds(30, 'min'); // 1800000
16902
+ * ```
16903
+ */ function timeUnitToMilliseconds(amount, unit) {
16904
+ return amount * TIME_UNIT_MS_MAP[unit];
16905
+ }
16906
+ /**
16907
+ * Converts milliseconds to an amount in the given time unit.
16908
+ *
16909
+ * @param ms - The number of milliseconds
16910
+ * @param unit - The target time unit
16911
+ * @returns The equivalent amount in the target unit
16912
+ *
16913
+ * @example
16914
+ * ```typescript
16915
+ * millisecondsToTimeUnit(7200000, 'h'); // 2
16916
+ * millisecondsToTimeUnit(1800000, 'min'); // 30
16917
+ * ```
16918
+ */ function millisecondsToTimeUnit(ms, unit) {
16919
+ return ms / TIME_UNIT_MS_MAP[unit];
16920
+ }
16921
+ /**
16922
+ * Converts a duration amount from one time unit to another.
16923
+ *
16924
+ * Goes through milliseconds as an intermediary for the conversion.
16925
+ *
16926
+ * @param amount - The numeric amount in the source unit
16927
+ * @param fromUnit - The source time unit
16928
+ * @param toUnit - The target time unit
16929
+ * @returns The equivalent amount in the target unit
16930
+ *
16931
+ * @example
16932
+ * ```typescript
16933
+ * convertTimeDuration(2, 'h', 'min'); // 120
16934
+ * convertTimeDuration(1, 'd', 'h'); // 24
16935
+ * convertTimeDuration(500, 'ms', 's'); // 0.5
16936
+ * ```
16937
+ */ function convertTimeDuration(amount, fromUnit, toUnit) {
16938
+ if (fromUnit === toUnit) {
16939
+ return amount;
16940
+ }
16941
+ return millisecondsToTimeUnit(timeUnitToMilliseconds(amount, fromUnit), toUnit);
16942
+ }
16943
+ /**
16944
+ * Converts a TimeDuration to milliseconds.
16945
+ *
16946
+ * @param duration - The duration to convert
16947
+ * @returns The equivalent number of milliseconds
16948
+ *
16949
+ * @example
16950
+ * ```typescript
16951
+ * timeDurationToMilliseconds({ amount: 5, unit: 'min' }); // 300000
16952
+ * ```
16953
+ */ function timeDurationToMilliseconds(duration) {
16954
+ return timeUnitToMilliseconds(duration.amount, duration.unit);
16955
+ }
16956
+ /**
16957
+ * Converts a TimeDuration to an HoursAndMinutes object.
16958
+ *
16959
+ * First converts to total minutes, then splits into hours and minutes.
16960
+ *
16961
+ * @param duration - The duration to convert
16962
+ * @returns An HoursAndMinutes object
16963
+ *
16964
+ * @example
16965
+ * ```typescript
16966
+ * timeDurationToHoursAndMinutes({ amount: 90, unit: 'min' }); // { hour: 1, minute: 30 }
16967
+ * timeDurationToHoursAndMinutes({ amount: 2.5, unit: 'h' }); // { hour: 2, minute: 30 }
16968
+ * ```
16969
+ */ function timeDurationToHoursAndMinutes(duration) {
16970
+ var totalMinutes = convertTimeDuration(duration.amount, duration.unit, 'min');
16971
+ return minutesToHoursAndMinutes(Math.round(totalMinutes));
16972
+ }
16973
+ /**
16974
+ * Converts an HoursAndMinutes object to a total number in the specified time unit.
16975
+ *
16976
+ * @param hoursAndMinutes - The hours and minutes to convert
16977
+ * @param toUnit - The target time unit
16978
+ * @returns The equivalent amount in the target unit
16979
+ *
16980
+ * @example
16981
+ * ```typescript
16982
+ * hoursAndMinutesToTimeUnit({ hour: 1, minute: 30 }, 'min'); // 90
16983
+ * hoursAndMinutesToTimeUnit({ hour: 2, minute: 0 }, 'h'); // 2
16984
+ * ```
16985
+ */ function hoursAndMinutesToTimeUnit(hoursAndMinutes, toUnit) {
16986
+ var totalMinutes = hoursAndMinutes.hour * 60 + hoursAndMinutes.minute;
16987
+ return convertTimeDuration(totalMinutes, 'min', toUnit);
16988
+ }
16989
+
16845
16990
  function _array_like_to_array$7(arr, len) {
16846
16991
  if (len == null || len > arr.length) len = arr.length;
16847
16992
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
@@ -20626,4 +20771,4 @@ function _ts_generator(thisArg, body) {
20626
20771
  return result;
20627
20772
  }
20628
20773
 
20629
- export { ALL_DOUBLE_SLASHES_REGEX, ALL_SLASHES_REGEX, ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX, APPLICATION_FILE_EXTENSION_TO_MIME_TYPES_RECORD, APPLICATION_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD, ASSERTION_ERROR_CODE, ASSERTION_HANDLER, AUTH_ADMIN_ROLE, AUTH_ONBOARDED_ROLE, AUTH_ROLE_CLAIMS_DEFAULT_CLAIM_VALUE, AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE, AUTH_TOS_SIGNED_ROLE, AUTH_USER_ROLE, AbstractUniqueModel, Assert, AssertMax, AssertMin, AssertionError, AssertionIssueHandler, BooleanStringKeyArrayUtility, CATCH_ALL_HANDLE_RESULT_KEY, COMMA_JOINER, COMMA_STRING_SPLIT_JOIN, CSV_MIME_TYPE, CUT_VALUE_TO_ZERO_PRECISION, DASH_CHARACTER_PREFIX_INSTANCE, DATE_NOW_VALUE, DAYS_IN_YEAR, DEFAULT_CUT_STRING_END_TEXT, DEFAULT_ENCRYPTED_FIELD_PREFIX, DEFAULT_LAT_LNG_STRING_VALUE, DEFAULT_RANDOM_EMAIL_FACTORY_CONFIG, DEFAULT_RANDOM_PHONE_NUMBER_FACTORY_CONFIG, DEFAULT_READABLE_ERROR_CODE, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTERS, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTER_REPLACEMENT, DEFAULT_SLASH_PATH_PATH_MATCHER_NON_MATCHING_FILL_VALUE, DEFAULT_UNKNOWN_MODEL_TYPE_STRING, DOCUMENT_FILE_EXTENSION_TO_MIME_TYPES_RECORD, DOCUMENT_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD, DOCX_MIME_TYPE, DOLLAR_AMOUNT_PRECISION, DOLLAR_AMOUNT_STRING_REGEX, DataDoesNotExistError, DataIsExpiredError, Day, DestroyFunctionObject, E164PHONE_NUMBER_REGEX, E164PHONE_NUMBER_WITH_EXTENSION_REGEX, E164PHONE_NUMBER_WITH_OPTIONAL_EXTENSION_REGEX, ExploreTreeVisitNodeDecision, FINAL_PAGE, FIRST_PAGE, FRACTIONAL_HOURS_PRECISION_FUNCTION, FlattenTreeAddNodeDecision, FullStorageObject, GIF_MIME_TYPE, HAS_PORT_NUMBER_REGEX, HAS_WEBSITE_DOMAIN_NAME_REGEX, HEIF_MIME_TYPE, HEX_PATTERN, HOURS_IN_DAY, HTML_MIME_TYPE, HTTP_OR_HTTPS_REGEX, HashSet, IMAGE_FILE_EXTENSION_TO_MIME_TYPES_RECORD, IMAGE_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD, ISO8601_DAY_STRING_REGEX, ISO8601_DAY_STRING_START_REGEX, ISO_8601_DATE_STRING_REGEX, JPEG_MIME_TYPE, JSON_MIME_TYPE, KeyValueTypleValueFilter, LAT_LNG_PATTERN, LAT_LNG_PATTERN_MAX_PRECISION, LAT_LONG_100KM_PRECISION, LAT_LONG_100M_PRECISION, LAT_LONG_10CM_PRECISION, LAT_LONG_10KM_PRECISION, LAT_LONG_10M_PRECISION, LAT_LONG_1CM_PRECISION, LAT_LONG_1KM_PRECISION, LAT_LONG_1MM_PRECISION, LAT_LONG_1M_PRECISION, LAT_LONG_GRAINS_OF_SAND_PRECISION, LEADING_SLASHES_REGEX, MAP_IDENTITY, MARKDOWN_MIME_TYPE, MAX_BITWISE_SET_SIZE, MAX_LATITUDE_VALUE, MAX_LONGITUDE_VALUE, MINUTES_IN_DAY, MINUTES_IN_HOUR, MINUTE_OF_DAY_MAXMIMUM, MINUTE_OF_DAY_MINIUMUM, MIN_LATITUDE_VALUE, MIN_LONGITUDE_VALUE, MONTH_DAY_SLASH_DATE_STRING_REGEX, MS_IN_DAY, MS_IN_HOUR, MS_IN_MINUTE, MS_IN_SECOND, MemoryStorageInstance, ModelRelationUtility, NOOP_MODIFIER, NUMBER_STRING_DENCODER_64, NUMBER_STRING_DENCODER_64_DEFAULT_NEGATIVE_PREFIX, NUMBER_STRING_DENCODER_64_DIGITS, PDF_MIME_TYPE, PHONE_EXTENSION_NUMBER_REGEX, PNG_MIME_TYPE, PRIMATIVE_KEY_DENCODER_VALUE, PropertyDescriptorUtility, RAW_MIME_TYPE, REGEX_SPECIAL_CHARACTERS, REGEX_SPECIAL_CHARACTERS_SET, RelationChange, SECONDS_IN_HOUR, SECONDS_IN_MINUTE, SHARED_MEMORY_STORAGE, SLASH_PATH_FILE_TYPE_SEPARATOR, SLASH_PATH_SEPARATOR, SORT_VALUE_EQUAL, SORT_VALUE_GREATER_THAN, SORT_VALUE_LESS_THAN, SPACE_JOINER, SPACE_STRING_SPLIT_JOIN, SPLIT_STRING_TREE_NODE_ROOT_VALUE, SVG_MIME_TYPE, ServerErrorResponse, SetDeltaChange, SimpleStorageObject, SlashPathPathMatcherPartCode, StorageObject, StorageObjectUtility, StoredDataError, SyncState, TIFF_MIME_TYPE, TOTAL_LATITUDE_RANGE, TOTAL_LONGITUDE_RANGE, TOTAL_SPAN_OF_LONGITUDE, TRAILING_FILE_TYPE_SEPARATORS_REGEX, TRAILING_SLASHES_REGEX, TXT_MIME_TYPE, TimeAM, TimerCancelledError, TypedServiceRegistryInstance, UNLOADED_PAGE, UNSET_INDEX_NUMBER, US_STATE_CODE_STRING_REGEX, UTC_DATE_STRING_REGEX, UTC_TIMEZONE_STRING, UTF_8_START_CHARACTER, UTF_PRIVATE_USAGE_AREA_START, UnauthorizedServerErrorResponse, WEBP_MIME_TYPE, WEBSITE_TLD_DETECTION_REGEX, WEB_PROTOCOL_PREFIX_REGEX, XLSX_MIME_TYPE, XML_MIME_TYPE, YAML_MIME_TYPE, ZIP_CODE_STRING_REGEX, ZIP_FILE_MIME_TYPE, addHttpToUrl, addLatLngPoints, addMilliseconds, addModifiers, addPlusPrefixToNumber, addPrefix, addPrefixFunction, addSuffix, addSuffixFunction, addToSet, addToSetCopy, addToSplitStringTree, addTrailingSlash, allFalsyOrEmptyKeys, allIndexesInIndexRange, allKeyValueTuples, allMaybeSoKeys, allNonUndefinedKeys, allObjectsAreEqual, allValuesAreMaybeNot, allValuesAreNotMaybe, allowValueOnceFilter, applicationFileExtensionForMimeType, applyBestFit, applySplitStringTreeWithMultipleValues, applyToMultipleFields, approximateTimerEndDate, areEqualContext, areEqualPOJOValues, areEqualPOJOValuesUsingPojoFilter, arrayContainsDuplicateValue, arrayContentsDiffer, arrayDecision, arrayDecisionFunction, arrayFactory, arrayInputFactory, arrayToLowercase, arrayToMap, arrayToObject, arrayToUppercase, asArray, asDecisionFunction, asGetter, asIndexRangeCheckFunctionConfig, asIterable, asMinuteOfDay, asNonEmptyArray, asNumber, asObjectCopyFactory, asPromise, asSet, assignValuesToPOJO, assignValuesToPOJOFunction, authClaims, authRoleClaimsService, authRolesSetHasRoles, baseWebsiteUrl, batch, batchCalc, bitwiseObjectDencoder, bitwiseObjectEncoder, bitwiseObjectdecoder, bitwiseSetDecoder, bitwiseSetDencoder, booleanFactory, booleanKeyArrayUtility, boundNumber, boundNumberFunction, boundToRectangle, breadthFirstExploreTreeTraversalFactoryFunction, bufferHasValidPdfMarkings, build, cachedGetter, calculateExpirationDate, capLatValue, capitalizeFirstLetter, caseInsensitiveFilterByIndexOfDecisionFactory, caseInsensitiveString, catchAllHandlerKey, chainMapFunction, chainMapSameFunctions, characterPrefixSuffixInstance, checkAnyHaveExpired, checkAtleastOneNotExpired, coerceToEmailParticipants, combineMaps, compareEqualityWithValueFromItemsFunction, compareEqualityWithValueFromItemsFunctionFactory, compareFnOrder, compareWithMappedValuesFunction, computeNextFractionalHour, computeNextFreeIndexFunction, computeNextFreeIndexOnSortedValuesFunction, concatArrays, concatArraysUnique, containsAllStringsAnyCase, containsAllValues, containsAnyStringAnyCase, containsAnyValue, containsAnyValueFromSet, containsNoValueFromSet, containsNoneOfValue, containsStringAnyCase, convertEmailParticipantStringToParticipant, convertMaybeToArray, convertMaybeToNonEmptyArray, convertParticipantToEmailParticipantString, convertToArray, copyArray, copyField, copyLatLngBound, copyLatLngPoint, copyObject, copySetAndDo, countAllInNestedArray, countPOJOKeys, countPOJOKeysFunction, cronExpressionRepeatingEveryNMinutes, cssClassesSet, cssTokenVar, cssVariableVar, cutString, cutStringFunction, cutToPrecision, cutValueToInteger, cutValueToPrecision, cutValueToPrecisionFunction, dateFromDateOrTimeMillisecondsNumber, dateFromDateOrTimeSecondsNumber, dateFromLogicalDate, dateFromMinuteOfDay, dateOrMillisecondsToDate, dateToHoursAndMinutes, dateToMinuteOfDay, dayOfWeek, daysOfWeekArray, daysOfWeekFromEnabledDays, daysOfWeekNameFunction, daysOfWeekNameMap, decisionFunction, decodeHashedValues, decodeHashedValuesWithDecodeMap, decodeModelKeyTypePair, decodeRadix36Number, defaultFilterFromPOJOFunctionNoCopy, defaultForwardFunctionFactory, defaultLatLngPoint, defaultLatLngString, dencodeBitwiseSet, depthFirstExploreTreeTraversalFactoryFunction, diffLatLngBoundPoints, diffLatLngPoints, documentFileExtensionForMimeType, dollarAmountString, dollarAmountStringWithUnitFunction, e164PhoneNumberExtensionPair, e164PhoneNumberFromE164PhoneNumberExtensionPair, enabledDaysFromDaysOfWeek, encodeBitwiseSet, encodeModelKeyTypePair, encodeRadix36Number, errorMessageContainsString, errorMessageContainsStringFunction, escapeStringCharactersFunction, escapeStringForRegex, excludeValues, excludeValuesFromArray, excludeValuesFromSet, existsInIterable, expandArrayMapTuples, expandArrayValueTuples, expandFlattenTreeFunction, expandIndexSet, expandSlashPathPathMatcherPartToDecisionFunctions, expandTreeFunction, expandTrees, expirationDetails, exploreTreeFunction, exponentialPromiseRateLimiter, extendLatLngBound, fileExtensionForMimeType, filterAndMapFunction, filterEmptyArrayValues, filterEmptyPojoValues, filterFalsyAndEmptyValues, filterFromIterable, filterFromPOJO, filterFromPOJOFunction, filterKeyValueTupleFunction, filterKeyValueTuples, filterKeyValueTuplesFunction, filterKeyValueTuplesInputToFilter, filterKeysOnPOJOFunction, filterMaybeArrayFunction, filterMaybeArrayValues, filterNullAndUndefinedValues, filterOnlyUndefinedValues, filterTuplesOnPOJOFunction, filterUndefinedValues, filterUniqueByIndex, filterUniqueCaseInsensitiveStrings, filterUniqueFunction, filterUniqueTransform, filterUniqueValues, filterValuesByDistance, filterValuesByDistanceNoOrder, filterValuesToSet, filterValuesUsingSet, filteredPage, findAllCharacterOccurences, findAllCharacterOccurencesFunction, findBest, findBestIndexMatch, findBestIndexMatchFunction, findBestIndexSetPair, findBestSplitStringTreeChildMatch, findBestSplitStringTreeChildMatchPath, findBestSplitStringTreeMatch, findBestSplitStringTreeMatchPath, findFirstCharacterOccurence, findInIterable, findIndexOfFirstDuplicateValue, findItemsByIndex, findNext, findPOJOKeys, findPOJOKeysFunction, findStringsRegexString, findToIndexSet, findValuesFrom, firstAndLastCharacterOccurrence, firstAndLastValue, firstValue, firstValueFromIterable, fitToIndexRangeFunction, fixExtraQueryParameters, fixMultiSlashesInSlashPath, flattenArray, flattenArrayOrValueArray, flattenArrayToSet, flattenArrayUnique, flattenArrayUniqueCaseInsensitiveStrings, flattenObject, flattenTree, flattenTreeToArray, flattenTreeToArrayFunction, flattenWhitespace, forEachInIterable, forEachKeyValue, forEachKeyValueOnPOJOFunction, forEachWithArray, forwardFunction, fractionalHoursToMinutes, generateIfDoesNotExist, getArrayNextIndex, getBaseLog, getDayOffset, getDayTomorrow, getDayYesterday, getDaysOfWeekNames, getFunctionType, getNextDay, getNextPageNumber, getOverlappingRectangle, getPageNumber, getPreviousDay, getValueFromGetter, groupValues, handlerBindAccessor, handlerConfigurerFactory, handlerFactory, handlerMappedSetFunction, handlerMappedSetFunctionFactory, handlerSetFunction, hasDifferentStringsNoCase, hasDifferentValues, hasHttpPrefix, hasNonNullValue, hasPortNumber, hasSameTimezone, hasSameValues, hasValueFunction, hasValueOrNotEmpty, hasValueOrNotEmptyObject, hasWebsiteDomain, hasWebsiteTopLevelDomain, hashSetForIndexed, hourToFractionalHour, hoursAndMinutesToString, idBatchFactory, imageFileExtensionForMimeType, incrementingNumberFactory, indexDeltaGroup, indexDeltaGroupFunction, indexRange, indexRangeCheckFunction, indexRangeCheckReaderFunction, indexRangeForArray, indexRangeOverlapsIndexRange, indexRangeOverlapsIndexRangeFunction, indexRangeReaderPairFactory, indexRefMap, indexedValuesArrayAccessorFactory, insertIntoBooleanKeyArray, invertBooleanReturnFunction, invertDecision, invertFilter, invertMaybeBoolean, invertStringRecord, isAllowed, isClassLikeType, isCompleteUnitedStatesAddress, isConsideredUtcTimezoneString, isDate, isDefaultLatLngPoint, isDefaultLatLngPointValue, isDefaultReadableError, isDefinedAndNotFalse, isDollarAmountString, isE164PhoneNumber, isE164PhoneNumberWithExtension, isEmptyIterable, isEqualContext, isEqualDate, isEqualToValueDecisionFunction, isEvenNumber, isFalseBooleanKeyArray, isFinalPage, isGetter, isHex, isHexWithByteLength, isISO8601DateString, isISO8601DayString, isISO8601DayStringStart, isInAllowedDaysOfWeekSet, isInNumberBoundFunction, isInSetDecisionFunction, isIndexNumberInIndexRange, isIndexNumberInIndexRangeFunction, isIndexRangeInIndexRange, isIndexRangeInIndexRangeFunction, isIterable, isKnownHttpWebsiteProtocol, isLatLngBound, isLatLngBoundWithinLatLngBound, isLatLngPoint, isLatLngPointWithinLatLngBound, isLatLngString, isLogicalDateStringCode, isMapIdentityFunction, isMaybeNot, isMaybeNotOrTrue, isMaybeSo, isMinuteOfDay, isModelKey, isMonthDaySlashDate, isNonClassFunction, isNotFalse, isNotNullOrEmptyString, isNumberDivisibleBy, isObjectWithConstructor, isOddNumber, isPast, isPromise, isPromiseLike, isSameLatLngBound, isSameLatLngPoint, isSameNonNullValue, isSameVector, isSelectedDecisionFunctionFactory, isSelectedIndexDecisionFunction, isServerError, isSlashPathFile, isSlashPathFolder, isSlashPathTypedFile, isStandardInternetAccessibleWebsiteUrl, isStringOrTrue, isThrottled, isTrueBooleanKeyArray, isUTCDateString, isUnderThreshold, isUniqueKeyedFunction, isUsStateCodeString, isValidLatLngPoint, isValidLatitude, isValidLongitude, isValidNumberBound, isValidPhoneExtensionNumber, isValidSlashPath, isWebsiteUrl, isWebsiteUrlWithPrefix, isWithinLatLngBoundFunction, isolateSlashPath, isolateSlashPathFunction, isolateWebsitePathFunction, itemCountForBatchIndex, iterableToArray, iterableToMap, iterableToSet, iterablesAreSetEquivalent, iterate, iterateFilteredPages, joinHostAndPort, joinStrings, joinStringsInstance, joinStringsWithCommas, joinStringsWithSpaces, keepCharactersAfterFirstCharacterOccurence, keepCharactersAfterFirstCharacterOccurenceFunction, keepFromSetCopy, keepValuesFromArray, keepValuesFromSet, keyValueMapFactory, labeledValueMap, lastValue, latLngBound, latLngBoundCenterPoint, latLngBoundEastBound, latLngBoundFromInput, latLngBoundFullyWrapsMap, latLngBoundFunction, latLngBoundNorthBound, latLngBoundNorthEastPoint, latLngBoundNorthWestPoint, latLngBoundOverlapsLatLngBound, latLngBoundSouthBound, latLngBoundSouthEastPoint, latLngBoundSouthWestPoint, latLngBoundStrictlyWrapsMap, latLngBoundTuple, latLngBoundTupleFunction, latLngBoundWestBound, latLngBoundWrapsMap, latLngDataPointFunction, latLngPoint, latLngPointFromString, latLngPointFunction, latLngPointPrecisionFunction, latLngString, latLngStringFunction, latLngTuple, latLngTupleFunction, limitArray, lonLatTuple, lowercaseFirstLetter, mailToUrlString, makeBestFit, makeCopyModelFieldFunction, makeDateMonthForMonthOfYear, makeDefaultNonConcurrentTaskKeyFactory, makeGetter, makeHandler, makeHashDecodeMap, makeKeyPairs, makeModelConversionFieldValuesFunction, makeModelMap, makeModelMapFunctions, makeMultiModelKeyMap, makeTimer, makeValuesGroupMap, makeWithFactory, makeWithFactoryInput, mapArrayFunction, mapFunctionOutput, mapFunctionOutputPair, mapGetter, mapGetterFactory, mapIdentityFunction, mapIterable, mapKeysIntersectionObjectToArray, mapMaybeFunction, mapObjectKeysFunction, mapObjectKeysToLowercase, mapObjectMap, mapObjectMapFunction, mapObjectToTargetObject, mapPromiseOrValue, mapToObject, mapToTuples, mapValuesToSet, mappedUseAsyncFunction, mappedUseFunction, mapsHaveSameKeys, maybeMergeModelModifiers, maybeMergeModifiers, maybeModifierMapToFunction, maybeSet, mergeArrays, mergeArraysIntoArray, mergeFilterFunctions, mergeModifiers, mergeObjects, mergeObjectsFunction, mergeSlashPaths, messageFromError, millisecondsToMinutes, millisecondsToMinutesAndSeconds, mimeTypeForApplicationFileExtension, mimeTypeForDocumentFileExtension, mimeTypeForFileExtension, mimeTypeForImageFileExtension, minAndMaxFunction, minAndMaxIndex, minAndMaxIndexFunction, minAndMaxIndexItemsFunction, minAndMaxNumber, minutesToFractionalHours, minutesToHoursAndMinutes, modelFieldConversions, modelFieldMapFunction, modelFieldMapFunctions, modelTypeDataPairFactory, modifier, modifierMapToFunction, modifyModelMapFunction, modifyModelMapFunctions, monthDaySlashDateToDateString, monthOfYearFromDate, monthOfYearFromDateMonth, monthOfYearFromUTCDate, multiKeyValueMapFactory, multiValueMapBuilder, neMostLatLngPoint, nearestDivisibleValues, numberStringDencoder, numberStringDencoderDecodedNumberValueFunction, numberStringDencoderEncodedStringValueFunction, numberStringDencoderFunction, objectCopyFactory, objectDeltaArrayCompressor, objectFieldEqualityChecker, objectFlatMergeMatrix, objectHasKey, objectHasKeys, objectHasNoKeys, objectIsEmpty, objectKeyEqualityComparatorFunction, objectKeysEqualityComparatorFunction, objectMergeMatrix, objectToMap, overlapsLatLngBoundFunction, overrideInObject, overrideInObjectFunctionFactory, padStartFunction, pairGroupValues, parseISO8601DayStringToUTCDate, partialServerError, passThrough, percentNumberFromDecimal, percentNumberToDecimal, performAsyncTask, performAsyncTasks, performBatchLoop, performMakeLoop, performTaskCountLoop, performTaskLoop, performTasksFromFactoryInParallelFunction, performTasksInParallel, performTasksInParallelFunction, pickOneRandomly, poll, primativeKeyDencoder, primativeKeyDencoderMap, primativeKeyStringDencoder, primativeValuesDelta, promiseReference, protectedFactory, pushArrayItemsIntoArray, pushElementOntoArray, pushItemOrArrayItemsIntoArray, randomArrayFactory, randomArrayIndex, randomBoolean, randomEmailFactory, randomFromArrayFactory, randomLatLngFactory, randomLatLngFromCenterFactory, randomNumber, randomNumberFactory, randomPhoneNumberFactory, randomPickFactory, range, rangedIndexedValuesArrayAccessorFactory, rangedIndexedValuesArrayAccessorInfoFactory, readBooleanKeySafetyWrap, readDomainFromEmailAddress, readDomainsFromEmailAddresses, readEmailDomainFromUrlOrEmailAddress, readIndexNumber, readKeysFrom, readKeysFromFilterUniqueFunctionAdditionalKeys, readKeysFromFilterUniqueFunctionAdditionalKeysInput, readKeysFunction, readKeysSetFrom, readKeysSetFunction, readKeysToMap, readModelKey, readModelKeyFromObject, readModelKeys, readModelKeysFromObjects, readMultipleKeysToMap, readPortNumber, readUniqueModelKey, readWebsiteProtocol, readableError, readableStreamToBase64, readableStreamToBuffer, readableStreamToStringFunction, rectangleOverlapsRectangle, reduceBooleansFn, reduceBooleansWithAnd, reduceBooleansWithAndFn, reduceBooleansWithOr, reduceBooleansWithOrFn, reduceNumbers, reduceNumbersFn, reduceNumbersWithAdd, reduceNumbersWithAddFn, reduceNumbersWithMax, reduceNumbersWithMaxFn, reduceNumbersWithMin, reduceNumbersWithMinFn, removeByKeyFromBooleanKeyArray, removeCharactersAfterFirstCharacterOccurence, removeCharactersAfterFirstCharacterOccurenceFunction, removeExtensionFromPhoneNumber, removeFromBooleanKeyArray, removeFromSet, removeFromSetCopy, removeHttpFromUrl, removeModelsWithKey, removeModelsWithSameKey, removeModifiers, removeTrailingFileTypeSeparators, removeTrailingSlashes, removeValuesAtIndexesFromArrayCopy, removeWebProtocolPrefix, repeatString, replaceCharacterAtIndexIf, replaceCharacterAtIndexWith, replaceInvalidFilePathTypeSeparatorsInSlashPath, replaceInvalidFilePathTypeSeparatorsInSlashPathFunction, replaceLastCharacterIf, replaceLastCharacterIfIsFunction, replaceMultipleFilePathsInSlashPath, replaceStringsFunction, requireModelKey, resetPeriodPromiseRateLimiter, restoreOrder, restoreOrderWithValues, reverseCompareFn, roundNumberToStepFunction, roundNumberUpToStep, roundToPrecision, roundToPrecisionFunction, roundingFunction, runAsyncTaskForValue, runAsyncTasksForValues, runNamedAsyncTasks, runNamedAsyncTasksFunction, safeCompareEquality, safeEqualityComparatorFunction, safeFindBestIndexMatch, searchStringFilterFunction, secondsToMinutesAndSeconds, selectiveFieldEncryptor, separateValues, separateValuesToSets, sequentialIncrementingNumberStringModelIdFactory, serverError, setContainsAllValues, setContainsAnyValue, setContainsNoneOfValue, setDeltaChangeKeys, setDeltaFunction, setHasValueFunction, setIncludes, setIncludesFunction, setKeysOnMap, setWebProtocolPrefix, setsAreEquivalent, simpleSortValuesFunctionWithSortRef, simplifyWhitespace, slashPathDetails, slashPathDirectoryTree, slashPathFactory, slashPathFolder, slashPathFolderFactory, slashPathInvalidError, slashPathName, slashPathParts, slashPathPathMatcher, slashPathPathMatcherConfig, slashPathStartTypeFactory, slashPathSubPathMatcher, slashPathType, slashPathValidationFactory, sliceIndexRangeFunction, sliceStringFunction, sortAscendingIndexNumberRefFunction, sortByIndexAscendingCompareFunction, sortByIndexRangeAscendingCompareFunction, sortByLabelFunction, sortByNumberFunction, sortByStringFunction, sortCompareNumberFunction, sortNumbersAscendingFunction, sortValues, sortValuesFunctionOrMapIdentityWithSortRef, sortValuesFunctionWithSortRef, spaceSeparatedCssClasses, splitCommaSeparatedString, splitCommaSeparatedStringToSet, splitFront, splitJoinNameString, splitJoinRemainder, splitStringAtFirstCharacterOccurence, splitStringAtFirstCharacterOccurenceFunction, splitStringAtIndex, splitStringTreeFactory, startOfDayForSystemDateInUTC, startOfDayForUTCDateInUTC, stepsFromIndex, stepsFromIndexFunction, stringCharactersToIndexRecord, stringContains, stringFactoryFromFactory, stringFromDateFactory, stringFromTimeFactory, stringSplitJoinInstance, stringToBoolean, stringToLowercaseFunction, stringToUppercaseFunction, stringTrimFunction, sumOfIntegersBetween, swMostLatLngPoint, symmetricDifferenceArray, symmetricDifferenceArrayBetweenSets, symmetricDifferenceWithModels, takeFront, takeLast, takeValuesFromIterable, telUrlString, telUrlStringForE164PhoneNumberPair, terminatingFactoryFromArray, throwKeyIsRequired, timePeriodCounter, toAbsoluteSlashPathStartType, toCaseInsensitiveStringArray, toMinuteOfDay, toModelFieldConversions, toModelMapFunctions, toReadableError, toRelativeSlashPathStartType, toggleInSet, toggleInSetCopy, toggleTimerRunning, transformNumberFunction, transformNumberFunctionConfig, transformStringFunction, transformStringFunctionConfig, transformStrings, trimArray, trueOrFalseString, tryConvertToE164PhoneNumber, tryWithPromiseFactoriesFunction, typedServiceRegistry, unique, uniqueCaseInsensitiveStrings, uniqueCaseInsensitiveStringsSet, uniqueKeys, uniqueModels, unitedStatesAddressString, unixDateTimeSecondsNumberForNow, unixDateTimeSecondsNumberFromDate, unixDateTimeSecondsNumberFromDateOrTimeNumber, unixDateTimeSecondsNumberToDate, unixMillisecondsNumberToDate, updateMaybeValue, urlWithoutParameters, useAsync, useCallback, useContextFunction, useIterableOrValue, useModelOrKey, usePromise, useValue, validLatLngPoint, validLatLngPointFunction, valueAtIndex, valuesAreBothNullishOrEquivalent, valuesFromPOJO, valuesFromPOJOFunction, vectorMinimumSizeResizeFunction, vectorsAreEqual, waitForMs, websiteDomainAndPathPair, websiteDomainAndPathPairFromWebsiteUrl, websitePathAndQueryPair, websitePathFromWebsiteDomainAndPath, websitePathFromWebsiteUrl, websiteUrlDetails, websiteUrlFromPaths, wrapIndexRangeFunction, wrapLatLngPoint, wrapLngValue, wrapMapFunctionOutput, wrapNumberFunction, wrapTuples, wrapUseAsyncFunction, wrapUseFunction };
20774
+ export { ALL_DOUBLE_SLASHES_REGEX, ALL_SLASHES_REGEX, ALL_SLASH_PATH_FILE_TYPE_SEPARATORS_REGEX, ALL_TIME_UNITS, APPLICATION_FILE_EXTENSION_TO_MIME_TYPES_RECORD, APPLICATION_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD, ASSERTION_ERROR_CODE, ASSERTION_HANDLER, AUTH_ADMIN_ROLE, AUTH_ONBOARDED_ROLE, AUTH_ROLE_CLAIMS_DEFAULT_CLAIM_VALUE, AUTH_ROLE_CLAIMS_DEFAULT_EMPTY_VALUE, AUTH_TOS_SIGNED_ROLE, AUTH_USER_ROLE, AbstractUniqueModel, Assert, AssertMax, AssertMin, AssertionError, AssertionIssueHandler, BooleanStringKeyArrayUtility, CATCH_ALL_HANDLE_RESULT_KEY, COMMA_JOINER, COMMA_STRING_SPLIT_JOIN, CSV_MIME_TYPE, CUT_VALUE_TO_ZERO_PRECISION, DASH_CHARACTER_PREFIX_INSTANCE, DATE_NOW_VALUE, DAYS_IN_WEEK, DAYS_IN_YEAR, DEFAULT_CUT_STRING_END_TEXT, DEFAULT_ENCRYPTED_FIELD_PREFIX, DEFAULT_LAT_LNG_STRING_VALUE, DEFAULT_RANDOM_EMAIL_FACTORY_CONFIG, DEFAULT_RANDOM_PHONE_NUMBER_FACTORY_CONFIG, DEFAULT_READABLE_ERROR_CODE, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTERS, DEFAULT_SLASH_PATH_ILLEGAL_CHARACTER_REPLACEMENT, DEFAULT_SLASH_PATH_PATH_MATCHER_NON_MATCHING_FILL_VALUE, DEFAULT_UNKNOWN_MODEL_TYPE_STRING, DOCUMENT_FILE_EXTENSION_TO_MIME_TYPES_RECORD, DOCUMENT_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD, DOCX_MIME_TYPE, DOLLAR_AMOUNT_PRECISION, DOLLAR_AMOUNT_STRING_REGEX, DataDoesNotExistError, DataIsExpiredError, Day, DestroyFunctionObject, E164PHONE_NUMBER_REGEX, E164PHONE_NUMBER_WITH_EXTENSION_REGEX, E164PHONE_NUMBER_WITH_OPTIONAL_EXTENSION_REGEX, ExploreTreeVisitNodeDecision, FINAL_PAGE, FIRST_PAGE, FRACTIONAL_HOURS_PRECISION_FUNCTION, FlattenTreeAddNodeDecision, FullStorageObject, GIF_MIME_TYPE, HAS_PORT_NUMBER_REGEX, HAS_WEBSITE_DOMAIN_NAME_REGEX, HEIF_MIME_TYPE, HEX_PATTERN, HOURS_IN_DAY, HTML_MIME_TYPE, HTTP_OR_HTTPS_REGEX, HashSet, IMAGE_FILE_EXTENSION_TO_MIME_TYPES_RECORD, IMAGE_MIME_TYPES_TO_FILE_EXTENSIONS_RECORD, ISO8601_DAY_STRING_REGEX, ISO8601_DAY_STRING_START_REGEX, ISO_8601_DATE_STRING_REGEX, JPEG_MIME_TYPE, JSON_MIME_TYPE, KeyValueTypleValueFilter, LAT_LNG_PATTERN, LAT_LNG_PATTERN_MAX_PRECISION, LAT_LONG_100KM_PRECISION, LAT_LONG_100M_PRECISION, LAT_LONG_10CM_PRECISION, LAT_LONG_10KM_PRECISION, LAT_LONG_10M_PRECISION, LAT_LONG_1CM_PRECISION, LAT_LONG_1KM_PRECISION, LAT_LONG_1MM_PRECISION, LAT_LONG_1M_PRECISION, LAT_LONG_GRAINS_OF_SAND_PRECISION, LEADING_SLASHES_REGEX, MAP_IDENTITY, MARKDOWN_MIME_TYPE, MAX_BITWISE_SET_SIZE, MAX_LATITUDE_VALUE, MAX_LONGITUDE_VALUE, MINUTES_IN_DAY, MINUTES_IN_HOUR, MINUTE_OF_DAY_MAXMIMUM, MINUTE_OF_DAY_MINIUMUM, MIN_LATITUDE_VALUE, MIN_LONGITUDE_VALUE, MONTH_DAY_SLASH_DATE_STRING_REGEX, MS_IN_DAY, MS_IN_HOUR, MS_IN_MINUTE, MS_IN_SECOND, MS_IN_WEEK, MemoryStorageInstance, ModelRelationUtility, NOOP_MODIFIER, NUMBER_STRING_DENCODER_64, NUMBER_STRING_DENCODER_64_DEFAULT_NEGATIVE_PREFIX, NUMBER_STRING_DENCODER_64_DIGITS, PDF_MIME_TYPE, PHONE_EXTENSION_NUMBER_REGEX, PNG_MIME_TYPE, PRIMATIVE_KEY_DENCODER_VALUE, PropertyDescriptorUtility, RAW_MIME_TYPE, REGEX_SPECIAL_CHARACTERS, REGEX_SPECIAL_CHARACTERS_SET, RelationChange, SECONDS_IN_HOUR, SECONDS_IN_MINUTE, SHARED_MEMORY_STORAGE, SLASH_PATH_FILE_TYPE_SEPARATOR, SLASH_PATH_SEPARATOR, SORT_VALUE_EQUAL, SORT_VALUE_GREATER_THAN, SORT_VALUE_LESS_THAN, SPACE_JOINER, SPACE_STRING_SPLIT_JOIN, SPLIT_STRING_TREE_NODE_ROOT_VALUE, SVG_MIME_TYPE, ServerErrorResponse, SetDeltaChange, SimpleStorageObject, SlashPathPathMatcherPartCode, StorageObject, StorageObjectUtility, StoredDataError, SyncState, TIFF_MIME_TYPE, TIME_UNIT_LABEL_MAP, TIME_UNIT_SHORT_LABEL_MAP, TOTAL_LATITUDE_RANGE, TOTAL_LONGITUDE_RANGE, TOTAL_SPAN_OF_LONGITUDE, TRAILING_FILE_TYPE_SEPARATORS_REGEX, TRAILING_SLASHES_REGEX, TXT_MIME_TYPE, TimeAM, TimerCancelledError, TypedServiceRegistryInstance, UNLOADED_PAGE, UNSET_INDEX_NUMBER, US_STATE_CODE_STRING_REGEX, UTC_DATE_STRING_REGEX, UTC_TIMEZONE_STRING, UTF_8_START_CHARACTER, UTF_PRIVATE_USAGE_AREA_START, UnauthorizedServerErrorResponse, WEBP_MIME_TYPE, WEBSITE_TLD_DETECTION_REGEX, WEB_PROTOCOL_PREFIX_REGEX, XLSX_MIME_TYPE, XML_MIME_TYPE, YAML_MIME_TYPE, ZIP_CODE_STRING_REGEX, ZIP_FILE_MIME_TYPE, addHttpToUrl, addLatLngPoints, addMilliseconds, addModifiers, addPlusPrefixToNumber, addPrefix, addPrefixFunction, addSuffix, addSuffixFunction, addToSet, addToSetCopy, addToSplitStringTree, addTrailingSlash, allFalsyOrEmptyKeys, allIndexesInIndexRange, allKeyValueTuples, allMaybeSoKeys, allNonUndefinedKeys, allObjectsAreEqual, allValuesAreMaybeNot, allValuesAreNotMaybe, allowValueOnceFilter, applicationFileExtensionForMimeType, applyBestFit, applySplitStringTreeWithMultipleValues, applyToMultipleFields, approximateTimerEndDate, areEqualContext, areEqualPOJOValues, areEqualPOJOValuesUsingPojoFilter, arrayContainsDuplicateValue, arrayContentsDiffer, arrayDecision, arrayDecisionFunction, arrayFactory, arrayInputFactory, arrayToLowercase, arrayToMap, arrayToObject, arrayToUppercase, asArray, asDecisionFunction, asGetter, asIndexRangeCheckFunctionConfig, asIterable, asMinuteOfDay, asNonEmptyArray, asNumber, asObjectCopyFactory, asPromise, asSet, assignValuesToPOJO, assignValuesToPOJOFunction, authClaims, authRoleClaimsService, authRolesSetHasRoles, baseWebsiteUrl, batch, batchCalc, bitwiseObjectDencoder, bitwiseObjectEncoder, bitwiseObjectdecoder, bitwiseSetDecoder, bitwiseSetDencoder, booleanFactory, booleanKeyArrayUtility, boundNumber, boundNumberFunction, boundToRectangle, breadthFirstExploreTreeTraversalFactoryFunction, bufferHasValidPdfMarkings, build, cachedGetter, calculateExpirationDate, capLatValue, capitalizeFirstLetter, caseInsensitiveFilterByIndexOfDecisionFactory, caseInsensitiveString, catchAllHandlerKey, chainMapFunction, chainMapSameFunctions, characterPrefixSuffixInstance, checkAnyHaveExpired, checkAtleastOneNotExpired, coerceToEmailParticipants, combineMaps, compareEqualityWithValueFromItemsFunction, compareEqualityWithValueFromItemsFunctionFactory, compareFnOrder, compareWithMappedValuesFunction, computeNextFractionalHour, computeNextFreeIndexFunction, computeNextFreeIndexOnSortedValuesFunction, concatArrays, concatArraysUnique, containsAllStringsAnyCase, containsAllValues, containsAnyStringAnyCase, containsAnyValue, containsAnyValueFromSet, containsNoValueFromSet, containsNoneOfValue, containsStringAnyCase, convertEmailParticipantStringToParticipant, convertMaybeToArray, convertMaybeToNonEmptyArray, convertParticipantToEmailParticipantString, convertTimeDuration, convertToArray, copyArray, copyField, copyLatLngBound, copyLatLngPoint, copyObject, copySetAndDo, countAllInNestedArray, countPOJOKeys, countPOJOKeysFunction, cronExpressionRepeatingEveryNMinutes, cssClassesSet, cssTokenVar, cssVariableVar, cutString, cutStringFunction, cutToPrecision, cutValueToInteger, cutValueToPrecision, cutValueToPrecisionFunction, dateFromDateOrTimeMillisecondsNumber, dateFromDateOrTimeSecondsNumber, dateFromLogicalDate, dateFromMinuteOfDay, dateOrMillisecondsToDate, dateToHoursAndMinutes, dateToMinuteOfDay, dayOfWeek, daysOfWeekArray, daysOfWeekFromEnabledDays, daysOfWeekNameFunction, daysOfWeekNameMap, decisionFunction, decodeHashedValues, decodeHashedValuesWithDecodeMap, decodeModelKeyTypePair, decodeRadix36Number, defaultFilterFromPOJOFunctionNoCopy, defaultForwardFunctionFactory, defaultLatLngPoint, defaultLatLngString, dencodeBitwiseSet, depthFirstExploreTreeTraversalFactoryFunction, diffLatLngBoundPoints, diffLatLngPoints, documentFileExtensionForMimeType, dollarAmountString, dollarAmountStringWithUnitFunction, e164PhoneNumberExtensionPair, e164PhoneNumberFromE164PhoneNumberExtensionPair, enabledDaysFromDaysOfWeek, encodeBitwiseSet, encodeModelKeyTypePair, encodeRadix36Number, errorMessageContainsString, errorMessageContainsStringFunction, escapeStringCharactersFunction, escapeStringForRegex, excludeValues, excludeValuesFromArray, excludeValuesFromSet, existsInIterable, expandArrayMapTuples, expandArrayValueTuples, expandFlattenTreeFunction, expandIndexSet, expandSlashPathPathMatcherPartToDecisionFunctions, expandTreeFunction, expandTrees, expirationDetails, exploreTreeFunction, exponentialPromiseRateLimiter, extendLatLngBound, fileExtensionForMimeType, filterAndMapFunction, filterEmptyArrayValues, filterEmptyPojoValues, filterFalsyAndEmptyValues, filterFromIterable, filterFromPOJO, filterFromPOJOFunction, filterKeyValueTupleFunction, filterKeyValueTuples, filterKeyValueTuplesFunction, filterKeyValueTuplesInputToFilter, filterKeysOnPOJOFunction, filterMaybeArrayFunction, filterMaybeArrayValues, filterNullAndUndefinedValues, filterOnlyUndefinedValues, filterTuplesOnPOJOFunction, filterUndefinedValues, filterUniqueByIndex, filterUniqueCaseInsensitiveStrings, filterUniqueFunction, filterUniqueTransform, filterUniqueValues, filterValuesByDistance, filterValuesByDistanceNoOrder, filterValuesToSet, filterValuesUsingSet, filteredPage, findAllCharacterOccurences, findAllCharacterOccurencesFunction, findBest, findBestIndexMatch, findBestIndexMatchFunction, findBestIndexSetPair, findBestSplitStringTreeChildMatch, findBestSplitStringTreeChildMatchPath, findBestSplitStringTreeMatch, findBestSplitStringTreeMatchPath, findFirstCharacterOccurence, findInIterable, findIndexOfFirstDuplicateValue, findItemsByIndex, findNext, findPOJOKeys, findPOJOKeysFunction, findStringsRegexString, findToIndexSet, findValuesFrom, firstAndLastCharacterOccurrence, firstAndLastValue, firstValue, firstValueFromIterable, fitToIndexRangeFunction, fixExtraQueryParameters, fixMultiSlashesInSlashPath, flattenArray, flattenArrayOrValueArray, flattenArrayToSet, flattenArrayUnique, flattenArrayUniqueCaseInsensitiveStrings, flattenObject, flattenTree, flattenTreeToArray, flattenTreeToArrayFunction, flattenWhitespace, forEachInIterable, forEachKeyValue, forEachKeyValueOnPOJOFunction, forEachWithArray, forwardFunction, fractionalHoursToMinutes, generateIfDoesNotExist, getArrayNextIndex, getBaseLog, getDayOffset, getDayTomorrow, getDayYesterday, getDaysOfWeekNames, getFunctionType, getNextDay, getNextPageNumber, getOverlappingRectangle, getPageNumber, getPreviousDay, getValueFromGetter, groupValues, handlerBindAccessor, handlerConfigurerFactory, handlerFactory, handlerMappedSetFunction, handlerMappedSetFunctionFactory, handlerSetFunction, hasDifferentStringsNoCase, hasDifferentValues, hasHttpPrefix, hasNonNullValue, hasPortNumber, hasSameTimezone, hasSameValues, hasValueFunction, hasValueOrNotEmpty, hasValueOrNotEmptyObject, hasWebsiteDomain, hasWebsiteTopLevelDomain, hashSetForIndexed, hourToFractionalHour, hoursAndMinutesToString, hoursAndMinutesToTimeUnit, idBatchFactory, imageFileExtensionForMimeType, incrementingNumberFactory, indexDeltaGroup, indexDeltaGroupFunction, indexRange, indexRangeCheckFunction, indexRangeCheckReaderFunction, indexRangeForArray, indexRangeOverlapsIndexRange, indexRangeOverlapsIndexRangeFunction, indexRangeReaderPairFactory, indexRefMap, indexedValuesArrayAccessorFactory, insertIntoBooleanKeyArray, invertBooleanReturnFunction, invertDecision, invertFilter, invertMaybeBoolean, invertStringRecord, isAllowed, isClassLikeType, isCompleteUnitedStatesAddress, isConsideredUtcTimezoneString, isDate, isDefaultLatLngPoint, isDefaultLatLngPointValue, isDefaultReadableError, isDefinedAndNotFalse, isDollarAmountString, isE164PhoneNumber, isE164PhoneNumberWithExtension, isEmptyIterable, isEqualContext, isEqualDate, isEqualToValueDecisionFunction, isEvenNumber, isFalseBooleanKeyArray, isFinalPage, isGetter, isHex, isHexWithByteLength, isISO8601DateString, isISO8601DayString, isISO8601DayStringStart, isInAllowedDaysOfWeekSet, isInNumberBoundFunction, isInSetDecisionFunction, isIndexNumberInIndexRange, isIndexNumberInIndexRangeFunction, isIndexRangeInIndexRange, isIndexRangeInIndexRangeFunction, isIterable, isKnownHttpWebsiteProtocol, isLatLngBound, isLatLngBoundWithinLatLngBound, isLatLngPoint, isLatLngPointWithinLatLngBound, isLatLngString, isLogicalDateStringCode, isMapIdentityFunction, isMaybeNot, isMaybeNotOrTrue, isMaybeSo, isMinuteOfDay, isModelKey, isMonthDaySlashDate, isNonClassFunction, isNotFalse, isNotNullOrEmptyString, isNumberDivisibleBy, isObjectWithConstructor, isOddNumber, isPast, isPromise, isPromiseLike, isSameLatLngBound, isSameLatLngPoint, isSameNonNullValue, isSameVector, isSelectedDecisionFunctionFactory, isSelectedIndexDecisionFunction, isServerError, isSlashPathFile, isSlashPathFolder, isSlashPathTypedFile, isStandardInternetAccessibleWebsiteUrl, isStringOrTrue, isThrottled, isTrueBooleanKeyArray, isUTCDateString, isUnderThreshold, isUniqueKeyedFunction, isUsStateCodeString, isValidLatLngPoint, isValidLatitude, isValidLongitude, isValidNumberBound, isValidPhoneExtensionNumber, isValidSlashPath, isWebsiteUrl, isWebsiteUrlWithPrefix, isWithinLatLngBoundFunction, isolateSlashPath, isolateSlashPathFunction, isolateWebsitePathFunction, itemCountForBatchIndex, iterableToArray, iterableToMap, iterableToSet, iterablesAreSetEquivalent, iterate, iterateFilteredPages, joinHostAndPort, joinStrings, joinStringsInstance, joinStringsWithCommas, joinStringsWithSpaces, keepCharactersAfterFirstCharacterOccurence, keepCharactersAfterFirstCharacterOccurenceFunction, keepFromSetCopy, keepValuesFromArray, keepValuesFromSet, keyValueMapFactory, labeledValueMap, lastValue, latLngBound, latLngBoundCenterPoint, latLngBoundEastBound, latLngBoundFromInput, latLngBoundFullyWrapsMap, latLngBoundFunction, latLngBoundNorthBound, latLngBoundNorthEastPoint, latLngBoundNorthWestPoint, latLngBoundOverlapsLatLngBound, latLngBoundSouthBound, latLngBoundSouthEastPoint, latLngBoundSouthWestPoint, latLngBoundStrictlyWrapsMap, latLngBoundTuple, latLngBoundTupleFunction, latLngBoundWestBound, latLngBoundWrapsMap, latLngDataPointFunction, latLngPoint, latLngPointFromString, latLngPointFunction, latLngPointPrecisionFunction, latLngString, latLngStringFunction, latLngTuple, latLngTupleFunction, limitArray, lonLatTuple, lowercaseFirstLetter, mailToUrlString, makeBestFit, makeCopyModelFieldFunction, makeDateMonthForMonthOfYear, makeDefaultNonConcurrentTaskKeyFactory, makeGetter, makeHandler, makeHashDecodeMap, makeKeyPairs, makeModelConversionFieldValuesFunction, makeModelMap, makeModelMapFunctions, makeMultiModelKeyMap, makeTimer, makeValuesGroupMap, makeWithFactory, makeWithFactoryInput, mapArrayFunction, mapFunctionOutput, mapFunctionOutputPair, mapGetter, mapGetterFactory, mapIdentityFunction, mapIterable, mapKeysIntersectionObjectToArray, mapMaybeFunction, mapObjectKeysFunction, mapObjectKeysToLowercase, mapObjectMap, mapObjectMapFunction, mapObjectToTargetObject, mapPromiseOrValue, mapToObject, mapToTuples, mapValuesToSet, mappedUseAsyncFunction, mappedUseFunction, mapsHaveSameKeys, maybeMergeModelModifiers, maybeMergeModifiers, maybeModifierMapToFunction, maybeSet, mergeArrays, mergeArraysIntoArray, mergeFilterFunctions, mergeModifiers, mergeObjects, mergeObjectsFunction, mergeSlashPaths, messageFromError, millisecondsToMinutes, millisecondsToMinutesAndSeconds, millisecondsToTimeUnit, mimeTypeForApplicationFileExtension, mimeTypeForDocumentFileExtension, mimeTypeForFileExtension, mimeTypeForImageFileExtension, minAndMaxFunction, minAndMaxIndex, minAndMaxIndexFunction, minAndMaxIndexItemsFunction, minAndMaxNumber, minutesToFractionalHours, minutesToHoursAndMinutes, modelFieldConversions, modelFieldMapFunction, modelFieldMapFunctions, modelTypeDataPairFactory, modifier, modifierMapToFunction, modifyModelMapFunction, modifyModelMapFunctions, monthDaySlashDateToDateString, monthOfYearFromDate, monthOfYearFromDateMonth, monthOfYearFromUTCDate, multiKeyValueMapFactory, multiValueMapBuilder, neMostLatLngPoint, nearestDivisibleValues, numberStringDencoder, numberStringDencoderDecodedNumberValueFunction, numberStringDencoderEncodedStringValueFunction, numberStringDencoderFunction, objectCopyFactory, objectDeltaArrayCompressor, objectFieldEqualityChecker, objectFlatMergeMatrix, objectHasKey, objectHasKeys, objectHasNoKeys, objectIsEmpty, objectKeyEqualityComparatorFunction, objectKeysEqualityComparatorFunction, objectMergeMatrix, objectToMap, overlapsLatLngBoundFunction, overrideInObject, overrideInObjectFunctionFactory, padStartFunction, pairGroupValues, parseISO8601DayStringToUTCDate, partialServerError, passThrough, percentNumberFromDecimal, percentNumberToDecimal, performAsyncTask, performAsyncTasks, performBatchLoop, performMakeLoop, performTaskCountLoop, performTaskLoop, performTasksFromFactoryInParallelFunction, performTasksInParallel, performTasksInParallelFunction, pickOneRandomly, poll, primativeKeyDencoder, primativeKeyDencoderMap, primativeKeyStringDencoder, primativeValuesDelta, promiseReference, protectedFactory, pushArrayItemsIntoArray, pushElementOntoArray, pushItemOrArrayItemsIntoArray, randomArrayFactory, randomArrayIndex, randomBoolean, randomEmailFactory, randomFromArrayFactory, randomLatLngFactory, randomLatLngFromCenterFactory, randomNumber, randomNumberFactory, randomPhoneNumberFactory, randomPickFactory, range, rangedIndexedValuesArrayAccessorFactory, rangedIndexedValuesArrayAccessorInfoFactory, readBooleanKeySafetyWrap, readDomainFromEmailAddress, readDomainsFromEmailAddresses, readEmailDomainFromUrlOrEmailAddress, readIndexNumber, readKeysFrom, readKeysFromFilterUniqueFunctionAdditionalKeys, readKeysFromFilterUniqueFunctionAdditionalKeysInput, readKeysFunction, readKeysSetFrom, readKeysSetFunction, readKeysToMap, readModelKey, readModelKeyFromObject, readModelKeys, readModelKeysFromObjects, readMultipleKeysToMap, readPortNumber, readUniqueModelKey, readWebsiteProtocol, readableError, readableStreamToBase64, readableStreamToBuffer, readableStreamToStringFunction, rectangleOverlapsRectangle, reduceBooleansFn, reduceBooleansWithAnd, reduceBooleansWithAndFn, reduceBooleansWithOr, reduceBooleansWithOrFn, reduceNumbers, reduceNumbersFn, reduceNumbersWithAdd, reduceNumbersWithAddFn, reduceNumbersWithMax, reduceNumbersWithMaxFn, reduceNumbersWithMin, reduceNumbersWithMinFn, removeByKeyFromBooleanKeyArray, removeCharactersAfterFirstCharacterOccurence, removeCharactersAfterFirstCharacterOccurenceFunction, removeExtensionFromPhoneNumber, removeFromBooleanKeyArray, removeFromSet, removeFromSetCopy, removeHttpFromUrl, removeModelsWithKey, removeModelsWithSameKey, removeModifiers, removeTrailingFileTypeSeparators, removeTrailingSlashes, removeValuesAtIndexesFromArrayCopy, removeWebProtocolPrefix, repeatString, replaceCharacterAtIndexIf, replaceCharacterAtIndexWith, replaceInvalidFilePathTypeSeparatorsInSlashPath, replaceInvalidFilePathTypeSeparatorsInSlashPathFunction, replaceLastCharacterIf, replaceLastCharacterIfIsFunction, replaceMultipleFilePathsInSlashPath, replaceStringsFunction, requireModelKey, resetPeriodPromiseRateLimiter, restoreOrder, restoreOrderWithValues, reverseCompareFn, roundNumberToStepFunction, roundNumberUpToStep, roundToPrecision, roundToPrecisionFunction, roundingFunction, runAsyncTaskForValue, runAsyncTasksForValues, runNamedAsyncTasks, runNamedAsyncTasksFunction, safeCompareEquality, safeEqualityComparatorFunction, safeFindBestIndexMatch, searchStringFilterFunction, secondsToMinutesAndSeconds, selectiveFieldEncryptor, separateValues, separateValuesToSets, sequentialIncrementingNumberStringModelIdFactory, serverError, setContainsAllValues, setContainsAnyValue, setContainsNoneOfValue, setDeltaChangeKeys, setDeltaFunction, setHasValueFunction, setIncludes, setIncludesFunction, setKeysOnMap, setWebProtocolPrefix, setsAreEquivalent, simpleSortValuesFunctionWithSortRef, simplifyWhitespace, slashPathDetails, slashPathDirectoryTree, slashPathFactory, slashPathFolder, slashPathFolderFactory, slashPathInvalidError, slashPathName, slashPathParts, slashPathPathMatcher, slashPathPathMatcherConfig, slashPathStartTypeFactory, slashPathSubPathMatcher, slashPathType, slashPathValidationFactory, sliceIndexRangeFunction, sliceStringFunction, sortAscendingIndexNumberRefFunction, sortByIndexAscendingCompareFunction, sortByIndexRangeAscendingCompareFunction, sortByLabelFunction, sortByNumberFunction, sortByStringFunction, sortCompareNumberFunction, sortNumbersAscendingFunction, sortValues, sortValuesFunctionOrMapIdentityWithSortRef, sortValuesFunctionWithSortRef, spaceSeparatedCssClasses, splitCommaSeparatedString, splitCommaSeparatedStringToSet, splitFront, splitJoinNameString, splitJoinRemainder, splitStringAtFirstCharacterOccurence, splitStringAtFirstCharacterOccurenceFunction, splitStringAtIndex, splitStringTreeFactory, startOfDayForSystemDateInUTC, startOfDayForUTCDateInUTC, stepsFromIndex, stepsFromIndexFunction, stringCharactersToIndexRecord, stringContains, stringFactoryFromFactory, stringFromDateFactory, stringFromTimeFactory, stringSplitJoinInstance, stringToBoolean, stringToLowercaseFunction, stringToUppercaseFunction, stringTrimFunction, sumOfIntegersBetween, swMostLatLngPoint, symmetricDifferenceArray, symmetricDifferenceArrayBetweenSets, symmetricDifferenceWithModels, takeFront, takeLast, takeValuesFromIterable, telUrlString, telUrlStringForE164PhoneNumberPair, terminatingFactoryFromArray, throwKeyIsRequired, timeDurationToHoursAndMinutes, timeDurationToMilliseconds, timePeriodCounter, timeUnitToMilliseconds, toAbsoluteSlashPathStartType, toCaseInsensitiveStringArray, toMinuteOfDay, toModelFieldConversions, toModelMapFunctions, toReadableError, toRelativeSlashPathStartType, toggleInSet, toggleInSetCopy, toggleTimerRunning, transformNumberFunction, transformNumberFunctionConfig, transformStringFunction, transformStringFunctionConfig, transformStrings, trimArray, trueOrFalseString, tryConvertToE164PhoneNumber, tryWithPromiseFactoriesFunction, typedServiceRegistry, unique, uniqueCaseInsensitiveStrings, uniqueCaseInsensitiveStringsSet, uniqueKeys, uniqueModels, unitedStatesAddressString, unixDateTimeSecondsNumberForNow, unixDateTimeSecondsNumberFromDate, unixDateTimeSecondsNumberFromDateOrTimeNumber, unixDateTimeSecondsNumberToDate, unixMillisecondsNumberToDate, updateMaybeValue, urlWithoutParameters, useAsync, useCallback, useContextFunction, useIterableOrValue, useModelOrKey, usePromise, useValue, validLatLngPoint, validLatLngPointFunction, valueAtIndex, valuesAreBothNullishOrEquivalent, valuesFromPOJO, valuesFromPOJOFunction, vectorMinimumSizeResizeFunction, vectorsAreEqual, waitForMs, websiteDomainAndPathPair, websiteDomainAndPathPairFromWebsiteUrl, websitePathAndQueryPair, websitePathFromWebsiteDomainAndPath, websitePathFromWebsiteUrl, websiteUrlDetails, websiteUrlFromPaths, wrapIndexRangeFunction, wrapLatLngPoint, wrapLngValue, wrapMapFunctionOutput, wrapNumberFunction, wrapTuples, wrapUseAsyncFunction, wrapUseFunction };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/util",
3
- "version": "13.6.11",
3
+ "version": "13.6.13",
4
4
  "exports": {
5
5
  "./test": {
6
6
  "module": "./test/index.esm.js",
@@ -296,6 +296,14 @@ export declare const MS_IN_HOUR: Milliseconds;
296
296
  * Number of milliseconds in a day.
297
297
  */
298
298
  export declare const MS_IN_DAY: Milliseconds;
299
+ /**
300
+ * Number of days in a week.
301
+ */
302
+ export declare const DAYS_IN_WEEK: Days;
303
+ /**
304
+ * Number of milliseconds in a week.
305
+ */
306
+ export declare const MS_IN_WEEK: Milliseconds;
299
307
  /**
300
308
  * Day of the month, 1-31
301
309
  */
@@ -0,0 +1,119 @@
1
+ import { type Milliseconds } from './date';
2
+ import { type HoursAndMinutes } from './hour';
3
+ /**
4
+ * A unit of time duration.
5
+ *
6
+ * - `'ms'` — milliseconds
7
+ * - `'s'` — seconds
8
+ * - `'min'` — minutes
9
+ * - `'h'` — hours
10
+ * - `'d'` — days
11
+ * - `'w'` — weeks
12
+ */
13
+ export type TimeUnit = 'ms' | 's' | 'min' | 'h' | 'd' | 'w';
14
+ /**
15
+ * All time units ordered from smallest to largest.
16
+ */
17
+ export declare const ALL_TIME_UNITS: readonly TimeUnit[];
18
+ /**
19
+ * Human-readable labels for each time unit.
20
+ */
21
+ export declare const TIME_UNIT_LABEL_MAP: Readonly<Record<TimeUnit, string>>;
22
+ /**
23
+ * Short labels for each time unit.
24
+ */
25
+ export declare const TIME_UNIT_SHORT_LABEL_MAP: Readonly<Record<TimeUnit, string>>;
26
+ /**
27
+ * Converts an amount in the given time unit to milliseconds.
28
+ *
29
+ * @param amount - The numeric amount in the given unit
30
+ * @param unit - The time unit of the amount
31
+ * @returns The equivalent number of milliseconds
32
+ *
33
+ * @example
34
+ * ```typescript
35
+ * timeUnitToMilliseconds(2, 'h'); // 7200000
36
+ * timeUnitToMilliseconds(30, 'min'); // 1800000
37
+ * ```
38
+ */
39
+ export declare function timeUnitToMilliseconds(amount: number, unit: TimeUnit): Milliseconds;
40
+ /**
41
+ * Converts milliseconds to an amount in the given time unit.
42
+ *
43
+ * @param ms - The number of milliseconds
44
+ * @param unit - The target time unit
45
+ * @returns The equivalent amount in the target unit
46
+ *
47
+ * @example
48
+ * ```typescript
49
+ * millisecondsToTimeUnit(7200000, 'h'); // 2
50
+ * millisecondsToTimeUnit(1800000, 'min'); // 30
51
+ * ```
52
+ */
53
+ export declare function millisecondsToTimeUnit(ms: Milliseconds, unit: TimeUnit): number;
54
+ /**
55
+ * Converts a duration amount from one time unit to another.
56
+ *
57
+ * Goes through milliseconds as an intermediary for the conversion.
58
+ *
59
+ * @param amount - The numeric amount in the source unit
60
+ * @param fromUnit - The source time unit
61
+ * @param toUnit - The target time unit
62
+ * @returns The equivalent amount in the target unit
63
+ *
64
+ * @example
65
+ * ```typescript
66
+ * convertTimeDuration(2, 'h', 'min'); // 120
67
+ * convertTimeDuration(1, 'd', 'h'); // 24
68
+ * convertTimeDuration(500, 'ms', 's'); // 0.5
69
+ * ```
70
+ */
71
+ export declare function convertTimeDuration(amount: number, fromUnit: TimeUnit, toUnit: TimeUnit): number;
72
+ /**
73
+ * A structured time duration with an amount and unit.
74
+ */
75
+ export interface TimeDuration {
76
+ readonly amount: number;
77
+ readonly unit: TimeUnit;
78
+ }
79
+ /**
80
+ * Converts a TimeDuration to milliseconds.
81
+ *
82
+ * @param duration - The duration to convert
83
+ * @returns The equivalent number of milliseconds
84
+ *
85
+ * @example
86
+ * ```typescript
87
+ * timeDurationToMilliseconds({ amount: 5, unit: 'min' }); // 300000
88
+ * ```
89
+ */
90
+ export declare function timeDurationToMilliseconds(duration: TimeDuration): Milliseconds;
91
+ /**
92
+ * Converts a TimeDuration to an HoursAndMinutes object.
93
+ *
94
+ * First converts to total minutes, then splits into hours and minutes.
95
+ *
96
+ * @param duration - The duration to convert
97
+ * @returns An HoursAndMinutes object
98
+ *
99
+ * @example
100
+ * ```typescript
101
+ * timeDurationToHoursAndMinutes({ amount: 90, unit: 'min' }); // { hour: 1, minute: 30 }
102
+ * timeDurationToHoursAndMinutes({ amount: 2.5, unit: 'h' }); // { hour: 2, minute: 30 }
103
+ * ```
104
+ */
105
+ export declare function timeDurationToHoursAndMinutes(duration: TimeDuration): HoursAndMinutes;
106
+ /**
107
+ * Converts an HoursAndMinutes object to a total number in the specified time unit.
108
+ *
109
+ * @param hoursAndMinutes - The hours and minutes to convert
110
+ * @param toUnit - The target time unit
111
+ * @returns The equivalent amount in the target unit
112
+ *
113
+ * @example
114
+ * ```typescript
115
+ * hoursAndMinutesToTimeUnit({ hour: 1, minute: 30 }, 'min'); // 90
116
+ * hoursAndMinutesToTimeUnit({ hour: 2, minute: 0 }, 'h'); // 2
117
+ * ```
118
+ */
119
+ export declare function hoursAndMinutesToTimeUnit(hoursAndMinutes: HoursAndMinutes, toUnit: TimeUnit): number;
@@ -6,3 +6,4 @@ export * from './hour';
6
6
  export * from './minute';
7
7
  export * from './time';
8
8
  export * from './date.time';
9
+ export * from './duration';
@@ -38,7 +38,7 @@ export interface UnitedStatesAddress {
38
38
  /**
39
39
  * Secondary address line (apartment, suite, etc.).
40
40
  */
41
- line2?: AddressLineString;
41
+ line2?: Maybe<AddressLineString>;
42
42
  /**
43
43
  * City name.
44
44
  */
@@ -60,11 +60,11 @@ export interface UnitedStatesAddressWithContact extends UnitedStatesAddress {
60
60
  /**
61
61
  * Contact name associated with this address.
62
62
  */
63
- name?: string;
63
+ name?: Maybe<string>;
64
64
  /**
65
65
  * Phone number associated with this address.
66
66
  */
67
- phone?: string;
67
+ phone?: Maybe<string>;
68
68
  }
69
69
  /**
70
70
  * Formats a {@link UnitedStatesAddress} or {@link UnitedStatesAddressWithContact} into a human-readable multi-line string.
package/test/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@dereekb/util/test",
3
- "version": "13.6.11",
3
+ "version": "13.6.13",
4
4
  "peerDependencies": {
5
- "@dereekb/util": "13.6.11",
5
+ "@dereekb/util": "13.6.13",
6
6
  "make-error": "^1.3.0"
7
7
  },
8
8
  "exports": {