@design-edito/tools 0.2.39 → 0.2.41

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 (790) hide show
  1. package/agnostic/arrays/dedupe/index.d.ts +7 -0
  2. package/agnostic/arrays/dedupe/index.js +10 -0
  3. package/agnostic/arrays/find-duplicates/index.d.ts +14 -0
  4. package/agnostic/arrays/find-duplicates/index.js +24 -5
  5. package/agnostic/arrays/find-duplicates/index.test.d.ts +1 -0
  6. package/agnostic/arrays/is-array-of/index.d.ts +15 -4
  7. package/agnostic/arrays/is-array-of/index.js +23 -4
  8. package/agnostic/arrays/is-array-of/index.test.d.ts +1 -0
  9. package/agnostic/arrays/make/index.d.ts +8 -0
  10. package/agnostic/arrays/make/index.js +6 -4
  11. package/agnostic/arrays/make/index.test.d.ts +1 -0
  12. package/agnostic/arrays/random-pick/index.d.ts +20 -0
  13. package/agnostic/arrays/random-pick/index.js +2 -10
  14. package/agnostic/arrays/random-pick/index.test.d.ts +1 -0
  15. package/agnostic/arrays/shuffle/index.d.ts +8 -0
  16. package/agnostic/arrays/shuffle/index.js +11 -4
  17. package/agnostic/arrays/shuffle/index.test.d.ts +1 -0
  18. package/agnostic/booleans/is-falsy/index.d.ts +17 -0
  19. package/agnostic/booleans/is-falsy/index.js +1 -1
  20. package/agnostic/booleans/is-falsy/index.test.d.ts +1 -0
  21. package/agnostic/colors/channels/index.d.ts +34 -0
  22. package/agnostic/colors/channels/index.js +5 -5
  23. package/agnostic/colors/channels/index.test.d.ts +1 -0
  24. package/agnostic/colors/contrast/index.d.ts +8 -0
  25. package/agnostic/colors/contrast/index.js +26 -7
  26. package/agnostic/colors/contrast/index.test.d.ts +1 -0
  27. package/agnostic/colors/convert/index.d.ts +144 -0
  28. package/agnostic/colors/convert/index.js +4 -4
  29. package/agnostic/colors/convert/index.test.d.ts +1 -0
  30. package/agnostic/colors/distance/index.d.ts +8 -0
  31. package/agnostic/colors/distance/index.js +49 -6
  32. package/agnostic/colors/distance/index.test.d.ts +1 -0
  33. package/agnostic/colors/grayscale/index.d.ts +9 -1
  34. package/agnostic/colors/grayscale/index.js +155 -6
  35. package/agnostic/colors/grayscale/index.test.d.ts +1 -0
  36. package/agnostic/colors/invert/index.d.ts +8 -0
  37. package/agnostic/colors/invert/index.js +45 -7
  38. package/agnostic/colors/invert/index.test.d.ts +1 -0
  39. package/agnostic/colors/lerp/index.d.ts +12 -1
  40. package/agnostic/colors/lerp/index.js +96 -6
  41. package/agnostic/colors/lerp/index.test.d.ts +1 -0
  42. package/agnostic/colors/luminance/index.d.ts +7 -0
  43. package/agnostic/colors/luminance/index.js +5 -5
  44. package/agnostic/colors/luminance/index.test.d.ts +1 -0
  45. package/agnostic/colors/palette/index.d.ts +10 -1
  46. package/agnostic/colors/palette/index.js +103 -8
  47. package/agnostic/colors/palette/index.test.d.ts +1 -0
  48. package/agnostic/colors/rotate/index.d.ts +10 -1
  49. package/agnostic/colors/rotate/index.js +6 -6
  50. package/agnostic/colors/rotate/index.test.d.ts +1 -0
  51. package/agnostic/colors/tidy/index.d.ts +9 -1
  52. package/agnostic/colors/tidy/index.js +4 -4
  53. package/agnostic/colors/tidy/index.test.d.ts +1 -0
  54. package/agnostic/colors/typechecks/index.d.ts +60 -0
  55. package/agnostic/colors/typechecks/index.js +3 -3
  56. package/agnostic/colors/typechecks/index.test.d.ts +1 -0
  57. package/agnostic/colors/types.d.ts +106 -0
  58. package/agnostic/colors/types.js +2 -2
  59. package/agnostic/css/bem/index.d.ts +29 -6
  60. package/agnostic/css/bem/index.js +155 -6
  61. package/agnostic/css/generate-nice-color/index.d.ts +8 -2
  62. package/agnostic/css/generate-nice-color/index.js +70 -5
  63. package/agnostic/css/generate-nice-color/index.test.d.ts +1 -0
  64. package/agnostic/css/is-valid-css-class-name/index.d.ts +11 -0
  65. package/agnostic/css/is-valid-css-class-name/index.js +1 -1
  66. package/agnostic/css/is-valid-css-class-name/index.test.d.ts +1 -0
  67. package/agnostic/css/styles-set/index.js +167 -15
  68. package/agnostic/errors/register/index.d.ts +31 -33
  69. package/agnostic/errors/register/index.js +49 -5
  70. package/agnostic/errors/unknown-to-string/index.d.ts +6 -0
  71. package/agnostic/errors/unknown-to-string/index.js +1 -1
  72. package/agnostic/errors/unknown-to-string/index.test.d.ts +1 -0
  73. package/agnostic/html/get-node-ancestors/index.d.ts +12 -0
  74. package/agnostic/html/get-node-ancestors/index.js +3 -2
  75. package/agnostic/html/get-node-ancestors/index.test.d.ts +1 -0
  76. package/agnostic/html/get-position-inside-parent/index.d.ts +8 -0
  77. package/agnostic/html/get-position-inside-parent/index.js +8 -4
  78. package/agnostic/html/get-position-inside-parent/index.test.d.ts +1 -0
  79. package/agnostic/html/hyper-json/cast/index.js +13 -13
  80. package/agnostic/html/hyper-json/index.js +41 -17
  81. package/agnostic/html/hyper-json/method/index.js +1 -1
  82. package/agnostic/html/hyper-json/serialize/index.js +5 -5
  83. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +13 -13
  84. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +13 -13
  85. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +13 -13
  86. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +13 -13
  87. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +13 -13
  88. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +13 -13
  89. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +13 -13
  90. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +13 -13
  91. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +13 -13
  92. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +13 -13
  93. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +13 -13
  94. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +13 -13
  95. package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +13 -13
  96. package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +13 -13
  97. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +13 -13
  98. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +13 -13
  99. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +13 -13
  100. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +13 -13
  101. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +13 -13
  102. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +13 -13
  103. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +13 -13
  104. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +13 -13
  105. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +13 -13
  106. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +13 -13
  107. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +13 -13
  108. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +13 -13
  109. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +13 -13
  110. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +13 -13
  111. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +13 -13
  112. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +13 -13
  113. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +13 -13
  114. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +13 -13
  115. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +13 -13
  116. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +13 -13
  117. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +13 -13
  118. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +13 -13
  119. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +13 -13
  120. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +13 -13
  121. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +13 -13
  122. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +13 -13
  123. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +13 -13
  124. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +13 -13
  125. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +13 -13
  126. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +13 -13
  127. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +13 -13
  128. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +13 -13
  129. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +13 -13
  130. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +13 -13
  131. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +13 -13
  132. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +13 -13
  133. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +13 -13
  134. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +13 -13
  135. package/agnostic/html/hyper-json/smart-tags/index.js +4 -4
  136. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +5 -5
  137. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +5 -5
  138. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +13 -13
  139. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +13 -13
  140. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +13 -13
  141. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +13 -13
  142. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +13 -13
  143. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +13 -13
  144. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +5 -5
  145. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +13 -13
  146. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +13 -13
  147. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +13 -13
  148. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +13 -13
  149. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +13 -13
  150. package/agnostic/html/hyper-json/transformer/index.d.ts +1 -1
  151. package/agnostic/html/hyper-json/transformer/index.js +3 -3
  152. package/agnostic/html/hyper-json/tree/index.js +13 -13
  153. package/agnostic/html/hyper-json/types/index.d.ts +1 -1
  154. package/agnostic/html/hyper-json/types/index.js +1 -1
  155. package/agnostic/html/hyper-json/utils/index.d.ts +1 -1
  156. package/agnostic/html/hyper-json/utils/index.js +13 -13
  157. package/agnostic/html/insert-node/index.d.ts +17 -0
  158. package/agnostic/html/insert-node/index.js +1 -1
  159. package/agnostic/html/insert-node/index.test.d.ts +1 -0
  160. package/agnostic/html/placeholders/index.d.ts +7 -9
  161. package/agnostic/html/placeholders/index.js +37 -5
  162. package/agnostic/html/replace-in-element/index.d.ts +14 -0
  163. package/agnostic/html/replace-in-element/index.js +3 -2
  164. package/agnostic/html/replace-in-element/index.test.d.ts +1 -0
  165. package/agnostic/html/selector-to-element/index.d.ts +16 -1
  166. package/agnostic/html/selector-to-element/index.js +30 -11
  167. package/agnostic/html/selector-to-element/index.test.d.ts +1 -0
  168. package/agnostic/html/string-to-nodes/index.d.ts +14 -7
  169. package/agnostic/html/string-to-nodes/index.js +16 -12
  170. package/agnostic/html/string-to-nodes/index.test.d.ts +1 -0
  171. package/agnostic/misc/assert/index.d.ts +5 -7
  172. package/agnostic/misc/assert/index.js +61 -8
  173. package/agnostic/misc/cast/index.d.ts +81 -10
  174. package/agnostic/misc/cast/index.js +18 -4
  175. package/agnostic/misc/cast/index.test.d.ts +1 -0
  176. package/agnostic/misc/connection/index.d.ts +26 -0
  177. package/agnostic/misc/connection/index.js +39 -0
  178. package/agnostic/misc/connection/index.test.d.ts +1 -0
  179. package/agnostic/misc/crawler/index.d.ts +63 -16
  180. package/agnostic/misc/crawler/index.js +32 -5
  181. package/agnostic/misc/crawler/index.test.d.ts +1 -0
  182. package/agnostic/misc/crossenv/detect-runtime/index.d.ts +12 -2
  183. package/agnostic/misc/crossenv/detect-runtime/index.js +14 -5
  184. package/agnostic/misc/crossenv/detect-runtime/index.test.d.ts +1 -0
  185. package/agnostic/misc/crossenv/types.d.ts +40 -0
  186. package/agnostic/misc/crossenv/types.js +7 -0
  187. package/agnostic/misc/crossenv/window/index.d.ts +28 -7
  188. package/agnostic/misc/crossenv/window/index.js +10 -4
  189. package/agnostic/misc/crossenv/window/index.test.d.ts +1 -0
  190. package/agnostic/misc/data-size/index.d.ts +43 -21
  191. package/agnostic/misc/data-size/index.js +270 -34
  192. package/agnostic/misc/data-size/index.test.d.ts +1 -0
  193. package/agnostic/misc/data-size/types.d.ts +37 -0
  194. package/agnostic/misc/elo/index.d.ts +28 -30
  195. package/agnostic/misc/elo/index.js +27 -30
  196. package/agnostic/misc/is-constructor-function/index.d.ts +11 -0
  197. package/agnostic/misc/is-constructor-function/index.js +1 -1
  198. package/agnostic/misc/is-constructor-function/index.test.d.ts +1 -0
  199. package/agnostic/misc/is-nullish/index.d.ts +22 -0
  200. package/agnostic/misc/is-nullish/index.js +1 -1
  201. package/agnostic/misc/is-nullish/index.test.d.ts +1 -0
  202. package/agnostic/misc/logs/logger/index.js +109 -4
  203. package/agnostic/misc/logs/make-text-block/index.js +1 -1
  204. package/agnostic/misc/logs/styles/index.js +1 -1
  205. package/agnostic/misc/lorem-ipsum/index.d.ts +3 -5
  206. package/agnostic/misc/lorem-ipsum/index.js +187 -23
  207. package/agnostic/misc/lorem-ipsum/index.test.d.ts +1 -0
  208. package/agnostic/misc/normalize-extension/index.d.ts +10 -0
  209. package/agnostic/misc/normalize-extension/index.js +1 -1
  210. package/agnostic/misc/normalize-extension/index.test.d.ts +1 -0
  211. package/agnostic/misc/outcome/index.d.ts +56 -15
  212. package/agnostic/misc/outcome/index.js +8 -4
  213. package/agnostic/misc/outcome/index.test.d.ts +1 -0
  214. package/agnostic/numbers/absolute-modulo/index.d.ts +7 -0
  215. package/agnostic/numbers/absolute-modulo/index.js +1 -1
  216. package/agnostic/numbers/absolute-modulo/index.test.d.ts +1 -0
  217. package/agnostic/numbers/approximate-rational/index.d.ts +22 -0
  218. package/agnostic/numbers/approximate-rational/index.js +72 -0
  219. package/agnostic/numbers/approximate-rational/index.test.d.ts +1 -0
  220. package/agnostic/numbers/clamp/index.d.ts +8 -0
  221. package/agnostic/numbers/clamp/index.js +1 -1
  222. package/agnostic/numbers/clamp/index.test.d.ts +1 -0
  223. package/agnostic/numbers/interpolate/index.d.ts +20 -1
  224. package/agnostic/numbers/interpolate/index.js +12 -7
  225. package/agnostic/numbers/interpolate/index.test.d.ts +1 -0
  226. package/agnostic/numbers/responsive-harmonics/index.d.ts +20 -0
  227. package/agnostic/numbers/responsive-harmonics/index.js +49 -5
  228. package/agnostic/numbers/round/index.d.ts +24 -3
  229. package/agnostic/numbers/round/index.js +2 -2
  230. package/agnostic/numbers/round/index.test.d.ts +1 -0
  231. package/agnostic/objects/deep-get-property/index.d.ts +8 -0
  232. package/agnostic/objects/deep-get-property/index.js +23 -4
  233. package/agnostic/objects/enums/is-in-enum/index.d.ts +10 -0
  234. package/agnostic/objects/enums/is-in-enum/index.js +1 -1
  235. package/agnostic/objects/flatten-getters/index.d.ts +6 -0
  236. package/agnostic/objects/flatten-getters/index.js +19 -4
  237. package/agnostic/objects/is-object/index.d.ts +12 -0
  238. package/agnostic/objects/is-object/index.js +1 -1
  239. package/agnostic/objects/is-record/index.d.ts +6 -0
  240. package/agnostic/objects/is-record/index.js +1 -1
  241. package/agnostic/objects/record-format/index.d.ts +27 -0
  242. package/agnostic/objects/record-format/index.js +15 -4
  243. package/agnostic/objects/record-map/index.d.ts +9 -0
  244. package/agnostic/objects/record-map/index.js +1 -1
  245. package/agnostic/objects/validation/index.d.ts +11 -3
  246. package/agnostic/objects/validation/index.js +9 -5
  247. package/agnostic/optim/memoize/index.d.ts +10 -1
  248. package/agnostic/optim/memoize/index.js +16 -4
  249. package/agnostic/optim/throttle-debounce/index.js +110 -5
  250. package/agnostic/optim/throttle-debounce/types.d.ts +1 -1
  251. package/agnostic/random/hex-char/index.d.ts +2 -0
  252. package/agnostic/random/hex-char/index.js +1 -1
  253. package/agnostic/random/random/index.d.ts +14 -0
  254. package/agnostic/random/random/index.js +1 -1
  255. package/agnostic/random/uuid/index.d.ts +18 -0
  256. package/agnostic/random/uuid/index.js +1 -1
  257. package/agnostic/regexps/index.d.ts +95 -24
  258. package/agnostic/regexps/index.js +86 -5
  259. package/agnostic/sanitization/file-name/index.d.ts +13 -0
  260. package/agnostic/sanitization/file-name/index.js +7 -0
  261. package/agnostic/sanitization/html/index.d.ts +61 -0
  262. package/agnostic/sanitization/html/index.js +121 -0
  263. package/agnostic/sanitization/path/index.d.ts +11 -0
  264. package/agnostic/sanitization/path/index.js +14 -0
  265. package/agnostic/sanitization/types.d.ts +37 -0
  266. package/agnostic/sanitization/types.js +0 -0
  267. package/agnostic/sanitization/user-input/index.d.ts +13 -0
  268. package/agnostic/sanitization/user-input/index.js +23 -0
  269. package/agnostic/strings/char-codes/index.d.ts +82 -17
  270. package/agnostic/strings/char-codes/index.js +68 -5
  271. package/agnostic/strings/matches/index.d.ts +24 -0
  272. package/agnostic/strings/matches/index.js +1 -1
  273. package/agnostic/strings/normalize-indent/index.d.ts +22 -0
  274. package/agnostic/strings/normalize-indent/index.js +16 -4
  275. package/agnostic/strings/parse-table/index.d.ts +123 -66
  276. package/agnostic/strings/parse-table/index.js +83 -4
  277. package/agnostic/strings/replace-all/index.d.ts +20 -0
  278. package/agnostic/strings/replace-all/index.js +2 -2
  279. package/agnostic/strings/to-alphanum/index.d.ts +18 -0
  280. package/agnostic/strings/to-alphanum/index.js +8 -4
  281. package/agnostic/strings/trim/index.d.ts +18 -0
  282. package/agnostic/strings/trim/index.js +1 -1
  283. package/agnostic/time/dates/format-date/index.d.ts +47 -0
  284. package/agnostic/time/dates/format-date/index.js +58 -4
  285. package/agnostic/time/duration/index.d.ts +38 -25
  286. package/agnostic/time/duration/index.js +110 -5
  287. package/agnostic/time/timeout/index.d.ts +8 -0
  288. package/agnostic/time/timeout/index.js +16 -4
  289. package/agnostic/time/transitions/index.d.ts +73 -40
  290. package/agnostic/time/transitions/index.js +158 -5
  291. package/agnostic/time/wait/index.d.ts +6 -0
  292. package/agnostic/time/wait/index.js +1 -1
  293. package/agnostic/typescript/types.d.ts +37 -0
  294. package/agnostic/typescript/types.js +0 -0
  295. package/chunks/{chunk-ON6LC3HE.js → chunk-2WSVYQ5Q.js} +6 -13
  296. package/chunks/{chunk-LUPVHC73.js → chunk-3MPXVP4L.js} +11 -3
  297. package/chunks/chunk-4WE2WEXL.js +12 -0
  298. package/chunks/{chunk-FF5NURFO.js → chunk-54KPQCVI.js} +6 -13
  299. package/chunks/{chunk-SRXNICSE.js → chunk-5CFQCSKJ.js} +6 -5
  300. package/chunks/{chunk-FKDPPFHV.js → chunk-5NTPCRFH.js} +1 -11
  301. package/chunks/{chunk-IV75M3KE.js → chunk-5O52VUI6.js} +6 -13
  302. package/chunks/{chunk-4XSDRT23.js → chunk-5X76KDYN.js} +7 -14
  303. package/chunks/{chunk-RHKFMXM3.js → chunk-65BFQP3T.js} +6 -5
  304. package/chunks/{chunk-7J7CYOXU.js → chunk-66BURDRK.js} +8 -15
  305. package/chunks/{chunk-ZEZCYPLQ.js → chunk-6BGIDRU5.js} +7 -14
  306. package/chunks/{chunk-D5CCWCEI.js → chunk-6KOJFWH3.js} +1 -1
  307. package/chunks/{chunk-5ZJ3KJPK.js → chunk-6YVXSCRH.js} +7 -14
  308. package/chunks/{chunk-NMYVJJXV.js → chunk-7B2E2NGH.js} +7 -14
  309. package/chunks/{chunk-QAVYONH6.js → chunk-AKNR3U25.js} +5 -5
  310. package/chunks/{chunk-IYQV2LP4.js → chunk-ALLCYHRY.js} +323 -321
  311. package/chunks/{chunk-CVDCTI7F.js → chunk-AOEOW5XW.js} +7 -14
  312. package/chunks/{chunk-QSU3CVGF.js → chunk-ASWI3EO6.js} +6 -5
  313. package/chunks/{chunk-QWZ4ZNFA.js → chunk-AV373PHY.js} +8 -15
  314. package/chunks/{chunk-VROZGPC5.js → chunk-AXMAF3J2.js} +7 -14
  315. package/chunks/{chunk-QTA7ZEVX.js → chunk-AYGAQQXD.js} +6 -5
  316. package/chunks/chunk-BHGRXDTS.js +28 -0
  317. package/chunks/{chunk-CNYSX2L2.js → chunk-BQABPH3I.js} +7 -14
  318. package/chunks/{chunk-WV5N7ESL.js → chunk-BQXTV2GG.js} +9 -16
  319. package/chunks/{chunk-37TRFYZT.js → chunk-BXFRBV67.js} +6 -13
  320. package/chunks/{chunk-3CLGBOHN.js → chunk-DBNCEHTT.js} +6 -13
  321. package/chunks/{chunk-HRNDUTZE.js → chunk-DBZAJJUF.js} +8 -15
  322. package/chunks/{chunk-SXRWMH3U.js → chunk-DUCLFPGE.js} +5 -5
  323. package/chunks/{chunk-UK2F7CWI.js → chunk-EBQRPRRC.js} +6 -13
  324. package/chunks/{chunk-TGVYEQIA.js → chunk-EEPLTO3E.js} +7 -14
  325. package/chunks/{chunk-ZTDVUXPR.js → chunk-EPUHVR7J.js} +1 -0
  326. package/chunks/{chunk-REZC75LB.js → chunk-FH74QWR6.js} +10 -18
  327. package/chunks/{chunk-FD5WR2A5.js → chunk-FM3HGCFL.js} +8 -15
  328. package/chunks/{chunk-W3RXHN5I.js → chunk-FSI422YG.js} +6 -13
  329. package/chunks/{chunk-STPN5KZL.js → chunk-FXISVWGE.js} +10 -9
  330. package/chunks/{chunk-UT2J62LH.js → chunk-HEY7J6GI.js} +1 -1
  331. package/chunks/{chunk-P5JJOC5K.js → chunk-HMPY32F7.js} +10 -9
  332. package/chunks/chunk-HYPEWMYZ.js +10 -0
  333. package/chunks/{chunk-V3L55I2S.js → chunk-IBQQCUYV.js} +6 -13
  334. package/chunks/{chunk-2HJPX7E3.js → chunk-IK2S6ZYP.js} +6 -5
  335. package/chunks/{chunk-V3GX7SIJ.js → chunk-ISJONMNA.js} +1 -13
  336. package/chunks/{chunk-ZJTWDCNZ.js → chunk-J5D4OQ5U.js} +6 -13
  337. package/chunks/{chunk-67V4BGOB.js → chunk-JDINERKY.js} +1 -1
  338. package/chunks/{chunk-ZSUG52DO.js → chunk-JFXEMK66.js} +6 -13
  339. package/chunks/{chunk-RWO53U4X.js → chunk-JN2UETL4.js} +7 -14
  340. package/chunks/chunk-JU23NBY2.js +22 -0
  341. package/chunks/{chunk-BKO7GLC2.js → chunk-JVMFT3IT.js} +7 -6
  342. package/chunks/{chunk-AQBJ6HNB.js → chunk-K5UF634H.js} +1 -5
  343. package/chunks/{chunk-7UGMWTP5.js → chunk-KRYJVBO5.js} +1 -10
  344. package/chunks/{chunk-DZ2T5DTY.js → chunk-LFHDJTZJ.js} +1 -1
  345. package/chunks/{chunk-3G6FOHII.js → chunk-MHNUCHPP.js} +6 -5
  346. package/chunks/{chunk-NCYE5WML.js → chunk-MSAAQTCE.js} +1 -1
  347. package/chunks/{chunk-CLLJV343.js → chunk-MZYCKOLN.js} +10 -9
  348. package/chunks/{chunk-5VHFXWFM.js → chunk-NEMHJSNM.js} +6 -13
  349. package/chunks/{chunk-BWYH445G.js → chunk-NIIAUOBO.js} +6 -13
  350. package/chunks/{chunk-HFZGH6V2.js → chunk-NR7STUY3.js} +6 -5
  351. package/chunks/{chunk-2JH4TCT2.js → chunk-O66PEU62.js} +6 -13
  352. package/chunks/{chunk-QH64MYGA.js → chunk-O7UCJNVF.js} +7 -14
  353. package/chunks/{chunk-WAHPAZQS.js → chunk-OF2W4ZRG.js} +6 -13
  354. package/chunks/{chunk-P26Y7YUA.js → chunk-PTJO2TGI.js} +6 -5
  355. package/chunks/{chunk-BE7OXZRK.js → chunk-PTN2V757.js} +7 -14
  356. package/chunks/chunk-QEKI6WGQ.js +27 -0
  357. package/chunks/{chunk-QWNWZBIO.js → chunk-QFBVETGF.js} +10 -9
  358. package/chunks/{chunk-EOE2ODJR.js → chunk-QHEWBOQI.js} +3 -3
  359. package/chunks/{chunk-N2T672IG.js → chunk-RGQNRTBI.js} +6 -13
  360. package/chunks/{chunk-FNQAF6CQ.js → chunk-RNXRHCHQ.js} +2 -2
  361. package/chunks/chunk-ROWPCMQY.js +29 -0
  362. package/chunks/{chunk-KJAEVOIW.js → chunk-S2I77NEE.js} +8 -15
  363. package/chunks/{chunk-CWZFRUBS.js → chunk-S6ZFFGWH.js} +7 -14
  364. package/chunks/{chunk-6IYUA43Q.js → chunk-SBBIQ5UH.js} +7 -14
  365. package/chunks/{chunk-YVKM7N55.js → chunk-TLWVLCIQ.js} +10 -9
  366. package/chunks/{chunk-YXLHZ2KW.js → chunk-TTJXJX4E.js} +2 -2
  367. package/chunks/{chunk-HWEGQVBQ.js → chunk-ULYGDEW2.js} +6 -13
  368. package/chunks/{chunk-3LCD73SB.js → chunk-UR5BUIPU.js} +2 -2
  369. package/chunks/{chunk-QAQZEKIF.js → chunk-USIYKRNX.js} +6 -6
  370. package/chunks/{chunk-FB3GNE2B.js → chunk-UZ4SWSOZ.js} +8 -15
  371. package/chunks/{chunk-4XBUJAQU.js → chunk-VU6JYR3W.js} +7 -14
  372. package/chunks/{chunk-FE4DECBU.js → chunk-VYDUHDXW.js} +7 -14
  373. package/chunks/{chunk-BSUQNHAM.js → chunk-W5VY535B.js} +7 -14
  374. package/chunks/chunk-XCBH6NLF.js +42 -0
  375. package/chunks/chunk-XIIJYVJZ.js +15 -0
  376. package/chunks/{chunk-QDVDHFMZ.js → chunk-Y6FD4ASO.js} +7 -14
  377. package/chunks/{chunk-C6QTHDDM.js → chunk-YOP6WVCF.js} +7 -14
  378. package/chunks/chunk-YWSXCFYY.js +61 -0
  379. package/chunks/chunk-ZKIQ753F.js +23 -0
  380. package/chunks/{chunk-QLDN574K.js → chunk-ZTPRFEPV.js} +7 -14
  381. package/components/Comp/index.js +7 -4
  382. package/node/@aws-s3/storage/directory/copy-dir/index.d.ts +4 -12
  383. package/node/@aws-s3/storage/directory/copy-dir/index.js +3 -3
  384. package/node/@aws-s3/storage/directory/list/index.d.ts +1 -1
  385. package/node/@aws-s3/storage/directory/list/index.js +3 -3
  386. package/node/@aws-s3/storage/directory/move-dir/index.d.ts +1 -1
  387. package/node/@aws-s3/storage/directory/move-dir/index.js +3 -3
  388. package/node/@aws-s3/storage/directory/remove-dir/index.d.ts +1 -1
  389. package/node/@aws-s3/storage/directory/remove-dir/index.js +3 -3
  390. package/node/@aws-s3/storage/file/copy/index.d.ts +1 -1
  391. package/node/@aws-s3/storage/file/copy/index.js +3 -3
  392. package/node/@aws-s3/storage/file/download/index.d.ts +1 -1
  393. package/node/@aws-s3/storage/file/download/index.js +3 -3
  394. package/node/@aws-s3/storage/file/exists/index.d.ts +1 -1
  395. package/node/@aws-s3/storage/file/exists/index.js +3 -3
  396. package/node/@aws-s3/storage/file/move/index.d.ts +1 -1
  397. package/node/@aws-s3/storage/file/move/index.js +3 -3
  398. package/node/@aws-s3/storage/file/remove/index.d.ts +1 -1
  399. package/node/@aws-s3/storage/file/remove/index.js +3 -3
  400. package/node/@aws-s3/storage/file/stat/index.d.ts +1 -1
  401. package/node/@aws-s3/storage/file/stat/index.js +3 -3
  402. package/node/@aws-s3/storage/file/upload/index.d.ts +1 -1
  403. package/node/@aws-s3/storage/file/upload/index.js +3 -3
  404. package/node/@design-edito/index.d.ts +1 -2
  405. package/node/@design-edito/index.js +0 -8
  406. package/node/@express/@multer/index.d.ts +34 -1
  407. package/node/@express/@multer/index.js +43 -5
  408. package/node/@google-cloud/storage/bucket/get-metadata/index.d.ts +1 -1
  409. package/node/@google-cloud/storage/bucket/get-metadata/index.js +18 -5
  410. package/node/@google-cloud/storage/directory/copy-dir/index.d.ts +1 -1
  411. package/node/@google-cloud/storage/directory/copy-dir/index.js +3 -3
  412. package/node/@google-cloud/storage/directory/list/index.d.ts +1 -1
  413. package/node/@google-cloud/storage/directory/list/index.js +3 -3
  414. package/node/@google-cloud/storage/directory/move-dir/index.d.ts +1 -1
  415. package/node/@google-cloud/storage/directory/move-dir/index.js +3 -3
  416. package/node/@google-cloud/storage/directory/remove-dir/index.d.ts +1 -1
  417. package/node/@google-cloud/storage/directory/remove-dir/index.js +3 -3
  418. package/node/@google-cloud/storage/file/copy/index.d.ts +1 -1
  419. package/node/@google-cloud/storage/file/copy/index.js +3 -3
  420. package/node/@google-cloud/storage/file/download/index.d.ts +1 -1
  421. package/node/@google-cloud/storage/file/download/index.js +3 -3
  422. package/node/@google-cloud/storage/file/exists/index.d.ts +1 -1
  423. package/node/@google-cloud/storage/file/exists/index.js +3 -3
  424. package/node/@google-cloud/storage/file/generate-signed-url/index.d.ts +1 -1
  425. package/node/@google-cloud/storage/file/generate-signed-url/index.js +24 -5
  426. package/node/@google-cloud/storage/file/get-metadata/index.d.ts +1 -1
  427. package/node/@google-cloud/storage/file/get-metadata/index.js +20 -5
  428. package/node/@google-cloud/storage/file/get-permissions/index.d.ts +1 -1
  429. package/node/@google-cloud/storage/file/get-permissions/index.js +20 -5
  430. package/node/@google-cloud/storage/file/move/index.d.ts +1 -1
  431. package/node/@google-cloud/storage/file/move/index.js +3 -3
  432. package/node/@google-cloud/storage/file/remove/index.d.ts +1 -1
  433. package/node/@google-cloud/storage/file/remove/index.js +3 -3
  434. package/node/@google-cloud/storage/file/revoke-signed-urls/index.d.ts +1 -1
  435. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +25 -7
  436. package/node/@google-cloud/storage/file/stat/index.d.ts +1 -1
  437. package/node/@google-cloud/storage/file/stat/index.js +3 -3
  438. package/node/@google-cloud/storage/file/update-metadata/index.d.ts +1 -1
  439. package/node/@google-cloud/storage/file/update-metadata/index.js +20 -5
  440. package/node/@google-cloud/storage/file/upload/index.d.ts +1 -1
  441. package/node/@google-cloud/storage/file/upload/index.js +3 -3
  442. package/node/cloud-storage/clients/index.d.ts +27 -0
  443. package/node/cloud-storage/clients/index.js +2 -2
  444. package/node/cloud-storage/operations/copy-dir/index.d.ts +46 -1
  445. package/node/cloud-storage/operations/copy-dir/index.js +30 -9
  446. package/node/cloud-storage/operations/copy-file/index.d.ts +46 -1
  447. package/node/cloud-storage/operations/copy-file/index.js +30 -9
  448. package/node/cloud-storage/operations/download-file/index.d.ts +50 -1
  449. package/node/cloud-storage/operations/download-file/index.js +30 -9
  450. package/node/cloud-storage/operations/exists-file/index.d.ts +44 -1
  451. package/node/cloud-storage/operations/exists-file/index.js +30 -9
  452. package/node/cloud-storage/operations/list-dir/index.d.ts +40 -1
  453. package/node/cloud-storage/operations/list-dir/index.js +30 -9
  454. package/node/cloud-storage/operations/move-dir/index.d.ts +46 -1
  455. package/node/cloud-storage/operations/move-dir/index.js +30 -9
  456. package/node/cloud-storage/operations/move-file/index.d.ts +46 -1
  457. package/node/cloud-storage/operations/move-file/index.js +30 -9
  458. package/node/cloud-storage/operations/remove-dir/index.d.ts +42 -1
  459. package/node/cloud-storage/operations/remove-dir/index.js +30 -9
  460. package/node/cloud-storage/operations/remove-file/index.d.ts +42 -1
  461. package/node/cloud-storage/operations/remove-file/index.js +30 -9
  462. package/node/cloud-storage/operations/stat-file/index.d.ts +40 -1
  463. package/node/cloud-storage/operations/stat-file/index.js +30 -9
  464. package/node/cloud-storage/operations/upload-file/index.d.ts +46 -1
  465. package/node/cloud-storage/operations/upload-file/index.js +30 -9
  466. package/node/encryption/@aes-256-gcm/buffer/index.d.ts +1 -1
  467. package/node/encryption/@aes-256-gcm/buffer/index.js +22 -6
  468. package/node/encryption/@aes-256-gcm/uint8-array/index.d.ts +1 -1
  469. package/node/encryption/@aes-256-gcm/uint8-array/index.js +3 -3
  470. package/node/encryption/key/index.js +12 -4
  471. package/node/files/is-in-directory/index.d.ts +7 -0
  472. package/node/files/is-in-directory/index.js +8 -4
  473. package/node/files/read-write/index.d.ts +48 -4
  474. package/node/files/read-write/index.js +15 -4
  475. package/node/files/subpaths/index.d.ts +62 -33
  476. package/node/files/subpaths/index.js +119 -5
  477. package/node/ftps/directory/copy-dir/index.d.ts +1 -1
  478. package/node/ftps/directory/copy-dir/index.js +3 -3
  479. package/node/ftps/directory/list/index.d.ts +1 -1
  480. package/node/ftps/directory/list/index.js +3 -3
  481. package/node/ftps/directory/move-dir/index.d.ts +1 -1
  482. package/node/ftps/directory/move-dir/index.js +3 -3
  483. package/node/ftps/directory/remove-dir/index.d.ts +1 -1
  484. package/node/ftps/directory/remove-dir/index.js +3 -3
  485. package/node/ftps/file/copy/index.d.ts +1 -1
  486. package/node/ftps/file/copy/index.js +3 -3
  487. package/node/ftps/file/download/index.d.ts +1 -1
  488. package/node/ftps/file/download/index.js +3 -3
  489. package/node/ftps/file/exists/index.d.ts +1 -1
  490. package/node/ftps/file/exists/index.js +3 -3
  491. package/node/ftps/file/move/index.d.ts +1 -1
  492. package/node/ftps/file/move/index.js +3 -3
  493. package/node/ftps/file/remove/index.d.ts +1 -1
  494. package/node/ftps/file/remove/index.js +3 -3
  495. package/node/ftps/file/stat/index.d.ts +1 -1
  496. package/node/ftps/file/stat/index.js +3 -3
  497. package/node/ftps/file/upload/index.d.ts +1 -1
  498. package/node/ftps/file/upload/index.js +3 -3
  499. package/node/images/create/index.d.ts +6 -0
  500. package/node/images/create/index.js +12 -17
  501. package/node/images/format/index.d.ts +36 -1
  502. package/node/images/format/index.js +240 -43
  503. package/node/images/metadata/index.d.ts +6 -0
  504. package/node/images/metadata/index.js +12 -17
  505. package/node/images/transform/index.d.ts +23 -1
  506. package/node/images/transform/index.js +198 -38
  507. package/node/images/transform/operations/blur/index.d.ts +1 -1
  508. package/node/images/transform/operations/blur/index.js +4 -4
  509. package/node/images/transform/operations/brighten/index.d.ts +1 -1
  510. package/node/images/transform/operations/brighten/index.js +4 -4
  511. package/node/images/transform/operations/extend/index.d.ts +1 -1
  512. package/node/images/transform/operations/extend/index.js +8 -18
  513. package/node/images/transform/operations/extract/index.d.ts +1 -1
  514. package/node/images/transform/operations/extract/index.js +4 -4
  515. package/node/images/transform/operations/flatten/index.d.ts +1 -1
  516. package/node/images/transform/operations/flatten/index.js +8 -18
  517. package/node/images/transform/operations/flip/index.js +1 -1
  518. package/node/images/transform/operations/flop/index.js +1 -1
  519. package/node/images/transform/operations/hue/index.d.ts +1 -1
  520. package/node/images/transform/operations/hue/index.js +4 -4
  521. package/node/images/transform/operations/level/index.d.ts +1 -1
  522. package/node/images/transform/operations/level/index.js +4 -4
  523. package/node/images/transform/operations/lighten/index.d.ts +1 -1
  524. package/node/images/transform/operations/lighten/index.js +4 -4
  525. package/node/images/transform/operations/normalize/index.d.ts +1 -1
  526. package/node/images/transform/operations/normalize/index.js +4 -4
  527. package/node/images/transform/operations/overlay/index.d.ts +1 -1
  528. package/node/images/transform/operations/overlay/index.js +8 -18
  529. package/node/images/transform/operations/resize/index.d.ts +1 -1
  530. package/node/images/transform/operations/resize/index.js +8 -18
  531. package/node/images/transform/operations/rotate/index.d.ts +1 -1
  532. package/node/images/transform/operations/rotate/index.js +8 -18
  533. package/node/images/transform/operations/saturate/index.d.ts +1 -1
  534. package/node/images/transform/operations/saturate/index.js +4 -4
  535. package/node/images/types.d.ts +136 -1
  536. package/node/images/types.js +2 -2
  537. package/node/images/utils/index.d.ts +20 -0
  538. package/node/images/utils/index.js +5 -15
  539. package/node/process/on-exit/index.d.ts +23 -0
  540. package/node/process/on-exit/index.js +25 -8
  541. package/node/process/prompt-continue/index.d.ts +18 -0
  542. package/node/process/prompt-continue/index.js +1680 -0
  543. package/node/process/spawner/index.d.ts +18 -0
  544. package/node/process/spawner/index.js +83 -0
  545. package/node/sftp/directory/copy-dir/index.d.ts +1 -1
  546. package/node/sftp/directory/copy-dir/index.js +3 -3
  547. package/node/sftp/directory/list/index.d.ts +1 -1
  548. package/node/sftp/directory/list/index.js +3 -3
  549. package/node/sftp/directory/move-dir/index.d.ts +1 -1
  550. package/node/sftp/directory/move-dir/index.js +3 -3
  551. package/node/sftp/directory/remove-dir/index.d.ts +1 -1
  552. package/node/sftp/directory/remove-dir/index.js +3 -3
  553. package/node/sftp/file/copy/index.d.ts +1 -1
  554. package/node/sftp/file/copy/index.js +3 -3
  555. package/node/sftp/file/download/index.d.ts +1 -1
  556. package/node/sftp/file/download/index.js +3 -3
  557. package/node/sftp/file/exists/index.d.ts +1 -1
  558. package/node/sftp/file/exists/index.js +3 -3
  559. package/node/sftp/file/move/index.d.ts +1 -1
  560. package/node/sftp/file/move/index.js +3 -3
  561. package/node/sftp/file/remove/index.d.ts +1 -1
  562. package/node/sftp/file/remove/index.js +3 -3
  563. package/node/sftp/file/stat/index.d.ts +1 -1
  564. package/node/sftp/file/stat/index.js +3 -3
  565. package/node/sftp/file/upload/index.d.ts +1 -1
  566. package/node/sftp/file/upload/index.js +3 -3
  567. package/package.json +11 -3
  568. package/agnostic/arrays/index.d.ts +0 -13
  569. package/agnostic/arrays/index.js +0 -21
  570. package/agnostic/booleans/index.d.ts +0 -8
  571. package/agnostic/booleans/index.js +0 -9
  572. package/agnostic/colors/index.d.ts +0 -14
  573. package/agnostic/colors/index.js +0 -107
  574. package/agnostic/css/bem/BEM.d.ts +0 -29
  575. package/agnostic/css/bem/getNamesArr.d.ts +0 -2
  576. package/agnostic/css/index.d.ts +0 -14
  577. package/agnostic/css/index.js +0 -25
  578. package/agnostic/errors/index.d.ts +0 -6
  579. package/agnostic/errors/index.js +0 -9
  580. package/agnostic/html/index.d.ts +0 -19
  581. package/agnostic/html/index.js +0 -39
  582. package/agnostic/html/sanitize/index.d.ts +0 -24
  583. package/agnostic/html/sanitize/index.js +0 -15
  584. package/agnostic/index.d.ts +0 -26
  585. package/agnostic/index.js +0 -144
  586. package/agnostic/misc/crossenv/index.d.ts +0 -8
  587. package/agnostic/misc/crossenv/index.js +0 -10
  588. package/agnostic/misc/crossenv/types/index.d.ts +0 -19
  589. package/agnostic/misc/crossenv/types/index.js +0 -7
  590. package/agnostic/misc/get-current-downlink/index.d.ts +0 -1
  591. package/agnostic/misc/get-current-downlink/index.js +0 -7
  592. package/agnostic/misc/index.d.ts +0 -25
  593. package/agnostic/misc/index.js +0 -65
  594. package/agnostic/misc/logs/index.d.ts +0 -17
  595. package/agnostic/misc/logs/index.js +0 -10
  596. package/agnostic/numbers/index.d.ts +0 -13
  597. package/agnostic/numbers/index.js +0 -12
  598. package/agnostic/objects/enums/index.d.ts +0 -4
  599. package/agnostic/objects/enums/index.js +0 -8
  600. package/agnostic/objects/index.d.ts +0 -19
  601. package/agnostic/objects/index.js +0 -19
  602. package/agnostic/optim/index.d.ts +0 -7
  603. package/agnostic/optim/index.js +0 -9
  604. package/agnostic/random/index.d.ts +0 -12
  605. package/agnostic/random/index.js +0 -10
  606. package/agnostic/sanitization/index.d.ts +0 -3
  607. package/agnostic/sanitization/index.js +0 -35
  608. package/agnostic/strings/index.d.ts +0 -19
  609. package/agnostic/strings/index.js +0 -15
  610. package/agnostic/time/dates/index.d.ts +0 -4
  611. package/agnostic/time/dates/index.js +0 -8
  612. package/agnostic/time/index.d.ts +0 -12
  613. package/agnostic/time/index.js +0 -30
  614. package/chunks/chunk-26T64AEI.js +0 -28
  615. package/chunks/chunk-34U4HX4V.js +0 -73
  616. package/chunks/chunk-3KZNRSDD.js +0 -112
  617. package/chunks/chunk-3USAHFOX.js +0 -31
  618. package/chunks/chunk-42K3MQQ5.js +0 -31
  619. package/chunks/chunk-45E3E4KW.js +0 -43
  620. package/chunks/chunk-4RPGLKRQ.js +0 -43
  621. package/chunks/chunk-536IRELM.js +0 -40
  622. package/chunks/chunk-5CTAKAIP.js +0 -28
  623. package/chunks/chunk-6KM4UT6T.js +0 -34
  624. package/chunks/chunk-6NYUQXJT.js +0 -109
  625. package/chunks/chunk-6RGDWX4A.js +0 -24
  626. package/chunks/chunk-6YQGM6N6.js +0 -19
  627. package/chunks/chunk-7AWTHZLY.js +0 -12
  628. package/chunks/chunk-7DBNMU6N.js +0 -14
  629. package/chunks/chunk-7YJ4BB73.js +0 -20
  630. package/chunks/chunk-A3CDUWGR.js +0 -73
  631. package/chunks/chunk-AL7ESVX4.js +0 -42
  632. package/chunks/chunk-ALAGBHFV.js +0 -42
  633. package/chunks/chunk-ANPXBD2G.js +0 -35
  634. package/chunks/chunk-AZD3VUWK.js +0 -84
  635. package/chunks/chunk-B43NYQDI.js +0 -16
  636. package/chunks/chunk-BDGFY3GP.js +0 -42
  637. package/chunks/chunk-BGSJ5XCH.js +0 -20
  638. package/chunks/chunk-BJAYUP7M.js +0 -13
  639. package/chunks/chunk-BLDUC7TT.js +0 -17
  640. package/chunks/chunk-COVPTTAD.js +0 -10
  641. package/chunks/chunk-DKITT7OT.js +0 -296
  642. package/chunks/chunk-EDVNAV3G.js +0 -72
  643. package/chunks/chunk-EGBJXHCW.js +0 -47
  644. package/chunks/chunk-EIIADR7E.js +0 -24
  645. package/chunks/chunk-ENMBK6H7.js +0 -162
  646. package/chunks/chunk-EUQFWLAH.js +0 -20
  647. package/chunks/chunk-F3WCF6DL.js +0 -122
  648. package/chunks/chunk-FEIKHYDQ.js +0 -20
  649. package/chunks/chunk-FHLCPVND.js +0 -23
  650. package/chunks/chunk-FPEW3A27.js +0 -14
  651. package/chunks/chunk-FR5H2OCV.js +0 -21
  652. package/chunks/chunk-FVFVKL54.js +0 -32
  653. package/chunks/chunk-FZOU4OAW.js +0 -13
  654. package/chunks/chunk-G4ZB72XY.js +0 -257
  655. package/chunks/chunk-G5RRNREY.js +0 -37
  656. package/chunks/chunk-GABKKGNI.js +0 -206
  657. package/chunks/chunk-GL42Q643.js +0 -42
  658. package/chunks/chunk-GTVOFJKO.js +0 -20
  659. package/chunks/chunk-HKTNK262.js +0 -23
  660. package/chunks/chunk-HWVEI3RH.js +0 -31
  661. package/chunks/chunk-IRTPQATN.js +0 -16
  662. package/chunks/chunk-JBSS64SA.js +0 -6
  663. package/chunks/chunk-JMU5PDBD.js +0 -20
  664. package/chunks/chunk-JQXNEJAP.js +0 -18
  665. package/chunks/chunk-JTJA7DGW.js +0 -36
  666. package/chunks/chunk-JWBDZPQG.js +0 -18
  667. package/chunks/chunk-JZ5MFJQB.js +0 -37
  668. package/chunks/chunk-KIONYWA7.js +0 -168
  669. package/chunks/chunk-KWQ4K4GN.js +0 -28
  670. package/chunks/chunk-KXIA3YGF.js +0 -54
  671. package/chunks/chunk-KXIEPXDI.js +0 -40
  672. package/chunks/chunk-L7PIZQFC.js +0 -51
  673. package/chunks/chunk-LEXQ6E6L.js +0 -31
  674. package/chunks/chunk-LV2VMOWR.js +0 -18
  675. package/chunks/chunk-MFIGSRSO.js +0 -103
  676. package/chunks/chunk-MJQF3YZO.js +0 -21
  677. package/chunks/chunk-MV473S2C.js +0 -28
  678. package/chunks/chunk-MVYH3CSJ.js +0 -42
  679. package/chunks/chunk-N4JGLSGA.js +0 -28
  680. package/chunks/chunk-NRITRUZW.js +0 -10
  681. package/chunks/chunk-OC4VIF3N.js +0 -42
  682. package/chunks/chunk-OJCVOSWP.js +0 -41
  683. package/chunks/chunk-OKCPVFQW.js +0 -56
  684. package/chunks/chunk-OKFZJ6DJ.js +0 -9
  685. package/chunks/chunk-PAIUCLVK.js +0 -35
  686. package/chunks/chunk-PU7NOIJB.js +0 -16
  687. package/chunks/chunk-PVRYR5KX.js +0 -21
  688. package/chunks/chunk-PWNX5TWJ.js +0 -60
  689. package/chunks/chunk-QCOO4PV5.js +0 -54
  690. package/chunks/chunk-QHAB6XYD.js +0 -30
  691. package/chunks/chunk-QHLQVR3E.js +0 -54
  692. package/chunks/chunk-QKE2IYT5.js +0 -42
  693. package/chunks/chunk-QVPS2BCJ.js +0 -29
  694. package/chunks/chunk-R4DZKWSR.js +0 -42
  695. package/chunks/chunk-RASMASS4.js +0 -111
  696. package/chunks/chunk-RLAZR3NL.js +0 -8
  697. package/chunks/chunk-RLJOYG64.js +0 -33
  698. package/chunks/chunk-S2NMAH7K.js +0 -19
  699. package/chunks/chunk-S32K7POB.js +0 -29
  700. package/chunks/chunk-SKBOSWM2.js +0 -35
  701. package/chunks/chunk-SKMCIFS3.js +0 -27
  702. package/chunks/chunk-SNJJII7A.js +0 -65
  703. package/chunks/chunk-STW5RKR7.js +0 -175
  704. package/chunks/chunk-TIER4TF4.js +0 -26
  705. package/chunks/chunk-UNXRB2AV.js +0 -16
  706. package/chunks/chunk-UXEKCYL7.js +0 -28
  707. package/chunks/chunk-VFJYLXCI.js +0 -23
  708. package/chunks/chunk-VJJIYJMY.js +0 -13
  709. package/chunks/chunk-VLC7LRED.js +0 -191
  710. package/chunks/chunk-VTPRO4NJ.js +0 -10
  711. package/chunks/chunk-VYW4IADX.js +0 -35
  712. package/chunks/chunk-VZDUZTW6.js +0 -113
  713. package/chunks/chunk-WAMSK4A3.js +0 -67
  714. package/chunks/chunk-WH6BPDAC.js +0 -17
  715. package/chunks/chunk-WOAYU6LB.js +0 -13
  716. package/chunks/chunk-WOYF3N4A.js +0 -31
  717. package/chunks/chunk-WSC3WODJ.js +0 -157
  718. package/chunks/chunk-WSFCRVEQ.js +0 -9
  719. package/chunks/chunk-X53BGT33.js +0 -42
  720. package/chunks/chunk-XB3EGDBI.js +0 -127
  721. package/chunks/chunk-XBA26Z7E.js +0 -42
  722. package/chunks/chunk-XPGAVZGK.js +0 -98
  723. package/chunks/chunk-XR2LNUGW.js +0 -42
  724. package/chunks/chunk-Y5GGIBPI.js +0 -31
  725. package/chunks/chunk-YKPA3MQL.js +0 -31
  726. package/chunks/chunk-YP64J65L.js +0 -17
  727. package/chunks/chunk-YPTFPS76.js +0 -91
  728. package/chunks/chunk-YQWZ3EP2.js +0 -60
  729. package/chunks/chunk-YS6WMSWC.js +0 -15
  730. package/chunks/chunk-YUP434IY.js +0 -43
  731. package/chunks/chunk-Z7ZDDBV5.js +0 -18
  732. package/chunks/chunk-ZBBU2P4D.js +0 -28
  733. package/chunks/chunk-ZLBSI4TR.js +0 -21
  734. package/chunks/chunk-ZMT6S52U.js +0 -40
  735. package/chunks/chunk-ZNA7SWFK.js +0 -29
  736. package/chunks/chunk-ZYTGT7AE.js +0 -20
  737. package/components/index.d.ts +0 -4
  738. package/components/index.js +0 -13
  739. package/node/@aws-s3/index.d.ts +0 -2
  740. package/node/@aws-s3/index.js +0 -23
  741. package/node/@aws-s3/storage/directory/index.d.ts +0 -5
  742. package/node/@aws-s3/storage/directory/index.js +0 -22
  743. package/node/@aws-s3/storage/file/index.d.ts +0 -8
  744. package/node/@aws-s3/storage/file/index.js +0 -34
  745. package/node/@aws-s3/storage/index.d.ts +0 -3
  746. package/node/@aws-s3/storage/index.js +0 -25
  747. package/node/@design-edito/thumbnails/index.js +0 -1
  748. package/node/@express/index.d.ts +0 -2
  749. package/node/@express/index.js +0 -10
  750. package/node/@google-cloud/index.d.ts +0 -2
  751. package/node/@google-cloud/index.js +0 -30
  752. package/node/@google-cloud/storage/bucket/index.d.ts +0 -5
  753. package/node/@google-cloud/storage/bucket/index.js +0 -22
  754. package/node/@google-cloud/storage/directory/index.d.ts +0 -5
  755. package/node/@google-cloud/storage/directory/index.js +0 -22
  756. package/node/@google-cloud/storage/file/index.d.ts +0 -13
  757. package/node/@google-cloud/storage/file/index.js +0 -54
  758. package/node/@google-cloud/storage/index.d.ts +0 -4
  759. package/node/@google-cloud/storage/index.js +0 -35
  760. package/node/cloud-storage/index.d.ts +0 -3
  761. package/node/cloud-storage/index.js +0 -69
  762. package/node/cloud-storage/operations/index.d.ts +0 -12
  763. package/node/cloud-storage/operations/index.js +0 -95
  764. package/node/encryption/@aes-256-gcm/index.d.ts +0 -3
  765. package/node/encryption/@aes-256-gcm/index.js +0 -14
  766. package/node/encryption/index.d.ts +0 -3
  767. package/node/encryption/index.js +0 -16
  768. package/node/files/index.d.ts +0 -7
  769. package/node/files/index.js +0 -15
  770. package/node/ftps/directory/index.d.ts +0 -5
  771. package/node/ftps/directory/index.js +0 -22
  772. package/node/ftps/file/index.d.ts +0 -8
  773. package/node/ftps/file/index.js +0 -34
  774. package/node/ftps/index.d.ts +0 -3
  775. package/node/ftps/index.js +0 -25
  776. package/node/images/index.d.ts +0 -6
  777. package/node/images/index.js +0 -59
  778. package/node/index.d.ts +0 -12
  779. package/node/index.js +0 -172
  780. package/node/process/index.d.ts +0 -6
  781. package/node/process/index.js +0 -16
  782. package/node/sftp/directory/index.d.ts +0 -5
  783. package/node/sftp/directory/index.js +0 -22
  784. package/node/sftp/file/index.d.ts +0 -8
  785. package/node/sftp/file/index.js +0 -34
  786. package/node/sftp/index.d.ts +0 -3
  787. package/node/sftp/index.js +0 -25
  788. package/shared/errors/index.d.ts +0 -138
  789. /package/{node/@design-edito/thumbnails/index.d.ts → agnostic/arrays/dedupe/index.test.d.ts} +0 -0
  790. /package/{shared/index.d.ts → agnostic/misc/data-size/types.js} +0 -0
@@ -1,15 +1,60 @@
1
1
  import { Bucket as GCSBucket } from '@google-cloud/storage';
2
2
  import { Client as FtpClient } from 'basic-ftp';
3
3
  import SftpClient from 'ssh2-sftp-client';
4
- import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
4
+ import * as Outcome from '../../../../agnostic/misc/outcome/index.js';
5
5
  import { S3ClientWithBucket } from '../../clients/index.js';
6
6
  import { MoveDirOptions as FtpsMoveDirOptions } from '../../../ftps/directory/move-dir/index.js';
7
7
  import { MoveDirOptions as SftpMoveDirOptions } from '../../../sftp/directory/move-dir/index.js';
8
8
  import { MoveDirOptions as S3MoveDirOptions } from '../../../@aws-s3/storage/directory/move-dir/index.js';
9
9
  import { MoveDirOptions as GcsMoveDirOptions } from '../../../@google-cloud/storage/directory/move-dir/index.js';
10
+ /** Return type for move directory operations. */
10
11
  type Returned = Outcome.Either<true, string>;
12
+ /**
13
+ * Moves a directory from one path to another using a Google Cloud Storage bucket.
14
+ *
15
+ * @param {GCSBucket} client - The Google Cloud Storage bucket instance.
16
+ * @param {string} sourcePath - The source directory path to move from.
17
+ * @param {string} targetPath - The target directory path to move to.
18
+ * @param {GcsMoveDirOptions} [options] - Optional move configuration.
19
+ * @returns {Promise<Outcome.Either<true, string>>}
20
+ * - On success: `Outcome.makeSuccess(true)`.
21
+ * - On failure: `Outcome.makeFailure(errStr)`.
22
+ */
11
23
  export declare function moveDir(client: GCSBucket, sourcePath: string, targetPath: string, options?: GcsMoveDirOptions): Promise<Returned>;
24
+ /**
25
+ * Moves a directory from one path to another using an S3 client.
26
+ *
27
+ * @param {S3ClientWithBucket} client - The S3 client with bucket configuration.
28
+ * @param {string} sourcePath - The source directory path to move from.
29
+ * @param {string} targetPath - The target directory path to move to.
30
+ * @param {S3MoveDirOptions} [options] - Optional move configuration.
31
+ * @returns {Promise<Outcome.Either<true, string>>}
32
+ * - On success: `Outcome.makeSuccess(true)`.
33
+ * - On failure: `Outcome.makeFailure(errStr)`.
34
+ */
12
35
  export declare function moveDir(client: S3ClientWithBucket, sourcePath: string, targetPath: string, options?: S3MoveDirOptions): Promise<Returned>;
36
+ /**
37
+ * Moves a directory from one path to another using an FTP client.
38
+ *
39
+ * @param {FtpClient} client - The FTP client instance.
40
+ * @param {string} sourcePath - The source directory path to move from.
41
+ * @param {string} targetPath - The target directory path to move to.
42
+ * @param {FtpsMoveDirOptions} [options] - Optional move configuration.
43
+ * @returns {Promise<Outcome.Either<true, string>>}
44
+ * - On success: `Outcome.makeSuccess(true)`.
45
+ * - On failure: `Outcome.makeFailure(errStr)`.
46
+ */
13
47
  export declare function moveDir(client: FtpClient, sourcePath: string, targetPath: string, options?: FtpsMoveDirOptions): Promise<Returned>;
48
+ /**
49
+ * Moves a directory from one path to another using an SFTP client.
50
+ *
51
+ * @param {SftpClient} client - The SFTP client instance.
52
+ * @param {string} sourcePath - The source directory path to move from.
53
+ * @param {string} targetPath - The target directory path to move to.
54
+ * @param {SftpMoveDirOptions} [options] - Optional move configuration.
55
+ * @returns {Promise<Outcome.Either<true, string>>}
56
+ * - On success: `Outcome.makeSuccess(true)`.
57
+ * - On failure: `Outcome.makeFailure(errStr)`.
58
+ */
14
59
  export declare function moveDir(client: SftpClient, sourcePath: string, targetPath: string, options?: SftpMoveDirOptions): Promise<Returned>;
15
60
  export {};
@@ -1,14 +1,35 @@
1
+ import {
2
+ moveDir as moveDir4
3
+ } from "../../../../chunks/chunk-NIIAUOBO.js";
4
+ import {
5
+ moveDir as moveDir3
6
+ } from "../../../../chunks/chunk-2WSVYQ5Q.js";
7
+ import {
8
+ moveDir as moveDir2
9
+ } from "../../../../chunks/chunk-JN2UETL4.js";
1
10
  import {
2
11
  moveDir
3
- } from "../../../../chunks/chunk-MVYH3CSJ.js";
4
- import "../../../../chunks/chunk-BWYH445G.js";
5
- import "../../../../chunks/chunk-ON6LC3HE.js";
6
- import "../../../../chunks/chunk-RWO53U4X.js";
7
- import "../../../../chunks/chunk-BE7OXZRK.js";
8
- import "../../../../chunks/chunk-V3GX7SIJ.js";
9
- import "../../../../chunks/chunk-JMU5PDBD.js";
12
+ } from "../../../../chunks/chunk-PTN2V757.js";
13
+ import {
14
+ isFtpClient,
15
+ isGcsBucket,
16
+ isS3ClientWithBucket,
17
+ isSftpClient
18
+ } from "../../../../chunks/chunk-ISJONMNA.js";
19
+ import {
20
+ makeFailure
21
+ } from "../../../../chunks/chunk-QEKI6WGQ.js";
10
22
  import "../../../../chunks/chunk-FENXVJYO.js";
11
- import "../../../../chunks/chunk-WSFCRVEQ.js";
23
+ import "../../../../chunks/chunk-XCBH6NLF.js";
24
+
25
+ // src/node/cloud-storage/operations/move-dir/index.ts
26
+ async function moveDir5(client, sourcePath, targetPath, options) {
27
+ if (isGcsBucket(client)) return moveDir4(client, sourcePath, targetPath, options);
28
+ if (isS3ClientWithBucket(client)) return moveDir3(client.client, client.bucketName, sourcePath, targetPath, options);
29
+ if (isFtpClient(client)) return moveDir(client, sourcePath, targetPath, options);
30
+ if (isSftpClient(client)) return moveDir2(client, sourcePath, targetPath, options);
31
+ return makeFailure("Invalid client type");
32
+ }
12
33
  export {
13
- moveDir
34
+ moveDir5 as moveDir
14
35
  };
@@ -1,15 +1,60 @@
1
1
  import { Bucket as GCSBucket } from '@google-cloud/storage';
2
2
  import { Client as FtpClient } from 'basic-ftp';
3
3
  import SftpClient from 'ssh2-sftp-client';
4
- import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
4
+ import * as Outcome from '../../../../agnostic/misc/outcome/index.js';
5
5
  import { S3ClientWithBucket } from '../../clients/index.js';
6
6
  import { MoveOptions as FtpsMoveOptions } from '../../../ftps/file/move/index.js';
7
7
  import { MoveOptions as SftpMoveOptions } from '../../../sftp/file/move/index.js';
8
8
  import { MoveOptions as S3MoveOptions } from '../../../@aws-s3/storage/file/move/index.js';
9
9
  import { MoveOptions as GcsMoveOptions } from '../../../@google-cloud/storage/file/move/index.js';
10
+ /** Return type for move file operations. */
10
11
  type Returned = Outcome.Either<true, string>;
12
+ /**
13
+ * Moves a file from one path to another using a Google Cloud Storage bucket.
14
+ *
15
+ * @param {GCSBucket} client - The Google Cloud Storage bucket instance.
16
+ * @param {string} sourcePath - The source file path to move from.
17
+ * @param {string} targetPath - The target file path to move to.
18
+ * @param {GcsMoveOptions} [options] - Optional move configuration.
19
+ * @returns {Promise<Outcome.Either<true, string>>}
20
+ * - On success: `Outcome.makeSuccess(true)`.
21
+ * - On failure: `Outcome.makeFailure(errStr)`.
22
+ */
11
23
  export declare function moveFile(client: GCSBucket, sourcePath: string, targetPath: string, options?: GcsMoveOptions): Promise<Returned>;
24
+ /**
25
+ * Moves a file from one path to another using an S3 client.
26
+ *
27
+ * @param {S3ClientWithBucket} client - The S3 client with bucket configuration.
28
+ * @param {string} sourcePath - The source file path to move from.
29
+ * @param {string} targetPath - The target file path to move to.
30
+ * @param {S3MoveOptions} [options] - Optional move configuration.
31
+ * @returns {Promise<Outcome.Either<true, string>>}
32
+ * - On success: `Outcome.makeSuccess(true)`.
33
+ * - On failure: `Outcome.makeFailure(errStr)`.
34
+ */
12
35
  export declare function moveFile(client: S3ClientWithBucket, sourcePath: string, targetPath: string, options?: S3MoveOptions): Promise<Returned>;
36
+ /**
37
+ * Moves a file from one path to another using an FTP client.
38
+ *
39
+ * @param {FtpClient} client - The FTP client instance.
40
+ * @param {string} sourcePath - The source file path to move from.
41
+ * @param {string} targetPath - The target file path to move to.
42
+ * @param {FtpsMoveOptions} [options] - Optional move configuration.
43
+ * @returns {Promise<Outcome.Either<true, string>>}
44
+ * - On success: `Outcome.makeSuccess(true)`.
45
+ * - On failure: `Outcome.makeFailure(errStr)`.
46
+ */
13
47
  export declare function moveFile(client: FtpClient, sourcePath: string, targetPath: string, options?: FtpsMoveOptions): Promise<Returned>;
48
+ /**
49
+ * Moves a file from one path to another using an SFTP client.
50
+ *
51
+ * @param {SftpClient} client - The SFTP client instance.
52
+ * @param {string} sourcePath - The source file path to move from.
53
+ * @param {string} targetPath - The target file path to move to.
54
+ * @param {SftpMoveOptions} [options] - Optional move configuration.
55
+ * @returns {Promise<Outcome.Either<true, string>>}
56
+ * - On success: `Outcome.makeSuccess(true)`.
57
+ * - On failure: `Outcome.makeFailure(errStr)`.
58
+ */
14
59
  export declare function moveFile(client: SftpClient, sourcePath: string, targetPath: string, options?: SftpMoveOptions): Promise<Returned>;
15
60
  export {};
@@ -1,14 +1,35 @@
1
1
  import {
2
- moveFile
3
- } from "../../../../chunks/chunk-OC4VIF3N.js";
4
- import "../../../../chunks/chunk-6IYUA43Q.js";
5
- import "../../../../chunks/chunk-QWZ4ZNFA.js";
6
- import "../../../../chunks/chunk-FE4DECBU.js";
7
- import "../../../../chunks/chunk-HRNDUTZE.js";
8
- import "../../../../chunks/chunk-V3GX7SIJ.js";
9
- import "../../../../chunks/chunk-JMU5PDBD.js";
2
+ move as move4
3
+ } from "../../../../chunks/chunk-SBBIQ5UH.js";
4
+ import {
5
+ move as move3
6
+ } from "../../../../chunks/chunk-AV373PHY.js";
7
+ import {
8
+ move as move2
9
+ } from "../../../../chunks/chunk-VYDUHDXW.js";
10
+ import {
11
+ move
12
+ } from "../../../../chunks/chunk-DBZAJJUF.js";
13
+ import {
14
+ isFtpClient,
15
+ isGcsBucket,
16
+ isS3ClientWithBucket,
17
+ isSftpClient
18
+ } from "../../../../chunks/chunk-ISJONMNA.js";
19
+ import {
20
+ makeFailure
21
+ } from "../../../../chunks/chunk-QEKI6WGQ.js";
10
22
  import "../../../../chunks/chunk-FENXVJYO.js";
11
- import "../../../../chunks/chunk-WSFCRVEQ.js";
23
+ import "../../../../chunks/chunk-XCBH6NLF.js";
24
+
25
+ // src/node/cloud-storage/operations/move-file/index.ts
26
+ async function moveFile(client, sourcePath, targetPath, options) {
27
+ if (isGcsBucket(client)) return move4(client, sourcePath, targetPath, options);
28
+ if (isS3ClientWithBucket(client)) return move3(client.client, client.bucketName, sourcePath, targetPath, options);
29
+ if (isFtpClient(client)) return move(client, sourcePath, targetPath);
30
+ if (isSftpClient(client)) return move2(client, sourcePath, targetPath);
31
+ return makeFailure("Invalid client type");
32
+ }
12
33
  export {
13
34
  moveFile
14
35
  };
@@ -1,15 +1,56 @@
1
1
  import { Bucket as GCSBucket } from '@google-cloud/storage';
2
2
  import { Client as FtpClient } from 'basic-ftp';
3
3
  import SftpClient from 'ssh2-sftp-client';
4
- import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
4
+ import * as Outcome from '../../../../agnostic/misc/outcome/index.js';
5
5
  import { S3ClientWithBucket } from '../../clients/index.js';
6
6
  import { RemoveDirOptions as FtpsRemoveDirOptions } from '../../../ftps/directory/remove-dir/index.js';
7
7
  import { RemoveDirOptions as SftpRemoveDirOptions } from '../../../sftp/directory/remove-dir/index.js';
8
8
  import { RemoveDirOptions as S3RemoveDirOptions } from '../../../@aws-s3/storage/directory/remove-dir/index.js';
9
9
  import { RemoveDirOptions as GcsRemoveDirOptions } from '../../../@google-cloud/storage/directory/remove-dir/index.js';
10
+ /** Return type for remove directory operations. */
10
11
  type Returned = Outcome.Either<true, string>;
12
+ /**
13
+ * Removes a directory from a Google Cloud Storage bucket.
14
+ *
15
+ * @param {GCSBucket} client - The Google Cloud Storage bucket instance.
16
+ * @param {string} sourcePath - The directory path to remove.
17
+ * @param {GcsRemoveDirOptions} [options] - Optional remove configuration.
18
+ * @returns {Promise<Outcome.Either<true, string>>}
19
+ * - On success: `Outcome.makeSuccess(true)`.
20
+ * - On failure: `Outcome.makeFailure(errStr)`.
21
+ */
11
22
  export declare function removeDir(client: GCSBucket, sourcePath: string, options?: GcsRemoveDirOptions): Promise<Returned>;
23
+ /**
24
+ * Removes a directory from an S3 bucket.
25
+ *
26
+ * @param {S3ClientWithBucket} client - The S3 client with bucket configuration.
27
+ * @param {string} sourcePath - The directory path to remove.
28
+ * @param {S3RemoveDirOptions} [options] - Optional remove configuration.
29
+ * @returns {Promise<Outcome.Either<true, string>>}
30
+ * - On success: `Outcome.makeSuccess(true)`.
31
+ * - On failure: `Outcome.makeFailure(errStr)`.
32
+ */
12
33
  export declare function removeDir(client: S3ClientWithBucket, sourcePath: string, options?: S3RemoveDirOptions): Promise<Returned>;
34
+ /**
35
+ * Removes a directory from an FTP server.
36
+ *
37
+ * @param {FtpClient} client - The FTP client instance.
38
+ * @param {string} sourcePath - The directory path to remove.
39
+ * @param {FtpsRemoveDirOptions} [options] - Optional remove configuration.
40
+ * @returns {Promise<Outcome.Either<true, string>>}
41
+ * - On success: `Outcome.makeSuccess(true)`.
42
+ * - On failure: `Outcome.makeFailure(errStr)`.
43
+ */
13
44
  export declare function removeDir(client: FtpClient, sourcePath: string, options?: FtpsRemoveDirOptions): Promise<Returned>;
45
+ /**
46
+ * Removes a directory from an SFTP server.
47
+ *
48
+ * @param {SftpClient} client - The SFTP client instance.
49
+ * @param {string} sourcePath - The directory path to remove.
50
+ * @param {SftpRemoveDirOptions} [options] - Optional remove configuration.
51
+ * @returns {Promise<Outcome.Either<true, string>>}
52
+ * - On success: `Outcome.makeSuccess(true)`.
53
+ * - On failure: `Outcome.makeFailure(errStr)`.
54
+ */
14
55
  export declare function removeDir(client: SftpClient, sourcePath: string, options?: SftpRemoveDirOptions): Promise<Returned>;
15
56
  export {};
@@ -1,14 +1,35 @@
1
+ import {
2
+ removeDir as removeDir4
3
+ } from "../../../../chunks/chunk-ZTPRFEPV.js";
4
+ import {
5
+ removeDir as removeDir3
6
+ } from "../../../../chunks/chunk-5X76KDYN.js";
7
+ import {
8
+ removeDir as removeDir2
9
+ } from "../../../../chunks/chunk-6YVXSCRH.js";
1
10
  import {
2
11
  removeDir
3
- } from "../../../../chunks/chunk-GL42Q643.js";
4
- import "../../../../chunks/chunk-QLDN574K.js";
5
- import "../../../../chunks/chunk-4XSDRT23.js";
6
- import "../../../../chunks/chunk-5ZJ3KJPK.js";
7
- import "../../../../chunks/chunk-BSUQNHAM.js";
8
- import "../../../../chunks/chunk-V3GX7SIJ.js";
9
- import "../../../../chunks/chunk-JMU5PDBD.js";
12
+ } from "../../../../chunks/chunk-W5VY535B.js";
13
+ import {
14
+ isFtpClient,
15
+ isGcsBucket,
16
+ isS3ClientWithBucket,
17
+ isSftpClient
18
+ } from "../../../../chunks/chunk-ISJONMNA.js";
19
+ import {
20
+ makeFailure
21
+ } from "../../../../chunks/chunk-QEKI6WGQ.js";
10
22
  import "../../../../chunks/chunk-FENXVJYO.js";
11
- import "../../../../chunks/chunk-WSFCRVEQ.js";
23
+ import "../../../../chunks/chunk-XCBH6NLF.js";
24
+
25
+ // src/node/cloud-storage/operations/remove-dir/index.ts
26
+ async function removeDir5(client, sourcePath, options) {
27
+ if (isGcsBucket(client)) return removeDir4(client, sourcePath, options);
28
+ if (isS3ClientWithBucket(client)) return removeDir3(client.client, client.bucketName, sourcePath, options);
29
+ if (isFtpClient(client)) return removeDir(client, sourcePath, options);
30
+ if (isSftpClient(client)) return removeDir2(client, sourcePath, options);
31
+ return makeFailure("Invalid client type");
32
+ }
12
33
  export {
13
- removeDir
34
+ removeDir5 as removeDir
14
35
  };
@@ -1,15 +1,56 @@
1
1
  import { Bucket as GCSBucket } from '@google-cloud/storage';
2
2
  import { Client as FtpClient } from 'basic-ftp';
3
3
  import SftpClient from 'ssh2-sftp-client';
4
- import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
4
+ import * as Outcome from '../../../../agnostic/misc/outcome/index.js';
5
5
  import { S3ClientWithBucket } from '../../clients/index.js';
6
6
  import { RemoveOptions as FtpRemoveOptions } from '../../../ftps/file/remove/index.js';
7
7
  import { RemoveOptions as SftpRemoveOptions } from '../../../sftp/file/remove/index.js';
8
8
  import { RemoveOptions as S3RemoveOptions } from '../../../@aws-s3/storage/file/remove/index.js';
9
9
  import { RemoveOptions as GcsRemoveOptions } from '../../../@google-cloud/storage/file/remove/index.js';
10
+ /** Return type for remove file operations. */
10
11
  type Returned = Outcome.Either<true, string>;
12
+ /**
13
+ * Removes a file from a Google Cloud Storage bucket.
14
+ *
15
+ * @param {GCSBucket} client - The Google Cloud Storage bucket instance.
16
+ * @param {string} path - The file path to remove.
17
+ * @param {GcsRemoveOptions} [options] - Optional remove configuration.
18
+ * @returns {Promise<Outcome.Either<true, string>>}
19
+ * - On success: `Outcome.makeSuccess(true)`.
20
+ * - On failure: `Outcome.makeFailure(errStr)`.
21
+ */
11
22
  export declare function removeFile(client: GCSBucket, path: string, options?: GcsRemoveOptions): Promise<Returned>;
23
+ /**
24
+ * Removes a file from an S3 bucket.
25
+ *
26
+ * @param {S3ClientWithBucket} client - The S3 client with bucket configuration.
27
+ * @param {string} path - The file path to remove.
28
+ * @param {S3RemoveOptions} [options] - Optional remove configuration.
29
+ * @returns {Promise<Outcome.Either<true, string>>}
30
+ * - On success: `Outcome.makeSuccess(true)`.
31
+ * - On failure: `Outcome.makeFailure(errStr)`.
32
+ */
12
33
  export declare function removeFile(client: S3ClientWithBucket, path: string, options?: S3RemoveOptions): Promise<Returned>;
34
+ /**
35
+ * Removes a file from an FTP server.
36
+ *
37
+ * @param {FtpClient} client - The FTP client instance.
38
+ * @param {string} path - The file path to remove.
39
+ * @param {FtpRemoveOptions} [options] - Optional remove configuration.
40
+ * @returns {Promise<Outcome.Either<true, string>>}
41
+ * - On success: `Outcome.makeSuccess(true)`.
42
+ * - On failure: `Outcome.makeFailure(errStr)`.
43
+ */
13
44
  export declare function removeFile(client: FtpClient, path: string, options?: FtpRemoveOptions): Promise<Returned>;
45
+ /**
46
+ * Removes a file from an SFTP server.
47
+ *
48
+ * @param {SftpClient} client - The SFTP client instance.
49
+ * @param {string} path - The file path to remove.
50
+ * @param {SftpRemoveOptions} [options] - Optional remove configuration.
51
+ * @returns {Promise<Outcome.Either<true, string>>}
52
+ * - On success: `Outcome.makeSuccess(true)`.
53
+ * - On failure: `Outcome.makeFailure(errStr)`.
54
+ */
14
55
  export declare function removeFile(client: SftpClient, path: string, options?: SftpRemoveOptions): Promise<Returned>;
15
56
  export {};
@@ -1,14 +1,35 @@
1
1
  import {
2
- removeFile
3
- } from "../../../../chunks/chunk-ALAGBHFV.js";
4
- import "../../../../chunks/chunk-7J7CYOXU.js";
5
- import "../../../../chunks/chunk-WV5N7ESL.js";
6
- import "../../../../chunks/chunk-ANPXBD2G.js";
7
- import "../../../../chunks/chunk-KJAEVOIW.js";
8
- import "../../../../chunks/chunk-V3GX7SIJ.js";
9
- import "../../../../chunks/chunk-JMU5PDBD.js";
2
+ remove as remove4
3
+ } from "../../../../chunks/chunk-66BURDRK.js";
4
+ import {
5
+ remove as remove3
6
+ } from "../../../../chunks/chunk-BQXTV2GG.js";
7
+ import {
8
+ remove as remove2
9
+ } from "../../../../chunks/chunk-BHGRXDTS.js";
10
+ import {
11
+ remove
12
+ } from "../../../../chunks/chunk-S2I77NEE.js";
13
+ import {
14
+ isFtpClient,
15
+ isGcsBucket,
16
+ isS3ClientWithBucket,
17
+ isSftpClient
18
+ } from "../../../../chunks/chunk-ISJONMNA.js";
19
+ import {
20
+ makeFailure
21
+ } from "../../../../chunks/chunk-QEKI6WGQ.js";
10
22
  import "../../../../chunks/chunk-FENXVJYO.js";
11
- import "../../../../chunks/chunk-WSFCRVEQ.js";
23
+ import "../../../../chunks/chunk-XCBH6NLF.js";
24
+
25
+ // src/node/cloud-storage/operations/remove-file/index.ts
26
+ async function removeFile(client, path, options) {
27
+ if (isGcsBucket(client)) return remove4(client, path, options);
28
+ if (isS3ClientWithBucket(client)) return remove3(client.client, path, client.bucketName, options);
29
+ if (isFtpClient(client)) return remove(client, path, options);
30
+ if (isSftpClient(client)) return remove2(client, path, options);
31
+ return makeFailure("Invalid client type");
32
+ }
12
33
  export {
13
34
  removeFile
14
35
  };
@@ -1,15 +1,54 @@
1
1
  import { Bucket as GCSBucket } from '@google-cloud/storage';
2
2
  import { Client as FtpClient } from 'basic-ftp';
3
3
  import SftpClient from 'ssh2-sftp-client';
4
- import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
4
+ import * as Outcome from '../../../../agnostic/misc/outcome/index.js';
5
5
  import { S3ClientWithBucket } from '../../clients/index.js';
6
6
  import { Stat as FtpStat } from '../../../ftps/file/stat/index.js';
7
7
  import { Stat as SftpStat } from '../../../sftp/file/stat/index.js';
8
8
  import { Stat as S3Stat, StatOptions as S3StatOptions } from '../../../@aws-s3/storage/file/stat/index.js';
9
9
  import { Stat as GcsStat, StatOptions as GcsStatOptions } from '../../../@google-cloud/storage/file/stat/index.js';
10
+ /** Return type for stat file operations. */
10
11
  type Returned<K extends FtpStat | SftpStat | S3Stat | GcsStat> = Outcome.Either<K, string>;
12
+ /**
13
+ * Retrieves metadata for a file in a Google Cloud Storage bucket.
14
+ *
15
+ * @param {GCSBucket} client - The Google Cloud Storage bucket instance.
16
+ * @param {string} path - The file path to stat.
17
+ * @param {GcsStatOptions} [options] - Optional stat configuration.
18
+ * @returns {Promise<Outcome.Either<GcsStat, string>>}
19
+ * - On success: `Outcome.makeSuccess(stat)` containing file metadata.
20
+ * - On failure: `Outcome.makeFailure(errStr)`.
21
+ */
11
22
  export declare function statFile(client: GCSBucket, path: string, options?: GcsStatOptions): Promise<Returned<GcsStat>>;
23
+ /**
24
+ * Retrieves metadata for a file in an S3 bucket.
25
+ *
26
+ * @param {S3ClientWithBucket} client - The S3 client with bucket configuration.
27
+ * @param {string} path - The file path to stat.
28
+ * @param {S3StatOptions} [options] - Optional stat configuration.
29
+ * @returns {Promise<Outcome.Either<S3Stat, string>>}
30
+ * - On success: `Outcome.makeSuccess(stat)` containing file metadata.
31
+ * - On failure: `Outcome.makeFailure(errStr)`.
32
+ */
12
33
  export declare function statFile(client: S3ClientWithBucket, path: string, options?: S3StatOptions): Promise<Returned<S3Stat>>;
34
+ /**
35
+ * Retrieves metadata for a file on an FTP server.
36
+ *
37
+ * @param {FtpClient} client - The FTP client instance.
38
+ * @param {string} path - The file path to stat.
39
+ * @returns {Promise<Outcome.Either<FtpStat, string>>}
40
+ * - On success: `Outcome.makeSuccess(stat)` containing file metadata.
41
+ * - On failure: `Outcome.makeFailure(errStr)`.
42
+ */
13
43
  export declare function statFile(client: FtpClient, path: string): Promise<Returned<FtpStat>>;
44
+ /**
45
+ * Retrieves metadata for a file on an SFTP server.
46
+ *
47
+ * @param {SftpClient} client - The SFTP client instance.
48
+ * @param {string} path - The file path to stat.
49
+ * @returns {Promise<Outcome.Either<SftpStat, string>>}
50
+ * - On success: `Outcome.makeSuccess(stat)` containing file metadata.
51
+ * - On failure: `Outcome.makeFailure(errStr)`.
52
+ */
14
53
  export declare function statFile(client: SftpClient, path: string): Promise<Returned<SftpStat>>;
15
54
  export {};
@@ -1,14 +1,35 @@
1
1
  import {
2
- statFile
3
- } from "../../../../chunks/chunk-XR2LNUGW.js";
4
- import "../../../../chunks/chunk-W3RXHN5I.js";
5
- import "../../../../chunks/chunk-VROZGPC5.js";
6
- import "../../../../chunks/chunk-TGVYEQIA.js";
7
- import "../../../../chunks/chunk-CNYSX2L2.js";
8
- import "../../../../chunks/chunk-V3GX7SIJ.js";
9
- import "../../../../chunks/chunk-JMU5PDBD.js";
2
+ stat as stat4
3
+ } from "../../../../chunks/chunk-FSI422YG.js";
4
+ import {
5
+ stat as stat3
6
+ } from "../../../../chunks/chunk-AXMAF3J2.js";
7
+ import {
8
+ stat as stat2
9
+ } from "../../../../chunks/chunk-EEPLTO3E.js";
10
+ import {
11
+ stat
12
+ } from "../../../../chunks/chunk-BQABPH3I.js";
13
+ import {
14
+ isFtpClient,
15
+ isGcsBucket,
16
+ isS3ClientWithBucket,
17
+ isSftpClient
18
+ } from "../../../../chunks/chunk-ISJONMNA.js";
19
+ import {
20
+ makeFailure
21
+ } from "../../../../chunks/chunk-QEKI6WGQ.js";
10
22
  import "../../../../chunks/chunk-FENXVJYO.js";
11
- import "../../../../chunks/chunk-WSFCRVEQ.js";
23
+ import "../../../../chunks/chunk-XCBH6NLF.js";
24
+
25
+ // src/node/cloud-storage/operations/stat-file/index.ts
26
+ async function statFile(client, path, options) {
27
+ if (isGcsBucket(client)) return stat4(client, path, options);
28
+ if (isS3ClientWithBucket(client)) return stat3(client.client, path, client.bucketName, options);
29
+ if (isFtpClient(client)) return stat(client, path);
30
+ if (isSftpClient(client)) return stat2(client, path);
31
+ return makeFailure("Invalid client type");
32
+ }
12
33
  export {
13
34
  statFile
14
35
  };
@@ -2,15 +2,60 @@ import { Readable } from 'node:stream';
2
2
  import { Bucket as GCSBucket } from '@google-cloud/storage';
3
3
  import { Client as FtpClient } from 'basic-ftp';
4
4
  import SftpClient from 'ssh2-sftp-client';
5
- import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
5
+ import * as Outcome from '../../../../agnostic/misc/outcome/index.js';
6
6
  import { S3ClientWithBucket } from '../../clients/index.js';
7
7
  import { UploadOptions as FtpUploadOptions } from '../../../ftps/file/upload/index.js';
8
8
  import { UploadOptions as SftpUploadOptions } from '../../../sftp/file/upload/index.js';
9
9
  import { UploadOptions as S3UploadOptions } from '../../../@aws-s3/storage/file/upload/index.js';
10
10
  import { UploadOptions as GcsUploadOptions } from '../../../@google-cloud/storage/file/upload/index.js';
11
+ /** Return type for upload file operations. */
11
12
  type Returned = Outcome.Either<true, string>;
13
+ /**
14
+ * Uploads a file stream to a Google Cloud Storage bucket.
15
+ *
16
+ * @param {Readable} fileStream - The file content as a stream.
17
+ * @param {string} path - The path to upload the file to.
18
+ * @param {GCSBucket} client - The Google Cloud Storage bucket instance.
19
+ * @param {GcsUploadOptions} [options] - Optional upload configuration.
20
+ * @returns {Promise<Outcome.Either<true, string>>}
21
+ * - On success: `Outcome.makeSuccess(true)`.
22
+ * - On failure: `Outcome.makeFailure(errStr)`.
23
+ */
12
24
  export declare function uploadFile(fileStream: Readable, path: string, client: GCSBucket, options?: GcsUploadOptions): Promise<Returned>;
25
+ /**
26
+ * Uploads a file stream to an S3 bucket.
27
+ *
28
+ * @param {Readable} fileStream - The file content as a stream.
29
+ * @param {string} path - The path to upload the file to.
30
+ * @param {S3ClientWithBucket} client - The S3 client with bucket configuration.
31
+ * @param {S3UploadOptions} [options] - Optional upload configuration.
32
+ * @returns {Promise<Outcome.Either<true, string>>}
33
+ * - On success: `Outcome.makeSuccess(true)`.
34
+ * - On failure: `Outcome.makeFailure(errStr)`.
35
+ */
13
36
  export declare function uploadFile(fileStream: Readable, path: string, client: S3ClientWithBucket, options?: S3UploadOptions): Promise<Returned>;
37
+ /**
38
+ * Uploads a file stream to an FTP server.
39
+ *
40
+ * @param {Readable} fileStream - The file content as a stream.
41
+ * @param {string} path - The path to upload the file to.
42
+ * @param {FtpClient} client - The FTP client instance.
43
+ * @param {FtpUploadOptions} [options] - Optional upload configuration.
44
+ * @returns {Promise<Outcome.Either<true, string>>}
45
+ * - On success: `Outcome.makeSuccess(true)`.
46
+ * - On failure: `Outcome.makeFailure(errStr)`.
47
+ */
14
48
  export declare function uploadFile(fileStream: Readable, path: string, client: FtpClient, options?: FtpUploadOptions): Promise<Returned>;
49
+ /**
50
+ * Uploads a file stream to an SFTP server.
51
+ *
52
+ * @param {Readable} fileStream - The file content as a stream.
53
+ * @param {string} path - The path to upload the file to.
54
+ * @param {SftpClient} client - The SFTP client instance.
55
+ * @param {SftpUploadOptions} [options] - Optional upload configuration.
56
+ * @returns {Promise<Outcome.Either<true, string>>}
57
+ * - On success: `Outcome.makeSuccess(true)`.
58
+ * - On failure: `Outcome.makeFailure(errStr)`.
59
+ */
15
60
  export declare function uploadFile(fileStream: Readable, path: string, client: SftpClient, options?: SftpUploadOptions): Promise<Returned>;
16
61
  export {};
@@ -1,14 +1,35 @@
1
1
  import {
2
- uploadFile
3
- } from "../../../../chunks/chunk-XBA26Z7E.js";
4
- import "../../../../chunks/chunk-FB3GNE2B.js";
5
- import "../../../../chunks/chunk-FD5WR2A5.js";
6
- import "../../../../chunks/chunk-QDVDHFMZ.js";
7
- import "../../../../chunks/chunk-CVDCTI7F.js";
8
- import "../../../../chunks/chunk-V3GX7SIJ.js";
9
- import "../../../../chunks/chunk-JMU5PDBD.js";
2
+ upload as upload4
3
+ } from "../../../../chunks/chunk-UZ4SWSOZ.js";
4
+ import {
5
+ upload as upload3
6
+ } from "../../../../chunks/chunk-FM3HGCFL.js";
7
+ import {
8
+ upload as upload2
9
+ } from "../../../../chunks/chunk-Y6FD4ASO.js";
10
+ import {
11
+ upload
12
+ } from "../../../../chunks/chunk-AOEOW5XW.js";
13
+ import {
14
+ isFtpClient,
15
+ isGcsBucket,
16
+ isS3ClientWithBucket,
17
+ isSftpClient
18
+ } from "../../../../chunks/chunk-ISJONMNA.js";
19
+ import {
20
+ makeFailure
21
+ } from "../../../../chunks/chunk-QEKI6WGQ.js";
10
22
  import "../../../../chunks/chunk-FENXVJYO.js";
11
- import "../../../../chunks/chunk-WSFCRVEQ.js";
23
+ import "../../../../chunks/chunk-XCBH6NLF.js";
24
+
25
+ // src/node/cloud-storage/operations/upload-file/index.ts
26
+ async function uploadFile(fileStream, path, client, options) {
27
+ if (isGcsBucket(client)) return upload4(client, path, fileStream, options);
28
+ if (isS3ClientWithBucket(client)) return upload3(client.client, client.bucketName, path, fileStream, options);
29
+ if (isFtpClient(client)) return upload(client, path, fileStream, options);
30
+ if (isSftpClient(client)) return upload2(client, path, fileStream, options);
31
+ return makeFailure("Invalid client type");
32
+ }
12
33
  export {
13
34
  uploadFile
14
35
  };
@@ -1,5 +1,5 @@
1
1
  import { Buffer } from 'node:buffer';
2
- import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
2
+ import * as Outcome from '../../../../agnostic/misc/outcome/index.js';
3
3
  /**
4
4
  * Encrypts a `Buffer` by converting it to a `Uint8Array`, performing encryption, and then returning the result as a `Buffer`.
5
5
  *