deverything 3.3.0 → 4.0.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/README.md +0 -1
- package/dist/index.d.mts +861 -0
- package/dist/index.d.ts +72 -85
- package/dist/index.global.js +2 -197
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +2 -192
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -141,17 +141,20 @@ type Serialized<T> = T extends Date ? string : T extends Array<infer R> ? Array<
|
|
|
141
141
|
} : T;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
145
|
-
* @
|
|
146
|
-
*
|
|
144
|
+
* Buckets dates into groups based on a date series
|
|
145
|
+
* @param dateSeries Array of dates that define the buckets, must be sorted in ascending order
|
|
146
|
+
* @param dates Array of dates to be bucketed, must be sorted in ascending order
|
|
147
|
+
* @param unit The time unit to use for bucketing ('day', 'hour', 'minute', 'second')
|
|
148
|
+
* @returns Record mapping each bucket date to an array of dates that fall within that bucket
|
|
147
149
|
*/
|
|
148
|
-
declare const
|
|
150
|
+
declare const bucketSortedDates: (dateSeries: ISODate[], dates: ISODate[], unit: "day" | "hour" | "minute" | "second") => Record<ISODate, ISODate[]>;
|
|
149
151
|
|
|
150
152
|
/**
|
|
151
153
|
*
|
|
152
|
-
* @
|
|
154
|
+
* @description Generate a series of dates between the start and end dates
|
|
155
|
+
* NOTE: it does NOT include the end date
|
|
153
156
|
*/
|
|
154
|
-
declare const
|
|
157
|
+
declare const getDateRangeSeries: (dateRange: DateRange, unit: "day" | "hour" | "minute" | "second" | "calendarMonth") => ISODate[];
|
|
155
158
|
|
|
156
159
|
/**
|
|
157
160
|
* @description Returns the smallest and biggest dates from an array of dates in DateRange format
|
|
@@ -159,7 +162,7 @@ declare const getDateSeries: (startDate: Date, endDate: Date, unit: "days" | "ho
|
|
|
159
162
|
* @returns DateRange object with startDate (smallest) and endDate (biggest)
|
|
160
163
|
* @throws Error if the array is empty or contains invalid dates
|
|
161
164
|
*/
|
|
162
|
-
declare const getDateSeriesRange: (dateSeries: DateSeries
|
|
165
|
+
declare const getDateSeriesRange: (dateSeries: DateSeries) => DateRange;
|
|
163
166
|
|
|
164
167
|
declare const isOver18: (birthDate: DateLike) => boolean;
|
|
165
168
|
|
|
@@ -203,8 +206,8 @@ declare const formatCookies: (object: PlainObject) => string;
|
|
|
203
206
|
/**
|
|
204
207
|
*
|
|
205
208
|
* @example formatIndexProgress(-1, 10) => [1/10] capped
|
|
206
|
-
* @example
|
|
207
|
-
* @example
|
|
209
|
+
* @example formatIndexProgress(1, 10) => [2/10]
|
|
210
|
+
* @example formatIndexProgress(11, 10) => [10/10] capped
|
|
208
211
|
*/
|
|
209
212
|
declare const formatIndexProgress: (index: number, total: number) => string;
|
|
210
213
|
|
|
@@ -216,9 +219,9 @@ declare const formatIndexProgress: (index: number, total: number) => string;
|
|
|
216
219
|
* @example formatNumber(0.12345, { percentage: true, maxDigits: 2 }) // '12.35%' (rounding)
|
|
217
220
|
*/
|
|
218
221
|
declare const formatNumber: (value: number, { compact, maxDigits, percentage, }?: {
|
|
219
|
-
compact?: boolean
|
|
220
|
-
maxDigits?: number
|
|
221
|
-
percentage?: boolean
|
|
222
|
+
compact?: boolean;
|
|
223
|
+
maxDigits?: number;
|
|
224
|
+
percentage?: boolean;
|
|
222
225
|
}) => string;
|
|
223
226
|
|
|
224
227
|
/**
|
|
@@ -227,15 +230,7 @@ declare const formatNumber: (value: number, { compact, maxDigits, percentage, }?
|
|
|
227
230
|
* @example formatPercentage(0, { digits: 2 }) => 0.00%
|
|
228
231
|
*/
|
|
229
232
|
declare const formatPercentage: (value: number, { digits, }?: {
|
|
230
|
-
digits?: number
|
|
231
|
-
}) => string;
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* @deprecated Use `formatIndexProgress` instead.
|
|
235
|
-
*/
|
|
236
|
-
declare const formatProgress: ({ index, total, }: {
|
|
237
|
-
index: number;
|
|
238
|
-
total: number;
|
|
233
|
+
digits?: number;
|
|
239
234
|
}) => string;
|
|
240
235
|
|
|
241
236
|
declare const stringToCSSUnicode: (text: string) => string;
|
|
@@ -272,7 +267,7 @@ declare const chunkedAll: <T>(array: T[], chunkSize: number, fn: (chunk: T[]) =>
|
|
|
272
267
|
* @param options.minChunkTimeMs - Minimum time to process each chunk
|
|
273
268
|
*/
|
|
274
269
|
declare const chunkedAsync: <T>(array: T[], chunkSize: number, fn: (chunk: T[], chunkIndex: number, chunks: T[][]) => Promise<any>, { minChunkTimeMs, }?: {
|
|
275
|
-
minChunkTimeMs?: number
|
|
270
|
+
minChunkTimeMs?: number;
|
|
276
271
|
}) => Promise<any[]>;
|
|
277
272
|
|
|
278
273
|
/**
|
|
@@ -287,11 +282,11 @@ declare const chunkedAsync: <T>(array: T[], chunkSize: number, fn: (chunk: T[],
|
|
|
287
282
|
* @param options.sleepTimeMs - Time to sleep between each chunk
|
|
288
283
|
*/
|
|
289
284
|
declare const chunkedDynamic: <T>(array: T[], initialChunkSize: number, fn: (chunk: T[], currentChunkIndex: number) => Promise<any>, { idealChunkDuration, maxChunkSize, minChunkDuration, minChunkSize, sleepTimeMs, }?: {
|
|
290
|
-
idealChunkDuration?: number
|
|
291
|
-
maxChunkSize?: number
|
|
292
|
-
minChunkDuration?: number
|
|
293
|
-
minChunkSize?: number
|
|
294
|
-
sleepTimeMs?: number
|
|
285
|
+
idealChunkDuration?: number;
|
|
286
|
+
maxChunkSize?: number;
|
|
287
|
+
minChunkDuration?: number;
|
|
288
|
+
minChunkSize?: number;
|
|
289
|
+
sleepTimeMs?: number;
|
|
295
290
|
}) => Promise<any[]>;
|
|
296
291
|
|
|
297
292
|
declare const clamp: ({ number, min, max, }: {
|
|
@@ -311,7 +306,7 @@ declare const cyclicalItem: <T>(array: T[], index: number) => T;
|
|
|
311
306
|
* Print or log helper that does not break on circular references, and expands nested objects.
|
|
312
307
|
*/
|
|
313
308
|
declare const dir: (arg: any, { maxDepth }?: {
|
|
314
|
-
maxDepth?: number
|
|
309
|
+
maxDepth?: number;
|
|
315
310
|
}) => void;
|
|
316
311
|
|
|
317
312
|
declare const enumKeys: <T extends object>(arg: T) => ObjectKeys<T>;
|
|
@@ -326,9 +321,9 @@ declare const filterAlphanumeric: (string: string) => string;
|
|
|
326
321
|
|
|
327
322
|
declare const first: <T>(arr: T[]) => T;
|
|
328
323
|
|
|
329
|
-
declare const firstKey: <T extends PlainObject
|
|
324
|
+
declare const firstKey: <T extends PlainObject>(arg: T) => ObjectKey<T>;
|
|
330
325
|
|
|
331
|
-
declare const firstValue: <T extends PlainObject
|
|
326
|
+
declare const firstValue: <T extends PlainObject>(arg: T) => ObjectValue<T>;
|
|
332
327
|
|
|
333
328
|
/**
|
|
334
329
|
* Get a client cookie by name, works only in the browser
|
|
@@ -375,7 +370,7 @@ declare const groupByKey: <T, K extends keyof T>(items: T[], key: K) => Record<k
|
|
|
375
370
|
|
|
376
371
|
declare const incrementalId: () => number;
|
|
377
372
|
|
|
378
|
-
declare const keysLength: <T extends PlainObject
|
|
373
|
+
declare const keysLength: <T extends PlainObject>(obj: T) => number;
|
|
379
374
|
|
|
380
375
|
declare const last: <T>(arr: T[]) => T;
|
|
381
376
|
|
|
@@ -392,13 +387,14 @@ declare const lastIndex: (array: any[]) => number;
|
|
|
392
387
|
* itemsById[1]; // { id: 1, name: "Alice" }
|
|
393
388
|
* itemsById[2]; // { id: 2, name: "Bob" }
|
|
394
389
|
*/
|
|
395
|
-
declare const mapByKey: <T extends PlainObject
|
|
390
|
+
declare const mapByKey: <T extends PlainObject>(items: T[], key: keyof T) => Record<Exclude<T[keyof T], null | undefined>, // any value of T, excluding null and undefined
|
|
391
|
+
T>;
|
|
396
392
|
|
|
397
393
|
/**
|
|
398
394
|
* @description Simple merge function that merges two objects, arrays get overwritten, no options
|
|
399
395
|
*
|
|
400
396
|
*/
|
|
401
|
-
declare const merge: (target: PlainObject, source: PlainObject) => PlainObject
|
|
397
|
+
declare const merge: (target: PlainObject, source: PlainObject) => PlainObject;
|
|
402
398
|
|
|
403
399
|
/**
|
|
404
400
|
* @description Merge two arrays, unique values, no options
|
|
@@ -416,9 +412,9 @@ declare const normalizeNumber: ({ value, max, min, }: {
|
|
|
416
412
|
min: number;
|
|
417
413
|
}) => number;
|
|
418
414
|
|
|
419
|
-
declare const objectDiff: (leftObject: PlainObject, rightObject: PlainObject) => PlainObject
|
|
415
|
+
declare const objectDiff: (leftObject: PlainObject, rightObject: PlainObject) => PlainObject;
|
|
420
416
|
|
|
421
|
-
declare const omit: <T extends PlainObject
|
|
417
|
+
declare const omit: <T extends PlainObject>(obj: T, keys: (keyof T)[]) => Partial<T>;
|
|
422
418
|
|
|
423
419
|
/**
|
|
424
420
|
*
|
|
@@ -437,7 +433,7 @@ declare const parseDate: (arg?: Maybe<DateLike>, options?: {
|
|
|
437
433
|
* const obj = { a: 1, b: 2, c: 3 };
|
|
438
434
|
* pickObjectKeys(obj, ["a", "c"]); // { a: 1, c: 3 }
|
|
439
435
|
*/
|
|
440
|
-
declare const pickObjectKeys: <T extends PlainObject
|
|
436
|
+
declare const pickObjectKeys: <T extends PlainObject>(obj: T, keys: ObjectKeys<T>) => Partial<T>;
|
|
441
437
|
|
|
442
438
|
/**
|
|
443
439
|
*
|
|
@@ -446,9 +442,9 @@ declare const pickObjectKeys: <T extends PlainObject<any>>(obj: T, keys: ObjectK
|
|
|
446
442
|
* const obj = { a: 1, b: 2, c: 3 };
|
|
447
443
|
* pickObjectValues(obj, [1, 3]); // { a: 1, c: 3 }
|
|
448
444
|
*/
|
|
449
|
-
declare const pickObjectValues: <T extends PlainObject
|
|
445
|
+
declare const pickObjectValues: <T extends PlainObject>(obj: T, values: ObjectValues<T>) => Partial<T>;
|
|
450
446
|
|
|
451
|
-
declare const pluck: <T extends PlainObject
|
|
447
|
+
declare const pluck: <T extends PlainObject>(items: T[], key: keyof T) => Exclude<T[keyof T], null | undefined>[];
|
|
452
448
|
|
|
453
449
|
declare const promiseWithTimeout: <T>(promise: () => Promise<T>, timeoutMs: number, error?: Error) => Promise<T>;
|
|
454
450
|
|
|
@@ -465,7 +461,7 @@ declare const scrambleText: (str: string) => string;
|
|
|
465
461
|
* @example
|
|
466
462
|
* serialize({ b: 1, a: 2 }) // '{"a":1,"b":2}'
|
|
467
463
|
*/
|
|
468
|
-
declare const serialize: <T extends PlainObject
|
|
464
|
+
declare const serialize: <T extends PlainObject>(obj: T) => string;
|
|
469
465
|
|
|
470
466
|
type AsyncFunction<T = any> = () => Promise<T>;
|
|
471
467
|
type SeriesResult<T extends readonly AsyncFunction[]> = {
|
|
@@ -482,7 +478,7 @@ type SeriesResult<T extends readonly AsyncFunction[]> = {
|
|
|
482
478
|
* async () => 4,
|
|
483
479
|
* ]); => [1, 2, 3, 4]
|
|
484
480
|
*/
|
|
485
|
-
declare const seriesAsync: <T extends readonly AsyncFunction
|
|
481
|
+
declare const seriesAsync: <T extends readonly AsyncFunction[]>(series: readonly [...T]) => Promise<SeriesResult<T>>;
|
|
486
482
|
|
|
487
483
|
/**
|
|
488
484
|
* Sets a value in an object using a dot-separated path.
|
|
@@ -502,17 +498,10 @@ declare const sleep: (timeMs: number) => Promise<void>;
|
|
|
502
498
|
declare const stringify: (arg?: any) => string;
|
|
503
499
|
|
|
504
500
|
declare const toggleArrayValue: <T>(array: T[], value: T) => T[];
|
|
505
|
-
/**
|
|
506
|
-
* @deprecated Use toggleArrayValue instead
|
|
507
|
-
* @param {T[]} array
|
|
508
|
-
* @param {T} value
|
|
509
|
-
* @returns {T[]}
|
|
510
|
-
*/
|
|
511
|
-
declare const toggleArray: <T>(array: T[], value: T) => T[];
|
|
512
501
|
|
|
513
502
|
declare const truncate: (arg: string, limit: number, { ellipsis, position, }?: {
|
|
514
|
-
ellipsis?: string
|
|
515
|
-
position?: "start" | "middle" | "end"
|
|
503
|
+
ellipsis?: string;
|
|
504
|
+
position?: "start" | "middle" | "end";
|
|
516
505
|
}) => string;
|
|
517
506
|
|
|
518
507
|
declare const uniqueValues: <T>(arr: T[]) => T[];
|
|
@@ -531,6 +520,11 @@ declare const isOutside: (value: number, min: number, max: number) => boolean;
|
|
|
531
520
|
|
|
532
521
|
declare const isStrictlyBetween: (value: number, min: number, max: number) => boolean;
|
|
533
522
|
|
|
523
|
+
/**
|
|
524
|
+
* Returns the maximum value in an array of numbers.
|
|
525
|
+
* @param values - The array of numbers to find the maximum value of.
|
|
526
|
+
* @returns The maximum value in the array. If the array is empty, returns 0.
|
|
527
|
+
*/
|
|
534
528
|
declare const max: (values: number[]) => number;
|
|
535
529
|
|
|
536
530
|
declare const min: (values: number[]) => number;
|
|
@@ -586,13 +580,13 @@ declare const randomAddress: () => RandomAddress;
|
|
|
586
580
|
* randomAlphaNumericCode(); => "A2G4G6"
|
|
587
581
|
*/
|
|
588
582
|
declare const randomAlphaNumericCode: ({ length, }?: {
|
|
589
|
-
length?: number
|
|
583
|
+
length?: number;
|
|
590
584
|
}) => string;
|
|
591
585
|
|
|
592
586
|
declare const randomArray: () => (string | number | boolean | symbol | Date | BigInt)[];
|
|
593
587
|
|
|
594
588
|
declare const randomArrayItem: <T>(array: T[], { weights }?: {
|
|
595
|
-
weights?: number[]
|
|
589
|
+
weights?: number[];
|
|
596
590
|
}) => T;
|
|
597
591
|
|
|
598
592
|
type BankAccount = {
|
|
@@ -640,21 +634,21 @@ declare const randomDateRange: () => {
|
|
|
640
634
|
};
|
|
641
635
|
|
|
642
636
|
declare const randomEmail: ({ handle, handleSuffix, }?: {
|
|
643
|
-
handle?: string
|
|
644
|
-
handleSuffix?: string
|
|
637
|
+
handle?: string;
|
|
638
|
+
handleSuffix?: string;
|
|
645
639
|
}) => string;
|
|
646
640
|
|
|
647
641
|
declare const randomEmoji: () => string;
|
|
648
642
|
|
|
649
643
|
declare const randomEmptyValue: () => number | null | undefined;
|
|
650
644
|
|
|
651
|
-
declare const randomEnumKey: <T extends object>(arg: T) =>
|
|
645
|
+
declare const randomEnumKey: <T extends object>(arg: T) => ObjectKey<T>;
|
|
652
646
|
|
|
653
647
|
declare const randomEnumValue: <T extends object>(arg: T) => ObjectValue<T>;
|
|
654
648
|
|
|
655
649
|
declare const randomFile: ({ name, extension, }?: {
|
|
656
|
-
name?: string
|
|
657
|
-
extension?: string
|
|
650
|
+
name?: string;
|
|
651
|
+
extension?: string;
|
|
658
652
|
}) => File | undefined;
|
|
659
653
|
|
|
660
654
|
declare const JS_MAX_DIGITS = 16;
|
|
@@ -666,7 +660,7 @@ declare const randomFloat: (min?: number, max?: number, decimals?: number) => nu
|
|
|
666
660
|
* @example "john.doe15"
|
|
667
661
|
*/
|
|
668
662
|
declare const randomHandle: ({ suffix }?: {
|
|
669
|
-
suffix?: string
|
|
663
|
+
suffix?: string;
|
|
670
664
|
}) => string;
|
|
671
665
|
|
|
672
666
|
declare const randomHexColor: () => string;
|
|
@@ -678,17 +672,17 @@ declare const randomHtmlColorName: () => string;
|
|
|
678
672
|
declare const randomIBAN: () => string;
|
|
679
673
|
|
|
680
674
|
declare const randomInt: ({ min, max, }?: {
|
|
681
|
-
min?: number
|
|
682
|
-
max?: number
|
|
675
|
+
min?: number;
|
|
676
|
+
max?: number;
|
|
683
677
|
}) => number;
|
|
684
678
|
declare const randomBigInt: () => BigInt;
|
|
685
679
|
declare const randomPositiveInt: ({ min, max, }?: {
|
|
686
|
-
min?: number
|
|
687
|
-
max?: number
|
|
680
|
+
min?: number;
|
|
681
|
+
max?: number;
|
|
688
682
|
}) => number;
|
|
689
683
|
declare const randomNegativeInt: ({ min, max, }?: {
|
|
690
|
-
min?: number
|
|
691
|
-
max?: number
|
|
684
|
+
min?: number;
|
|
685
|
+
max?: number;
|
|
692
686
|
}) => number;
|
|
693
687
|
declare const randomMaxSafeInt: () => number;
|
|
694
688
|
declare const randomMaxInt: () => number;
|
|
@@ -712,13 +706,13 @@ declare const randomFullName: () => string;
|
|
|
712
706
|
* randomNumericCode({ length: 4 }); => "1234"
|
|
713
707
|
*/
|
|
714
708
|
declare const randomNumericCode: ({ length }?: {
|
|
715
|
-
length?: number
|
|
709
|
+
length?: number;
|
|
716
710
|
}) => string;
|
|
717
711
|
|
|
718
712
|
declare const randomObject: ({ maxDepth, circular, }?: {
|
|
719
|
-
maxDepth?: number
|
|
720
|
-
circular?: boolean
|
|
721
|
-
}) => PlainObject
|
|
713
|
+
maxDepth?: number;
|
|
714
|
+
circular?: boolean;
|
|
715
|
+
}) => PlainObject;
|
|
722
716
|
|
|
723
717
|
/**
|
|
724
718
|
* Generates a random paragraph of text.
|
|
@@ -727,24 +721,24 @@ declare const randomObject: ({ maxDepth, circular, }?: {
|
|
|
727
721
|
* @returns A random paragraph of text.
|
|
728
722
|
*/
|
|
729
723
|
declare const randomParagraph: ({ maxCharacters, minWords, maxWords, }?: {
|
|
730
|
-
maxCharacters?: number
|
|
731
|
-
minWords?: number
|
|
732
|
-
maxWords?: number
|
|
724
|
+
maxCharacters?: number;
|
|
725
|
+
minWords?: number;
|
|
726
|
+
maxWords?: number;
|
|
733
727
|
}) => string;
|
|
734
728
|
|
|
735
729
|
declare const randomPassword: ({ minChars, maxChars, }?: {
|
|
736
|
-
minChars?: number
|
|
737
|
-
maxChars?: number
|
|
730
|
+
minChars?: number;
|
|
731
|
+
maxChars?: number;
|
|
738
732
|
}) => string;
|
|
739
733
|
|
|
740
734
|
declare const randomPath: ({ depth, }?: {
|
|
741
|
-
depth?: number
|
|
735
|
+
depth?: number;
|
|
742
736
|
}) => string;
|
|
743
737
|
|
|
744
738
|
declare const randomPhoneNumber: () => string;
|
|
745
739
|
|
|
746
740
|
declare const randomString: ({ length, }?: {
|
|
747
|
-
length?: number
|
|
741
|
+
length?: number;
|
|
748
742
|
}) => string;
|
|
749
743
|
|
|
750
744
|
declare const randomSymbol: () => symbol;
|
|
@@ -796,7 +790,8 @@ declare const isFutureDate: (arg: DateLike) => boolean;
|
|
|
796
790
|
|
|
797
791
|
declare const isJsDate: (arg: Date) => arg is Date;
|
|
798
792
|
|
|
799
|
-
declare const isKey: <T extends PlainObject
|
|
793
|
+
declare const isKey: <T extends PlainObject>(key: Key, // cannot use PlainKey here because it does not include symbol (keyof T does)
|
|
794
|
+
obj: T) => key is keyof T;
|
|
800
795
|
|
|
801
796
|
declare const isLastIndex: (index: number, array: any[]) => boolean;
|
|
802
797
|
|
|
@@ -805,15 +800,7 @@ declare const isNotEmptyString: (arg: any) => boolean;
|
|
|
805
800
|
declare const isInt: (arg: any) => boolean;
|
|
806
801
|
declare const isEven: (arg: any) => boolean;
|
|
807
802
|
declare const isOdd: (arg: any) => boolean;
|
|
808
|
-
/**
|
|
809
|
-
* @deprecated use isPositiveInt instead
|
|
810
|
-
*/
|
|
811
|
-
declare const isPositive: (arg: any) => boolean;
|
|
812
803
|
declare const isPositiveInt: (arg: any) => boolean;
|
|
813
|
-
/**
|
|
814
|
-
* @deprecated use isNegativeInt instead
|
|
815
|
-
*/
|
|
816
|
-
declare const isNegative: (arg: any) => boolean;
|
|
817
804
|
declare const isNegativeInt: (arg: any) => boolean;
|
|
818
805
|
declare const isNumber: (arg: any) => arg is number;
|
|
819
806
|
declare const isBigInt: (arg: any) => arg is BigInt;
|
|
@@ -837,7 +824,7 @@ declare const isObject: <T>(arg?: any) => arg is PlainObject<T>;
|
|
|
837
824
|
|
|
838
825
|
declare const isPastDate: (arg: DateLike) => boolean;
|
|
839
826
|
|
|
840
|
-
declare const isPromise: (arg: any) =>
|
|
827
|
+
declare const isPromise: (arg: any) => arg is Promise<any>;
|
|
841
828
|
|
|
842
829
|
declare const isPWA: () => boolean;
|
|
843
830
|
|
|
@@ -871,4 +858,4 @@ declare const isUUID: (arg: string) => boolean;
|
|
|
871
858
|
|
|
872
859
|
declare const isValue: <T>(arg?: Maybe<T>) => arg is T;
|
|
873
860
|
|
|
874
|
-
export { BoolMap, Coords, DateLike, DateRange, DateSeries, Datey, Defined, Dimensions, HashMap, ISODate, ISODay, ISOMonth, ISOYear, JS_MAX_DIGITS, Key, Matrix, Maybe, MaybePromise, MaybePromiseOrValue, MaybePromiseOrValueArray, NonUndefined, NumberMap, ObjectEntries, ObjectEntry, ObjectKey, ObjectKeys, ObjectValue, ObjectValues, PickDefined, PickRequired, PlainKey, PlainObject, Point, PrismaSelect, Serialized, StringMap, Timezone, TrueMap, VoidFn, array, arrayDiff, arrayIntersection, average, capitalize, chunkArray, chunkedAll, chunkedAsync, chunkedDynamic, clamp, cleanSpaces, cyclicalItem, dir, enumKeys, enumValues, filterAlphanumeric, first, firstKey, firstValue, formatCamelCase, formatCookies, formatIndexProgress, formatNumber, formatPercentage,
|
|
861
|
+
export { type BoolMap, type Coords, type DateLike, type DateRange, type DateSeries, type Datey, type Defined, type Dimensions, type HashMap, type ISODate, type ISODay, type ISOMonth, type ISOYear, JS_MAX_DIGITS, type Key, type Matrix, type Maybe, type MaybePromise, type MaybePromiseOrValue, type MaybePromiseOrValueArray, type NonUndefined, type NumberMap, type ObjectEntries, type ObjectEntry, type ObjectKey, type ObjectKeys, type ObjectValue, type ObjectValues, type PickDefined, type PickRequired, type PlainKey, type PlainObject, type Point, type PrismaSelect, type Serialized, type StringMap, type Timezone, type TrueMap, type VoidFn, array, arrayDiff, arrayIntersection, average, bucketSortedDates, capitalize, chunkArray, chunkedAll, chunkedAsync, chunkedDynamic, clamp, cleanSpaces, cyclicalItem, dir, enumKeys, enumValues, filterAlphanumeric, first, firstKey, firstValue, formatCamelCase, formatCookies, formatIndexProgress, formatNumber, formatPercentage, formatTrpcInputQueryString, getCookieByName, getDateRangeSeries, getDateSeriesRange, getKeys, getUrlSearchParam, getUrlSearchParams, groupByKey, incrementalId, isArray, isArrayIncluded, isBetween, isBigInt, isBigIntString, isBoolean, isBrowser, isBuffer, isClient, isEmail, isEmpty, isEmptyArray, isEmptyObject, isEmptyString, isEven, isFile, isFunction, isFutureDate, isInt, isJsDate, isKey, isLastIndex, isNegativeInt, isNotEmptyString, isNumber, isNumeric, isNumericId, isObject, isOdd, isOutside, isOutsideInt4, isOver18, isPWA, isPastDate, isPositiveInt, isPromise, isReactElement, isRegExp, isSame, isSequence, isServer, isSpacedString, isStrictlyBetween, isString, isStringDate, isURL, isUUID, isValue, keysLength, last, lastIndex, mapByKey, max, merge, mergeArrays, min, moveToFirst, moveToLast, multiply, noop, normaliseArray, normaliseNumber, normalizeNumber, objectDiff, omit, parseDate, percentageChange, pickObjectKeys, pickObjectValues, pluck, prismaDateRange, promiseWithTimeout, randomAddress, randomAlphaNumericCode, randomArray, randomArrayItem, randomBankAccount, randomBigInt, randomBool, randomChar, randomCompany, randomCoords, randomDate, randomDateRange, randomEmail, randomEmoji, randomEmptyValue, randomEnumKey, randomEnumValue, randomFile, randomFirstName, randomFloat, randomFormattedPercentage, randomFullName, randomFutureDate, randomHandle, randomHexColor, randomHexValue, randomHtmlColorName, randomIBAN, randomIP, randomInt, randomLastName, randomLat, randomLng, randomMaxDate, randomMaxInt, randomMaxSafeInt, randomName, randomNegativeInt, randomNoun, randomNumericCode, randomObject, randomParagraph, randomPassword, randomPastDate, randomPath, randomPhoneNumber, randomPositiveInt, randomString, randomSymbol, randomUUID, randomValue, randomVerb, randomWord, removeUndefinedValues, scrambleText, serialize, seriesAsync, setObjectPath, setUrlSearchParams, shuffle, sleep, startOfDay, startOfNextMonth, startOfNextWeek, startOfThisWeek, startOfToday, startOfTomorrow, startOfUTCDay, startOfUTCTomorrow, stringToCSSUnicode, stringToUnicode, stringify, sum, toggleArrayValue, truncate, uniqueValues };
|