@contractspec/lib.utils-typescript 1.57.0 → 1.58.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 (160) hide show
  1. package/dist/browser/index.js +7 -0
  2. package/dist/browser/lib/AwaitedResult.js +0 -0
  3. package/dist/browser/lib/BrowserNativeObject.js +0 -0
  4. package/dist/browser/lib/DeepInfiniteArray.js +0 -0
  5. package/dist/browser/lib/DeepKeepOnly.js +0 -0
  6. package/dist/browser/lib/DeepKey.js +0 -0
  7. package/dist/browser/lib/DeepMap.js +0 -0
  8. package/dist/browser/lib/DeepNullable.js +0 -0
  9. package/dist/browser/lib/DeepOr.js +0 -0
  10. package/dist/browser/lib/DeepPartial.js +0 -0
  11. package/dist/browser/lib/DeepReplace.js +0 -0
  12. package/dist/browser/lib/DeepReplaceNullByUndefined.js +0 -0
  13. package/dist/browser/lib/DeepValue.js +0 -0
  14. package/dist/browser/lib/DictionaryFromEnum.js +0 -0
  15. package/dist/browser/lib/DictionaryFromEnumMapping.js +0 -0
  16. package/dist/browser/lib/EmptyRecord.js +0 -0
  17. package/dist/browser/lib/Identified.js +0 -0
  18. package/dist/browser/lib/IdentifiedLabel.js +0 -0
  19. package/dist/browser/lib/IsAny.js +0 -0
  20. package/dist/browser/lib/Json.js +0 -0
  21. package/dist/browser/lib/KeepOnly.js +0 -0
  22. package/dist/browser/lib/Maybe.js +0 -0
  23. package/dist/browser/lib/MaybeArray.js +0 -0
  24. package/dist/browser/lib/NestedValue.js +0 -0
  25. package/dist/browser/lib/NonUndefined.js +0 -0
  26. package/dist/browser/lib/Primitive.js +0 -0
  27. package/dist/browser/lib/Replaced.js +0 -0
  28. package/dist/browser/lib/ReverseMap.js +0 -0
  29. package/dist/browser/lib/Satisfies.js +0 -0
  30. package/dist/browser/lib/StringKey.js +0 -0
  31. package/dist/browser/lib/StringKeysOnly.js +0 -0
  32. package/dist/index.d.ts +34 -32
  33. package/dist/index.d.ts.map +1 -0
  34. package/dist/index.js +8 -3
  35. package/dist/lib/AwaitedResult.d.ts +1 -4
  36. package/dist/lib/AwaitedResult.d.ts.map +1 -1
  37. package/dist/lib/AwaitedResult.js +1 -0
  38. package/dist/lib/BrowserNativeObject.d.ts +1 -4
  39. package/dist/lib/BrowserNativeObject.d.ts.map +1 -1
  40. package/dist/lib/BrowserNativeObject.js +1 -0
  41. package/dist/lib/DeepInfiniteArray.d.ts +1 -4
  42. package/dist/lib/DeepInfiniteArray.d.ts.map +1 -1
  43. package/dist/lib/DeepInfiniteArray.js +1 -0
  44. package/dist/lib/DeepKeepOnly.d.ts +2 -6
  45. package/dist/lib/DeepKeepOnly.d.ts.map +1 -1
  46. package/dist/lib/DeepKeepOnly.js +1 -0
  47. package/dist/lib/DeepKey.d.ts +1 -4
  48. package/dist/lib/DeepKey.d.ts.map +1 -1
  49. package/dist/lib/DeepKey.js +1 -0
  50. package/dist/lib/DeepMap.d.ts +7 -9
  51. package/dist/lib/DeepMap.d.ts.map +1 -1
  52. package/dist/lib/DeepMap.js +1 -0
  53. package/dist/lib/DeepNullable.d.ts +2 -6
  54. package/dist/lib/DeepNullable.d.ts.map +1 -1
  55. package/dist/lib/DeepNullable.js +1 -0
  56. package/dist/lib/DeepOr.d.ts +3 -4
  57. package/dist/lib/DeepOr.d.ts.map +1 -1
  58. package/dist/lib/DeepOr.js +1 -0
  59. package/dist/lib/DeepPartial.d.ts +3 -4
  60. package/dist/lib/DeepPartial.d.ts.map +1 -1
  61. package/dist/lib/DeepPartial.js +1 -0
  62. package/dist/lib/DeepReplace.d.ts +3 -4
  63. package/dist/lib/DeepReplace.d.ts.map +1 -1
  64. package/dist/lib/DeepReplace.js +1 -0
  65. package/dist/lib/DeepReplaceNullByUndefined.d.ts +2 -6
  66. package/dist/lib/DeepReplaceNullByUndefined.d.ts.map +1 -1
  67. package/dist/lib/DeepReplaceNullByUndefined.js +1 -0
  68. package/dist/lib/DeepValue.d.ts +2 -6
  69. package/dist/lib/DeepValue.d.ts.map +1 -1
  70. package/dist/lib/DeepValue.js +1 -0
  71. package/dist/lib/DictionaryFromEnum.d.ts +1 -4
  72. package/dist/lib/DictionaryFromEnum.d.ts.map +1 -1
  73. package/dist/lib/DictionaryFromEnum.js +1 -0
  74. package/dist/lib/DictionaryFromEnumMapping.d.ts +3 -4
  75. package/dist/lib/DictionaryFromEnumMapping.d.ts.map +1 -1
  76. package/dist/lib/DictionaryFromEnumMapping.js +1 -0
  77. package/dist/lib/EmptyRecord.d.ts +3 -6
  78. package/dist/lib/EmptyRecord.d.ts.map +1 -1
  79. package/dist/lib/EmptyRecord.js +1 -0
  80. package/dist/lib/Identified.d.ts +2 -5
  81. package/dist/lib/Identified.d.ts.map +1 -1
  82. package/dist/lib/Identified.js +1 -0
  83. package/dist/lib/IdentifiedLabel.d.ts +3 -7
  84. package/dist/lib/IdentifiedLabel.d.ts.map +1 -1
  85. package/dist/lib/IdentifiedLabel.js +1 -0
  86. package/dist/lib/IsAny.d.ts +1 -4
  87. package/dist/lib/IsAny.d.ts.map +1 -1
  88. package/dist/lib/IsAny.js +1 -0
  89. package/dist/lib/Json.d.ts +12 -13
  90. package/dist/lib/Json.d.ts.map +1 -1
  91. package/dist/lib/Json.js +1 -0
  92. package/dist/lib/KeepOnly.d.ts +3 -4
  93. package/dist/lib/KeepOnly.d.ts.map +1 -1
  94. package/dist/lib/KeepOnly.js +1 -0
  95. package/dist/lib/Maybe.d.ts +1 -4
  96. package/dist/lib/Maybe.d.ts.map +1 -1
  97. package/dist/lib/Maybe.js +1 -0
  98. package/dist/lib/MaybeArray.d.ts +1 -4
  99. package/dist/lib/MaybeArray.d.ts.map +1 -1
  100. package/dist/lib/MaybeArray.js +1 -0
  101. package/dist/lib/NestedValue.d.ts +3 -5
  102. package/dist/lib/NestedValue.d.ts.map +1 -1
  103. package/dist/lib/NestedValue.js +1 -0
  104. package/dist/lib/NonUndefined.d.ts +1 -4
  105. package/dist/lib/NonUndefined.d.ts.map +1 -1
  106. package/dist/lib/NonUndefined.js +1 -0
  107. package/dist/lib/Primitive.d.ts +2 -6
  108. package/dist/lib/Primitive.d.ts.map +1 -1
  109. package/dist/lib/Primitive.js +1 -0
  110. package/dist/lib/Replaced.d.ts +4 -6
  111. package/dist/lib/Replaced.d.ts.map +1 -1
  112. package/dist/lib/Replaced.js +1 -0
  113. package/dist/lib/ReverseMap.d.ts +3 -4
  114. package/dist/lib/ReverseMap.d.ts.map +1 -1
  115. package/dist/lib/ReverseMap.js +1 -0
  116. package/dist/lib/Satisfies.d.ts +1 -4
  117. package/dist/lib/Satisfies.d.ts.map +1 -1
  118. package/dist/lib/Satisfies.js +1 -0
  119. package/dist/lib/StringKey.d.ts +3 -4
  120. package/dist/lib/StringKey.d.ts.map +1 -1
  121. package/dist/lib/StringKey.js +1 -0
  122. package/dist/lib/StringKeysOnly.d.ts +2 -6
  123. package/dist/lib/StringKeysOnly.d.ts.map +1 -1
  124. package/dist/lib/StringKeysOnly.js +1 -0
  125. package/dist/node/index.js +7 -0
  126. package/dist/node/lib/AwaitedResult.js +0 -0
  127. package/dist/node/lib/BrowserNativeObject.js +0 -0
  128. package/dist/node/lib/DeepInfiniteArray.js +0 -0
  129. package/dist/node/lib/DeepKeepOnly.js +0 -0
  130. package/dist/node/lib/DeepKey.js +0 -0
  131. package/dist/node/lib/DeepMap.js +0 -0
  132. package/dist/node/lib/DeepNullable.js +0 -0
  133. package/dist/node/lib/DeepOr.js +0 -0
  134. package/dist/node/lib/DeepPartial.js +0 -0
  135. package/dist/node/lib/DeepReplace.js +0 -0
  136. package/dist/node/lib/DeepReplaceNullByUndefined.js +0 -0
  137. package/dist/node/lib/DeepValue.js +0 -0
  138. package/dist/node/lib/DictionaryFromEnum.js +0 -0
  139. package/dist/node/lib/DictionaryFromEnumMapping.js +0 -0
  140. package/dist/node/lib/EmptyRecord.js +0 -0
  141. package/dist/node/lib/Identified.js +0 -0
  142. package/dist/node/lib/IdentifiedLabel.js +0 -0
  143. package/dist/node/lib/IsAny.js +0 -0
  144. package/dist/node/lib/Json.js +0 -0
  145. package/dist/node/lib/KeepOnly.js +0 -0
  146. package/dist/node/lib/Maybe.js +0 -0
  147. package/dist/node/lib/MaybeArray.js +0 -0
  148. package/dist/node/lib/NestedValue.js +0 -0
  149. package/dist/node/lib/NonUndefined.js +0 -0
  150. package/dist/node/lib/Primitive.js +0 -0
  151. package/dist/node/lib/Replaced.js +0 -0
  152. package/dist/node/lib/ReverseMap.js +0 -0
  153. package/dist/node/lib/Satisfies.js +0 -0
  154. package/dist/node/lib/StringKey.js +0 -0
  155. package/dist/node/lib/StringKeysOnly.js +0 -0
  156. package/dist/staticShouldNotHappen.d.ts +1 -4
  157. package/dist/staticShouldNotHappen.d.ts.map +1 -1
  158. package/package.json +258 -73
  159. package/dist/staticShouldNotHappen.js +0 -8
  160. package/dist/staticShouldNotHappen.js.map +0 -1
@@ -0,0 +1,7 @@
1
+ // src/staticShouldNotHappen.ts
2
+ function staticShouldNotHappen(value) {
3
+ throw new Error(`Missing switch value ${value?.toString?.()}`);
4
+ }
5
+ export {
6
+ staticShouldNotHappen
7
+ };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/index.d.ts CHANGED
@@ -1,32 +1,34 @@
1
- import { AwaitedResult } from "./lib/AwaitedResult.js";
2
- import { BrowserNativeObject } from "./lib/BrowserNativeObject.js";
3
- import { DeepInfiniteArray } from "./lib/DeepInfiniteArray.js";
4
- import { KeepOnly } from "./lib/KeepOnly.js";
5
- import { DeepKeepOnly } from "./lib/DeepKeepOnly.js";
6
- import { DeepKey } from "./lib/DeepKey.js";
7
- import { IsAny } from "./lib/IsAny.js";
8
- import { NestedValue } from "./lib/NestedValue.js";
9
- import { NonUndefined } from "./lib/NonUndefined.js";
10
- import { DeepMap } from "./lib/DeepMap.js";
11
- import { DeepOr } from "./lib/DeepOr.js";
12
- import { DeepNullable } from "./lib/DeepNullable.js";
13
- import { DeepPartial } from "./lib/DeepPartial.js";
14
- import { DeepReplace } from "./lib/DeepReplace.js";
15
- import { DeepReplaceNullByUndefined } from "./lib/DeepReplaceNullByUndefined.js";
16
- import { DeepValue } from "./lib/DeepValue.js";
17
- import { DictionaryFromEnum } from "./lib/DictionaryFromEnum.js";
18
- import { DictionaryFromEnumMapping } from "./lib/DictionaryFromEnumMapping.js";
19
- import { AnyRecord, EmptyRecord, UnknownRecord } from "./lib/EmptyRecord.js";
20
- import { Identified } from "./lib/Identified.js";
21
- import { IdentifiedLabel } from "./lib/IdentifiedLabel.js";
22
- import { ExtendedJsonObject, JSONArray, JSONObject, JSONValue, NonJsonArray, NonJsonObject, NonJsonValue, PrimitiveJSONValue } from "./lib/Json.js";
23
- import { Maybe } from "./lib/Maybe.js";
24
- import { MaybeArray } from "./lib/MaybeArray.js";
25
- import { Primitive } from "./lib/Primitive.js";
26
- import { Replaced } from "./lib/Replaced.js";
27
- import { ReverseMap } from "./lib/ReverseMap.js";
28
- import { Satisfies } from "./lib/Satisfies.js";
29
- import { StringKey } from "./lib/StringKey.js";
30
- import { StringKeysOnly } from "./lib/StringKeysOnly.js";
31
- import { staticShouldNotHappen } from "./staticShouldNotHappen.js";
32
- export { AnyRecord, AwaitedResult, BrowserNativeObject, DeepInfiniteArray, DeepKeepOnly, DeepKey, DeepMap, DeepNullable, DeepOr, DeepPartial, DeepReplace, DeepReplaceNullByUndefined, DeepValue, DictionaryFromEnum, DictionaryFromEnumMapping, EmptyRecord, ExtendedJsonObject, Identified, IdentifiedLabel, IsAny, JSONArray, JSONObject, JSONValue, KeepOnly, Maybe, MaybeArray, NestedValue, NonJsonArray, NonJsonObject, NonJsonValue, NonUndefined, Primitive, PrimitiveJSONValue, Replaced, ReverseMap, Satisfies, StringKey, StringKeysOnly, UnknownRecord, staticShouldNotHappen };
1
+ export type * from './lib/AwaitedResult';
2
+ export type * from './lib/AwaitedResult';
3
+ export type * from './lib/BrowserNativeObject';
4
+ export type * from './lib/DeepInfiniteArray';
5
+ export type * from './lib/DeepKeepOnly';
6
+ export type * from './lib/DeepKey';
7
+ export type * from './lib/DeepMap';
8
+ export type * from './lib/DeepNullable';
9
+ export type * from './lib/DeepOr';
10
+ export type * from './lib/DeepPartial';
11
+ export type * from './lib/DeepReplace';
12
+ export type * from './lib/DeepReplaceNullByUndefined';
13
+ export type * from './lib/DeepValue';
14
+ export type * from './lib/DictionaryFromEnum';
15
+ export type * from './lib/DictionaryFromEnumMapping';
16
+ export type * from './lib/EmptyRecord';
17
+ export type * from './lib/Identified';
18
+ export type * from './lib/IdentifiedLabel';
19
+ export type * from './lib/IsAny';
20
+ export type * from './lib/Json';
21
+ export type * from './lib/KeepOnly';
22
+ export type * from './lib/Maybe';
23
+ export type * from './lib/MaybeArray';
24
+ export type * from './lib/NestedValue';
25
+ export type * from './lib/NonUndefined';
26
+ export type * from './lib/Primitive';
27
+ export type * from './lib/Primitive';
28
+ export type * from './lib/Replaced';
29
+ export type * from './lib/ReverseMap';
30
+ export type * from './lib/Satisfies';
31
+ export type * from './lib/StringKey';
32
+ export type * from './lib/StringKeysOnly';
33
+ export * from './staticShouldNotHappen';
34
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,qBAAqB,CAAC;AACzC,mBAAmB,qBAAqB,CAAC;AACzC,mBAAmB,2BAA2B,CAAC;AAC/C,mBAAmB,yBAAyB,CAAC;AAC7C,mBAAmB,oBAAoB,CAAC;AACxC,mBAAmB,eAAe,CAAC;AACnC,mBAAmB,eAAe,CAAC;AACnC,mBAAmB,oBAAoB,CAAC;AACxC,mBAAmB,cAAc,CAAC;AAClC,mBAAmB,mBAAmB,CAAC;AACvC,mBAAmB,mBAAmB,CAAC;AACvC,mBAAmB,kCAAkC,CAAC;AACtD,mBAAmB,iBAAiB,CAAC;AACrC,mBAAmB,0BAA0B,CAAC;AAC9C,mBAAmB,iCAAiC,CAAC;AACrD,mBAAmB,mBAAmB,CAAC;AACvC,mBAAmB,kBAAkB,CAAC;AACtC,mBAAmB,uBAAuB,CAAC;AAC3C,mBAAmB,aAAa,CAAC;AACjC,mBAAmB,YAAY,CAAC;AAChC,mBAAmB,gBAAgB,CAAC;AACpC,mBAAmB,aAAa,CAAC;AACjC,mBAAmB,kBAAkB,CAAC;AACtC,mBAAmB,mBAAmB,CAAC;AACvC,mBAAmB,oBAAoB,CAAC;AACxC,mBAAmB,iBAAiB,CAAC;AACrC,mBAAmB,iBAAiB,CAAC;AACrC,mBAAmB,gBAAgB,CAAC;AACpC,mBAAmB,kBAAkB,CAAC;AACtC,mBAAmB,iBAAiB,CAAC;AACrC,mBAAmB,iBAAiB,CAAC;AACrC,mBAAmB,sBAAsB,CAAC;AAC1C,cAAc,yBAAyB,CAAC"}
package/dist/index.js CHANGED
@@ -1,3 +1,8 @@
1
- import { staticShouldNotHappen } from "./staticShouldNotHappen.js";
2
-
3
- export { staticShouldNotHappen };
1
+ // @bun
2
+ // src/staticShouldNotHappen.ts
3
+ function staticShouldNotHappen(value) {
4
+ throw new Error(`Missing switch value ${value?.toString?.()}`);
5
+ }
6
+ export {
7
+ staticShouldNotHappen
8
+ };
@@ -1,5 +1,2 @@
1
- //#region src/lib/AwaitedResult.d.ts
2
- type AwaitedResult<T extends (...args: any) => any> = Awaited<ReturnType<T>>;
3
- //#endregion
4
- export { AwaitedResult };
1
+ export type AwaitedResult<T extends (...args: any) => any> = Awaited<ReturnType<T>>;
5
2
  //# sourceMappingURL=AwaitedResult.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AwaitedResult.d.ts","names":[],"sources":["../../src/lib/AwaitedResult.ts"],"mappings":";KACY,aAAA,eAA4B,IAAA,iBAAqB,OAAA,CAC3D,UAAA,CAAW,CAAA"}
1
+ {"version":3,"file":"AwaitedResult.d.ts","sourceRoot":"","sources":["../../src/lib/AwaitedResult.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG,IAAI,OAAO,CAClE,UAAU,CAAC,CAAC,CAAC,CACd,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,5 +1,2 @@
1
- //#region src/lib/BrowserNativeObject.d.ts
2
- declare type BrowserNativeObject = Date | FileList | File;
3
- //#endregion
4
- export { BrowserNativeObject };
1
+ export declare type BrowserNativeObject = Date | FileList | File;
5
2
  //# sourceMappingURL=BrowserNativeObject.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BrowserNativeObject.d.ts","names":[],"sources":["../../src/lib/BrowserNativeObject.ts"],"mappings":";aAAoB,mBAAA,GAAsB,IAAA,GAAO,QAAA,GAAW,IAAA"}
1
+ {"version":3,"file":"BrowserNativeObject.d.ts","sourceRoot":"","sources":["../../src/lib/BrowserNativeObject.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,MAAM,mBAAmB,GAAG,IAAI,GAAG,QAAQ,GAAG,IAAI,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,5 +1,2 @@
1
- //#region src/lib/DeepInfiniteArray.d.ts
2
- declare type DeepInfiniteArray<T> = (T | DeepInfiniteArray<T>)[];
3
- //#endregion
4
- export { DeepInfiniteArray };
1
+ export declare type DeepInfiniteArray<T> = (T | DeepInfiniteArray<T>)[];
5
2
  //# sourceMappingURL=DeepInfiniteArray.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeepInfiniteArray.d.ts","names":[],"sources":["../../src/lib/DeepInfiniteArray.ts"],"mappings":";aAAoB,iBAAA,OAAwB,CAAA,GAAI,iBAAA,CAAkB,CAAA"}
1
+ {"version":3,"file":"DeepInfiniteArray.d.ts","sourceRoot":"","sources":["../../src/lib/DeepInfiniteArray.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,MAAM,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,7 +1,3 @@
1
- import { KeepOnly } from "./KeepOnly.js";
2
-
3
- //#region src/lib/DeepKeepOnly.d.ts
4
- type DeepKeepOnly<T, KeepType> = T | (T extends (infer U)[] ? KeepOnly<U, KeepType>[] : T extends Map<infer K, infer V> ? Map<KeepOnly<K, KeepType>, KeepOnly<V, KeepType>> : T extends Set<infer M> ? Set<KeepOnly<M, KeepType>> : KeepOnly<T, KeepType>);
5
- //#endregion
6
- export { DeepKeepOnly };
1
+ import type { KeepOnly } from './KeepOnly';
2
+ export type DeepKeepOnly<T, KeepType> = T | (T extends (infer U)[] ? KeepOnly<U, KeepType>[] : T extends Map<infer K, infer V> ? Map<KeepOnly<K, KeepType>, KeepOnly<V, KeepType>> : T extends Set<infer M> ? Set<KeepOnly<M, KeepType>> : KeepOnly<T, KeepType>);
7
3
  //# sourceMappingURL=DeepKeepOnly.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeepKeepOnly.d.ts","names":[],"sources":["../../src/lib/DeepKeepOnly.ts"],"mappings":";;;KAEY,YAAA,gBACR,CAAA,IACC,CAAA,uBACG,QAAA,CAAS,CAAA,EAAG,QAAA,MACZ,CAAA,SAAU,GAAA,qBACR,GAAA,CAAI,QAAA,CAAS,CAAA,EAAG,QAAA,GAAW,QAAA,CAAS,CAAA,EAAG,QAAA,KACvC,CAAA,SAAU,GAAA,YACR,GAAA,CAAI,QAAA,CAAS,CAAA,EAAG,QAAA,KAChB,QAAA,CAAS,CAAA,EAAG,QAAA"}
1
+ {"version":3,"file":"DeepKeepOnly.d.ts","sourceRoot":"","sources":["../../src/lib/DeepKeepOnly.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,QAAQ,IAChC,CAAC,GACD,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GAClB,QAAQ,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,GACvB,CAAC,SAAS,GAAG,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,GAC7B,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,GACjD,CAAC,SAAS,GAAG,CAAC,MAAM,CAAC,CAAC,GACpB,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,GAC1B,QAAQ,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,5 +1,2 @@
1
- //#region src/lib/DeepKey.d.ts
2
- type DeepKey<T, K extends keyof T = keyof T> = K extends string | number ? T[K] extends infer R ? `${K}` | (R extends Record<string, unknown> ? `${K}.${DeepKey<R>}` : never) : never : never;
3
- //#endregion
4
- export { DeepKey };
1
+ export type DeepKey<T, K extends keyof T = keyof T> = K extends string | number ? T[K] extends infer R ? `${K}` | (R extends Record<string, unknown> ? `${K}.${DeepKey<R>}` : never) : never : never;
5
2
  //# sourceMappingURL=DeepKey.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeepKey.d.ts","names":[],"sources":["../../src/lib/DeepKey.ts"],"mappings":";KAAY,OAAA,oBAA2B,CAAA,SAAU,CAAA,IAAK,CAAA,2BAClD,CAAA,CAAE,CAAA,uBAEO,CAAA,MACF,CAAA,SAAU,MAAA,uBAA6B,CAAA,IAAK,OAAA,CAAQ,CAAA"}
1
+ {"version":3,"file":"DeepKey.d.ts","sourceRoot":"","sources":["../../src/lib/DeepKey.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG,MAAM,GAC3E,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,GAEd,GAAG,CAAC,EAAE,GACN,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,GAAG,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,GACtE,KAAK,GACP,KAAK,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,10 +1,8 @@
1
- import { BrowserNativeObject } from "./BrowserNativeObject.js";
2
- import { IsAny } from "./IsAny.js";
3
- import { NestedValue } from "./NestedValue.js";
4
- import { NonUndefined } from "./NonUndefined.js";
5
-
6
- //#region src/lib/DeepMap.d.ts
7
- declare type DeepMap<T, TValue> = IsAny<T> extends true ? any : T extends BrowserNativeObject | NestedValue ? TValue : T extends object ? { [K in keyof T]: DeepMap<NonUndefined<T[K]>, TValue> } : TValue;
8
- //#endregion
9
- export { DeepMap };
1
+ import type { BrowserNativeObject } from './BrowserNativeObject';
2
+ import type { IsAny } from './IsAny';
3
+ import type { NestedValue } from './NestedValue';
4
+ import type { NonUndefined } from './NonUndefined';
5
+ export declare type DeepMap<T, TValue> = IsAny<T> extends true ? any : T extends BrowserNativeObject | NestedValue ? TValue : T extends object ? {
6
+ [K in keyof T]: DeepMap<NonUndefined<T[K]>, TValue>;
7
+ } : TValue;
10
8
  //# sourceMappingURL=DeepMap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeepMap.d.ts","names":[],"sources":["../../src/lib/DeepMap.ts"],"mappings":";;;;;;aAKoB,OAAA,cAClB,KAAA,CAAM,CAAA,uBAGF,CAAA,SAAU,mBAAA,GAAsB,WAAA,GAC9B,MAAA,GACA,CAAA,gCAEgB,CAAA,GAAI,OAAA,CAAQ,YAAA,CAAa,CAAA,CAAE,CAAA,IAAK,MAAA,MAE9C,MAAA"}
1
+ {"version":3,"file":"DeepMap.d.ts","sourceRoot":"","sources":["../../src/lib/DeepMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,CAAC,OAAO,MAAM,OAAO,CAAC,CAAC,EAAE,MAAM,IACnC,KAAK,CAAC,CAAC,CAAC,SAAS,IAAI,GAEjB,GAAG,GACH,CAAC,SAAS,mBAAmB,GAAG,WAAW,GACzC,MAAM,GACN,CAAC,SAAS,MAAM,GACd;KACG,CAAC,IAAI,MAAM,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC;CACpD,GACD,MAAM,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,7 +1,3 @@
1
- import { DeepOr } from "./DeepOr.js";
2
-
3
- //#region src/lib/DeepNullable.d.ts
4
- type DeepNullable<T> = DeepOr<T, null>;
5
- //#endregion
6
- export { DeepNullable };
1
+ import type { DeepOr } from './DeepOr';
2
+ export type DeepNullable<T> = DeepOr<T, null>;
7
3
  //# sourceMappingURL=DeepNullable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeepNullable.d.ts","names":[],"sources":["../../src/lib/DeepNullable.ts"],"mappings":";;;KAEY,YAAA,MAAkB,MAAA,CAAO,CAAA"}
1
+ {"version":3,"file":"DeepNullable.d.ts","sourceRoot":"","sources":["../../src/lib/DeepNullable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,5 +1,4 @@
1
- //#region src/lib/DeepOr.d.ts
2
- type DeepOr<T, OrValue> = T | (T extends (infer U)[] ? DeepOr<U, OrValue>[] : T extends Map<infer K, infer V> ? Map<DeepOr<K, OrValue>, DeepOr<V, OrValue>> : T extends Set<infer M> ? Set<DeepOr<M, OrValue>> : T extends object ? { [K in keyof T]: DeepOr<T[K], OrValue> | OrValue } : T);
3
- //#endregion
4
- export { DeepOr };
1
+ export type DeepOr<T, OrValue> = T | (T extends (infer U)[] ? DeepOr<U, OrValue>[] : T extends Map<infer K, infer V> ? Map<DeepOr<K, OrValue>, DeepOr<V, OrValue>> : T extends Set<infer M> ? Set<DeepOr<M, OrValue>> : T extends object ? {
2
+ [K in keyof T]: DeepOr<T[K], OrValue> | OrValue;
3
+ } : T);
5
4
  //# sourceMappingURL=DeepOr.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeepOr.d.ts","names":[],"sources":["../../src/lib/DeepOr.ts"],"mappings":";KAAY,MAAA,eACR,CAAA,IACC,CAAA,uBACG,MAAA,CAAO,CAAA,EAAG,OAAA,MACV,CAAA,SAAU,GAAA,qBACR,GAAA,CAAI,MAAA,CAAO,CAAA,EAAG,OAAA,GAAU,MAAA,CAAO,CAAA,EAAG,OAAA,KAClC,CAAA,SAAU,GAAA,YACR,GAAA,CAAI,MAAA,CAAO,CAAA,EAAG,OAAA,KACd,CAAA,gCAEgB,CAAA,GAAI,MAAA,CAAO,CAAA,CAAE,CAAA,GAAI,OAAA,IAAW,OAAA,KAE1C,CAAA"}
1
+ {"version":3,"file":"DeepOr.d.ts","sourceRoot":"","sources":["../../src/lib/DeepOr.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,CAAC,CAAC,EAAE,OAAO,IACzB,CAAC,GACD,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GAClB,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,GACpB,CAAC,SAAS,GAAG,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,GAC7B,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,GAC3C,CAAC,SAAS,GAAG,CAAC,MAAM,CAAC,CAAC,GACpB,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,GACvB,CAAC,SAAS,MAAM,GACd;KACG,CAAC,IAAI,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,GAAG,OAAO;CAChD,GACD,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,8 +1,7 @@
1
- //#region src/lib/DeepPartial.d.ts
2
1
  /**
3
2
  * Same as Partial<T> but goes deeper and makes Partial<T> all its properties and sub-properties.
4
3
  */
5
- type DeepPartial<T> = { [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P] };
6
- //#endregion
7
- export { DeepPartial };
4
+ export type DeepPartial<T> = {
5
+ [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
6
+ };
8
7
  //# sourceMappingURL=DeepPartial.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeepPartial.d.ts","names":[],"sources":["../../src/lib/DeepPartial.ts"],"mappings":";;AAiBA;;KAAY,WAAA,oBACE,CAAA,IAAK,CAAA,CAAE,CAAA,mBAAoB,WAAA,CAAY,CAAA,CAAE,CAAA,KAAM,CAAA,CAAE,CAAA"}
1
+ {"version":3,"file":"DeepPartial.d.ts","sourceRoot":"","sources":["../../src/lib/DeepPartial.ts"],"names":[],"mappings":"AAAA;;GAEG;AAeH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAChE,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,5 +1,4 @@
1
- //#region src/lib/DeepReplace.d.ts
2
- type DeepReplace<T, Search, Replace> = T extends (infer ArrayItemT)[] ? DeepReplace<ArrayItemT, Search, Replace>[] : T extends Map<infer MapKey, infer MapT> ? Map<DeepReplace<MapKey, Search, Replace>, DeepReplace<MapT, Search, Replace>> : T extends Set<infer SetT> ? Set<DeepReplace<SetT, Search, Replace>> : T extends object ? { [ObjKey in keyof T]: DeepReplace<T[ObjKey], Search, Replace> } : T extends Search ? Replace : T;
3
- //#endregion
4
- export { DeepReplace };
1
+ export type DeepReplace<T, Search, Replace> = T extends (infer ArrayItemT)[] ? DeepReplace<ArrayItemT, Search, Replace>[] : T extends Map<infer MapKey, infer MapT> ? Map<DeepReplace<MapKey, Search, Replace>, DeepReplace<MapT, Search, Replace>> : T extends Set<infer SetT> ? Set<DeepReplace<SetT, Search, Replace>> : T extends object ? {
2
+ [ObjKey in keyof T]: DeepReplace<T[ObjKey], Search, Replace>;
3
+ } : T extends Search ? Replace : T;
5
4
  //# sourceMappingURL=DeepReplace.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeepReplace.d.ts","names":[],"sources":["../../src/lib/DeepReplace.ts"],"mappings":";KAAY,WAAA,uBAAkC,CAAA,gCAC1C,WAAA,CAAY,UAAA,EAAY,MAAA,EAAQ,OAAA,MAChC,CAAA,SAAU,GAAA,6BACR,GAAA,CACE,WAAA,CAAY,MAAA,EAAQ,MAAA,EAAQ,OAAA,GAC5B,WAAA,CAAY,IAAA,EAAM,MAAA,EAAQ,OAAA,KAE5B,CAAA,SAAU,GAAA,eACR,GAAA,CAAI,WAAA,CAAY,IAAA,EAAM,MAAA,EAAQ,OAAA,KAC9B,CAAA,qCAEqB,CAAA,GAAI,WAAA,CAAY,CAAA,CAAE,MAAA,GAAS,MAAA,EAAQ,OAAA,MAEtD,CAAA,SAAU,MAAA,GACR,OAAA,GACA,CAAA"}
1
+ {"version":3,"file":"DeepReplace.d.ts","sourceRoot":"","sources":["../../src/lib/DeepReplace.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,UAAU,CAAC,EAAE,GACxE,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAC1C,CAAC,SAAS,GAAG,CAAC,MAAM,MAAM,EAAE,MAAM,IAAI,CAAC,GACrC,GAAG,CACD,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EACpC,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CACnC,GACD,CAAC,SAAS,GAAG,CAAC,MAAM,IAAI,CAAC,GACvB,GAAG,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,GACvC,CAAC,SAAS,MAAM,GACd;KACG,MAAM,IAAI,MAAM,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC;CAC7D,GACD,CAAC,SAAS,MAAM,GACd,OAAO,GACP,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,7 +1,3 @@
1
- import { DeepReplace } from "./DeepReplace.js";
2
-
3
- //#region src/lib/DeepReplaceNullByUndefined.d.ts
4
- type DeepReplaceNullByUndefined<T> = DeepReplace<T, null, undefined>;
5
- //#endregion
6
- export { DeepReplaceNullByUndefined };
1
+ import type { DeepReplace } from './DeepReplace';
2
+ export type DeepReplaceNullByUndefined<T> = DeepReplace<T, null, undefined>;
7
3
  //# sourceMappingURL=DeepReplaceNullByUndefined.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeepReplaceNullByUndefined.d.ts","names":[],"sources":["../../src/lib/DeepReplaceNullByUndefined.ts"],"mappings":";;;KAEY,0BAAA,MAAgC,WAAA,CAAY,CAAA"}
1
+ {"version":3,"file":"DeepReplaceNullByUndefined.d.ts","sourceRoot":"","sources":["../../src/lib/DeepReplaceNullByUndefined.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,MAAM,MAAM,0BAA0B,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,7 +1,3 @@
1
- import { DeepKey } from "./DeepKey.js";
2
-
3
- //#region src/lib/DeepValue.d.ts
4
- type DeepValue<T, P extends DeepKey<T>> = P extends `${infer K}.${infer Rest}` ? T[(K extends `${infer R extends number}` ? R : K) & keyof T] extends infer S ? S extends never ? never : Rest extends DeepKey<S> ? DeepValue<S, Rest> : never : never : T[(P extends `${infer R extends number}` ? R : P) & keyof T];
5
- //#endregion
6
- export { DeepValue };
1
+ import type { DeepKey } from './DeepKey';
2
+ export type DeepValue<T, P extends DeepKey<T>> = P extends `${infer K}.${infer Rest}` ? T[(K extends `${infer R extends number}` ? R : K) & keyof T] extends infer S ? S extends never ? never : Rest extends DeepKey<S> ? DeepValue<S, Rest> : never : never : T[(P extends `${infer R extends number}` ? R : P) & keyof T];
7
3
  //# sourceMappingURL=DeepValue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeepValue.d.ts","names":[],"sources":["../../src/lib/DeepValue.ts"],"mappings":";;;KAEY,SAAA,cAEA,OAAA,CAAQ,CAAA,KAChB,CAAA,sCACA,CAAA,EAAG,CAAA,uCAAwC,CAAA,GAAI,CAAA,UAAW,CAAA,oBACxD,CAAA,yBAEE,IAAA,SAAa,OAAA,CAAQ,CAAA,IACnB,SAAA,CAAU,CAAA,EAAG,IAAA,oBAGnB,CAAA,EAAG,CAAA,uCAAwC,CAAA,GAAI,CAAA,UAAW,CAAA"}
1
+ {"version":3,"file":"DeepValue.d.ts","sourceRoot":"","sources":["../../src/lib/DeepValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,SAAS,CACnB,CAAC,EACD,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,IAClB,CAAC,SAAS,GAAG,MAAM,CAAC,IAAI,MAAM,IAAI,EAAE,GACpC,CAAC,CAAC,CAAC,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,SAAS,MAAM,CAAC,GAC1E,CAAC,SAAS,KAAK,GACb,KAAK,GACL,IAAI,SAAS,OAAO,CAAC,CAAC,CAAC,GACrB,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,GAClB,KAAK,GACT,KAAK,GACP,CAAC,CAAC,CAAC,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,5 +1,2 @@
1
- //#region src/lib/DictionaryFromEnum.d.ts
2
- type DictionaryFromEnum<Enum, ObjMapping> = Record<keyof Enum, ObjMapping>;
3
- //#endregion
4
- export { DictionaryFromEnum };
1
+ export type DictionaryFromEnum<Enum, ObjMapping> = Record<keyof Enum, ObjMapping>;
5
2
  //# sourceMappingURL=DictionaryFromEnum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DictionaryFromEnum.d.ts","names":[],"sources":["../../src/lib/DictionaryFromEnum.ts"],"mappings":";KAAY,kBAAA,qBAAuC,MAAA,OAC3C,IAAA,EACN,UAAA"}
1
+ {"version":3,"file":"DictionaryFromEnum.d.ts","sourceRoot":"","sources":["../../src/lib/DictionaryFromEnum.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,CAAC,IAAI,EAAE,UAAU,IAAI,MAAM,CACvD,MAAM,IAAI,EACV,UAAU,CACX,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,5 +1,4 @@
1
- //#region src/lib/DictionaryFromEnumMapping.d.ts
2
- type DictionaryFromEnumMapping<Enum, Mapped, Mapping extends Record<keyof Enum, Mapped>> = { [k in keyof Enum]: Mapping[k] };
3
- //#endregion
4
- export { DictionaryFromEnumMapping };
1
+ export type DictionaryFromEnumMapping<Enum, Mapped, Mapping extends Record<keyof Enum, Mapped>> = {
2
+ [k in keyof Enum]: Mapping[k];
3
+ };
5
4
  //# sourceMappingURL=DictionaryFromEnumMapping.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DictionaryFromEnumMapping.d.ts","names":[],"sources":["../../src/lib/DictionaryFromEnumMapping.ts"],"mappings":";KAAY,yBAAA,+BAGM,MAAA,OAAa,IAAA,EAAM,MAAA,mBAEvB,IAAA,GAAO,OAAA,CAAQ,CAAA"}
1
+ {"version":3,"file":"DictionaryFromEnumMapping.d.ts","sourceRoot":"","sources":["../../src/lib/DictionaryFromEnumMapping.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,CACnC,IAAI,EACJ,MAAM,EACN,OAAO,SAAS,MAAM,CAAC,MAAM,IAAI,EAAE,MAAM,CAAC,IACxC;KACD,CAAC,IAAI,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC;CAC9B,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,7 +1,4 @@
1
- //#region src/lib/EmptyRecord.d.ts
2
- type EmptyRecord = Record<string, never>;
3
- type UnknownRecord = Record<string, unknown>;
4
- type AnyRecord = Record<string, any>;
5
- //#endregion
6
- export { AnyRecord, EmptyRecord, UnknownRecord };
1
+ export type EmptyRecord = Record<string, never>;
2
+ export type UnknownRecord = Record<string, unknown>;
3
+ export type AnyRecord = Record<string, any>;
7
4
  //# sourceMappingURL=EmptyRecord.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmptyRecord.d.ts","names":[],"sources":["../../src/lib/EmptyRecord.ts"],"mappings":";KAAY,WAAA,GAAc,MAAA;AAAA,KACd,aAAA,GAAgB,MAAA;AAAA,KAEhB,SAAA,GAAY,MAAA"}
1
+ {"version":3,"file":"EmptyRecord.d.ts","sourceRoot":"","sources":["../../src/lib/EmptyRecord.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAChD,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEpD,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,7 +1,4 @@
1
- //#region src/lib/Identified.d.ts
2
- interface Identified {
3
- id: string;
1
+ export interface Identified {
2
+ id: string;
4
3
  }
5
- //#endregion
6
- export { Identified };
7
4
  //# sourceMappingURL=Identified.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Identified.d.ts","names":[],"sources":["../../src/lib/Identified.ts"],"mappings":";UAAiB,UAAA;EACf,EAAA;AAAA"}
1
+ {"version":3,"file":"Identified.d.ts","sourceRoot":"","sources":["../../src/lib/Identified.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,9 +1,5 @@
1
- import { Identified } from "./Identified.js";
2
-
3
- //#region src/lib/IdentifiedLabel.d.ts
4
- type IdentifiedLabel = Identified & {
5
- label: string;
1
+ import type { Identified } from './Identified';
2
+ export type IdentifiedLabel = Identified & {
3
+ label: string;
6
4
  };
7
- //#endregion
8
- export { IdentifiedLabel };
9
5
  //# sourceMappingURL=IdentifiedLabel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IdentifiedLabel.d.ts","names":[],"sources":["../../src/lib/IdentifiedLabel.ts"],"mappings":";;;KAEY,eAAA,GAAkB,UAAA;EAC5B,KAAA;AAAA"}
1
+ {"version":3,"file":"IdentifiedLabel.d.ts","sourceRoot":"","sources":["../../src/lib/IdentifiedLabel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG;IACzC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,5 +1,2 @@
1
- //#region src/lib/IsAny.d.ts
2
- declare type IsAny<T> = 0 extends 1 & T ? true : false;
3
- //#endregion
4
- export { IsAny };
1
+ export declare type IsAny<T> = 0 extends 1 & T ? true : false;
5
2
  //# sourceMappingURL=IsAny.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IsAny.d.ts","names":[],"sources":["../../src/lib/IsAny.ts"],"mappings":";aAAoB,KAAA,oBAAyB,CAAA"}
1
+ {"version":3,"file":"IsAny.d.ts","sourceRoot":"","sources":["../../src/lib/IsAny.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,MAAM,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,KAAK,CAAC"}
package/dist/lib/IsAny.js CHANGED
@@ -0,0 +1 @@
1
+ // @bun
@@ -1,16 +1,15 @@
1
- //#region src/lib/Json.d.ts
2
- declare type PrimitiveJSONValue = string | number | boolean | undefined | null;
3
- declare type JSONValue = PrimitiveJSONValue | JSONArray | JSONObject;
4
- interface JSONArray extends Array<JSONValue> {}
5
- interface JSONObject {
6
- [key: string]: JSONValue;
1
+ export declare type PrimitiveJSONValue = string | number | boolean | undefined | null;
2
+ export declare type JSONValue = PrimitiveJSONValue | JSONArray | JSONObject;
3
+ export interface JSONArray extends Array<JSONValue> {
7
4
  }
8
- declare type NonJsonValue<ExtraTypes> = PrimitiveJSONValue | NonJsonArray<ExtraTypes> | NonJsonObject<ExtraTypes> | ExtraTypes;
9
- interface NonJsonArray<ExtraTypes> extends Array<NonJsonValue<ExtraTypes>> {}
10
- interface NonJsonObject<ExtraTypes> {
11
- [key: string]: NonJsonValue<ExtraTypes>;
5
+ export interface JSONObject {
6
+ [key: string]: JSONValue;
12
7
  }
13
- type ExtendedJsonObject = NonJsonObject<bigint | Date>;
14
- //#endregion
15
- export { ExtendedJsonObject, JSONArray, JSONObject, JSONValue, NonJsonArray, NonJsonObject, NonJsonValue, PrimitiveJSONValue };
8
+ export declare type NonJsonValue<ExtraTypes> = PrimitiveJSONValue | NonJsonArray<ExtraTypes> | NonJsonObject<ExtraTypes> | ExtraTypes;
9
+ export interface NonJsonArray<ExtraTypes> extends Array<NonJsonValue<ExtraTypes>> {
10
+ }
11
+ export interface NonJsonObject<ExtraTypes> {
12
+ [key: string]: NonJsonValue<ExtraTypes>;
13
+ }
14
+ export type ExtendedJsonObject = NonJsonObject<bigint | Date>;
16
15
  //# sourceMappingURL=Json.d.ts.map