typetify 2.0.0 → 2.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.
Files changed (47) hide show
  1. package/dist/chunk-7G4ZSMQX.js +470 -0
  2. package/dist/chunk-7G4ZSMQX.js.map +1 -0
  3. package/dist/chunk-CWHYQWNU.mjs +224 -0
  4. package/dist/chunk-CWHYQWNU.mjs.map +1 -0
  5. package/dist/{chunk-JAOGY4JO.mjs → chunk-FEX5C4OH.mjs} +2 -2
  6. package/dist/chunk-FEX5C4OH.mjs.map +1 -0
  7. package/dist/chunk-FN553YPU.js +441 -0
  8. package/dist/chunk-FN553YPU.js.map +1 -0
  9. package/dist/chunk-FT2EK4AM.mjs +420 -0
  10. package/dist/chunk-FT2EK4AM.mjs.map +1 -0
  11. package/dist/chunk-N6IUADIP.mjs +414 -0
  12. package/dist/chunk-N6IUADIP.mjs.map +1 -0
  13. package/dist/chunk-OKB3MS5F.js +547 -0
  14. package/dist/chunk-OKB3MS5F.js.map +1 -0
  15. package/dist/chunk-POD52NJ3.mjs +526 -0
  16. package/dist/chunk-POD52NJ3.mjs.map +1 -0
  17. package/dist/{chunk-SIA5BSVY.js → chunk-S535LAXW.js} +2 -2
  18. package/dist/chunk-S535LAXW.js.map +1 -0
  19. package/dist/chunk-X55EORNF.js +259 -0
  20. package/dist/chunk-X55EORNF.js.map +1 -0
  21. package/dist/index.d.mts +143 -24
  22. package/dist/index.d.ts +143 -24
  23. package/dist/index.js +17 -8
  24. package/dist/index.js.map +1 -1
  25. package/dist/index.mjs +10 -1
  26. package/dist/index.mjs.map +1 -1
  27. package/dist/iterator/index.js +77 -514
  28. package/dist/iterator/index.js.map +1 -1
  29. package/dist/iterator/index.mjs +1 -499
  30. package/dist/iterator/index.mjs.map +1 -1
  31. package/dist/logic/index.js +193 -408
  32. package/dist/logic/index.js.map +1 -1
  33. package/dist/logic/index.mjs +1 -364
  34. package/dist/logic/index.mjs.map +1 -1
  35. package/dist/narrowing/index.js +133 -212
  36. package/dist/narrowing/index.js.map +1 -1
  37. package/dist/narrowing/index.mjs +1 -183
  38. package/dist/narrowing/index.mjs.map +1 -1
  39. package/dist/schema/index.js +102 -402
  40. package/dist/schema/index.js.map +1 -1
  41. package/dist/schema/index.mjs +2 -381
  42. package/dist/schema/index.mjs.map +1 -1
  43. package/dist/typed/index.js +47 -47
  44. package/dist/typed/index.mjs +1 -1
  45. package/package.json +1 -1
  46. package/dist/chunk-JAOGY4JO.mjs.map +0 -1
  47. package/dist/chunk-SIA5BSVY.js.map +0 -1
package/dist/index.d.mts CHANGED
@@ -1,13 +1,17 @@
1
- import { isDefined, isNil, assert, assertDefined, fail, noop, identity, unreachable } from './core/index.mjs';
2
- import { isObject, isPlainObject, isString, isNumber, isBoolean, isFunction, isArray, isDate, isPromise, isError, isSymbol, hasKey, hasKeys, isEmpty, isNonEmpty, castArray, cloneWith, cloneDeepWith, conformsTo, eq, gt, gte, lt, lte, isArguments, isArrayBuffer, isArrayLike, isArrayLikeObject, isBuffer, isElement, isEqualWith, isFinite, isInteger, isLength, isMap, isMatch, isMatchWith, isNaN, isNative, isNull, isUndefined, isObjectLike, isRegExp, isSafeInteger, isSet, isTypedArray, isWeakMap, isWeakSet, toArray, toFinite, toInteger, toLength, toNumber, toPlainObject, toSafeInteger, toString } from './guards/index.mjs';
3
- import { pick, omit, keysTyped, valuesTyped, entriesTyped, fromEntriesTyped, mapObject, filterObject, mergeShallow, clone, cloneDeep, get, set, invert, deepMerge, isEqual, has, unset, paths, transform, deepGet, deepGetOr, deepSet, deepHas, deepPath, deepPluck } from './object/index.mjs';
1
+ import { isDefined, isNil, assert, fail, noop, identity, unreachable } from './core/index.mjs';
2
+ export { assertDefined } from './core/index.mjs';
3
+ import { isObject, isPlainObject, isString, isNumber, isBoolean, isFunction, isArray, isDate, isPromise, isError, isSymbol, hasKey, hasKeys, isEmpty, isNonEmpty, castArray, cloneWith, cloneDeepWith, conformsTo, eq, gt, gte, lt, lte, isArguments, isArrayBuffer, isArrayLike, isArrayLikeObject, isBuffer, isElement, isEqualWith, isFinite, isInteger, isLength, isMap, isMatch, isMatchWith, isNaN, isNative, isNull, isUndefined, isObjectLike, isRegExp, isSafeInteger, isSet, isTypedArray, isWeakMap, isWeakSet, toFinite, toInteger, toLength, toNumber, toPlainObject, toSafeInteger, toString } from './guards/index.mjs';
4
+ export { toArray } from './guards/index.mjs';
5
+ import { pick, omit, keysTyped, valuesTyped, entriesTyped, fromEntriesTyped, mapObject, filterObject, mergeShallow, clone, cloneDeep, set, invert, deepMerge, isEqual, has, unset, paths, transform, deepGet, deepGetOr, deepSet, deepHas, deepPath, deepPluck } from './object/index.mjs';
6
+ export { get } from './object/index.mjs';
4
7
  import { awaitTo, sleep, withTimeout, retry, debounce, throttle, once, onceAsync, defer, parallel } from './async/index.mjs';
5
8
  export { Deferred, RetryOptions } from './async/index.mjs';
6
- import { unique, groupBy, indexBy, partition, chunk, compact, flatten, sortBy, first, last, range, shuffle, sample, zip, unzip, difference, intersection, take, drop, takeWhile, dropWhile, findLast, countBy, maxBy, minBy, sumBy, head, tail, init } from './collection/index.mjs';
9
+ import { unique, groupBy, indexBy, partition, chunk as chunk$1, compact, flatten as flatten$1, sortBy, first, last, range as range$1, shuffle, sample, zip as zip$1, unzip, difference, take as take$1, drop, takeWhile, dropWhile, findLast, countBy, maxBy, minBy, sumBy, head, tail, init } from './collection/index.mjs';
10
+ export { intersection } from './collection/index.mjs';
7
11
  import { safeJsonParse, safeJsonStringify, parseNumber, parseInteger, parseBoolean, parseDate, coerceString, coerceArray, trimAll, defaults, clamp, isEmail, isUrl, isUuid, isIpAddress, parseUrl } from './input/index.mjs';
8
12
  export { JsonParseResult, JsonStringifyResult } from './input/index.mjs';
9
- import { tap, when, unless, match, tryCatch, tryCatchAsync, ifElse, constant } from './flow/index.mjs';
10
- export { TryCatchAsyncResult, TryCatchResult, compose, pipe } from './flow/index.mjs';
13
+ import { tap, match, tryCatch, tryCatchAsync, constant } from './flow/index.mjs';
14
+ export { TryCatchAsyncResult, TryCatchResult, compose, ifElse, pipe, unless, when } from './flow/index.mjs';
11
15
  import { debug, invariant, assertNever, exhaustive, todo, deprecated, measure, measureAsync, setLogLevel, getLogLevel } from './dx/index.mjs';
12
16
  export { LogLevel, MeasureResult, log } from './dx/index.mjs';
13
17
  export { A as ArrayElement, b as Awaited, B as Brand, c as DeepPartial, d as DeepReadonly, e as DeepRequired, f as Dictionary, E as ElementOf, g as EnumValue, K as KeysOfType, M as Merge, i as Mutable, j as NonNullableDeep, k as Nullable, O as Optional, l as OptionalKeys, n as PartialBy, P as Prettify, o as PromiseValue, R as ReadonlyDictionary, p as RequireAtLeastOne, q as RequireExactlyOne, r as RequireKeys, s as RequiredBy, U as UnionToIntersection, V as ValueOf, u as brand, v as createMap, w as createSet, x as defineConst, y as defineEnum, z as defineTuple, C as narrow } from './types-CPlzx7Jp.mjs';
@@ -16,8 +20,13 @@ import { negate, flip, partial, curry, ary, unary } from './fn/index.mjs';
16
20
  export { memoize } from './fn/index.mjs';
17
21
  import { sum, average, median, round, randomInt, randomFloat, percentage, min, max } from './math/index.mjs';
18
22
  export { E as Err, N as None, O as Ok, a as Option, R as Result, S as Some } from './types-VsDp2t8s.mjs';
19
- import { ok, err, some, none, mapResult, mapOption, mapErr, andThen, orElse, matchResult, matchOption, isOk, isErr, unwrap, unwrapOption, unwrapOr, unwrapOptionOr, fromNullable, toNullable } from './result/index.mjs';
23
+ import { ok, err, some as some$1, none, mapResult, mapOption, mapErr, orElse, matchResult, matchOption, isOk, isErr, unwrapOption, unwrapOr, unwrapOptionOr, fromNullable, toNullable } from './result/index.mjs';
24
+ export { andThen, unwrap } from './result/index.mjs';
20
25
  import { Memoize, Debounce, Throttle, Bind, Log, Measure, Retry, Deprecated, Sealed, Frozen, Validate, Lazy } from './decorator/index.mjs';
26
+ import { when, whenValue, unless, unlessValue, ifElse, ifElseLazy, cond, condLazy, condBy, matchValue, matchWithDefault, matchLazy, matchType, and, allTrue, andThen, or, anyTrue, orThen, notFn, coalesce, coalesceLazy, defaultTo, defaultToLazy, defaultToIf, defaultToIfEmpty, firstTruthy, firstWhere, firstDefined, allTruthy, allWhere, allDefined, get, getTyped, getPath, getOr, getPathOr, getOrLazy, tryGet, tryGetOr, tryGetResult, safe, unwrap, chain, optionalOr, optionalChain } from './logic/index.mjs';
27
+ import { createIterator, lazyRange as range, lazyMap as map, lazyFilter as filter, lazyTake as take, lazySkip as skip, lazyChunk as chunk, lazyFlatten as flatten, lazyZip as zip, enumerate, cycle, repeat, fromAsync, toArray, iterReduce as reduce, iterForEach as forEach, iterFind as find, iterSome as some, iterEvery as every } from './iterator/index.mjs';
28
+ import { filterDefined, filterDefinedFn, filterTruthy, filterTruthyFn, filterByGuard, filterByRefinement, filterBy, partitionByGuard, assertType, assertDefined, assertNotNull, assertCondition, createAssertion, narrowUnion, createDiscriminantGuard, switchUnion, exhaustiveCheck, excludeNull, excludeUndefined, excludeNullish, withDefault, withDefaultLazy, mapNullable, chainNullable, refine, oneOf, allOf, not, arrayOf, objectOf } from './narrowing/index.mjs';
29
+ import { string, number, boolean, literal, array, object, optional, nullable, union as union$1, intersection, record, tuple, unknownSchema as unknown, anySchema as any, date, email, url, uuid, parse, safeParse, validate, is, parseJson, createGuard, createParser } from './schema/index.mjs';
21
30
 
22
31
  /**
23
32
  * Type-Safe Environment Variables
@@ -1338,6 +1347,126 @@ declare const _: {
1338
1347
  batch: typeof batch;
1339
1348
  createUndoableState: typeof createUndoableState;
1340
1349
  createAutoUndoableState: typeof createAutoUndoableState;
1350
+ string: typeof string;
1351
+ number: typeof number;
1352
+ boolean: typeof boolean;
1353
+ literal: typeof literal;
1354
+ array: typeof array;
1355
+ object: typeof object;
1356
+ optional: typeof optional;
1357
+ nullable: typeof nullable;
1358
+ union: typeof union$1;
1359
+ intersection: typeof intersection;
1360
+ record: typeof record;
1361
+ tuple: typeof tuple;
1362
+ unknownSchema: typeof unknown;
1363
+ anySchema: typeof any;
1364
+ date: typeof date;
1365
+ email: typeof email;
1366
+ url: typeof url;
1367
+ uuid: typeof uuid;
1368
+ parse: typeof parse;
1369
+ safeParse: typeof safeParse;
1370
+ validate: typeof validate;
1371
+ is: typeof is;
1372
+ parseJson: typeof parseJson;
1373
+ createGuard: typeof createGuard;
1374
+ createParser: typeof createParser;
1375
+ filterDefined: typeof filterDefined;
1376
+ filterDefinedFn: typeof filterDefinedFn;
1377
+ filterTruthy: typeof filterTruthy;
1378
+ filterTruthyFn: typeof filterTruthyFn;
1379
+ filterByGuard: typeof filterByGuard;
1380
+ filterByRefinement: typeof filterByRefinement;
1381
+ filterBy: typeof filterBy;
1382
+ partitionByGuard: typeof partitionByGuard;
1383
+ assertType: typeof assertType;
1384
+ assertDefined: typeof assertDefined;
1385
+ assertNotNull: typeof assertNotNull;
1386
+ assertCondition: typeof assertCondition;
1387
+ createAssertion: typeof createAssertion;
1388
+ narrowUnion: typeof narrowUnion;
1389
+ createDiscriminantGuard: typeof createDiscriminantGuard;
1390
+ switchUnion: typeof switchUnion;
1391
+ exhaustiveCheck: typeof exhaustiveCheck;
1392
+ excludeNull: typeof excludeNull;
1393
+ excludeUndefined: typeof excludeUndefined;
1394
+ excludeNullish: typeof excludeNullish;
1395
+ withDefault: typeof withDefault;
1396
+ withDefaultLazy: typeof withDefaultLazy;
1397
+ mapNullable: typeof mapNullable;
1398
+ chainNullable: typeof chainNullable;
1399
+ refine: typeof refine;
1400
+ oneOf: typeof oneOf;
1401
+ allOf: typeof allOf;
1402
+ not: typeof not;
1403
+ arrayOf: typeof arrayOf;
1404
+ objectOf: typeof objectOf;
1405
+ createIterator: typeof createIterator;
1406
+ lazyRange: typeof range;
1407
+ lazyMap: typeof map;
1408
+ lazyFilter: typeof filter;
1409
+ lazyTake: typeof take;
1410
+ lazySkip: typeof skip;
1411
+ lazyChunk: typeof chunk;
1412
+ lazyFlatten: typeof flatten;
1413
+ lazyZip: typeof zip;
1414
+ enumerate: typeof enumerate;
1415
+ cycle: typeof cycle;
1416
+ repeat: typeof repeat;
1417
+ fromAsync: typeof fromAsync;
1418
+ toArray: typeof toArray;
1419
+ iterReduce: typeof reduce;
1420
+ iterForEach: typeof forEach;
1421
+ iterFind: typeof find;
1422
+ iterSome: typeof some;
1423
+ iterEvery: typeof every;
1424
+ when: typeof when;
1425
+ whenValue: typeof whenValue;
1426
+ unless: typeof unless;
1427
+ unlessValue: typeof unlessValue;
1428
+ ifElse: typeof ifElse;
1429
+ ifElseLazy: typeof ifElseLazy;
1430
+ cond: typeof cond;
1431
+ condLazy: typeof condLazy;
1432
+ condBy: typeof condBy;
1433
+ matchValue: typeof matchValue;
1434
+ matchWithDefault: typeof matchWithDefault;
1435
+ matchLazy: typeof matchLazy;
1436
+ matchType: typeof matchType;
1437
+ and: typeof and;
1438
+ allTrue: typeof allTrue;
1439
+ andThen: typeof andThen;
1440
+ or: typeof or;
1441
+ anyTrue: typeof anyTrue;
1442
+ orThen: typeof orThen;
1443
+ notFn: typeof notFn;
1444
+ coalesce: typeof coalesce;
1445
+ coalesceLazy: typeof coalesceLazy;
1446
+ defaultTo: typeof defaultTo;
1447
+ defaultToLazy: typeof defaultToLazy;
1448
+ defaultToIf: typeof defaultToIf;
1449
+ defaultToIfEmpty: typeof defaultToIfEmpty;
1450
+ firstTruthy: typeof firstTruthy;
1451
+ firstWhere: typeof firstWhere;
1452
+ firstDefined: typeof firstDefined;
1453
+ allTruthy: typeof allTruthy;
1454
+ allWhere: typeof allWhere;
1455
+ allDefined: typeof allDefined;
1456
+ get: typeof get;
1457
+ getTyped: typeof getTyped;
1458
+ getPath: typeof getPath;
1459
+ getOr: typeof getOr;
1460
+ getPathOr: typeof getPathOr;
1461
+ getOrLazy: typeof getOrLazy;
1462
+ tryGet: typeof tryGet;
1463
+ tryGetOr: typeof tryGetOr;
1464
+ tryGetResult: typeof tryGetResult;
1465
+ safe: typeof safe;
1466
+ unwrap: typeof unwrap;
1467
+ chain: typeof chain;
1468
+ optionalOr: typeof optionalOr;
1469
+ optionalChain: typeof optionalChain;
1341
1470
  concat: typeof concat;
1342
1471
  differenceBy: typeof differenceBy;
1343
1472
  differenceWith: typeof differenceWith;
@@ -1373,7 +1502,6 @@ declare const _: {
1373
1502
  sortedUniqBy: typeof sortedUniqBy;
1374
1503
  takeRight: typeof takeRight;
1375
1504
  takeRightWhile: typeof takeRightWhile;
1376
- union: typeof union;
1377
1505
  unionBy: typeof unionBy;
1378
1506
  unionWith: typeof unionWith;
1379
1507
  uniqBy: typeof uniqBy;
@@ -1400,18 +1528,16 @@ declare const _: {
1400
1528
  Lazy: typeof Lazy;
1401
1529
  ok: typeof ok;
1402
1530
  err: typeof err;
1403
- some: typeof some;
1531
+ some: typeof some$1;
1404
1532
  none: typeof none;
1405
1533
  mapResult: typeof mapResult;
1406
1534
  mapOption: typeof mapOption;
1407
1535
  mapErr: typeof mapErr;
1408
- andThen: typeof andThen;
1409
1536
  orElse: typeof orElse;
1410
1537
  matchResult: typeof matchResult;
1411
1538
  matchOption: typeof matchOption;
1412
1539
  isOk: typeof isOk;
1413
1540
  isErr: typeof isErr;
1414
- unwrap: typeof unwrap;
1415
1541
  unwrapOption: typeof unwrapOption;
1416
1542
  unwrapOr: typeof unwrapOr;
1417
1543
  unwrapOptionOr: typeof unwrapOptionOr;
@@ -1459,12 +1585,9 @@ declare const _: {
1459
1585
  setLogLevel: typeof setLogLevel;
1460
1586
  getLogLevel: typeof getLogLevel;
1461
1587
  tap: typeof tap;
1462
- when: typeof when;
1463
- unless: typeof unless;
1464
1588
  match: typeof match;
1465
1589
  tryCatch: typeof tryCatch;
1466
1590
  tryCatchAsync: typeof tryCatchAsync;
1467
- ifElse: typeof ifElse;
1468
1591
  constant: typeof constant;
1469
1592
  safeJsonParse: typeof safeJsonParse;
1470
1593
  safeJsonStringify: typeof safeJsonStringify;
@@ -1486,20 +1609,19 @@ declare const _: {
1486
1609
  groupBy: typeof groupBy;
1487
1610
  indexBy: typeof indexBy;
1488
1611
  partition: typeof partition;
1489
- chunk: typeof chunk;
1612
+ chunk: typeof chunk$1;
1490
1613
  compact: typeof compact;
1491
- flatten: typeof flatten;
1614
+ flatten: typeof flatten$1;
1492
1615
  sortBy: typeof sortBy;
1493
1616
  first: typeof first;
1494
1617
  last: typeof last;
1495
- range: typeof range;
1618
+ range: typeof range$1;
1496
1619
  shuffle: typeof shuffle;
1497
1620
  sample: typeof sample;
1498
- zip: typeof zip;
1621
+ zip: typeof zip$1;
1499
1622
  unzip: typeof unzip;
1500
1623
  difference: typeof difference;
1501
- intersection: typeof intersection;
1502
- take: typeof take;
1624
+ take: typeof take$1;
1503
1625
  drop: typeof drop;
1504
1626
  takeWhile: typeof takeWhile;
1505
1627
  dropWhile: typeof dropWhile;
@@ -1532,7 +1654,6 @@ declare const _: {
1532
1654
  mergeShallow: typeof mergeShallow;
1533
1655
  clone: typeof clone;
1534
1656
  cloneDeep: typeof cloneDeep;
1535
- get: typeof get;
1536
1657
  set: typeof set;
1537
1658
  invert: typeof invert;
1538
1659
  deepMerge: typeof deepMerge;
@@ -1595,7 +1716,6 @@ declare const _: {
1595
1716
  isTypedArray: typeof isTypedArray;
1596
1717
  isWeakMap: typeof isWeakMap;
1597
1718
  isWeakSet: typeof isWeakSet;
1598
- toArray: typeof toArray;
1599
1719
  toFinite: typeof toFinite;
1600
1720
  toInteger: typeof toInteger;
1601
1721
  toLength: typeof toLength;
@@ -1606,11 +1726,10 @@ declare const _: {
1606
1726
  isDefined: typeof isDefined;
1607
1727
  isNil: typeof isNil;
1608
1728
  assert: typeof assert;
1609
- assertDefined: typeof assertDefined;
1610
1729
  fail: typeof fail;
1611
1730
  noop: typeof noop;
1612
1731
  identity: typeof identity;
1613
1732
  unreachable: typeof unreachable;
1614
1733
  };
1615
1734
 
1616
- export { Bind, type CacheOptions, type Container, Debounce, Deprecated, type EventBus, type FeatureFlags, type FieldState, type FormState, Frozen, Lazy, Log, Measure, Memoize, type Middleware, type MiddlewarePipeline, type ReadonlySignal, Retry, type Route, type Router, Sealed, type Signal, Throttle, type UndoableOptions, type UndoableState, Validate, _, andThen, ary, assert, assertDefined, assertNever, average, awaitTo, batch, camelCase, capitalize, castArray, chunk, clamp, clone, cloneDeep, cloneDeepWith, cloneWith, coerceArray, coerceString, compact, compose as composeMiddleware, computed, concat, conformsTo, constant, countBy, createAutoUndoableState, createContainer, createEnv, createEventBus, createFeatureFlags, createForm, createMiddleware, createRouter, createTypedContainer, createTypedEmitter, createUndoableState, curry, debounce, debug, deepMerge, _ as default, defaults, defer, deprecated, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, effect, entriesTyped, env, eq, err, exhaustive, fail, field, fill, filterObject, findIndex, findLast, findLastIndex, first, flag, flatten, flattenDeep, flattenDepth, flip, flow, fromEntriesTyped, fromNullable, fromPairs, get, getLogLevel, groupBy, gt, gte, has, hasKey, hasKeys, head, identity, ifElse, indexBy, indexOf, init, intersection, intersectionBy, intersectionWith, invariant, invert, isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isBoolean, isBuffer, isDate, isDefined, isElement, isEmail, isEmpty, isEqual, isEqualWith, isErr, isError, isFinite, isFunction, isInteger, isIpAddress, isLength, isMap, isMatch, isMatchWith, isNaN, isNative, isNil, isNonEmpty, isNull, isNumber, isObject, isObjectLike, isOk, isPlainObject, isPromise, isRegExp, isSafeInteger, isSet, isString, isSymbol, isTypedArray, isUndefined, isUrl, isUuid, isWeakMap, isWeakSet, join, kebabCase, keysTyped, last, lastIndexOf, lt, lte, mapErr, mapObject, mapOption, mapResult, match, matchOption, matchResult, max, maxBy, measure, measureAsync, median, mergeShallow, min, minBy, negate, none, noop, nth, ok, omit, once, onceAsync, orElse, parallel, parseBoolean, parseDate, parseInteger, parseNumber, parseUrl, partial, partition, pascalCase, paths, percentage, pick, pipeAsync, pipe as pipeValue, pull, pullAll, pullAllBy, pullAllWith, pullAt, randomFloat, randomInt, range, remove, retry, reverse, round, route, safeJsonParse, safeJsonStringify, sample, set, setLogLevel, shuffle, signal, sleep, slice, slugify, smartCache, memoize as smartMemoize, snakeCase, some, sortBy, sortedIndex, sortedIndexBy, sortedIndexOf, sortedLastIndex, sortedLastIndexBy, sortedLastIndexOf, sortedUniq, sortedUniqBy, sum, sumBy, tail, take, takeRight, takeRightWhile, takeWhile, tap, template, throttle, toArray, toFinite, toInteger, toLength, toNullable, toNumber, toPlainObject, toSafeInteger, toString, todo, transform, trimAll, truncate, tryCatch, tryCatchAsync, unary, uncapitalize, union, unionBy, unionWith, uniqBy, uniqWith, unique, unless, unreachable, unset, unwrap, unwrapOption, unwrapOptionOr, unwrapOr, unzip, unzipWith, valuesTyped, when, withTimeout, without, words, xor, xorBy, xorWith, zip, zipObject, zipObjectDeep, zipWith };
1735
+ export { Bind, type CacheOptions, type Container, Debounce, Deprecated, type EventBus, type FeatureFlags, type FieldState, type FormState, Frozen, Lazy, Log, Measure, Memoize, type Middleware, type MiddlewarePipeline, type ReadonlySignal, Retry, type Route, type Router, Sealed, type Signal, Throttle, type UndoableOptions, type UndoableState, Validate, _, ary, assert, assertNever, average, awaitTo, batch, camelCase, capitalize, castArray, chunk$1 as chunk, clamp, clone, cloneDeep, cloneDeepWith, cloneWith, coerceArray, coerceString, compact, compose as composeMiddleware, computed, concat, conformsTo, constant, countBy, createAutoUndoableState, createContainer, createEnv, createEventBus, createFeatureFlags, createForm, createMiddleware, createRouter, createTypedContainer, createTypedEmitter, createUndoableState, curry, debounce, debug, deepMerge, _ as default, defaults, defer, deprecated, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, effect, entriesTyped, env, eq, err, exhaustive, fail, field, fill, filterObject, findIndex, findLast, findLastIndex, first, flag, flatten$1 as flatten, flattenDeep, flattenDepth, flip, flow, fromEntriesTyped, fromNullable, fromPairs, getLogLevel, groupBy, gt, gte, has, hasKey, hasKeys, head, identity, indexBy, indexOf, init, intersectionBy, intersectionWith, invariant, invert, isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isBoolean, isBuffer, isDate, isDefined, isElement, isEmail, isEmpty, isEqual, isEqualWith, isErr, isError, isFinite, isFunction, isInteger, isIpAddress, isLength, isMap, isMatch, isMatchWith, isNaN, isNative, isNil, isNonEmpty, isNull, isNumber, isObject, isObjectLike, isOk, isPlainObject, isPromise, isRegExp, isSafeInteger, isSet, isString, isSymbol, isTypedArray, isUndefined, isUrl, isUuid, isWeakMap, isWeakSet, join, kebabCase, keysTyped, last, lastIndexOf, lt, lte, mapErr, mapObject, mapOption, mapResult, match, matchOption, matchResult, max, maxBy, measure, measureAsync, median, mergeShallow, min, minBy, negate, none, noop, nth, ok, omit, once, onceAsync, orElse, parallel, parseBoolean, parseDate, parseInteger, parseNumber, parseUrl, partial, partition, pascalCase, paths, percentage, pick, pipeAsync, pipe as pipeValue, pull, pullAll, pullAllBy, pullAllWith, pullAt, randomFloat, randomInt, range$1 as range, remove, retry, reverse, round, route, safeJsonParse, safeJsonStringify, sample, set, setLogLevel, shuffle, signal, sleep, slice, slugify, smartCache, memoize as smartMemoize, snakeCase, some$1 as some, sortBy, sortedIndex, sortedIndexBy, sortedIndexOf, sortedLastIndex, sortedLastIndexBy, sortedLastIndexOf, sortedUniq, sortedUniqBy, sum, sumBy, tail, take$1 as take, takeRight, takeRightWhile, takeWhile, tap, template, throttle, toFinite, toInteger, toLength, toNullable, toNumber, toPlainObject, toSafeInteger, toString, todo, transform, trimAll, truncate, tryCatch, tryCatchAsync, unary, uncapitalize, union, unionBy, unionWith, uniqBy, uniqWith, unique, unreachable, unset, unwrapOption, unwrapOptionOr, unwrapOr, unzip, unzipWith, valuesTyped, withTimeout, without, words, xor, xorBy, xorWith, zip$1 as zip, zipObject, zipObjectDeep, zipWith };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,17 @@
1
- import { isDefined, isNil, assert, assertDefined, fail, noop, identity, unreachable } from './core/index.js';
2
- import { isObject, isPlainObject, isString, isNumber, isBoolean, isFunction, isArray, isDate, isPromise, isError, isSymbol, hasKey, hasKeys, isEmpty, isNonEmpty, castArray, cloneWith, cloneDeepWith, conformsTo, eq, gt, gte, lt, lte, isArguments, isArrayBuffer, isArrayLike, isArrayLikeObject, isBuffer, isElement, isEqualWith, isFinite, isInteger, isLength, isMap, isMatch, isMatchWith, isNaN, isNative, isNull, isUndefined, isObjectLike, isRegExp, isSafeInteger, isSet, isTypedArray, isWeakMap, isWeakSet, toArray, toFinite, toInteger, toLength, toNumber, toPlainObject, toSafeInteger, toString } from './guards/index.js';
3
- import { pick, omit, keysTyped, valuesTyped, entriesTyped, fromEntriesTyped, mapObject, filterObject, mergeShallow, clone, cloneDeep, get, set, invert, deepMerge, isEqual, has, unset, paths, transform, deepGet, deepGetOr, deepSet, deepHas, deepPath, deepPluck } from './object/index.js';
1
+ import { isDefined, isNil, assert, fail, noop, identity, unreachable } from './core/index.js';
2
+ export { assertDefined } from './core/index.js';
3
+ import { isObject, isPlainObject, isString, isNumber, isBoolean, isFunction, isArray, isDate, isPromise, isError, isSymbol, hasKey, hasKeys, isEmpty, isNonEmpty, castArray, cloneWith, cloneDeepWith, conformsTo, eq, gt, gte, lt, lte, isArguments, isArrayBuffer, isArrayLike, isArrayLikeObject, isBuffer, isElement, isEqualWith, isFinite, isInteger, isLength, isMap, isMatch, isMatchWith, isNaN, isNative, isNull, isUndefined, isObjectLike, isRegExp, isSafeInteger, isSet, isTypedArray, isWeakMap, isWeakSet, toFinite, toInteger, toLength, toNumber, toPlainObject, toSafeInteger, toString } from './guards/index.js';
4
+ export { toArray } from './guards/index.js';
5
+ import { pick, omit, keysTyped, valuesTyped, entriesTyped, fromEntriesTyped, mapObject, filterObject, mergeShallow, clone, cloneDeep, set, invert, deepMerge, isEqual, has, unset, paths, transform, deepGet, deepGetOr, deepSet, deepHas, deepPath, deepPluck } from './object/index.js';
6
+ export { get } from './object/index.js';
4
7
  import { awaitTo, sleep, withTimeout, retry, debounce, throttle, once, onceAsync, defer, parallel } from './async/index.js';
5
8
  export { Deferred, RetryOptions } from './async/index.js';
6
- import { unique, groupBy, indexBy, partition, chunk, compact, flatten, sortBy, first, last, range, shuffle, sample, zip, unzip, difference, intersection, take, drop, takeWhile, dropWhile, findLast, countBy, maxBy, minBy, sumBy, head, tail, init } from './collection/index.js';
9
+ import { unique, groupBy, indexBy, partition, chunk as chunk$1, compact, flatten as flatten$1, sortBy, first, last, range as range$1, shuffle, sample, zip as zip$1, unzip, difference, take as take$1, drop, takeWhile, dropWhile, findLast, countBy, maxBy, minBy, sumBy, head, tail, init } from './collection/index.js';
10
+ export { intersection } from './collection/index.js';
7
11
  import { safeJsonParse, safeJsonStringify, parseNumber, parseInteger, parseBoolean, parseDate, coerceString, coerceArray, trimAll, defaults, clamp, isEmail, isUrl, isUuid, isIpAddress, parseUrl } from './input/index.js';
8
12
  export { JsonParseResult, JsonStringifyResult } from './input/index.js';
9
- import { tap, when, unless, match, tryCatch, tryCatchAsync, ifElse, constant } from './flow/index.js';
10
- export { TryCatchAsyncResult, TryCatchResult, compose, pipe } from './flow/index.js';
13
+ import { tap, match, tryCatch, tryCatchAsync, constant } from './flow/index.js';
14
+ export { TryCatchAsyncResult, TryCatchResult, compose, ifElse, pipe, unless, when } from './flow/index.js';
11
15
  import { debug, invariant, assertNever, exhaustive, todo, deprecated, measure, measureAsync, setLogLevel, getLogLevel } from './dx/index.js';
12
16
  export { LogLevel, MeasureResult, log } from './dx/index.js';
13
17
  export { A as ArrayElement, b as Awaited, B as Brand, c as DeepPartial, d as DeepReadonly, e as DeepRequired, f as Dictionary, E as ElementOf, g as EnumValue, K as KeysOfType, M as Merge, i as Mutable, j as NonNullableDeep, k as Nullable, O as Optional, l as OptionalKeys, n as PartialBy, P as Prettify, o as PromiseValue, R as ReadonlyDictionary, p as RequireAtLeastOne, q as RequireExactlyOne, r as RequireKeys, s as RequiredBy, U as UnionToIntersection, V as ValueOf, u as brand, v as createMap, w as createSet, x as defineConst, y as defineEnum, z as defineTuple, C as narrow } from './types-CPlzx7Jp.js';
@@ -16,8 +20,13 @@ import { negate, flip, partial, curry, ary, unary } from './fn/index.js';
16
20
  export { memoize } from './fn/index.js';
17
21
  import { sum, average, median, round, randomInt, randomFloat, percentage, min, max } from './math/index.js';
18
22
  export { E as Err, N as None, O as Ok, a as Option, R as Result, S as Some } from './types-VsDp2t8s.js';
19
- import { ok, err, some, none, mapResult, mapOption, mapErr, andThen, orElse, matchResult, matchOption, isOk, isErr, unwrap, unwrapOption, unwrapOr, unwrapOptionOr, fromNullable, toNullable } from './result/index.js';
23
+ import { ok, err, some as some$1, none, mapResult, mapOption, mapErr, orElse, matchResult, matchOption, isOk, isErr, unwrapOption, unwrapOr, unwrapOptionOr, fromNullable, toNullable } from './result/index.js';
24
+ export { andThen, unwrap } from './result/index.js';
20
25
  import { Memoize, Debounce, Throttle, Bind, Log, Measure, Retry, Deprecated, Sealed, Frozen, Validate, Lazy } from './decorator/index.js';
26
+ import { when, whenValue, unless, unlessValue, ifElse, ifElseLazy, cond, condLazy, condBy, matchValue, matchWithDefault, matchLazy, matchType, and, allTrue, andThen, or, anyTrue, orThen, notFn, coalesce, coalesceLazy, defaultTo, defaultToLazy, defaultToIf, defaultToIfEmpty, firstTruthy, firstWhere, firstDefined, allTruthy, allWhere, allDefined, get, getTyped, getPath, getOr, getPathOr, getOrLazy, tryGet, tryGetOr, tryGetResult, safe, unwrap, chain, optionalOr, optionalChain } from './logic/index.js';
27
+ import { createIterator, lazyRange as range, lazyMap as map, lazyFilter as filter, lazyTake as take, lazySkip as skip, lazyChunk as chunk, lazyFlatten as flatten, lazyZip as zip, enumerate, cycle, repeat, fromAsync, toArray, iterReduce as reduce, iterForEach as forEach, iterFind as find, iterSome as some, iterEvery as every } from './iterator/index.js';
28
+ import { filterDefined, filterDefinedFn, filterTruthy, filterTruthyFn, filterByGuard, filterByRefinement, filterBy, partitionByGuard, assertType, assertDefined, assertNotNull, assertCondition, createAssertion, narrowUnion, createDiscriminantGuard, switchUnion, exhaustiveCheck, excludeNull, excludeUndefined, excludeNullish, withDefault, withDefaultLazy, mapNullable, chainNullable, refine, oneOf, allOf, not, arrayOf, objectOf } from './narrowing/index.js';
29
+ import { string, number, boolean, literal, array, object, optional, nullable, union as union$1, intersection, record, tuple, unknownSchema as unknown, anySchema as any, date, email, url, uuid, parse, safeParse, validate, is, parseJson, createGuard, createParser } from './schema/index.js';
21
30
 
22
31
  /**
23
32
  * Type-Safe Environment Variables
@@ -1338,6 +1347,126 @@ declare const _: {
1338
1347
  batch: typeof batch;
1339
1348
  createUndoableState: typeof createUndoableState;
1340
1349
  createAutoUndoableState: typeof createAutoUndoableState;
1350
+ string: typeof string;
1351
+ number: typeof number;
1352
+ boolean: typeof boolean;
1353
+ literal: typeof literal;
1354
+ array: typeof array;
1355
+ object: typeof object;
1356
+ optional: typeof optional;
1357
+ nullable: typeof nullable;
1358
+ union: typeof union$1;
1359
+ intersection: typeof intersection;
1360
+ record: typeof record;
1361
+ tuple: typeof tuple;
1362
+ unknownSchema: typeof unknown;
1363
+ anySchema: typeof any;
1364
+ date: typeof date;
1365
+ email: typeof email;
1366
+ url: typeof url;
1367
+ uuid: typeof uuid;
1368
+ parse: typeof parse;
1369
+ safeParse: typeof safeParse;
1370
+ validate: typeof validate;
1371
+ is: typeof is;
1372
+ parseJson: typeof parseJson;
1373
+ createGuard: typeof createGuard;
1374
+ createParser: typeof createParser;
1375
+ filterDefined: typeof filterDefined;
1376
+ filterDefinedFn: typeof filterDefinedFn;
1377
+ filterTruthy: typeof filterTruthy;
1378
+ filterTruthyFn: typeof filterTruthyFn;
1379
+ filterByGuard: typeof filterByGuard;
1380
+ filterByRefinement: typeof filterByRefinement;
1381
+ filterBy: typeof filterBy;
1382
+ partitionByGuard: typeof partitionByGuard;
1383
+ assertType: typeof assertType;
1384
+ assertDefined: typeof assertDefined;
1385
+ assertNotNull: typeof assertNotNull;
1386
+ assertCondition: typeof assertCondition;
1387
+ createAssertion: typeof createAssertion;
1388
+ narrowUnion: typeof narrowUnion;
1389
+ createDiscriminantGuard: typeof createDiscriminantGuard;
1390
+ switchUnion: typeof switchUnion;
1391
+ exhaustiveCheck: typeof exhaustiveCheck;
1392
+ excludeNull: typeof excludeNull;
1393
+ excludeUndefined: typeof excludeUndefined;
1394
+ excludeNullish: typeof excludeNullish;
1395
+ withDefault: typeof withDefault;
1396
+ withDefaultLazy: typeof withDefaultLazy;
1397
+ mapNullable: typeof mapNullable;
1398
+ chainNullable: typeof chainNullable;
1399
+ refine: typeof refine;
1400
+ oneOf: typeof oneOf;
1401
+ allOf: typeof allOf;
1402
+ not: typeof not;
1403
+ arrayOf: typeof arrayOf;
1404
+ objectOf: typeof objectOf;
1405
+ createIterator: typeof createIterator;
1406
+ lazyRange: typeof range;
1407
+ lazyMap: typeof map;
1408
+ lazyFilter: typeof filter;
1409
+ lazyTake: typeof take;
1410
+ lazySkip: typeof skip;
1411
+ lazyChunk: typeof chunk;
1412
+ lazyFlatten: typeof flatten;
1413
+ lazyZip: typeof zip;
1414
+ enumerate: typeof enumerate;
1415
+ cycle: typeof cycle;
1416
+ repeat: typeof repeat;
1417
+ fromAsync: typeof fromAsync;
1418
+ toArray: typeof toArray;
1419
+ iterReduce: typeof reduce;
1420
+ iterForEach: typeof forEach;
1421
+ iterFind: typeof find;
1422
+ iterSome: typeof some;
1423
+ iterEvery: typeof every;
1424
+ when: typeof when;
1425
+ whenValue: typeof whenValue;
1426
+ unless: typeof unless;
1427
+ unlessValue: typeof unlessValue;
1428
+ ifElse: typeof ifElse;
1429
+ ifElseLazy: typeof ifElseLazy;
1430
+ cond: typeof cond;
1431
+ condLazy: typeof condLazy;
1432
+ condBy: typeof condBy;
1433
+ matchValue: typeof matchValue;
1434
+ matchWithDefault: typeof matchWithDefault;
1435
+ matchLazy: typeof matchLazy;
1436
+ matchType: typeof matchType;
1437
+ and: typeof and;
1438
+ allTrue: typeof allTrue;
1439
+ andThen: typeof andThen;
1440
+ or: typeof or;
1441
+ anyTrue: typeof anyTrue;
1442
+ orThen: typeof orThen;
1443
+ notFn: typeof notFn;
1444
+ coalesce: typeof coalesce;
1445
+ coalesceLazy: typeof coalesceLazy;
1446
+ defaultTo: typeof defaultTo;
1447
+ defaultToLazy: typeof defaultToLazy;
1448
+ defaultToIf: typeof defaultToIf;
1449
+ defaultToIfEmpty: typeof defaultToIfEmpty;
1450
+ firstTruthy: typeof firstTruthy;
1451
+ firstWhere: typeof firstWhere;
1452
+ firstDefined: typeof firstDefined;
1453
+ allTruthy: typeof allTruthy;
1454
+ allWhere: typeof allWhere;
1455
+ allDefined: typeof allDefined;
1456
+ get: typeof get;
1457
+ getTyped: typeof getTyped;
1458
+ getPath: typeof getPath;
1459
+ getOr: typeof getOr;
1460
+ getPathOr: typeof getPathOr;
1461
+ getOrLazy: typeof getOrLazy;
1462
+ tryGet: typeof tryGet;
1463
+ tryGetOr: typeof tryGetOr;
1464
+ tryGetResult: typeof tryGetResult;
1465
+ safe: typeof safe;
1466
+ unwrap: typeof unwrap;
1467
+ chain: typeof chain;
1468
+ optionalOr: typeof optionalOr;
1469
+ optionalChain: typeof optionalChain;
1341
1470
  concat: typeof concat;
1342
1471
  differenceBy: typeof differenceBy;
1343
1472
  differenceWith: typeof differenceWith;
@@ -1373,7 +1502,6 @@ declare const _: {
1373
1502
  sortedUniqBy: typeof sortedUniqBy;
1374
1503
  takeRight: typeof takeRight;
1375
1504
  takeRightWhile: typeof takeRightWhile;
1376
- union: typeof union;
1377
1505
  unionBy: typeof unionBy;
1378
1506
  unionWith: typeof unionWith;
1379
1507
  uniqBy: typeof uniqBy;
@@ -1400,18 +1528,16 @@ declare const _: {
1400
1528
  Lazy: typeof Lazy;
1401
1529
  ok: typeof ok;
1402
1530
  err: typeof err;
1403
- some: typeof some;
1531
+ some: typeof some$1;
1404
1532
  none: typeof none;
1405
1533
  mapResult: typeof mapResult;
1406
1534
  mapOption: typeof mapOption;
1407
1535
  mapErr: typeof mapErr;
1408
- andThen: typeof andThen;
1409
1536
  orElse: typeof orElse;
1410
1537
  matchResult: typeof matchResult;
1411
1538
  matchOption: typeof matchOption;
1412
1539
  isOk: typeof isOk;
1413
1540
  isErr: typeof isErr;
1414
- unwrap: typeof unwrap;
1415
1541
  unwrapOption: typeof unwrapOption;
1416
1542
  unwrapOr: typeof unwrapOr;
1417
1543
  unwrapOptionOr: typeof unwrapOptionOr;
@@ -1459,12 +1585,9 @@ declare const _: {
1459
1585
  setLogLevel: typeof setLogLevel;
1460
1586
  getLogLevel: typeof getLogLevel;
1461
1587
  tap: typeof tap;
1462
- when: typeof when;
1463
- unless: typeof unless;
1464
1588
  match: typeof match;
1465
1589
  tryCatch: typeof tryCatch;
1466
1590
  tryCatchAsync: typeof tryCatchAsync;
1467
- ifElse: typeof ifElse;
1468
1591
  constant: typeof constant;
1469
1592
  safeJsonParse: typeof safeJsonParse;
1470
1593
  safeJsonStringify: typeof safeJsonStringify;
@@ -1486,20 +1609,19 @@ declare const _: {
1486
1609
  groupBy: typeof groupBy;
1487
1610
  indexBy: typeof indexBy;
1488
1611
  partition: typeof partition;
1489
- chunk: typeof chunk;
1612
+ chunk: typeof chunk$1;
1490
1613
  compact: typeof compact;
1491
- flatten: typeof flatten;
1614
+ flatten: typeof flatten$1;
1492
1615
  sortBy: typeof sortBy;
1493
1616
  first: typeof first;
1494
1617
  last: typeof last;
1495
- range: typeof range;
1618
+ range: typeof range$1;
1496
1619
  shuffle: typeof shuffle;
1497
1620
  sample: typeof sample;
1498
- zip: typeof zip;
1621
+ zip: typeof zip$1;
1499
1622
  unzip: typeof unzip;
1500
1623
  difference: typeof difference;
1501
- intersection: typeof intersection;
1502
- take: typeof take;
1624
+ take: typeof take$1;
1503
1625
  drop: typeof drop;
1504
1626
  takeWhile: typeof takeWhile;
1505
1627
  dropWhile: typeof dropWhile;
@@ -1532,7 +1654,6 @@ declare const _: {
1532
1654
  mergeShallow: typeof mergeShallow;
1533
1655
  clone: typeof clone;
1534
1656
  cloneDeep: typeof cloneDeep;
1535
- get: typeof get;
1536
1657
  set: typeof set;
1537
1658
  invert: typeof invert;
1538
1659
  deepMerge: typeof deepMerge;
@@ -1595,7 +1716,6 @@ declare const _: {
1595
1716
  isTypedArray: typeof isTypedArray;
1596
1717
  isWeakMap: typeof isWeakMap;
1597
1718
  isWeakSet: typeof isWeakSet;
1598
- toArray: typeof toArray;
1599
1719
  toFinite: typeof toFinite;
1600
1720
  toInteger: typeof toInteger;
1601
1721
  toLength: typeof toLength;
@@ -1606,11 +1726,10 @@ declare const _: {
1606
1726
  isDefined: typeof isDefined;
1607
1727
  isNil: typeof isNil;
1608
1728
  assert: typeof assert;
1609
- assertDefined: typeof assertDefined;
1610
1729
  fail: typeof fail;
1611
1730
  noop: typeof noop;
1612
1731
  identity: typeof identity;
1613
1732
  unreachable: typeof unreachable;
1614
1733
  };
1615
1734
 
1616
- export { Bind, type CacheOptions, type Container, Debounce, Deprecated, type EventBus, type FeatureFlags, type FieldState, type FormState, Frozen, Lazy, Log, Measure, Memoize, type Middleware, type MiddlewarePipeline, type ReadonlySignal, Retry, type Route, type Router, Sealed, type Signal, Throttle, type UndoableOptions, type UndoableState, Validate, _, andThen, ary, assert, assertDefined, assertNever, average, awaitTo, batch, camelCase, capitalize, castArray, chunk, clamp, clone, cloneDeep, cloneDeepWith, cloneWith, coerceArray, coerceString, compact, compose as composeMiddleware, computed, concat, conformsTo, constant, countBy, createAutoUndoableState, createContainer, createEnv, createEventBus, createFeatureFlags, createForm, createMiddleware, createRouter, createTypedContainer, createTypedEmitter, createUndoableState, curry, debounce, debug, deepMerge, _ as default, defaults, defer, deprecated, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, effect, entriesTyped, env, eq, err, exhaustive, fail, field, fill, filterObject, findIndex, findLast, findLastIndex, first, flag, flatten, flattenDeep, flattenDepth, flip, flow, fromEntriesTyped, fromNullable, fromPairs, get, getLogLevel, groupBy, gt, gte, has, hasKey, hasKeys, head, identity, ifElse, indexBy, indexOf, init, intersection, intersectionBy, intersectionWith, invariant, invert, isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isBoolean, isBuffer, isDate, isDefined, isElement, isEmail, isEmpty, isEqual, isEqualWith, isErr, isError, isFinite, isFunction, isInteger, isIpAddress, isLength, isMap, isMatch, isMatchWith, isNaN, isNative, isNil, isNonEmpty, isNull, isNumber, isObject, isObjectLike, isOk, isPlainObject, isPromise, isRegExp, isSafeInteger, isSet, isString, isSymbol, isTypedArray, isUndefined, isUrl, isUuid, isWeakMap, isWeakSet, join, kebabCase, keysTyped, last, lastIndexOf, lt, lte, mapErr, mapObject, mapOption, mapResult, match, matchOption, matchResult, max, maxBy, measure, measureAsync, median, mergeShallow, min, minBy, negate, none, noop, nth, ok, omit, once, onceAsync, orElse, parallel, parseBoolean, parseDate, parseInteger, parseNumber, parseUrl, partial, partition, pascalCase, paths, percentage, pick, pipeAsync, pipe as pipeValue, pull, pullAll, pullAllBy, pullAllWith, pullAt, randomFloat, randomInt, range, remove, retry, reverse, round, route, safeJsonParse, safeJsonStringify, sample, set, setLogLevel, shuffle, signal, sleep, slice, slugify, smartCache, memoize as smartMemoize, snakeCase, some, sortBy, sortedIndex, sortedIndexBy, sortedIndexOf, sortedLastIndex, sortedLastIndexBy, sortedLastIndexOf, sortedUniq, sortedUniqBy, sum, sumBy, tail, take, takeRight, takeRightWhile, takeWhile, tap, template, throttle, toArray, toFinite, toInteger, toLength, toNullable, toNumber, toPlainObject, toSafeInteger, toString, todo, transform, trimAll, truncate, tryCatch, tryCatchAsync, unary, uncapitalize, union, unionBy, unionWith, uniqBy, uniqWith, unique, unless, unreachable, unset, unwrap, unwrapOption, unwrapOptionOr, unwrapOr, unzip, unzipWith, valuesTyped, when, withTimeout, without, words, xor, xorBy, xorWith, zip, zipObject, zipObjectDeep, zipWith };
1735
+ export { Bind, type CacheOptions, type Container, Debounce, Deprecated, type EventBus, type FeatureFlags, type FieldState, type FormState, Frozen, Lazy, Log, Measure, Memoize, type Middleware, type MiddlewarePipeline, type ReadonlySignal, Retry, type Route, type Router, Sealed, type Signal, Throttle, type UndoableOptions, type UndoableState, Validate, _, ary, assert, assertNever, average, awaitTo, batch, camelCase, capitalize, castArray, chunk$1 as chunk, clamp, clone, cloneDeep, cloneDeepWith, cloneWith, coerceArray, coerceString, compact, compose as composeMiddleware, computed, concat, conformsTo, constant, countBy, createAutoUndoableState, createContainer, createEnv, createEventBus, createFeatureFlags, createForm, createMiddleware, createRouter, createTypedContainer, createTypedEmitter, createUndoableState, curry, debounce, debug, deepMerge, _ as default, defaults, defer, deprecated, difference, differenceBy, differenceWith, drop, dropRight, dropRightWhile, dropWhile, effect, entriesTyped, env, eq, err, exhaustive, fail, field, fill, filterObject, findIndex, findLast, findLastIndex, first, flag, flatten$1 as flatten, flattenDeep, flattenDepth, flip, flow, fromEntriesTyped, fromNullable, fromPairs, getLogLevel, groupBy, gt, gte, has, hasKey, hasKeys, head, identity, indexBy, indexOf, init, intersectionBy, intersectionWith, invariant, invert, isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isBoolean, isBuffer, isDate, isDefined, isElement, isEmail, isEmpty, isEqual, isEqualWith, isErr, isError, isFinite, isFunction, isInteger, isIpAddress, isLength, isMap, isMatch, isMatchWith, isNaN, isNative, isNil, isNonEmpty, isNull, isNumber, isObject, isObjectLike, isOk, isPlainObject, isPromise, isRegExp, isSafeInteger, isSet, isString, isSymbol, isTypedArray, isUndefined, isUrl, isUuid, isWeakMap, isWeakSet, join, kebabCase, keysTyped, last, lastIndexOf, lt, lte, mapErr, mapObject, mapOption, mapResult, match, matchOption, matchResult, max, maxBy, measure, measureAsync, median, mergeShallow, min, minBy, negate, none, noop, nth, ok, omit, once, onceAsync, orElse, parallel, parseBoolean, parseDate, parseInteger, parseNumber, parseUrl, partial, partition, pascalCase, paths, percentage, pick, pipeAsync, pipe as pipeValue, pull, pullAll, pullAllBy, pullAllWith, pullAt, randomFloat, randomInt, range$1 as range, remove, retry, reverse, round, route, safeJsonParse, safeJsonStringify, sample, set, setLogLevel, shuffle, signal, sleep, slice, slugify, smartCache, memoize as smartMemoize, snakeCase, some$1 as some, sortBy, sortedIndex, sortedIndexBy, sortedIndexOf, sortedLastIndex, sortedLastIndexBy, sortedLastIndexOf, sortedUniq, sortedUniqBy, sum, sumBy, tail, take$1 as take, takeRight, takeRightWhile, takeWhile, tap, template, throttle, toFinite, toInteger, toLength, toNullable, toNumber, toPlainObject, toSafeInteger, toString, todo, transform, trimAll, truncate, tryCatch, tryCatchAsync, unary, uncapitalize, union, unionBy, unionWith, uniqBy, uniqWith, unique, unreachable, unset, unwrapOption, unwrapOptionOr, unwrapOr, unzip, unzipWith, valuesTyped, withTimeout, without, words, xor, xorBy, xorWith, zip$1 as zip, zipObject, zipObjectDeep, zipWith };
package/dist/index.js CHANGED
@@ -2,12 +2,16 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var chunk7G4ZSMQX_js = require('./chunk-7G4ZSMQX.js');
6
+ var chunkX55EORNF_js = require('./chunk-X55EORNF.js');
7
+ var chunkFN553YPU_js = require('./chunk-FN553YPU.js');
5
8
  var chunk6ZBTL74K_js = require('./chunk-6ZBTL74K.js');
6
- var chunkSIA5BSVY_js = require('./chunk-SIA5BSVY.js');
9
+ var chunkS535LAXW_js = require('./chunk-S535LAXW.js');
7
10
  var chunkLT7JK7RJ_js = require('./chunk-LT7JK7RJ.js');
8
11
  var chunkJQHUBZ4M_js = require('./chunk-JQHUBZ4M.js');
9
12
  var chunk2LJ6NZ6K_js = require('./chunk-2LJ6NZ6K.js');
10
13
  var chunkDBENOSTA_js = require('./chunk-DBENOSTA.js');
14
+ var chunkOKB3MS5F_js = require('./chunk-OKB3MS5F.js');
11
15
  var chunkOWNUKWXV_js = require('./chunk-OWNUKWXV.js');
12
16
  var chunkSGQNLTRK_js = require('./chunk-SGQNLTRK.js');
13
17
  var chunkJQAQV75V_js = require('./chunk-JQAQV75V.js');
@@ -1511,6 +1515,11 @@ var _ = {
1511
1515
  ...chunkDBENOSTA_js.result_exports,
1512
1516
  ...chunkOWNUKWXV_js.decorator_exports,
1513
1517
  ...array_exports,
1518
+ // typed: excluded due to unique symbol export limitations - use direct imports
1519
+ ...chunk7G4ZSMQX_js.logic_exports,
1520
+ ...chunkOKB3MS5F_js.iterator_exports,
1521
+ ...chunkX55EORNF_js.narrowing_exports,
1522
+ ...chunkFN553YPU_js.schema_exports,
1514
1523
  ...reactive_exports,
1515
1524
  ...cache_exports,
1516
1525
  ...event_exports,
@@ -1569,31 +1578,31 @@ Object.defineProperty(exports, "todo", {
1569
1578
  });
1570
1579
  Object.defineProperty(exports, "brand", {
1571
1580
  enumerable: true,
1572
- get: function () { return chunkSIA5BSVY_js.brand; }
1581
+ get: function () { return chunkS535LAXW_js.brand; }
1573
1582
  });
1574
1583
  Object.defineProperty(exports, "createMap", {
1575
1584
  enumerable: true,
1576
- get: function () { return chunkSIA5BSVY_js.createMap; }
1585
+ get: function () { return chunkS535LAXW_js.createMap; }
1577
1586
  });
1578
1587
  Object.defineProperty(exports, "createSet", {
1579
1588
  enumerable: true,
1580
- get: function () { return chunkSIA5BSVY_js.createSet; }
1589
+ get: function () { return chunkS535LAXW_js.createSet; }
1581
1590
  });
1582
1591
  Object.defineProperty(exports, "defineConst", {
1583
1592
  enumerable: true,
1584
- get: function () { return chunkSIA5BSVY_js.defineConst; }
1593
+ get: function () { return chunkS535LAXW_js.defineConst; }
1585
1594
  });
1586
1595
  Object.defineProperty(exports, "defineEnum", {
1587
1596
  enumerable: true,
1588
- get: function () { return chunkSIA5BSVY_js.defineEnum; }
1597
+ get: function () { return chunkS535LAXW_js.defineEnum; }
1589
1598
  });
1590
1599
  Object.defineProperty(exports, "defineTuple", {
1591
1600
  enumerable: true,
1592
- get: function () { return chunkSIA5BSVY_js.defineTuple; }
1601
+ get: function () { return chunkS535LAXW_js.defineTuple; }
1593
1602
  });
1594
1603
  Object.defineProperty(exports, "narrow", {
1595
1604
  enumerable: true,
1596
- get: function () { return chunkSIA5BSVY_js.narrow; }
1605
+ get: function () { return chunkS535LAXW_js.narrow; }
1597
1606
  });
1598
1607
  Object.defineProperty(exports, "camelCase", {
1599
1608
  enumerable: true,