typetify 2.1.0 → 2.4.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 (225) hide show
  1. package/CHANGELOG.md +131 -0
  2. package/README.md +108 -0
  3. package/dist/async/index.js +1 -49
  4. package/dist/async/index.mjs +1 -4
  5. package/dist/chunk-272Z3AXV.js +1 -0
  6. package/dist/chunk-2YRFWQ6M.mjs +1 -0
  7. package/dist/chunk-35CB7HNN.js +1 -0
  8. package/dist/chunk-4JG7CFRK.js +1 -0
  9. package/dist/chunk-5FBZYPQM.mjs +1 -0
  10. package/dist/chunk-5XQRYI2Q.mjs +1 -0
  11. package/dist/chunk-6HA2SN23.js +1 -0
  12. package/dist/chunk-6NWIIOHH.js +1 -0
  13. package/dist/chunk-6WGRWYAD.js +1 -0
  14. package/dist/chunk-7LBL6CYT.js +1 -0
  15. package/dist/chunk-7UMXGQE4.mjs +1 -0
  16. package/dist/chunk-7XHBEA63.js +1 -0
  17. package/dist/chunk-B3R73UK5.mjs +1 -0
  18. package/dist/chunk-BLUG7TSP.js +1 -0
  19. package/dist/chunk-EAHFED6V.mjs +1 -0
  20. package/dist/chunk-EKSHS4DL.mjs +1 -0
  21. package/dist/chunk-F76ECQKE.js +1 -0
  22. package/dist/chunk-FHCBXSNA.js +1 -0
  23. package/dist/chunk-GKOA3XGQ.js +1 -0
  24. package/dist/chunk-GQIJLGEZ.mjs +1 -0
  25. package/dist/chunk-I4YSQ4HB.js +1 -0
  26. package/dist/chunk-JZXLCA2E.mjs +1 -0
  27. package/dist/chunk-M5OMYDI7.mjs +1 -0
  28. package/dist/chunk-MB77QAOC.mjs +1 -0
  29. package/dist/chunk-MPY3WRLG.mjs +1 -0
  30. package/dist/chunk-NENRAPOL.mjs +1 -0
  31. package/dist/chunk-NOW4Q26G.mjs +1 -0
  32. package/dist/chunk-P4UNM7SF.js +1 -0
  33. package/dist/chunk-P5E2JDCX.mjs +1 -0
  34. package/dist/chunk-Q7SUL7MD.js +1 -0
  35. package/dist/chunk-QKNZICUO.mjs +1 -0
  36. package/dist/chunk-RHMANSTA.mjs +1 -0
  37. package/dist/chunk-SF64HETW.js +1 -0
  38. package/dist/chunk-T66YO63J.js +1 -0
  39. package/dist/chunk-TNK6EVQK.mjs +1 -0
  40. package/dist/chunk-TSJFKV3R.js +1 -0
  41. package/dist/chunk-TVCWWECJ.mjs +1 -0
  42. package/dist/chunk-U7MK5AR5.mjs +1 -0
  43. package/dist/chunk-W5I352FJ.js +1 -0
  44. package/dist/chunk-WAT4QJB2.js +1 -0
  45. package/dist/chunk-WCG5ODRX.mjs +1 -0
  46. package/dist/chunk-WDFIRO2J.js +1 -0
  47. package/dist/chunk-WOT6VMZA.js +1 -0
  48. package/dist/chunk-WS743BFA.js +1 -0
  49. package/dist/chunk-WWU7P2L2.mjs +1 -0
  50. package/dist/chunk-XPY5CWKZ.mjs +1 -0
  51. package/dist/collection/index.d.mts +125 -1
  52. package/dist/collection/index.d.ts +125 -1
  53. package/dist/collection/index.js +1 -125
  54. package/dist/collection/index.mjs +1 -4
  55. package/dist/color/index.d.mts +274 -0
  56. package/dist/color/index.d.ts +274 -0
  57. package/dist/color/index.js +1 -0
  58. package/dist/color/index.mjs +1 -0
  59. package/dist/core/index.js +1 -41
  60. package/dist/core/index.mjs +1 -4
  61. package/dist/decorator/index.js +1 -57
  62. package/dist/decorator/index.mjs +1 -4
  63. package/dist/dom/index.d.mts +353 -0
  64. package/dist/dom/index.d.ts +353 -0
  65. package/dist/dom/index.js +1 -0
  66. package/dist/dom/index.mjs +1 -0
  67. package/dist/dx/index.js +1 -53
  68. package/dist/dx/index.mjs +1 -4
  69. package/dist/flow/index.js +1 -50
  70. package/dist/flow/index.mjs +1 -5
  71. package/dist/fn/index.js +1 -37
  72. package/dist/fn/index.mjs +1 -4
  73. package/dist/guards/index.js +1 -233
  74. package/dist/guards/index.mjs +1 -4
  75. package/dist/index.d.mts +482 -410
  76. package/dist/index.d.ts +482 -410
  77. package/dist/index.js +3 -2507
  78. package/dist/index.mjs +3 -1546
  79. package/dist/input/index.js +1 -74
  80. package/dist/input/index.mjs +1 -5
  81. package/dist/iterator/index.js +1 -85
  82. package/dist/iterator/index.mjs +1 -4
  83. package/dist/logic/index.js +1 -201
  84. package/dist/logic/index.mjs +1 -4
  85. package/dist/math/index.js +1 -45
  86. package/dist/math/index.mjs +1 -4
  87. package/dist/narrowing/index.js +1 -141
  88. package/dist/narrowing/index.mjs +1 -4
  89. package/dist/object/index.d.mts +137 -1
  90. package/dist/object/index.d.ts +137 -1
  91. package/dist/object/index.js +1 -113
  92. package/dist/object/index.mjs +1 -4
  93. package/dist/result/index.js +1 -86
  94. package/dist/result/index.mjs +1 -5
  95. package/dist/schema/index.js +1 -110
  96. package/dist/schema/index.mjs +1 -5
  97. package/dist/storage/index.d.mts +197 -0
  98. package/dist/storage/index.d.ts +197 -0
  99. package/dist/storage/index.js +1 -0
  100. package/dist/storage/index.mjs +1 -0
  101. package/dist/string/index.d.mts +201 -1
  102. package/dist/string/index.d.ts +201 -1
  103. package/dist/string/index.js +1 -49
  104. package/dist/string/index.mjs +1 -4
  105. package/dist/typed/index.js +1 -193
  106. package/dist/typed/index.mjs +1 -4
  107. package/package.json +23 -3
  108. package/dist/async/index.js.map +0 -1
  109. package/dist/async/index.mjs.map +0 -1
  110. package/dist/chunk-2LJ6NZ6K.js +0 -108
  111. package/dist/chunk-2LJ6NZ6K.js.map +0 -1
  112. package/dist/chunk-4NXETABV.mjs +0 -116
  113. package/dist/chunk-4NXETABV.mjs.map +0 -1
  114. package/dist/chunk-6ZBTL74K.js +0 -129
  115. package/dist/chunk-6ZBTL74K.js.map +0 -1
  116. package/dist/chunk-7G4ZSMQX.js +0 -470
  117. package/dist/chunk-7G4ZSMQX.js.map +0 -1
  118. package/dist/chunk-CN3GYRJN.mjs +0 -137
  119. package/dist/chunk-CN3GYRJN.mjs.map +0 -1
  120. package/dist/chunk-CNTE6ZVH.js +0 -359
  121. package/dist/chunk-CNTE6ZVH.js.map +0 -1
  122. package/dist/chunk-CWHYQWNU.mjs +0 -224
  123. package/dist/chunk-CWHYQWNU.mjs.map +0 -1
  124. package/dist/chunk-DBENOSTA.js +0 -156
  125. package/dist/chunk-DBENOSTA.js.map +0 -1
  126. package/dist/chunk-DWIG5GF2.js +0 -135
  127. package/dist/chunk-DWIG5GF2.js.map +0 -1
  128. package/dist/chunk-EAUTTWTQ.mjs +0 -231
  129. package/dist/chunk-EAUTTWTQ.mjs.map +0 -1
  130. package/dist/chunk-FEX5C4OH.mjs +0 -1007
  131. package/dist/chunk-FEX5C4OH.mjs.map +0 -1
  132. package/dist/chunk-FN553YPU.js +0 -441
  133. package/dist/chunk-FN553YPU.js.map +0 -1
  134. package/dist/chunk-FT2EK4AM.mjs +0 -420
  135. package/dist/chunk-FT2EK4AM.mjs.map +0 -1
  136. package/dist/chunk-FXWYPHA3.mjs +0 -13
  137. package/dist/chunk-FXWYPHA3.mjs.map +0 -1
  138. package/dist/chunk-GS3PP67B.js +0 -200
  139. package/dist/chunk-GS3PP67B.js.map +0 -1
  140. package/dist/chunk-IGA3VEZM.mjs +0 -503
  141. package/dist/chunk-IGA3VEZM.mjs.map +0 -1
  142. package/dist/chunk-J5LGTIGS.mjs +0 -9
  143. package/dist/chunk-J5LGTIGS.mjs.map +0 -1
  144. package/dist/chunk-JB6UXRKD.mjs +0 -97
  145. package/dist/chunk-JB6UXRKD.mjs.map +0 -1
  146. package/dist/chunk-JQAQV75V.js +0 -561
  147. package/dist/chunk-JQAQV75V.js.map +0 -1
  148. package/dist/chunk-JQHUBZ4M.js +0 -88
  149. package/dist/chunk-JQHUBZ4M.js.map +0 -1
  150. package/dist/chunk-LT7JK7RJ.js +0 -87
  151. package/dist/chunk-LT7JK7RJ.js.map +0 -1
  152. package/dist/chunk-N6IUADIP.mjs +0 -414
  153. package/dist/chunk-N6IUADIP.mjs.map +0 -1
  154. package/dist/chunk-OEJK37LO.mjs +0 -328
  155. package/dist/chunk-OEJK37LO.mjs.map +0 -1
  156. package/dist/chunk-OKB3MS5F.js +0 -547
  157. package/dist/chunk-OKB3MS5F.js.map +0 -1
  158. package/dist/chunk-OPVES6W2.js +0 -16
  159. package/dist/chunk-OPVES6W2.js.map +0 -1
  160. package/dist/chunk-OWNUKWXV.js +0 -291
  161. package/dist/chunk-OWNUKWXV.js.map +0 -1
  162. package/dist/chunk-POD52NJ3.mjs +0 -526
  163. package/dist/chunk-POD52NJ3.mjs.map +0 -1
  164. package/dist/chunk-PQTXSQ4P.js +0 -369
  165. package/dist/chunk-PQTXSQ4P.js.map +0 -1
  166. package/dist/chunk-PZ5AY32C.js +0 -11
  167. package/dist/chunk-PZ5AY32C.js.map +0 -1
  168. package/dist/chunk-QFR7DVAJ.mjs +0 -63
  169. package/dist/chunk-QFR7DVAJ.mjs.map +0 -1
  170. package/dist/chunk-S535LAXW.js +0 -1054
  171. package/dist/chunk-S535LAXW.js.map +0 -1
  172. package/dist/chunk-SGQNLTRK.js +0 -73
  173. package/dist/chunk-SGQNLTRK.js.map +0 -1
  174. package/dist/chunk-SRDWUHDY.mjs +0 -188
  175. package/dist/chunk-SRDWUHDY.mjs.map +0 -1
  176. package/dist/chunk-TXU7NTT4.js +0 -249
  177. package/dist/chunk-TXU7NTT4.js.map +0 -1
  178. package/dist/chunk-TZEWREAC.mjs +0 -277
  179. package/dist/chunk-TZEWREAC.mjs.map +0 -1
  180. package/dist/chunk-V6CWFDIJ.mjs +0 -123
  181. package/dist/chunk-V6CWFDIJ.mjs.map +0 -1
  182. package/dist/chunk-X55EORNF.js +0 -259
  183. package/dist/chunk-X55EORNF.js.map +0 -1
  184. package/dist/chunk-YBJC5WMX.mjs +0 -341
  185. package/dist/chunk-YBJC5WMX.mjs.map +0 -1
  186. package/dist/chunk-YOPAXITF.mjs +0 -75
  187. package/dist/chunk-YOPAXITF.mjs.map +0 -1
  188. package/dist/chunk-ZE4FDBRI.mjs +0 -79
  189. package/dist/chunk-ZE4FDBRI.mjs.map +0 -1
  190. package/dist/collection/index.js.map +0 -1
  191. package/dist/collection/index.mjs.map +0 -1
  192. package/dist/core/index.js.map +0 -1
  193. package/dist/core/index.mjs.map +0 -1
  194. package/dist/decorator/index.js.map +0 -1
  195. package/dist/decorator/index.mjs.map +0 -1
  196. package/dist/dx/index.js.map +0 -1
  197. package/dist/dx/index.mjs.map +0 -1
  198. package/dist/flow/index.js.map +0 -1
  199. package/dist/flow/index.mjs.map +0 -1
  200. package/dist/fn/index.js.map +0 -1
  201. package/dist/fn/index.mjs.map +0 -1
  202. package/dist/guards/index.js.map +0 -1
  203. package/dist/guards/index.mjs.map +0 -1
  204. package/dist/index.js.map +0 -1
  205. package/dist/index.mjs.map +0 -1
  206. package/dist/input/index.js.map +0 -1
  207. package/dist/input/index.mjs.map +0 -1
  208. package/dist/iterator/index.js.map +0 -1
  209. package/dist/iterator/index.mjs.map +0 -1
  210. package/dist/logic/index.js.map +0 -1
  211. package/dist/logic/index.mjs.map +0 -1
  212. package/dist/math/index.js.map +0 -1
  213. package/dist/math/index.mjs.map +0 -1
  214. package/dist/narrowing/index.js.map +0 -1
  215. package/dist/narrowing/index.mjs.map +0 -1
  216. package/dist/object/index.js.map +0 -1
  217. package/dist/object/index.mjs.map +0 -1
  218. package/dist/result/index.js.map +0 -1
  219. package/dist/result/index.mjs.map +0 -1
  220. package/dist/schema/index.js.map +0 -1
  221. package/dist/schema/index.mjs.map +0 -1
  222. package/dist/string/index.js.map +0 -1
  223. package/dist/string/index.mjs.map +0 -1
  224. package/dist/typed/index.js.map +0 -1
  225. package/dist/typed/index.mjs.map +0 -1
@@ -324,4 +324,140 @@ declare function deepPath<T extends object>(): <P extends string & Paths<T>>(pat
324
324
  */
325
325
  declare function deepPluck<T extends object, P extends string & Paths<T>>(array: readonly T[], path: P): PathValue<T, P>[];
326
326
 
327
- export { type PathValue, type Paths, clone, cloneDeep, deepGet, deepGetOr, deepHas, deepMerge, deepPath, deepPluck, deepSet, entriesTyped, filterObject, fromEntriesTyped, get, has, invert, isEqual, keysTyped, mapObject, mergeShallow, omit, paths, pick, set, transform, unset, valuesTyped };
327
+ /**
328
+ * Finds the first key in an object where the predicate returns true.
329
+ *
330
+ * @example
331
+ * // Find key by value
332
+ * const users = { john: 32, jane: 28, bob: 45 }
333
+ * findKey(users, age => age > 30)
334
+ * // => 'john'
335
+ *
336
+ * @example
337
+ * // Find user ID by property
338
+ * const usersById = {
339
+ * u1: { name: 'Alice', role: 'admin' },
340
+ * u2: { name: 'Bob', role: 'user' },
341
+ * u3: { name: 'Charlie', role: 'admin' }
342
+ * }
343
+ * findKey(usersById, user => user.role === 'admin')
344
+ * // => 'u1'
345
+ *
346
+ * @example
347
+ * // Find first matching config key
348
+ * const config = {
349
+ * dev: { port: 3000, debug: true },
350
+ * staging: { port: 8080, debug: true },
351
+ * prod: { port: 80, debug: false }
352
+ * }
353
+ * findKey(config, env => env.debug === false)
354
+ * // => 'prod'
355
+ *
356
+ * @example
357
+ * // Returns undefined if not found
358
+ * findKey({ a: 1, b: 2 }, v => v > 10)
359
+ * // => undefined
360
+ */
361
+ declare function findKey<T extends Record<string, unknown>>(obj: T, predicate: (value: T[keyof T], key: keyof T, obj: T) => boolean): keyof T | undefined;
362
+ /**
363
+ * Finds the last key in an object where the predicate returns true.
364
+ *
365
+ * @example
366
+ * // Find last matching key
367
+ * const scores = { alice: 85, bob: 92, charlie: 88, diana: 95 }
368
+ * findLastKey(scores, score => score > 90)
369
+ * // => 'diana'
370
+ *
371
+ * @example
372
+ * // Find last admin user
373
+ * const usersById = {
374
+ * u1: { name: 'Alice', role: 'admin' },
375
+ * u2: { name: 'Bob', role: 'user' },
376
+ * u3: { name: 'Charlie', role: 'admin' }
377
+ * }
378
+ * findLastKey(usersById, user => user.role === 'admin')
379
+ * // => 'u3'
380
+ */
381
+ declare function findLastKey<T extends Record<string, unknown>>(obj: T, predicate: (value: T[keyof T], key: keyof T, obj: T) => boolean): keyof T | undefined;
382
+
383
+ /**
384
+ * Gets values at multiple paths from an object.
385
+ * Returns an array of values in the same order as the paths.
386
+ *
387
+ * @example
388
+ * // Get multiple properties
389
+ * const user = { name: 'John', age: 30, email: 'john@example.com' }
390
+ * at(user, ['name', 'email'])
391
+ * // => ['John', 'john@example.com']
392
+ *
393
+ * @example
394
+ * // Get nested properties
395
+ * const data = {
396
+ * user: { name: 'Alice', profile: { avatar: 'alice.png' } },
397
+ * settings: { theme: 'dark' }
398
+ * }
399
+ * at(data, ['user.name', 'user.profile.avatar', 'settings.theme'])
400
+ * // => ['Alice', 'alice.png', 'dark']
401
+ *
402
+ * @example
403
+ * // Missing paths return undefined
404
+ * const obj = { a: 1, b: 2 }
405
+ * at(obj, ['a', 'c', 'b'])
406
+ * // => [1, undefined, 2]
407
+ *
408
+ * @example
409
+ * // Extract specific fields for display
410
+ * const product = {
411
+ * id: 'p123',
412
+ * name: 'Widget',
413
+ * price: 29.99,
414
+ * stock: 150,
415
+ * category: { name: 'Electronics' }
416
+ * }
417
+ * at(product, ['name', 'price', 'category.name'])
418
+ * // => ['Widget', 29.99, 'Electronics']
419
+ *
420
+ * @example
421
+ * // Use with array destructuring
422
+ * const config = { host: 'localhost', port: 3000, ssl: true }
423
+ * const [host, port] = at(config, ['host', 'port'])
424
+ * // host = 'localhost', port = 3000
425
+ */
426
+ declare function at<T extends Record<string, unknown>>(obj: T, paths: readonly string[]): unknown[];
427
+
428
+ /**
429
+ * Inverts the keys and values of an object, grouping keys by their values.
430
+ * Unlike invert(), this handles duplicate values by creating arrays.
431
+ *
432
+ * @example
433
+ * // Group by value
434
+ * const roles = { alice: 'admin', bob: 'user', charlie: 'admin' }
435
+ * invertBy(roles)
436
+ * // => { admin: ['alice', 'charlie'], user: ['bob'] }
437
+ *
438
+ * @example
439
+ * // Group users by age
440
+ * const ages = { john: 30, jane: 25, bob: 30, alice: 25 }
441
+ * invertBy(ages)
442
+ * // => { '25': ['jane', 'alice'], '30': ['john', 'bob'] }
443
+ *
444
+ * @example
445
+ * // With custom iteratee
446
+ * const scores = { alice: 85, bob: 92, charlie: 78, diana: 95 }
447
+ * invertBy(scores, score => score >= 90 ? 'A' : score >= 80 ? 'B' : 'C')
448
+ * // => { B: ['alice'], A: ['bob', 'diana'], C: ['charlie'] }
449
+ *
450
+ * @example
451
+ * // Group products by category
452
+ * const products = {
453
+ * widget: 'electronics',
454
+ * gadget: 'electronics',
455
+ * chair: 'furniture',
456
+ * desk: 'furniture'
457
+ * }
458
+ * invertBy(products)
459
+ * // => { electronics: ['widget', 'gadget'], furniture: ['chair', 'desk'] }
460
+ */
461
+ declare function invertBy<T extends Record<string, unknown>>(obj: T, iteratee?: (value: T[keyof T]) => PropertyKey): Record<PropertyKey, string[]>;
462
+
463
+ export { type PathValue, type Paths, at, clone, cloneDeep, deepGet, deepGetOr, deepHas, deepMerge, deepPath, deepPluck, deepSet, entriesTyped, filterObject, findKey, findLastKey, fromEntriesTyped, get, has, invert, invertBy, isEqual, keysTyped, mapObject, mergeShallow, omit, paths, pick, set, transform, unset, valuesTyped };
@@ -324,4 +324,140 @@ declare function deepPath<T extends object>(): <P extends string & Paths<T>>(pat
324
324
  */
325
325
  declare function deepPluck<T extends object, P extends string & Paths<T>>(array: readonly T[], path: P): PathValue<T, P>[];
326
326
 
327
- export { type PathValue, type Paths, clone, cloneDeep, deepGet, deepGetOr, deepHas, deepMerge, deepPath, deepPluck, deepSet, entriesTyped, filterObject, fromEntriesTyped, get, has, invert, isEqual, keysTyped, mapObject, mergeShallow, omit, paths, pick, set, transform, unset, valuesTyped };
327
+ /**
328
+ * Finds the first key in an object where the predicate returns true.
329
+ *
330
+ * @example
331
+ * // Find key by value
332
+ * const users = { john: 32, jane: 28, bob: 45 }
333
+ * findKey(users, age => age > 30)
334
+ * // => 'john'
335
+ *
336
+ * @example
337
+ * // Find user ID by property
338
+ * const usersById = {
339
+ * u1: { name: 'Alice', role: 'admin' },
340
+ * u2: { name: 'Bob', role: 'user' },
341
+ * u3: { name: 'Charlie', role: 'admin' }
342
+ * }
343
+ * findKey(usersById, user => user.role === 'admin')
344
+ * // => 'u1'
345
+ *
346
+ * @example
347
+ * // Find first matching config key
348
+ * const config = {
349
+ * dev: { port: 3000, debug: true },
350
+ * staging: { port: 8080, debug: true },
351
+ * prod: { port: 80, debug: false }
352
+ * }
353
+ * findKey(config, env => env.debug === false)
354
+ * // => 'prod'
355
+ *
356
+ * @example
357
+ * // Returns undefined if not found
358
+ * findKey({ a: 1, b: 2 }, v => v > 10)
359
+ * // => undefined
360
+ */
361
+ declare function findKey<T extends Record<string, unknown>>(obj: T, predicate: (value: T[keyof T], key: keyof T, obj: T) => boolean): keyof T | undefined;
362
+ /**
363
+ * Finds the last key in an object where the predicate returns true.
364
+ *
365
+ * @example
366
+ * // Find last matching key
367
+ * const scores = { alice: 85, bob: 92, charlie: 88, diana: 95 }
368
+ * findLastKey(scores, score => score > 90)
369
+ * // => 'diana'
370
+ *
371
+ * @example
372
+ * // Find last admin user
373
+ * const usersById = {
374
+ * u1: { name: 'Alice', role: 'admin' },
375
+ * u2: { name: 'Bob', role: 'user' },
376
+ * u3: { name: 'Charlie', role: 'admin' }
377
+ * }
378
+ * findLastKey(usersById, user => user.role === 'admin')
379
+ * // => 'u3'
380
+ */
381
+ declare function findLastKey<T extends Record<string, unknown>>(obj: T, predicate: (value: T[keyof T], key: keyof T, obj: T) => boolean): keyof T | undefined;
382
+
383
+ /**
384
+ * Gets values at multiple paths from an object.
385
+ * Returns an array of values in the same order as the paths.
386
+ *
387
+ * @example
388
+ * // Get multiple properties
389
+ * const user = { name: 'John', age: 30, email: 'john@example.com' }
390
+ * at(user, ['name', 'email'])
391
+ * // => ['John', 'john@example.com']
392
+ *
393
+ * @example
394
+ * // Get nested properties
395
+ * const data = {
396
+ * user: { name: 'Alice', profile: { avatar: 'alice.png' } },
397
+ * settings: { theme: 'dark' }
398
+ * }
399
+ * at(data, ['user.name', 'user.profile.avatar', 'settings.theme'])
400
+ * // => ['Alice', 'alice.png', 'dark']
401
+ *
402
+ * @example
403
+ * // Missing paths return undefined
404
+ * const obj = { a: 1, b: 2 }
405
+ * at(obj, ['a', 'c', 'b'])
406
+ * // => [1, undefined, 2]
407
+ *
408
+ * @example
409
+ * // Extract specific fields for display
410
+ * const product = {
411
+ * id: 'p123',
412
+ * name: 'Widget',
413
+ * price: 29.99,
414
+ * stock: 150,
415
+ * category: { name: 'Electronics' }
416
+ * }
417
+ * at(product, ['name', 'price', 'category.name'])
418
+ * // => ['Widget', 29.99, 'Electronics']
419
+ *
420
+ * @example
421
+ * // Use with array destructuring
422
+ * const config = { host: 'localhost', port: 3000, ssl: true }
423
+ * const [host, port] = at(config, ['host', 'port'])
424
+ * // host = 'localhost', port = 3000
425
+ */
426
+ declare function at<T extends Record<string, unknown>>(obj: T, paths: readonly string[]): unknown[];
427
+
428
+ /**
429
+ * Inverts the keys and values of an object, grouping keys by their values.
430
+ * Unlike invert(), this handles duplicate values by creating arrays.
431
+ *
432
+ * @example
433
+ * // Group by value
434
+ * const roles = { alice: 'admin', bob: 'user', charlie: 'admin' }
435
+ * invertBy(roles)
436
+ * // => { admin: ['alice', 'charlie'], user: ['bob'] }
437
+ *
438
+ * @example
439
+ * // Group users by age
440
+ * const ages = { john: 30, jane: 25, bob: 30, alice: 25 }
441
+ * invertBy(ages)
442
+ * // => { '25': ['jane', 'alice'], '30': ['john', 'bob'] }
443
+ *
444
+ * @example
445
+ * // With custom iteratee
446
+ * const scores = { alice: 85, bob: 92, charlie: 78, diana: 95 }
447
+ * invertBy(scores, score => score >= 90 ? 'A' : score >= 80 ? 'B' : 'C')
448
+ * // => { B: ['alice'], A: ['bob', 'diana'], C: ['charlie'] }
449
+ *
450
+ * @example
451
+ * // Group products by category
452
+ * const products = {
453
+ * widget: 'electronics',
454
+ * gadget: 'electronics',
455
+ * chair: 'furniture',
456
+ * desk: 'furniture'
457
+ * }
458
+ * invertBy(products)
459
+ * // => { electronics: ['widget', 'gadget'], furniture: ['chair', 'desk'] }
460
+ */
461
+ declare function invertBy<T extends Record<string, unknown>>(obj: T, iteratee?: (value: T[keyof T]) => PropertyKey): Record<PropertyKey, string[]>;
462
+
463
+ export { type PathValue, type Paths, at, clone, cloneDeep, deepGet, deepGetOr, deepHas, deepMerge, deepPath, deepPluck, deepSet, entriesTyped, filterObject, findKey, findLastKey, fromEntriesTyped, get, has, invert, invertBy, isEqual, keysTyped, mapObject, mergeShallow, omit, paths, pick, set, transform, unset, valuesTyped };
@@ -1,113 +1 @@
1
- 'use strict';
2
-
3
- var chunkPQTXSQ4P_js = require('../chunk-PQTXSQ4P.js');
4
- require('../chunk-PZ5AY32C.js');
5
-
6
-
7
-
8
- Object.defineProperty(exports, "clone", {
9
- enumerable: true,
10
- get: function () { return chunkPQTXSQ4P_js.clone; }
11
- });
12
- Object.defineProperty(exports, "cloneDeep", {
13
- enumerable: true,
14
- get: function () { return chunkPQTXSQ4P_js.cloneDeep; }
15
- });
16
- Object.defineProperty(exports, "deepGet", {
17
- enumerable: true,
18
- get: function () { return chunkPQTXSQ4P_js.deepGet; }
19
- });
20
- Object.defineProperty(exports, "deepGetOr", {
21
- enumerable: true,
22
- get: function () { return chunkPQTXSQ4P_js.deepGetOr; }
23
- });
24
- Object.defineProperty(exports, "deepHas", {
25
- enumerable: true,
26
- get: function () { return chunkPQTXSQ4P_js.deepHas; }
27
- });
28
- Object.defineProperty(exports, "deepMerge", {
29
- enumerable: true,
30
- get: function () { return chunkPQTXSQ4P_js.deepMerge; }
31
- });
32
- Object.defineProperty(exports, "deepPath", {
33
- enumerable: true,
34
- get: function () { return chunkPQTXSQ4P_js.deepPath; }
35
- });
36
- Object.defineProperty(exports, "deepPluck", {
37
- enumerable: true,
38
- get: function () { return chunkPQTXSQ4P_js.deepPluck; }
39
- });
40
- Object.defineProperty(exports, "deepSet", {
41
- enumerable: true,
42
- get: function () { return chunkPQTXSQ4P_js.deepSet; }
43
- });
44
- Object.defineProperty(exports, "entriesTyped", {
45
- enumerable: true,
46
- get: function () { return chunkPQTXSQ4P_js.entriesTyped; }
47
- });
48
- Object.defineProperty(exports, "filterObject", {
49
- enumerable: true,
50
- get: function () { return chunkPQTXSQ4P_js.filterObject; }
51
- });
52
- Object.defineProperty(exports, "fromEntriesTyped", {
53
- enumerable: true,
54
- get: function () { return chunkPQTXSQ4P_js.fromEntriesTyped; }
55
- });
56
- Object.defineProperty(exports, "get", {
57
- enumerable: true,
58
- get: function () { return chunkPQTXSQ4P_js.get; }
59
- });
60
- Object.defineProperty(exports, "has", {
61
- enumerable: true,
62
- get: function () { return chunkPQTXSQ4P_js.has; }
63
- });
64
- Object.defineProperty(exports, "invert", {
65
- enumerable: true,
66
- get: function () { return chunkPQTXSQ4P_js.invert; }
67
- });
68
- Object.defineProperty(exports, "isEqual", {
69
- enumerable: true,
70
- get: function () { return chunkPQTXSQ4P_js.isEqual; }
71
- });
72
- Object.defineProperty(exports, "keysTyped", {
73
- enumerable: true,
74
- get: function () { return chunkPQTXSQ4P_js.keysTyped; }
75
- });
76
- Object.defineProperty(exports, "mapObject", {
77
- enumerable: true,
78
- get: function () { return chunkPQTXSQ4P_js.mapObject; }
79
- });
80
- Object.defineProperty(exports, "mergeShallow", {
81
- enumerable: true,
82
- get: function () { return chunkPQTXSQ4P_js.mergeShallow; }
83
- });
84
- Object.defineProperty(exports, "omit", {
85
- enumerable: true,
86
- get: function () { return chunkPQTXSQ4P_js.omit; }
87
- });
88
- Object.defineProperty(exports, "paths", {
89
- enumerable: true,
90
- get: function () { return chunkPQTXSQ4P_js.paths; }
91
- });
92
- Object.defineProperty(exports, "pick", {
93
- enumerable: true,
94
- get: function () { return chunkPQTXSQ4P_js.pick; }
95
- });
96
- Object.defineProperty(exports, "set", {
97
- enumerable: true,
98
- get: function () { return chunkPQTXSQ4P_js.set; }
99
- });
100
- Object.defineProperty(exports, "transform", {
101
- enumerable: true,
102
- get: function () { return chunkPQTXSQ4P_js.transform; }
103
- });
104
- Object.defineProperty(exports, "unset", {
105
- enumerable: true,
106
- get: function () { return chunkPQTXSQ4P_js.unset; }
107
- });
108
- Object.defineProperty(exports, "valuesTyped", {
109
- enumerable: true,
110
- get: function () { return chunkPQTXSQ4P_js.valuesTyped; }
111
- });
112
- //# sourceMappingURL=index.js.map
113
- //# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkFHCBXSNA_js=require('../chunk-FHCBXSNA.js');require('../chunk-WOT6VMZA.js');Object.defineProperty(exports,"at",{enumerable:true,get:function(){return chunkFHCBXSNA_js.C}});Object.defineProperty(exports,"clone",{enumerable:true,get:function(){return chunkFHCBXSNA_js.j}});Object.defineProperty(exports,"cloneDeep",{enumerable:true,get:function(){return chunkFHCBXSNA_js.k}});Object.defineProperty(exports,"deepGet",{enumerable:true,get:function(){return chunkFHCBXSNA_js.u}});Object.defineProperty(exports,"deepGetOr",{enumerable:true,get:function(){return chunkFHCBXSNA_js.v}});Object.defineProperty(exports,"deepHas",{enumerable:true,get:function(){return chunkFHCBXSNA_js.x}});Object.defineProperty(exports,"deepMerge",{enumerable:true,get:function(){return chunkFHCBXSNA_js.o}});Object.defineProperty(exports,"deepPath",{enumerable:true,get:function(){return chunkFHCBXSNA_js.y}});Object.defineProperty(exports,"deepPluck",{enumerable:true,get:function(){return chunkFHCBXSNA_js.z}});Object.defineProperty(exports,"deepSet",{enumerable:true,get:function(){return chunkFHCBXSNA_js.w}});Object.defineProperty(exports,"entriesTyped",{enumerable:true,get:function(){return chunkFHCBXSNA_js.e}});Object.defineProperty(exports,"filterObject",{enumerable:true,get:function(){return chunkFHCBXSNA_js.h}});Object.defineProperty(exports,"findKey",{enumerable:true,get:function(){return chunkFHCBXSNA_js.A}});Object.defineProperty(exports,"findLastKey",{enumerable:true,get:function(){return chunkFHCBXSNA_js.B}});Object.defineProperty(exports,"fromEntriesTyped",{enumerable:true,get:function(){return chunkFHCBXSNA_js.f}});Object.defineProperty(exports,"get",{enumerable:true,get:function(){return chunkFHCBXSNA_js.l}});Object.defineProperty(exports,"has",{enumerable:true,get:function(){return chunkFHCBXSNA_js.q}});Object.defineProperty(exports,"invert",{enumerable:true,get:function(){return chunkFHCBXSNA_js.n}});Object.defineProperty(exports,"invertBy",{enumerable:true,get:function(){return chunkFHCBXSNA_js.D}});Object.defineProperty(exports,"isEqual",{enumerable:true,get:function(){return chunkFHCBXSNA_js.p}});Object.defineProperty(exports,"keysTyped",{enumerable:true,get:function(){return chunkFHCBXSNA_js.c}});Object.defineProperty(exports,"mapObject",{enumerable:true,get:function(){return chunkFHCBXSNA_js.g}});Object.defineProperty(exports,"mergeShallow",{enumerable:true,get:function(){return chunkFHCBXSNA_js.i}});Object.defineProperty(exports,"omit",{enumerable:true,get:function(){return chunkFHCBXSNA_js.b}});Object.defineProperty(exports,"paths",{enumerable:true,get:function(){return chunkFHCBXSNA_js.s}});Object.defineProperty(exports,"pick",{enumerable:true,get:function(){return chunkFHCBXSNA_js.a}});Object.defineProperty(exports,"set",{enumerable:true,get:function(){return chunkFHCBXSNA_js.m}});Object.defineProperty(exports,"transform",{enumerable:true,get:function(){return chunkFHCBXSNA_js.t}});Object.defineProperty(exports,"unset",{enumerable:true,get:function(){return chunkFHCBXSNA_js.r}});Object.defineProperty(exports,"valuesTyped",{enumerable:true,get:function(){return chunkFHCBXSNA_js.d}});
@@ -1,4 +1 @@
1
- export { clone, cloneDeep, deepGet, deepGetOr, deepHas, deepMerge, deepPath, deepPluck, deepSet, entriesTyped, filterObject, fromEntriesTyped, get, has, invert, isEqual, keysTyped, mapObject, mergeShallow, omit, paths, pick, set, transform, unset, valuesTyped } from '../chunk-YBJC5WMX.mjs';
2
- import '../chunk-J5LGTIGS.mjs';
3
- //# sourceMappingURL=index.mjs.map
4
- //# sourceMappingURL=index.mjs.map
1
+ export{C as at,j as clone,k as cloneDeep,u as deepGet,v as deepGetOr,x as deepHas,o as deepMerge,y as deepPath,z as deepPluck,w as deepSet,e as entriesTyped,h as filterObject,A as findKey,B as findLastKey,f as fromEntriesTyped,l as get,q as has,n as invert,D as invertBy,p as isEqual,c as keysTyped,g as mapObject,i as mergeShallow,b as omit,s as paths,a as pick,m as set,t as transform,r as unset,d as valuesTyped}from'../chunk-U7MK5AR5.mjs';import'../chunk-JZXLCA2E.mjs';
@@ -1,86 +1 @@
1
- 'use strict';
2
-
3
- var chunkDBENOSTA_js = require('../chunk-DBENOSTA.js');
4
- var chunkOPVES6W2_js = require('../chunk-OPVES6W2.js');
5
- require('../chunk-PZ5AY32C.js');
6
-
7
-
8
-
9
- Object.defineProperty(exports, "andThen", {
10
- enumerable: true,
11
- get: function () { return chunkDBENOSTA_js.andThen; }
12
- });
13
- Object.defineProperty(exports, "fromNullable", {
14
- enumerable: true,
15
- get: function () { return chunkDBENOSTA_js.fromNullable; }
16
- });
17
- Object.defineProperty(exports, "isErr", {
18
- enumerable: true,
19
- get: function () { return chunkDBENOSTA_js.isErr; }
20
- });
21
- Object.defineProperty(exports, "isOk", {
22
- enumerable: true,
23
- get: function () { return chunkDBENOSTA_js.isOk; }
24
- });
25
- Object.defineProperty(exports, "mapErr", {
26
- enumerable: true,
27
- get: function () { return chunkDBENOSTA_js.mapErr; }
28
- });
29
- Object.defineProperty(exports, "mapOption", {
30
- enumerable: true,
31
- get: function () { return chunkDBENOSTA_js.mapOption; }
32
- });
33
- Object.defineProperty(exports, "mapResult", {
34
- enumerable: true,
35
- get: function () { return chunkDBENOSTA_js.mapResult; }
36
- });
37
- Object.defineProperty(exports, "matchOption", {
38
- enumerable: true,
39
- get: function () { return chunkDBENOSTA_js.matchOption; }
40
- });
41
- Object.defineProperty(exports, "matchResult", {
42
- enumerable: true,
43
- get: function () { return chunkDBENOSTA_js.matchResult; }
44
- });
45
- Object.defineProperty(exports, "none", {
46
- enumerable: true,
47
- get: function () { return chunkDBENOSTA_js.none; }
48
- });
49
- Object.defineProperty(exports, "orElse", {
50
- enumerable: true,
51
- get: function () { return chunkDBENOSTA_js.orElse; }
52
- });
53
- Object.defineProperty(exports, "some", {
54
- enumerable: true,
55
- get: function () { return chunkDBENOSTA_js.some; }
56
- });
57
- Object.defineProperty(exports, "toNullable", {
58
- enumerable: true,
59
- get: function () { return chunkDBENOSTA_js.toNullable; }
60
- });
61
- Object.defineProperty(exports, "unwrap", {
62
- enumerable: true,
63
- get: function () { return chunkDBENOSTA_js.unwrap; }
64
- });
65
- Object.defineProperty(exports, "unwrapOption", {
66
- enumerable: true,
67
- get: function () { return chunkDBENOSTA_js.unwrapOption; }
68
- });
69
- Object.defineProperty(exports, "unwrapOptionOr", {
70
- enumerable: true,
71
- get: function () { return chunkDBENOSTA_js.unwrapOptionOr; }
72
- });
73
- Object.defineProperty(exports, "unwrapOr", {
74
- enumerable: true,
75
- get: function () { return chunkDBENOSTA_js.unwrapOr; }
76
- });
77
- Object.defineProperty(exports, "err", {
78
- enumerable: true,
79
- get: function () { return chunkOPVES6W2_js.err; }
80
- });
81
- Object.defineProperty(exports, "ok", {
82
- enumerable: true,
83
- get: function () { return chunkOPVES6W2_js.ok; }
84
- });
85
- //# sourceMappingURL=index.js.map
86
- //# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkW5I352FJ_js=require('../chunk-W5I352FJ.js'),chunkP4UNM7SF_js=require('../chunk-P4UNM7SF.js');require('../chunk-WOT6VMZA.js');Object.defineProperty(exports,"andThen",{enumerable:true,get:function(){return chunkW5I352FJ_js.f}});Object.defineProperty(exports,"fromNullable",{enumerable:true,get:function(){return chunkW5I352FJ_js.p}});Object.defineProperty(exports,"isErr",{enumerable:true,get:function(){return chunkW5I352FJ_js.k}});Object.defineProperty(exports,"isOk",{enumerable:true,get:function(){return chunkW5I352FJ_js.j}});Object.defineProperty(exports,"mapErr",{enumerable:true,get:function(){return chunkW5I352FJ_js.e}});Object.defineProperty(exports,"mapOption",{enumerable:true,get:function(){return chunkW5I352FJ_js.d}});Object.defineProperty(exports,"mapResult",{enumerable:true,get:function(){return chunkW5I352FJ_js.c}});Object.defineProperty(exports,"matchOption",{enumerable:true,get:function(){return chunkW5I352FJ_js.i}});Object.defineProperty(exports,"matchResult",{enumerable:true,get:function(){return chunkW5I352FJ_js.h}});Object.defineProperty(exports,"none",{enumerable:true,get:function(){return chunkW5I352FJ_js.b}});Object.defineProperty(exports,"orElse",{enumerable:true,get:function(){return chunkW5I352FJ_js.g}});Object.defineProperty(exports,"some",{enumerable:true,get:function(){return chunkW5I352FJ_js.a}});Object.defineProperty(exports,"toNullable",{enumerable:true,get:function(){return chunkW5I352FJ_js.q}});Object.defineProperty(exports,"unwrap",{enumerable:true,get:function(){return chunkW5I352FJ_js.l}});Object.defineProperty(exports,"unwrapOption",{enumerable:true,get:function(){return chunkW5I352FJ_js.m}});Object.defineProperty(exports,"unwrapOptionOr",{enumerable:true,get:function(){return chunkW5I352FJ_js.o}});Object.defineProperty(exports,"unwrapOr",{enumerable:true,get:function(){return chunkW5I352FJ_js.n}});Object.defineProperty(exports,"err",{enumerable:true,get:function(){return chunkP4UNM7SF_js.b}});Object.defineProperty(exports,"ok",{enumerable:true,get:function(){return chunkP4UNM7SF_js.a}});
@@ -1,5 +1 @@
1
- export { andThen, fromNullable, isErr, isOk, mapErr, mapOption, mapResult, matchOption, matchResult, none, orElse, some, toNullable, unwrap, unwrapOption, unwrapOptionOr, unwrapOr } from '../chunk-CN3GYRJN.mjs';
2
- export { err, ok } from '../chunk-FXWYPHA3.mjs';
3
- import '../chunk-J5LGTIGS.mjs';
4
- //# sourceMappingURL=index.mjs.map
5
- //# sourceMappingURL=index.mjs.map
1
+ export{f as andThen,p as fromNullable,k as isErr,j as isOk,e as mapErr,d as mapOption,c as mapResult,i as matchOption,h as matchResult,b as none,g as orElse,a as some,q as toNullable,l as unwrap,m as unwrapOption,o as unwrapOptionOr,n as unwrapOr}from'../chunk-5XQRYI2Q.mjs';export{b as err,a as ok}from'../chunk-5FBZYPQM.mjs';import'../chunk-JZXLCA2E.mjs';
@@ -1,110 +1 @@
1
- 'use strict';
2
-
3
- var chunkFN553YPU_js = require('../chunk-FN553YPU.js');
4
- require('../chunk-OPVES6W2.js');
5
- require('../chunk-PZ5AY32C.js');
6
-
7
-
8
-
9
- Object.defineProperty(exports, "anySchema", {
10
- enumerable: true,
11
- get: function () { return chunkFN553YPU_js.any; }
12
- });
13
- Object.defineProperty(exports, "array", {
14
- enumerable: true,
15
- get: function () { return chunkFN553YPU_js.array; }
16
- });
17
- Object.defineProperty(exports, "boolean", {
18
- enumerable: true,
19
- get: function () { return chunkFN553YPU_js.boolean; }
20
- });
21
- Object.defineProperty(exports, "createGuard", {
22
- enumerable: true,
23
- get: function () { return chunkFN553YPU_js.createGuard; }
24
- });
25
- Object.defineProperty(exports, "createParser", {
26
- enumerable: true,
27
- get: function () { return chunkFN553YPU_js.createParser; }
28
- });
29
- Object.defineProperty(exports, "date", {
30
- enumerable: true,
31
- get: function () { return chunkFN553YPU_js.date; }
32
- });
33
- Object.defineProperty(exports, "email", {
34
- enumerable: true,
35
- get: function () { return chunkFN553YPU_js.email; }
36
- });
37
- Object.defineProperty(exports, "intersection", {
38
- enumerable: true,
39
- get: function () { return chunkFN553YPU_js.intersection; }
40
- });
41
- Object.defineProperty(exports, "is", {
42
- enumerable: true,
43
- get: function () { return chunkFN553YPU_js.is; }
44
- });
45
- Object.defineProperty(exports, "literal", {
46
- enumerable: true,
47
- get: function () { return chunkFN553YPU_js.literal; }
48
- });
49
- Object.defineProperty(exports, "nullable", {
50
- enumerable: true,
51
- get: function () { return chunkFN553YPU_js.nullable; }
52
- });
53
- Object.defineProperty(exports, "number", {
54
- enumerable: true,
55
- get: function () { return chunkFN553YPU_js.number; }
56
- });
57
- Object.defineProperty(exports, "object", {
58
- enumerable: true,
59
- get: function () { return chunkFN553YPU_js.object; }
60
- });
61
- Object.defineProperty(exports, "optional", {
62
- enumerable: true,
63
- get: function () { return chunkFN553YPU_js.optional; }
64
- });
65
- Object.defineProperty(exports, "parse", {
66
- enumerable: true,
67
- get: function () { return chunkFN553YPU_js.parse; }
68
- });
69
- Object.defineProperty(exports, "parseJson", {
70
- enumerable: true,
71
- get: function () { return chunkFN553YPU_js.parseJson; }
72
- });
73
- Object.defineProperty(exports, "record", {
74
- enumerable: true,
75
- get: function () { return chunkFN553YPU_js.record; }
76
- });
77
- Object.defineProperty(exports, "safeParse", {
78
- enumerable: true,
79
- get: function () { return chunkFN553YPU_js.safeParse; }
80
- });
81
- Object.defineProperty(exports, "string", {
82
- enumerable: true,
83
- get: function () { return chunkFN553YPU_js.string; }
84
- });
85
- Object.defineProperty(exports, "tuple", {
86
- enumerable: true,
87
- get: function () { return chunkFN553YPU_js.tuple; }
88
- });
89
- Object.defineProperty(exports, "union", {
90
- enumerable: true,
91
- get: function () { return chunkFN553YPU_js.union; }
92
- });
93
- Object.defineProperty(exports, "unknownSchema", {
94
- enumerable: true,
95
- get: function () { return chunkFN553YPU_js.unknown; }
96
- });
97
- Object.defineProperty(exports, "url", {
98
- enumerable: true,
99
- get: function () { return chunkFN553YPU_js.url; }
100
- });
101
- Object.defineProperty(exports, "uuid", {
102
- enumerable: true,
103
- get: function () { return chunkFN553YPU_js.uuid; }
104
- });
105
- Object.defineProperty(exports, "validate", {
106
- enumerable: true,
107
- get: function () { return chunkFN553YPU_js.validate; }
108
- });
109
- //# sourceMappingURL=index.js.map
110
- //# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkWDFIRO2J_js=require('../chunk-WDFIRO2J.js');require('../chunk-P4UNM7SF.js'),require('../chunk-WOT6VMZA.js');Object.defineProperty(exports,"anySchema",{enumerable:true,get:function(){return chunkWDFIRO2J_js.n}});Object.defineProperty(exports,"array",{enumerable:true,get:function(){return chunkWDFIRO2J_js.e}});Object.defineProperty(exports,"boolean",{enumerable:true,get:function(){return chunkWDFIRO2J_js.c}});Object.defineProperty(exports,"createGuard",{enumerable:true,get:function(){return chunkWDFIRO2J_js.x}});Object.defineProperty(exports,"createParser",{enumerable:true,get:function(){return chunkWDFIRO2J_js.y}});Object.defineProperty(exports,"date",{enumerable:true,get:function(){return chunkWDFIRO2J_js.o}});Object.defineProperty(exports,"email",{enumerable:true,get:function(){return chunkWDFIRO2J_js.p}});Object.defineProperty(exports,"intersection",{enumerable:true,get:function(){return chunkWDFIRO2J_js.j}});Object.defineProperty(exports,"is",{enumerable:true,get:function(){return chunkWDFIRO2J_js.v}});Object.defineProperty(exports,"literal",{enumerable:true,get:function(){return chunkWDFIRO2J_js.d}});Object.defineProperty(exports,"nullable",{enumerable:true,get:function(){return chunkWDFIRO2J_js.h}});Object.defineProperty(exports,"number",{enumerable:true,get:function(){return chunkWDFIRO2J_js.b}});Object.defineProperty(exports,"object",{enumerable:true,get:function(){return chunkWDFIRO2J_js.f}});Object.defineProperty(exports,"optional",{enumerable:true,get:function(){return chunkWDFIRO2J_js.g}});Object.defineProperty(exports,"parse",{enumerable:true,get:function(){return chunkWDFIRO2J_js.s}});Object.defineProperty(exports,"parseJson",{enumerable:true,get:function(){return chunkWDFIRO2J_js.w}});Object.defineProperty(exports,"record",{enumerable:true,get:function(){return chunkWDFIRO2J_js.k}});Object.defineProperty(exports,"safeParse",{enumerable:true,get:function(){return chunkWDFIRO2J_js.t}});Object.defineProperty(exports,"string",{enumerable:true,get:function(){return chunkWDFIRO2J_js.a}});Object.defineProperty(exports,"tuple",{enumerable:true,get:function(){return chunkWDFIRO2J_js.l}});Object.defineProperty(exports,"union",{enumerable:true,get:function(){return chunkWDFIRO2J_js.i}});Object.defineProperty(exports,"unknownSchema",{enumerable:true,get:function(){return chunkWDFIRO2J_js.m}});Object.defineProperty(exports,"url",{enumerable:true,get:function(){return chunkWDFIRO2J_js.q}});Object.defineProperty(exports,"uuid",{enumerable:true,get:function(){return chunkWDFIRO2J_js.r}});Object.defineProperty(exports,"validate",{enumerable:true,get:function(){return chunkWDFIRO2J_js.u}});
@@ -1,5 +1 @@
1
- export { any as anySchema, array, boolean, createGuard, createParser, date, email, intersection, is, literal, nullable, number, object, optional, parse, parseJson, record, safeParse, string, tuple, union, unknown as unknownSchema, url, uuid, validate } from '../chunk-N6IUADIP.mjs';
2
- import '../chunk-FXWYPHA3.mjs';
3
- import '../chunk-J5LGTIGS.mjs';
4
- //# sourceMappingURL=index.mjs.map
5
- //# sourceMappingURL=index.mjs.map
1
+ export{n as anySchema,e as array,c as boolean,x as createGuard,y as createParser,o as date,p as email,j as intersection,v as is,d as literal,h as nullable,b as number,f as object,g as optional,s as parse,w as parseJson,k as record,t as safeParse,a as string,l as tuple,i as union,m as unknownSchema,q as url,r as uuid,u as validate}from'../chunk-RHMANSTA.mjs';import'../chunk-5FBZYPQM.mjs';import'../chunk-JZXLCA2E.mjs';