@augment-vir/core 32.1.0 → 32.2.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 (85) hide show
  1. package/dist/augments/error/ensure-error.d.ts +1 -1
  2. package/dist/augments/json/json-compatible.d.ts +2 -1
  3. package/dist/augments/json/json-value.d.ts +46 -0
  4. package/dist/augments/json/json-value.js +1 -0
  5. package/dist/augments/json/jsonify.d.ts +41 -0
  6. package/dist/augments/json/jsonify.js +1 -0
  7. package/dist/augments/number/infinity.d.ts +22 -0
  8. package/dist/augments/number/infinity.js +1 -0
  9. package/dist/augments/object/object-keys.d.ts +1 -1
  10. package/dist/augments/object/required-keys.d.ts +5 -5
  11. package/dist/augments/type/built-in-type.d.ts +28 -0
  12. package/dist/augments/type/built-in-type.js +1 -0
  13. package/dist/augments/type/conditional-type.d.ts +13 -0
  14. package/dist/augments/type/conditional-type.js +1 -0
  15. package/dist/augments/type/constructor-type.d.ts +51 -0
  16. package/dist/augments/type/constructor-type.js +1 -0
  17. package/dist/augments/type/distributed-omit.d.ts +13 -0
  18. package/dist/augments/type/distributed-omit.js +1 -0
  19. package/dist/augments/type/empty-object.d.ts +27 -0
  20. package/dist/augments/type/empty-object.js +1 -0
  21. package/dist/augments/type/exact.d.ts +23 -0
  22. package/dist/augments/type/exact.js +1 -0
  23. package/dist/augments/type/except.d.ts +37 -0
  24. package/dist/augments/type/except.js +1 -0
  25. package/dist/augments/type/is-unknown.d.ts +22 -0
  26. package/dist/augments/type/is-unknown.js +1 -0
  27. package/dist/augments/type/keys-of-union.d.ts +14 -0
  28. package/dist/augments/type/keys-of-union.js +1 -0
  29. package/dist/augments/type/literal-union.d.ts +13 -0
  30. package/dist/augments/type/literal-union.js +1 -0
  31. package/dist/augments/type/non-empty-string.d.ts +9 -0
  32. package/dist/augments/type/non-empty-string.js +1 -0
  33. package/dist/augments/type/omit-deep.d.ts +290 -0
  34. package/dist/augments/type/omit-deep.js +1 -0
  35. package/dist/augments/type/omit-index-signature.d.ts +14 -0
  36. package/dist/augments/type/omit-index-signature.js +2 -0
  37. package/dist/augments/type/optional-keys-of.d.ts +25 -0
  38. package/dist/augments/type/optional-keys-of.js +1 -0
  39. package/dist/augments/type/package-json.d.ts +176 -0
  40. package/dist/augments/type/package-json.js +1 -0
  41. package/dist/augments/type/partial-deep.d.ts +52 -0
  42. package/dist/augments/type/partial-deep.js +1 -0
  43. package/dist/augments/type/primitive-type.d.ts +11 -0
  44. package/dist/augments/type/primitive-type.js +1 -0
  45. package/dist/augments/type/promisable.d.ts +11 -0
  46. package/dist/augments/type/promisable.js +1 -0
  47. package/dist/augments/type/readonly-deep.d.ts +30 -0
  48. package/dist/augments/type/readonly-deep.js +1 -0
  49. package/dist/augments/type/readonly-keys-of.d.ts +20 -0
  50. package/dist/augments/type/readonly-keys-of.js +1 -0
  51. package/dist/augments/type/require-keys.d.ts +43 -0
  52. package/dist/augments/type/require-keys.js +1 -0
  53. package/dist/augments/type/require-one-or-none.d.ts +16 -0
  54. package/dist/augments/type/require-one-or-none.js +1 -0
  55. package/dist/augments/type/set-optional.d.ts +19 -0
  56. package/dist/augments/type/set-optional.js +1 -0
  57. package/dist/augments/type/set-required.d.ts +47 -0
  58. package/dist/augments/type/set-required.js +1 -0
  59. package/dist/augments/type/simplify.d.ts +14 -0
  60. package/dist/augments/type/simplify.js +1 -0
  61. package/dist/augments/type/subtract.d.ts +177 -0
  62. package/dist/augments/type/subtract.js +1 -0
  63. package/dist/augments/type/tagged.d.ts +30 -0
  64. package/dist/augments/type/tagged.js +1 -0
  65. package/dist/augments/type/type-checks.d.ts +32 -0
  66. package/dist/augments/type/type-checks.js +9 -0
  67. package/dist/augments/type/typed-array.d.ts +13 -0
  68. package/dist/augments/type/typed-array.js +1 -0
  69. package/dist/augments/type/undefined-to-optional.d.ts +27 -0
  70. package/dist/augments/type/undefined-to-optional.js +1 -0
  71. package/dist/augments/type/union-to-intersection.d.ts +11 -0
  72. package/dist/augments/type/union-to-intersection.js +1 -0
  73. package/dist/augments/type/union-to-tuple.d.ts +18 -0
  74. package/dist/augments/type/union-to-tuple.js +1 -0
  75. package/dist/augments/type/unknown-array.d.ts +11 -0
  76. package/dist/augments/type/unknown-array.js +1 -0
  77. package/dist/augments/type/writable-deep.d.ts +32 -0
  78. package/dist/augments/type/writable-deep.js +1 -0
  79. package/dist/augments/type/writable-keys-of.d.ts +12 -0
  80. package/dist/augments/type/writable-keys-of.js +1 -0
  81. package/dist/augments/type/writable.d.ts +29 -0
  82. package/dist/augments/type/writable.js +1 -0
  83. package/dist/index.d.ts +39 -0
  84. package/dist/index.js +39 -0
  85. package/package.json +2 -3
package/dist/index.d.ts CHANGED
@@ -11,9 +11,12 @@ export * from './augments/function/typed-function-type.js';
11
11
  export * from './augments/http/http-method.js';
12
12
  export * from './augments/http/http-status.js';
13
13
  export * from './augments/json/json-compatible.js';
14
+ export * from './augments/json/json-value.js';
15
+ export * from './augments/json/jsonify.js';
14
16
  export * from './augments/min-max.js';
15
17
  export * from './augments/narrow-type.js';
16
18
  export * from './augments/number/digit.js';
19
+ export * from './augments/number/infinity.js';
17
20
  export * from './augments/object/generic-object-type.js';
18
21
  export * from './augments/object/object-keys.js';
19
22
  export * from './augments/object/object-sort.js';
@@ -37,3 +40,39 @@ export * from './augments/string/punctuation.js';
37
40
  export * from './augments/string/remove-duplicate-characters.js';
38
41
  export * from './augments/string/uuid.js';
39
42
  export * from './augments/type/branded-type.js';
43
+ export * from './augments/type/built-in-type.js';
44
+ export * from './augments/type/conditional-type.js';
45
+ export * from './augments/type/constructor-type.js';
46
+ export * from './augments/type/distributed-omit.js';
47
+ export * from './augments/type/empty-object.js';
48
+ export * from './augments/type/exact.js';
49
+ export * from './augments/type/except.js';
50
+ export * from './augments/type/is-unknown.js';
51
+ export * from './augments/type/keys-of-union.js';
52
+ export * from './augments/type/literal-union.js';
53
+ export * from './augments/type/non-empty-string.js';
54
+ export * from './augments/type/omit-deep.js';
55
+ export * from './augments/type/omit-index-signature.js';
56
+ export * from './augments/type/optional-keys-of.js';
57
+ export * from './augments/type/package-json.js';
58
+ export * from './augments/type/partial-deep.js';
59
+ export * from './augments/type/primitive-type.js';
60
+ export * from './augments/type/promisable.js';
61
+ export * from './augments/type/readonly-deep.js';
62
+ export * from './augments/type/readonly-keys-of.js';
63
+ export * from './augments/type/require-keys.js';
64
+ export * from './augments/type/require-one-or-none.js';
65
+ export * from './augments/type/set-optional.js';
66
+ export * from './augments/type/set-required.js';
67
+ export * from './augments/type/simplify.js';
68
+ export * from './augments/type/subtract.js';
69
+ export * from './augments/type/tagged.js';
70
+ export * from './augments/type/type-checks.js';
71
+ export * from './augments/type/typed-array.js';
72
+ export * from './augments/type/undefined-to-optional.js';
73
+ export * from './augments/type/union-to-intersection.js';
74
+ export * from './augments/type/union-to-tuple.js';
75
+ export * from './augments/type/unknown-array.js';
76
+ export * from './augments/type/writable-deep.js';
77
+ export * from './augments/type/writable-keys-of.js';
78
+ export * from './augments/type/writable.js';
package/dist/index.js CHANGED
@@ -11,9 +11,12 @@ export * from './augments/function/typed-function-type.js';
11
11
  export * from './augments/http/http-method.js';
12
12
  export * from './augments/http/http-status.js';
13
13
  export * from './augments/json/json-compatible.js';
14
+ export * from './augments/json/json-value.js';
15
+ export * from './augments/json/jsonify.js';
14
16
  export * from './augments/min-max.js';
15
17
  export * from './augments/narrow-type.js';
16
18
  export * from './augments/number/digit.js';
19
+ export * from './augments/number/infinity.js';
17
20
  export * from './augments/object/generic-object-type.js';
18
21
  export * from './augments/object/object-keys.js';
19
22
  export * from './augments/object/object-sort.js';
@@ -37,3 +40,39 @@ export * from './augments/string/punctuation.js';
37
40
  export * from './augments/string/remove-duplicate-characters.js';
38
41
  export * from './augments/string/uuid.js';
39
42
  export * from './augments/type/branded-type.js';
43
+ export * from './augments/type/built-in-type.js';
44
+ export * from './augments/type/conditional-type.js';
45
+ export * from './augments/type/constructor-type.js';
46
+ export * from './augments/type/distributed-omit.js';
47
+ export * from './augments/type/empty-object.js';
48
+ export * from './augments/type/exact.js';
49
+ export * from './augments/type/except.js';
50
+ export * from './augments/type/is-unknown.js';
51
+ export * from './augments/type/keys-of-union.js';
52
+ export * from './augments/type/literal-union.js';
53
+ export * from './augments/type/non-empty-string.js';
54
+ export * from './augments/type/omit-deep.js';
55
+ export * from './augments/type/omit-index-signature.js';
56
+ export * from './augments/type/optional-keys-of.js';
57
+ export * from './augments/type/package-json.js';
58
+ export * from './augments/type/partial-deep.js';
59
+ export * from './augments/type/primitive-type.js';
60
+ export * from './augments/type/promisable.js';
61
+ export * from './augments/type/readonly-deep.js';
62
+ export * from './augments/type/readonly-keys-of.js';
63
+ export * from './augments/type/require-keys.js';
64
+ export * from './augments/type/require-one-or-none.js';
65
+ export * from './augments/type/set-optional.js';
66
+ export * from './augments/type/set-required.js';
67
+ export * from './augments/type/simplify.js';
68
+ export * from './augments/type/subtract.js';
69
+ export * from './augments/type/tagged.js';
70
+ export * from './augments/type/type-checks.js';
71
+ export * from './augments/type/typed-array.js';
72
+ export * from './augments/type/undefined-to-optional.js';
73
+ export * from './augments/type/union-to-intersection.js';
74
+ export * from './augments/type/union-to-tuple.js';
75
+ export * from './augments/type/unknown-array.js';
76
+ export * from './augments/type/writable-deep.js';
77
+ export * from './augments/type/writable-keys-of.js';
78
+ export * from './augments/type/writable.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augment-vir/core",
3
- "version": "32.1.0",
3
+ "version": "32.2.0",
4
4
  "description": "Core augment-vir augments. Use @augment-vir/common instead.",
5
5
  "homepage": "https://github.com/electrovir/augment-vir",
6
6
  "bugs": {
@@ -31,8 +31,7 @@
31
31
  "@date-vir/duration": "^8.6.1",
32
32
  "browser-or-node": "^3.0.0",
33
33
  "diff": "^9.0.0",
34
- "json5": "^2.2.3",
35
- "type-fest": "^5.7.0"
34
+ "json5": "^2.2.3"
36
35
  },
37
36
  "devDependencies": {
38
37
  "@types/node": "^26.0.1",