@mtkruto/node 0.1.125 → 0.1.127

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 (589) hide show
  1. package/esm/0_deps.d.ts +4 -4
  2. package/esm/0_deps.js +4 -4
  3. package/esm/3_types.d.ts +2 -1
  4. package/esm/3_types.js +2 -1
  5. package/esm/4_constants.d.ts +1 -1
  6. package/esm/4_constants.js +1 -1
  7. package/esm/client/3_types.d.ts +23 -2
  8. package/esm/client/3_types.js +11 -1
  9. package/esm/client/5_client.d.ts +15 -2
  10. package/esm/client/5_client.js +323 -20
  11. package/{script/deps/deno.land/std@0.208.0 → esm/deps/deno.land/std@0.209.0}/assert/_diff.d.ts +6 -5
  12. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_diff.js +5 -6
  13. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_format.js +2 -0
  14. package/esm/deps/deno.land/std@0.209.0/assert/assert.d.ts +12 -0
  15. package/esm/deps/deno.land/std@0.209.0/assert/assert.js +18 -0
  16. package/esm/deps/deno.land/std@0.209.0/assert/assert_almost_equals.d.ts +17 -0
  17. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_almost_equals.js +9 -10
  18. package/esm/deps/deno.land/std@0.209.0/assert/assert_array_includes.d.ts +18 -0
  19. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_array_includes.js +6 -4
  20. package/{script/deps/deno.land/std@0.208.0 → esm/deps/deno.land/std@0.209.0}/assert/assert_equals.d.ts +4 -5
  21. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_equals.js +4 -5
  22. package/esm/deps/deno.land/std@0.209.0/assert/assert_exists.d.ts +13 -0
  23. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_exists.js +8 -0
  24. package/esm/deps/deno.land/std@0.209.0/assert/assert_false.d.ts +14 -0
  25. package/esm/deps/deno.land/std@0.209.0/assert/assert_false.js +18 -0
  26. package/esm/deps/deno.land/std@0.209.0/assert/assert_greater.d.ts +14 -0
  27. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_greater.js +9 -0
  28. package/esm/deps/deno.land/std@0.209.0/assert/assert_greater_or_equal.d.ts +14 -0
  29. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_greater_or_equal.js +9 -0
  30. package/esm/deps/deno.land/std@0.209.0/assert/assert_instance_of.d.ts +17 -0
  31. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_instance_of.js +8 -0
  32. package/esm/deps/deno.land/std@0.209.0/assert/assert_is_error.d.ts +18 -0
  33. package/esm/deps/deno.land/std@0.209.0/assert/assert_is_error.js +48 -0
  34. package/esm/deps/deno.land/std@0.209.0/assert/assert_less.d.ts +13 -0
  35. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_less.js +8 -0
  36. package/esm/deps/deno.land/std@0.209.0/assert/assert_less_or_equal.d.ts +14 -0
  37. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_less_or_equal.js +9 -0
  38. package/esm/deps/deno.land/std@0.209.0/assert/assert_match.d.ts +13 -0
  39. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_match.js +8 -0
  40. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_equals.d.ts +2 -1
  41. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_equals.js +2 -1
  42. package/esm/deps/deno.land/std@0.209.0/assert/assert_not_instance_of.d.ts +13 -0
  43. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_instance_of.js +8 -0
  44. package/esm/deps/deno.land/std@0.209.0/assert/assert_not_match.d.ts +13 -0
  45. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_match.js +8 -0
  46. package/{script/deps/deno.land/std@0.208.0 → esm/deps/deno.land/std@0.209.0}/assert/assert_not_strict_equals.d.ts +3 -1
  47. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_strict_equals.js +3 -1
  48. package/esm/deps/deno.land/std@0.209.0/assert/assert_object_match.d.ts +13 -0
  49. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_object_match.js +10 -2
  50. package/esm/deps/deno.land/std@0.209.0/assert/assert_rejects.d.ts +26 -0
  51. package/{script/deps/deno.land/std@0.208.0 → esm/deps/deno.land/std@0.209.0}/assert/assert_strict_equals.d.ts +6 -11
  52. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_strict_equals.js +6 -11
  53. package/esm/deps/deno.land/std@0.209.0/assert/assert_string_includes.d.ts +13 -0
  54. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_string_includes.js +8 -0
  55. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_throws.d.ts +4 -31
  56. package/esm/deps/deno.land/std@0.209.0/assert/assertion_error.d.ts +14 -0
  57. package/esm/deps/deno.land/std@0.209.0/assert/assertion_error.js +18 -0
  58. package/esm/deps/deno.land/std@0.209.0/assert/equal.d.ts +14 -0
  59. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/equal.js +8 -0
  60. package/esm/deps/deno.land/std@0.209.0/assert/fail.d.ts +11 -0
  61. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/fail.js +8 -1
  62. package/esm/deps/deno.land/std@0.209.0/assert/unimplemented.d.ts +11 -0
  63. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/unimplemented.js +10 -1
  64. package/esm/deps/deno.land/std@0.209.0/assert/unreachable.d.ts +11 -0
  65. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/unreachable.js +10 -1
  66. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/base64.d.ts +24 -8
  67. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/base64.js +27 -27
  68. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/content_type.js +1 -6
  69. package/esm/deps/deno.land/std@0.209.0/media_types/type_by_extension.d.ts +17 -0
  70. package/esm/deps/deno.land/std@0.209.0/media_types/type_by_extension.js +24 -0
  71. package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/glob_to_reg_exp.d.ts +1 -0
  72. package/esm/storage/0_storage.d.ts +25 -2
  73. package/esm/storage/0_storage.js +65 -5
  74. package/esm/storage/0_utilities.d.ts +2 -0
  75. package/esm/storage/0_utilities.js +33 -0
  76. package/esm/storage/1_storage_indexed_db.d.ts +5 -2
  77. package/esm/storage/1_storage_indexed_db.js +26 -4
  78. package/esm/storage/1_storage_local_storage.d.ts +5 -2
  79. package/esm/storage/1_storage_local_storage.js +20 -6
  80. package/esm/storage/1_storage_memory.d.ts +6 -2
  81. package/esm/storage/1_storage_memory.js +34 -6
  82. package/esm/storage/1_storage_session_storage.d.ts +5 -2
  83. package/esm/storage/1_storage_session_storage.js +20 -6
  84. package/esm/tl/0_tl_raw_writer.d.ts +1 -0
  85. package/esm/tl/0_tl_raw_writer.js +6 -0
  86. package/esm/tl/1_tl_object.js +6 -1
  87. package/esm/tl/3_deserialize.js +1 -1
  88. package/esm/types/{1_chat.d.ts → 1_chat_p.d.ts} +5 -5
  89. package/esm/types/{1_chat.js → 1_chat_p.js} +1 -1
  90. package/esm/types/3_message.d.ts +8 -7
  91. package/esm/types/3_message.js +15 -19
  92. package/esm/types/4_chat.d.ts +33 -0
  93. package/esm/types/4_chat.js +117 -0
  94. package/package.json +1 -1
  95. package/script/0_deps.d.ts +4 -4
  96. package/script/0_deps.js +4 -4
  97. package/script/3_types.d.ts +2 -1
  98. package/script/3_types.js +2 -1
  99. package/script/4_constants.d.ts +1 -1
  100. package/script/4_constants.js +1 -1
  101. package/script/client/3_types.d.ts +23 -2
  102. package/script/client/3_types.js +13 -0
  103. package/script/client/5_client.d.ts +15 -2
  104. package/script/client/5_client.js +322 -19
  105. package/{esm/deps/deno.land/std@0.208.0 → script/deps/deno.land/std@0.209.0}/assert/_diff.d.ts +6 -5
  106. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_diff.js +23 -24
  107. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_format.js +2 -0
  108. package/script/deps/deno.land/std@0.209.0/assert/assert.d.ts +12 -0
  109. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert.js +11 -1
  110. package/script/deps/deno.land/std@0.209.0/assert/assert_almost_equals.d.ts +17 -0
  111. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_almost_equals.js +9 -10
  112. package/script/deps/deno.land/std@0.209.0/assert/assert_array_includes.d.ts +18 -0
  113. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_array_includes.js +6 -4
  114. package/{esm/deps/deno.land/std@0.208.0 → script/deps/deno.land/std@0.209.0}/assert/assert_equals.d.ts +4 -5
  115. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_equals.js +4 -5
  116. package/script/deps/deno.land/std@0.209.0/assert/assert_exists.d.ts +13 -0
  117. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_exists.js +8 -0
  118. package/script/deps/deno.land/std@0.209.0/assert/assert_false.d.ts +14 -0
  119. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_false.js +11 -1
  120. package/script/deps/deno.land/std@0.209.0/assert/assert_greater.d.ts +14 -0
  121. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_greater.js +9 -0
  122. package/script/deps/deno.land/std@0.209.0/assert/assert_greater_or_equal.d.ts +14 -0
  123. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_greater_or_equal.js +9 -0
  124. package/script/deps/deno.land/std@0.209.0/assert/assert_instance_of.d.ts +17 -0
  125. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_instance_of.js +8 -0
  126. package/script/deps/deno.land/std@0.209.0/assert/assert_is_error.d.ts +18 -0
  127. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_is_error.js +24 -5
  128. package/script/deps/deno.land/std@0.209.0/assert/assert_less.d.ts +13 -0
  129. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_less.js +8 -0
  130. package/script/deps/deno.land/std@0.209.0/assert/assert_less_or_equal.d.ts +14 -0
  131. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_less_or_equal.js +9 -0
  132. package/script/deps/deno.land/std@0.209.0/assert/assert_match.d.ts +13 -0
  133. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_match.js +8 -0
  134. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_equals.d.ts +2 -1
  135. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_equals.js +2 -1
  136. package/script/deps/deno.land/std@0.209.0/assert/assert_not_instance_of.d.ts +13 -0
  137. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_instance_of.js +8 -0
  138. package/script/deps/deno.land/std@0.209.0/assert/assert_not_match.d.ts +13 -0
  139. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_match.js +8 -0
  140. package/{esm/deps/deno.land/std@0.208.0 → script/deps/deno.land/std@0.209.0}/assert/assert_not_strict_equals.d.ts +3 -1
  141. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_strict_equals.js +3 -1
  142. package/script/deps/deno.land/std@0.209.0/assert/assert_object_match.d.ts +13 -0
  143. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_object_match.js +10 -2
  144. package/script/deps/deno.land/std@0.209.0/assert/assert_rejects.d.ts +26 -0
  145. package/{esm/deps/deno.land/std@0.208.0 → script/deps/deno.land/std@0.209.0}/assert/assert_strict_equals.d.ts +6 -11
  146. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_strict_equals.js +6 -11
  147. package/script/deps/deno.land/std@0.209.0/assert/assert_string_includes.d.ts +13 -0
  148. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_string_includes.js +8 -0
  149. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_throws.d.ts +4 -31
  150. package/script/deps/deno.land/std@0.209.0/assert/assertion_error.d.ts +14 -0
  151. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assertion_error.js +13 -7
  152. package/script/deps/deno.land/std@0.209.0/assert/equal.d.ts +14 -0
  153. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/equal.js +8 -0
  154. package/script/deps/deno.land/std@0.209.0/assert/fail.d.ts +11 -0
  155. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/fail.js +8 -1
  156. package/script/deps/deno.land/std@0.209.0/assert/unimplemented.d.ts +11 -0
  157. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/unimplemented.js +10 -1
  158. package/script/deps/deno.land/std@0.209.0/assert/unreachable.d.ts +11 -0
  159. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/unreachable.js +10 -1
  160. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/base64.d.ts +24 -8
  161. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/base64.js +27 -27
  162. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/content_type.js +2 -7
  163. package/script/deps/deno.land/std@0.209.0/media_types/type_by_extension.d.ts +17 -0
  164. package/script/deps/deno.land/std@0.209.0/media_types/type_by_extension.js +28 -0
  165. package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/glob_to_reg_exp.d.ts +1 -0
  166. package/script/storage/0_storage.d.ts +25 -2
  167. package/script/storage/0_storage.js +65 -5
  168. package/script/storage/0_utilities.d.ts +2 -0
  169. package/script/storage/0_utilities.js +36 -1
  170. package/script/storage/1_storage_indexed_db.d.ts +5 -2
  171. package/script/storage/1_storage_indexed_db.js +25 -3
  172. package/script/storage/1_storage_local_storage.d.ts +5 -2
  173. package/script/storage/1_storage_local_storage.js +19 -5
  174. package/script/storage/1_storage_memory.d.ts +6 -2
  175. package/script/storage/1_storage_memory.js +33 -5
  176. package/script/storage/1_storage_session_storage.d.ts +5 -2
  177. package/script/storage/1_storage_session_storage.js +19 -5
  178. package/script/tl/0_tl_raw_writer.d.ts +1 -0
  179. package/script/tl/0_tl_raw_writer.js +6 -0
  180. package/script/tl/1_tl_object.js +6 -1
  181. package/script/tl/3_deserialize.js +1 -1
  182. package/script/types/{1_chat.d.ts → 1_chat_p.d.ts} +5 -5
  183. package/script/types/{1_chat.js → 1_chat_p.js} +3 -3
  184. package/script/types/3_message.d.ts +8 -7
  185. package/script/types/3_message.js +15 -19
  186. package/script/types/4_chat.d.ts +33 -0
  187. package/script/types/4_chat.js +124 -0
  188. package/esm/deps/deno.land/std@0.208.0/assert/assert.d.ts +0 -2
  189. package/esm/deps/deno.land/std@0.208.0/assert/assert.js +0 -8
  190. package/esm/deps/deno.land/std@0.208.0/assert/assert_almost_equals.d.ts +0 -18
  191. package/esm/deps/deno.land/std@0.208.0/assert/assert_array_includes.d.ts +0 -14
  192. package/esm/deps/deno.land/std@0.208.0/assert/assert_exists.d.ts +0 -5
  193. package/esm/deps/deno.land/std@0.208.0/assert/assert_false.d.ts +0 -4
  194. package/esm/deps/deno.land/std@0.208.0/assert/assert_false.js +0 -8
  195. package/esm/deps/deno.land/std@0.208.0/assert/assert_greater.d.ts +0 -5
  196. package/esm/deps/deno.land/std@0.208.0/assert/assert_greater_or_equal.d.ts +0 -5
  197. package/esm/deps/deno.land/std@0.208.0/assert/assert_instance_of.d.ts +0 -8
  198. package/esm/deps/deno.land/std@0.208.0/assert/assert_is_error.d.ts +0 -7
  199. package/esm/deps/deno.land/std@0.208.0/assert/assert_is_error.js +0 -29
  200. package/esm/deps/deno.land/std@0.208.0/assert/assert_less.d.ts +0 -5
  201. package/esm/deps/deno.land/std@0.208.0/assert/assert_less_or_equal.d.ts +0 -5
  202. package/esm/deps/deno.land/std@0.208.0/assert/assert_match.d.ts +0 -5
  203. package/esm/deps/deno.land/std@0.208.0/assert/assert_not_instance_of.d.ts +0 -5
  204. package/esm/deps/deno.land/std@0.208.0/assert/assert_not_match.d.ts +0 -5
  205. package/esm/deps/deno.land/std@0.208.0/assert/assert_object_match.d.ts +0 -5
  206. package/esm/deps/deno.land/std@0.208.0/assert/assert_rejects.d.ts +0 -64
  207. package/esm/deps/deno.land/std@0.208.0/assert/assert_string_includes.d.ts +0 -5
  208. package/esm/deps/deno.land/std@0.208.0/assert/assertion_error.d.ts +0 -4
  209. package/esm/deps/deno.land/std@0.208.0/assert/assertion_error.js +0 -12
  210. package/esm/deps/deno.land/std@0.208.0/assert/equal.d.ts +0 -6
  211. package/esm/deps/deno.land/std@0.208.0/assert/fail.d.ts +0 -4
  212. package/esm/deps/deno.land/std@0.208.0/assert/unimplemented.d.ts +0 -2
  213. package/esm/deps/deno.land/std@0.208.0/assert/unreachable.d.ts +0 -2
  214. package/script/deps/deno.land/std@0.208.0/assert/assert.d.ts +0 -2
  215. package/script/deps/deno.land/std@0.208.0/assert/assert_almost_equals.d.ts +0 -18
  216. package/script/deps/deno.land/std@0.208.0/assert/assert_array_includes.d.ts +0 -14
  217. package/script/deps/deno.land/std@0.208.0/assert/assert_exists.d.ts +0 -5
  218. package/script/deps/deno.land/std@0.208.0/assert/assert_false.d.ts +0 -4
  219. package/script/deps/deno.land/std@0.208.0/assert/assert_greater.d.ts +0 -5
  220. package/script/deps/deno.land/std@0.208.0/assert/assert_greater_or_equal.d.ts +0 -5
  221. package/script/deps/deno.land/std@0.208.0/assert/assert_instance_of.d.ts +0 -8
  222. package/script/deps/deno.land/std@0.208.0/assert/assert_is_error.d.ts +0 -7
  223. package/script/deps/deno.land/std@0.208.0/assert/assert_less.d.ts +0 -5
  224. package/script/deps/deno.land/std@0.208.0/assert/assert_less_or_equal.d.ts +0 -5
  225. package/script/deps/deno.land/std@0.208.0/assert/assert_match.d.ts +0 -5
  226. package/script/deps/deno.land/std@0.208.0/assert/assert_not_instance_of.d.ts +0 -5
  227. package/script/deps/deno.land/std@0.208.0/assert/assert_not_match.d.ts +0 -5
  228. package/script/deps/deno.land/std@0.208.0/assert/assert_object_match.d.ts +0 -5
  229. package/script/deps/deno.land/std@0.208.0/assert/assert_rejects.d.ts +0 -64
  230. package/script/deps/deno.land/std@0.208.0/assert/assert_string_includes.d.ts +0 -5
  231. package/script/deps/deno.land/std@0.208.0/assert/assertion_error.d.ts +0 -4
  232. package/script/deps/deno.land/std@0.208.0/assert/equal.d.ts +0 -6
  233. package/script/deps/deno.land/std@0.208.0/assert/fail.d.ts +0 -4
  234. package/script/deps/deno.land/std@0.208.0/assert/unimplemented.d.ts +0 -2
  235. package/script/deps/deno.land/std@0.208.0/assert/unreachable.d.ts +0 -2
  236. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_constants.d.ts +0 -0
  237. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_constants.js +0 -0
  238. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_format.d.ts +0 -0
  239. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_rejects.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_throws.js +0 -0
  241. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/mod.d.ts +0 -0
  242. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/mod.js +0 -0
  243. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/_util.d.ts +0 -0
  244. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/_util.js +0 -0
  245. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/fmt/colors.d.ts +0 -0
  246. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/fmt/colors.js +0 -0
  247. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_db.d.ts +0 -0
  248. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_db.js +0 -0
  249. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_util.d.ts +0 -0
  250. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_util.js +0 -0
  251. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/content_type.d.ts +0 -0
  252. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/format_media_type.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/format_media_type.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/get_charset.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/get_charset.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/parse_media_type.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/parse_media_type.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/assert_path.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/assert_path.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/basename.d.ts +0 -0
  263. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/basename.js +0 -0
  264. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/common.d.ts +0 -0
  265. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/common.js +0 -0
  266. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/constants.d.ts +0 -0
  267. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/constants.js +0 -0
  268. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/dirname.d.ts +0 -0
  269. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/dirname.js +0 -0
  270. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/format.d.ts +0 -0
  271. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/format.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/from_file_url.d.ts +0 -0
  273. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/from_file_url.js +0 -0
  274. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/glob_to_reg_exp.js +0 -0
  275. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize.d.ts +0 -0
  276. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize.js +0 -0
  277. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize_string.d.ts +0 -0
  278. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize_string.js +0 -0
  279. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/relative.d.ts +0 -0
  280. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/relative.js +0 -0
  281. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  282. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/strip_trailing_separators.js +0 -0
  283. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/to_file_url.d.ts +0 -0
  284. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/to_file_url.js +0 -0
  285. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_interface.d.ts +0 -0
  286. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_interface.js +0 -0
  287. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_os.d.ts +0 -0
  288. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_os.js +0 -0
  289. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/basename.d.ts +0 -0
  290. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/basename.js +0 -0
  291. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/common.d.ts +0 -0
  292. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/common.js +0 -0
  293. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/dirname.d.ts +0 -0
  294. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/dirname.js +0 -0
  295. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/extname.d.ts +0 -0
  296. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/extname.js +0 -0
  297. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/format.d.ts +0 -0
  298. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/format.js +0 -0
  299. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/from_file_url.d.ts +0 -0
  300. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/from_file_url.js +0 -0
  301. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/glob_to_regexp.d.ts +0 -0
  302. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/glob_to_regexp.js +0 -0
  303. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_absolute.d.ts +0 -0
  304. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_absolute.js +0 -0
  305. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_glob.d.ts +0 -0
  306. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_glob.js +0 -0
  307. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join.d.ts +0 -0
  308. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join.js +0 -0
  309. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join_globs.d.ts +0 -0
  310. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join_globs.js +0 -0
  311. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/mod.d.ts +0 -0
  312. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/mod.js +0 -0
  313. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize.d.ts +0 -0
  314. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize.js +0 -0
  315. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize_glob.d.ts +0 -0
  316. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize_glob.js +0 -0
  317. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/parse.d.ts +0 -0
  318. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/parse.js +0 -0
  319. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/_util.d.ts +0 -0
  320. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/_util.js +0 -0
  321. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/basename.d.ts +0 -0
  322. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/basename.js +0 -0
  323. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/common.d.ts +0 -0
  324. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/common.js +0 -0
  325. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/dirname.d.ts +0 -0
  326. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/dirname.js +0 -0
  327. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/extname.d.ts +0 -0
  328. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/extname.js +0 -0
  329. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/format.d.ts +0 -0
  330. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/format.js +0 -0
  331. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/from_file_url.d.ts +0 -0
  332. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/from_file_url.js +0 -0
  333. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/glob_to_regexp.d.ts +0 -0
  334. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/glob_to_regexp.js +0 -0
  335. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_absolute.d.ts +0 -0
  336. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_absolute.js +0 -0
  337. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_glob.d.ts +0 -0
  338. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_glob.js +0 -0
  339. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join.d.ts +0 -0
  340. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join.js +0 -0
  341. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join_globs.d.ts +0 -0
  342. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join_globs.js +0 -0
  343. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/mod.d.ts +0 -0
  344. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/mod.js +0 -0
  345. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize.d.ts +0 -0
  346. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize.js +0 -0
  347. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize_glob.d.ts +0 -0
  348. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize_glob.js +0 -0
  349. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/parse.d.ts +0 -0
  350. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/parse.js +0 -0
  351. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/relative.d.ts +0 -0
  352. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/relative.js +0 -0
  353. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/resolve.d.ts +0 -0
  354. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/resolve.js +0 -0
  355. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/separator.d.ts +0 -0
  356. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/separator.js +0 -0
  357. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_file_url.d.ts +0 -0
  358. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_file_url.js +0 -0
  359. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_namespaced_path.d.ts +0 -0
  360. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_namespaced_path.js +0 -0
  361. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/relative.d.ts +0 -0
  362. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/relative.js +0 -0
  363. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/resolve.d.ts +0 -0
  364. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/resolve.js +0 -0
  365. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/separator.d.ts +0 -0
  366. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/separator.js +0 -0
  367. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_file_url.d.ts +0 -0
  368. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_file_url.js +0 -0
  369. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_namespaced_path.d.ts +0 -0
  370. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_namespaced_path.js +0 -0
  371. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/_util.d.ts +0 -0
  372. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/_util.js +0 -0
  373. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/basename.d.ts +0 -0
  374. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/basename.js +0 -0
  375. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/common.d.ts +0 -0
  376. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/common.js +0 -0
  377. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/dirname.d.ts +0 -0
  378. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/dirname.js +0 -0
  379. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/extname.d.ts +0 -0
  380. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/extname.js +0 -0
  381. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/format.d.ts +0 -0
  382. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/format.js +0 -0
  383. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/from_file_url.d.ts +0 -0
  384. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/from_file_url.js +0 -0
  385. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/glob_to_regexp.d.ts +0 -0
  386. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/glob_to_regexp.js +0 -0
  387. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_absolute.d.ts +0 -0
  388. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_absolute.js +0 -0
  389. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_glob.d.ts +0 -0
  390. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_glob.js +0 -0
  391. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join.d.ts +0 -0
  392. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join.js +0 -0
  393. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join_globs.d.ts +0 -0
  394. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join_globs.js +0 -0
  395. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/mod.d.ts +0 -0
  396. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/mod.js +0 -0
  397. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize.d.ts +0 -0
  398. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize.js +0 -0
  399. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize_glob.d.ts +0 -0
  400. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize_glob.js +0 -0
  401. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/parse.d.ts +0 -0
  402. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/parse.js +0 -0
  403. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/relative.d.ts +0 -0
  404. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/relative.js +0 -0
  405. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/resolve.d.ts +0 -0
  406. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/resolve.js +0 -0
  407. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/separator.d.ts +0 -0
  408. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/separator.js +0 -0
  409. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_file_url.d.ts +0 -0
  410. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_file_url.js +0 -0
  411. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_namespaced_path.d.ts +0 -0
  412. /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_namespaced_path.js +0 -0
  413. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_constants.d.ts +0 -0
  414. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_constants.js +0 -0
  415. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_format.d.ts +0 -0
  416. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_rejects.js +0 -0
  417. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_throws.js +0 -0
  418. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/mod.d.ts +0 -0
  419. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/mod.js +0 -0
  420. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/_util.d.ts +0 -0
  421. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/_util.js +0 -0
  422. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/fmt/colors.d.ts +0 -0
  423. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/fmt/colors.js +0 -0
  424. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_db.d.ts +0 -0
  425. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_db.js +0 -0
  426. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_util.d.ts +0 -0
  427. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_util.js +0 -0
  428. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/content_type.d.ts +0 -0
  429. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/format_media_type.d.ts +0 -0
  430. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/format_media_type.js +0 -0
  431. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/get_charset.d.ts +0 -0
  432. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/get_charset.js +0 -0
  433. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/parse_media_type.d.ts +0 -0
  434. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/parse_media_type.js +0 -0
  435. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  436. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  437. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/assert_path.d.ts +0 -0
  438. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/assert_path.js +0 -0
  439. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/basename.d.ts +0 -0
  440. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/basename.js +0 -0
  441. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/common.d.ts +0 -0
  442. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/common.js +0 -0
  443. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/constants.d.ts +0 -0
  444. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/constants.js +0 -0
  445. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/dirname.d.ts +0 -0
  446. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/dirname.js +0 -0
  447. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/format.d.ts +0 -0
  448. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/format.js +0 -0
  449. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/from_file_url.d.ts +0 -0
  450. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/from_file_url.js +0 -0
  451. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/glob_to_reg_exp.js +0 -0
  452. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize.d.ts +0 -0
  453. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize.js +0 -0
  454. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize_string.d.ts +0 -0
  455. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize_string.js +0 -0
  456. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/relative.d.ts +0 -0
  457. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/relative.js +0 -0
  458. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  459. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/strip_trailing_separators.js +0 -0
  460. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/to_file_url.d.ts +0 -0
  461. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/to_file_url.js +0 -0
  462. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_interface.d.ts +0 -0
  463. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_interface.js +0 -0
  464. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_os.d.ts +0 -0
  465. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_os.js +0 -0
  466. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/basename.d.ts +0 -0
  467. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/basename.js +0 -0
  468. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/common.d.ts +0 -0
  469. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/common.js +0 -0
  470. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/dirname.d.ts +0 -0
  471. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/dirname.js +0 -0
  472. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/extname.d.ts +0 -0
  473. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/extname.js +0 -0
  474. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/format.d.ts +0 -0
  475. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/format.js +0 -0
  476. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/from_file_url.d.ts +0 -0
  477. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/from_file_url.js +0 -0
  478. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/glob_to_regexp.d.ts +0 -0
  479. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/glob_to_regexp.js +0 -0
  480. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_absolute.d.ts +0 -0
  481. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_absolute.js +0 -0
  482. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_glob.d.ts +0 -0
  483. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_glob.js +0 -0
  484. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join.d.ts +0 -0
  485. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join.js +0 -0
  486. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join_globs.d.ts +0 -0
  487. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join_globs.js +0 -0
  488. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/mod.d.ts +0 -0
  489. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/mod.js +0 -0
  490. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize.d.ts +0 -0
  491. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize.js +0 -0
  492. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize_glob.d.ts +0 -0
  493. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize_glob.js +0 -0
  494. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/parse.d.ts +0 -0
  495. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/parse.js +0 -0
  496. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/_util.d.ts +0 -0
  497. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/_util.js +0 -0
  498. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/basename.d.ts +0 -0
  499. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/basename.js +0 -0
  500. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/common.d.ts +0 -0
  501. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/common.js +0 -0
  502. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/dirname.d.ts +0 -0
  503. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/dirname.js +0 -0
  504. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/extname.d.ts +0 -0
  505. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/extname.js +0 -0
  506. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/format.d.ts +0 -0
  507. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/format.js +0 -0
  508. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/from_file_url.d.ts +0 -0
  509. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/from_file_url.js +0 -0
  510. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/glob_to_regexp.d.ts +0 -0
  511. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/glob_to_regexp.js +0 -0
  512. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_absolute.d.ts +0 -0
  513. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_absolute.js +0 -0
  514. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_glob.d.ts +0 -0
  515. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_glob.js +0 -0
  516. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join.d.ts +0 -0
  517. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join.js +0 -0
  518. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join_globs.d.ts +0 -0
  519. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join_globs.js +0 -0
  520. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/mod.d.ts +0 -0
  521. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/mod.js +0 -0
  522. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize.d.ts +0 -0
  523. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize.js +0 -0
  524. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize_glob.d.ts +0 -0
  525. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize_glob.js +0 -0
  526. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/parse.d.ts +0 -0
  527. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/parse.js +0 -0
  528. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/relative.d.ts +0 -0
  529. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/relative.js +0 -0
  530. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/resolve.d.ts +0 -0
  531. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/resolve.js +0 -0
  532. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/separator.d.ts +0 -0
  533. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/separator.js +0 -0
  534. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_file_url.d.ts +0 -0
  535. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_file_url.js +0 -0
  536. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_namespaced_path.d.ts +0 -0
  537. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_namespaced_path.js +0 -0
  538. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/relative.d.ts +0 -0
  539. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/relative.js +0 -0
  540. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/resolve.d.ts +0 -0
  541. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/resolve.js +0 -0
  542. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/separator.d.ts +0 -0
  543. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/separator.js +0 -0
  544. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_file_url.d.ts +0 -0
  545. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_file_url.js +0 -0
  546. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_namespaced_path.d.ts +0 -0
  547. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_namespaced_path.js +0 -0
  548. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/_util.d.ts +0 -0
  549. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/_util.js +0 -0
  550. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/basename.d.ts +0 -0
  551. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/basename.js +0 -0
  552. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/common.d.ts +0 -0
  553. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/common.js +0 -0
  554. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/dirname.d.ts +0 -0
  555. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/dirname.js +0 -0
  556. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/extname.d.ts +0 -0
  557. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/extname.js +0 -0
  558. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/format.d.ts +0 -0
  559. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/format.js +0 -0
  560. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/from_file_url.d.ts +0 -0
  561. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/from_file_url.js +0 -0
  562. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/glob_to_regexp.d.ts +0 -0
  563. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/glob_to_regexp.js +0 -0
  564. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_absolute.d.ts +0 -0
  565. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_absolute.js +0 -0
  566. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_glob.d.ts +0 -0
  567. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_glob.js +0 -0
  568. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join.d.ts +0 -0
  569. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join.js +0 -0
  570. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join_globs.d.ts +0 -0
  571. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join_globs.js +0 -0
  572. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/mod.d.ts +0 -0
  573. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/mod.js +0 -0
  574. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize.d.ts +0 -0
  575. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize.js +0 -0
  576. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize_glob.d.ts +0 -0
  577. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize_glob.js +0 -0
  578. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/parse.d.ts +0 -0
  579. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/parse.js +0 -0
  580. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/relative.d.ts +0 -0
  581. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/relative.js +0 -0
  582. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/resolve.d.ts +0 -0
  583. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/resolve.js +0 -0
  584. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/separator.d.ts +0 -0
  585. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/separator.js +0 -0
  586. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_file_url.d.ts +0 -0
  587. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_file_url.js +0 -0
  588. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_namespaced_path.d.ts +0 -0
  589. /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_namespaced_path.js +0 -0
@@ -15,7 +15,7 @@ const _0_reply_keyboard_remove_js_1 = require("./0_reply_keyboard_remove.js");
15
15
  const _0_venue_js_1 = require("./0_venue.js");
16
16
  const _0_voice_js_1 = require("./0_voice.js");
17
17
  const _1_animation_js_1 = require("./1_animation.js");
18
- const _1_chat_js_1 = require("./1_chat.js");
18
+ const _1_chat_p_js_1 = require("./1_chat_p.js");
19
19
  const _1_document_js_1 = require("./1_document.js");
20
20
  const _1_photo_js_1 = require("./1_photo.js");
21
21
  const _1_poll_js_1 = require("./1_poll.js");
@@ -40,7 +40,7 @@ async function getSender(message_, getEntity) {
40
40
  else if (message_.from_id instanceof _2_tl_js_1.types.PeerChannel) {
41
41
  const entity = await getEntity(message_.from_id);
42
42
  if (entity) {
43
- return { senderChat: (0, _1_chat_js_1.constructChat)(entity) };
43
+ return { senderChat: (0, _1_chat_p_js_1.constructChatP)(entity) };
44
44
  }
45
45
  else {
46
46
  (0, _1_utilities_js_1.UNREACHABLE)();
@@ -184,7 +184,7 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
184
184
  }
185
185
  return (0, _1_utilities_js_1.cleanObject)(message);
186
186
  }
187
- async function constructMessage(message_, getEntity, getMessage, getStickerSetName) {
187
+ async function constructMessage(message_, getEntity, getMessage, getStickerSetName, getReply_ = true) {
188
188
  if (!(message_ instanceof _2_tl_js_1.types.Message) && !(message_ instanceof _2_tl_js_1.types.MessageService)) {
189
189
  (0, _1_utilities_js_1.UNREACHABLE)();
190
190
  }
@@ -193,7 +193,7 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
193
193
  if (message_.peer_id instanceof _2_tl_js_1.types.PeerUser) {
194
194
  const entity = await getEntity(message_.peer_id);
195
195
  if (entity) {
196
- chat_ = (0, _1_chat_js_1.constructChat)(entity);
196
+ chat_ = (0, _1_chat_p_js_1.constructChatP)(entity);
197
197
  }
198
198
  else {
199
199
  (0, _1_utilities_js_1.UNREACHABLE)();
@@ -202,7 +202,7 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
202
202
  else if (message_.peer_id instanceof _2_tl_js_1.types.PeerChat) {
203
203
  const entity = await getEntity(message_.peer_id);
204
204
  if (entity) {
205
- chat_ = (0, _1_chat_js_1.constructChat)(entity);
205
+ chat_ = (0, _1_chat_p_js_1.constructChatP)(entity);
206
206
  }
207
207
  else {
208
208
  (0, _1_utilities_js_1.UNREACHABLE)();
@@ -212,7 +212,7 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
212
212
  link = `https://t.me/c/${message_.peer_id.channel_id}/${message_.id}`;
213
213
  const entity = await getEntity(message_.peer_id);
214
214
  if (entity) {
215
- chat_ = (0, _1_chat_js_1.constructChat)(entity);
215
+ chat_ = (0, _1_chat_p_js_1.constructChatP)(entity);
216
216
  }
217
217
  else {
218
218
  (0, _1_utilities_js_1.UNREACHABLE)();
@@ -234,7 +234,12 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
234
234
  isTopicMessage: false,
235
235
  hasProtectedContent: message_.noforwards || false,
236
236
  };
237
- Object.assign(message, await getReply(message_, chat_, getMessage));
237
+ if (message_.reply_to instanceof _2_tl_js_1.types.MessageReplyHeader && message_.reply_to.reply_to_msg_id) {
238
+ message.replyToMessageId = message_.reply_to.reply_to_msg_id;
239
+ }
240
+ if (getReply_) {
241
+ Object.assign(message, await getReply(message_, chat_, getMessage));
242
+ }
238
243
  Object.assign(message, await getSender(message_, getEntity));
239
244
  if (message_.media instanceof _2_tl_js_1.types.MessageMediaPhoto || message_.media instanceof _2_tl_js_1.types.MessageMediaDocument) {
240
245
  message.hasMediaSpoiler = message_.media.spoiler || false;
@@ -295,32 +300,23 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
295
300
  message.forwardSenderName = message_.fwd_from.from_name;
296
301
  message.forwardId = message_.fwd_from.channel_post;
297
302
  message.forwardSignature = message_.fwd_from.post_author;
298
- message.forwardDate = new Date(message_.date * 1000);
303
+ message.forwardDate = new Date(message_.fwd_from.date * 1000);
299
304
  if (message_.fwd_from.from_id instanceof _2_tl_js_1.types.PeerUser) {
300
305
  const entity = await getEntity(message_.fwd_from.from_id);
301
306
  if (entity) {
302
307
  message.forwardFrom = (0, _1_user_js_1.constructUser)(entity);
303
308
  }
304
- else {
305
- (0, _1_utilities_js_1.UNREACHABLE)();
306
- }
307
309
  }
308
310
  else if (message_.fwd_from.from_id instanceof _2_tl_js_1.types.PeerChat) {
309
311
  const entity = await getEntity(message_.fwd_from.from_id);
310
312
  if (entity) {
311
- message.forwardFromChat = (0, _1_chat_js_1.constructChat)(entity);
312
- }
313
- else {
314
- (0, _1_utilities_js_1.UNREACHABLE)();
313
+ message.forwardFromChat = (0, _1_chat_p_js_1.constructChatP)(entity);
315
314
  }
316
315
  }
317
316
  else if (message_.fwd_from.from_id instanceof _2_tl_js_1.types.PeerChannel) {
318
317
  const entity = await getEntity(message_.fwd_from.from_id);
319
318
  if (entity) {
320
- message.forwardFromChat = (0, _1_chat_js_1.constructChat)(entity);
321
- }
322
- else {
323
- (0, _1_utilities_js_1.UNREACHABLE)();
319
+ message.forwardFromChat = (0, _1_chat_p_js_1.constructChatP)(entity);
324
320
  }
325
321
  }
326
322
  }
@@ -0,0 +1,33 @@
1
+ import { enums, types } from "../2_tl.js";
2
+ import { ChatP } from "./1_chat_p.js";
3
+ import { ChatPhoto } from "./0_chat_photo.js";
4
+ import { Message, MessageGetter } from "./3_message.js";
5
+ import { StickerSetNameGetter } from "./1_sticker.js";
6
+ import { EntityGetter } from "./1__getters.js";
7
+ export declare namespace Chat {
8
+ interface Base {
9
+ order: string;
10
+ lastMessage?: Message;
11
+ pinned: number;
12
+ }
13
+ interface Channel extends Base, ChatP.Channel {
14
+ also?: string[];
15
+ photo?: ChatPhoto.Chat;
16
+ }
17
+ interface Supergroup extends Base, ChatP.Supergroup {
18
+ also?: string[];
19
+ photo?: ChatPhoto.Chat;
20
+ }
21
+ interface Group extends Base, ChatP.Group {
22
+ photo?: ChatPhoto.Chat;
23
+ }
24
+ interface Private extends Base, ChatP.Private {
25
+ also?: string[];
26
+ photo?: ChatPhoto.User;
27
+ }
28
+ }
29
+ export type Chat = Chat.Channel | Chat.Supergroup | Chat.Group | Chat.Private;
30
+ export declare function getChatOrder(lastMessage: Message | undefined, pinned: number): string;
31
+ export declare function constructChat(dialog: enums.Dialog, dialogs: types.messages.Dialogs | types.messages.DialogsSlice, pinnedChats: number[], getEntity: EntityGetter, getMessage: MessageGetter<"replyToMessage">, getStickerSetName: StickerSetNameGetter): Promise<Chat>;
32
+ export declare function constructChat2(chatId: number, pinned: number, lastMessage: Message | undefined, getEntity: EntityGetter): Promise<Chat | null>;
33
+ export declare function constructChat3(chatId: number, pinned: number, lastMessageId: number, getEntity: EntityGetter, getMessage: MessageGetter<"replyToMessage">): Promise<Chat | null>;
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.constructChat3 = exports.constructChat2 = exports.constructChat = exports.getChatOrder = void 0;
4
+ const _1_utilities_js_1 = require("../1_utilities.js");
5
+ const _2_tl_js_1 = require("../2_tl.js");
6
+ const _1_chat_p_js_1 = require("./1_chat_p.js");
7
+ const _0_chat_photo_js_1 = require("./0_chat_photo.js");
8
+ const _3_message_js_1 = require("./3_message.js");
9
+ function getChatPAlsoPhoto(entity) {
10
+ let chatP;
11
+ let also = undefined;
12
+ if (entity instanceof _2_tl_js_1.types.User) {
13
+ chatP = (0, _1_chat_p_js_1.constructChatP)(entity);
14
+ also = "usernames" in entity ? entity.usernames?.map((v) => v.username).filter((v) => v != ("username" in chatP ? chatP.username : "")) : undefined;
15
+ }
16
+ else if (entity instanceof _2_tl_js_1.types.Chat) {
17
+ chatP = (0, _1_chat_p_js_1.constructChatP)(entity);
18
+ }
19
+ else if (entity instanceof _2_tl_js_1.types.Channel) {
20
+ chatP = (0, _1_chat_p_js_1.constructChatP)(entity);
21
+ also = "usernames" in entity ? entity.usernames?.map((v) => v.username).filter((v) => v != ("username" in chatP ? chatP.username : "")) : undefined;
22
+ }
23
+ else {
24
+ (0, _1_utilities_js_1.UNREACHABLE)();
25
+ }
26
+ let photo = undefined;
27
+ if (entity.photo instanceof _2_tl_js_1.types.UserProfilePhoto) {
28
+ photo = (0, _0_chat_photo_js_1.constructChatPhoto)(entity.photo, chatP.id, "access_hash" in entity ? entity.access_hash ?? 0n : 0n);
29
+ }
30
+ else if (entity.photo instanceof _2_tl_js_1.types.ChatPhoto) {
31
+ photo = (0, _0_chat_photo_js_1.constructChatPhoto)(entity.photo, chatP.id, "access_hash" in entity ? entity.access_hash ?? 0n : 0n);
32
+ }
33
+ return { chatP, also, photo };
34
+ }
35
+ function getChatOrder(lastMessage, pinned) {
36
+ const p = pinned == -1 ? "" : `P${100 - pinned}`;
37
+ if (!lastMessage) {
38
+ return p + "0";
39
+ }
40
+ return p + String((BigInt(Math.floor(lastMessage.date.getTime())) << 32n) + BigInt(lastMessage.id));
41
+ }
42
+ exports.getChatOrder = getChatOrder;
43
+ async function constructChat(dialog, dialogs, pinnedChats, getEntity, getMessage, getStickerSetName) {
44
+ const topMessage_ = dialogs.messages.find((v) => "id" in v && v.id == dialog.top_message);
45
+ if (!topMessage_) {
46
+ (0, _1_utilities_js_1.UNREACHABLE)();
47
+ }
48
+ const pinned = pinnedChats.indexOf((0, _2_tl_js_1.peerToChatId)(dialog.peer));
49
+ const lastMessage = await (0, _3_message_js_1.constructMessage)(topMessage_, getEntity, getMessage, getStickerSetName, false);
50
+ const order = getChatOrder(lastMessage, pinned);
51
+ const userId = "user_id" in dialog.peer ? dialog.peer.user_id : null;
52
+ const chatId = "chat_id" in dialog.peer ? dialog.peer.chat_id : null;
53
+ const channelId = "channel_id" in dialog.peer ? dialog.peer.channel_id : null;
54
+ const chat__ = chatId != null ? dialogs.chats.find((v) => v instanceof _2_tl_js_1.types.Chat && v.id == chatId) : channelId != null ? dialogs.chats.find((v) => v instanceof _2_tl_js_1.types.Channel && v.id == channelId) : userId != null ? dialogs.users.find((v) => v instanceof _2_tl_js_1.types.User && v.id == userId) : (0, _1_utilities_js_1.UNREACHABLE)();
55
+ if (!chat__) {
56
+ (0, _1_utilities_js_1.UNREACHABLE)();
57
+ }
58
+ const chat_ = chat__;
59
+ const { chatP, also, photo } = getChatPAlsoPhoto(chat_);
60
+ if (chatP.type == "group") {
61
+ return (0, _1_utilities_js_1.cleanObject)({ ...chatP, order, lastMessage, photo, pinned });
62
+ }
63
+ else if (chatP.type == "supergroup") {
64
+ return (0, _1_utilities_js_1.cleanObject)({ ...chatP, order, lastMessage, also, photo, pinned });
65
+ }
66
+ else if (chatP.type == "channel") {
67
+ return (0, _1_utilities_js_1.cleanObject)({ ...chatP, order, lastMessage, also, photo, pinned });
68
+ }
69
+ else if (chatP.type == "private") {
70
+ return (0, _1_utilities_js_1.cleanObject)({ ...chatP, order, lastMessage, also, photo: photo, pinned });
71
+ }
72
+ else {
73
+ (0, _1_utilities_js_1.UNREACHABLE)();
74
+ }
75
+ }
76
+ exports.constructChat = constructChat;
77
+ async function constructChat2(chatId, pinned, lastMessage, getEntity) {
78
+ let chatPAlsoPhoto = null;
79
+ if (chatId < _1_utilities_js_1.ZERO_CHANNEL_ID) {
80
+ const entity = await getEntity(new _2_tl_js_1.types.PeerChannel({ channel_id: BigInt(Math.abs(chatId - _1_utilities_js_1.ZERO_CHANNEL_ID)) }));
81
+ if (entity != null) {
82
+ chatPAlsoPhoto = getChatPAlsoPhoto(entity);
83
+ }
84
+ }
85
+ else if (chatId < 0) {
86
+ const entity = await getEntity(new _2_tl_js_1.types.PeerChat({ chat_id: BigInt(Math.abs(chatId)) }));
87
+ if (entity != null) {
88
+ chatPAlsoPhoto = getChatPAlsoPhoto(entity);
89
+ }
90
+ }
91
+ else {
92
+ const entity = await getEntity(new _2_tl_js_1.types.PeerUser({ user_id: BigInt(chatId) }));
93
+ if (entity != null) {
94
+ chatPAlsoPhoto = getChatPAlsoPhoto(entity);
95
+ }
96
+ }
97
+ if (chatPAlsoPhoto == null) {
98
+ return null;
99
+ }
100
+ const order = getChatOrder(lastMessage, pinned);
101
+ const { also, photo, chatP } = chatPAlsoPhoto;
102
+ if (chatP.type == "group") {
103
+ return (0, _1_utilities_js_1.cleanObject)({ ...chatP, order, lastMessage, photo, pinned });
104
+ }
105
+ else if (chatP.type == "supergroup") {
106
+ return (0, _1_utilities_js_1.cleanObject)({ ...chatP, order, lastMessage, also, photo, pinned });
107
+ }
108
+ else if (chatP.type == "channel") {
109
+ return (0, _1_utilities_js_1.cleanObject)({ ...chatP, order, lastMessage, also, photo, pinned });
110
+ }
111
+ else if (chatP.type == "private") {
112
+ return (0, _1_utilities_js_1.cleanObject)({ ...chatP, order, lastMessage, also, photo: photo, pinned });
113
+ }
114
+ else {
115
+ (0, _1_utilities_js_1.UNREACHABLE)();
116
+ }
117
+ }
118
+ exports.constructChat2 = constructChat2;
119
+ async function constructChat3(chatId, pinned, lastMessageId, getEntity, getMessage) {
120
+ const lastMessage_ = lastMessageId > 0 ? await getMessage(chatId, lastMessageId) : null;
121
+ const lastMessage = lastMessage_ == null ? undefined : lastMessage_;
122
+ return await constructChat2(chatId, pinned, lastMessage, getEntity);
123
+ }
124
+ exports.constructChat3 = constructChat3;
@@ -1,2 +0,0 @@
1
- /** Make an assertion, error will be thrown if `expr` does not have truthy value. */
2
- export declare function assert(expr: unknown, msg?: string): asserts expr;
@@ -1,8 +0,0 @@
1
- // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
2
- import { AssertionError } from "./assertion_error.js";
3
- /** Make an assertion, error will be thrown if `expr` does not have truthy value. */
4
- export function assert(expr, msg = "") {
5
- if (!expr) {
6
- throw new AssertionError(msg);
7
- }
8
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` and `expected` are almost equal numbers through
3
- * a given tolerance. It can be used to take into account IEEE-754 double-precision
4
- * floating-point representation limitations.
5
- * If the values are not almost equal then throw.
6
- *
7
- * @example
8
- * ```ts
9
- * import { assertAlmostEquals, assertThrows } from "https://deno.land/std@$STD_VERSION/assert/mod.ts";
10
- *
11
- * assertAlmostEquals(0.1, 0.2);
12
- *
13
- * // Using a custom tolerance value
14
- * assertAlmostEquals(0.1 + 0.2, 0.3, 1e-16);
15
- * assertThrows(() => assertAlmostEquals(0.1 + 0.2, 0.3, 1e-17));
16
- * ```
17
- */
18
- export declare function assertAlmostEquals(actual: number, expected: number, tolerance?: number, msg?: string): void;
@@ -1,14 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` includes the `expected` values.
3
- * If not then an error will be thrown.
4
- *
5
- * Type parameter can be specified to ensure values under comparison have the same type.
6
- *
7
- * @example
8
- * ```ts
9
- * import { assertArrayIncludes } from "https://deno.land/std@$STD_VERSION/assert/assert_array_includes.ts";
10
- *
11
- * assertArrayIncludes<number>([1, 2], [2])
12
- * ```
13
- */
14
- export declare function assertArrayIncludes<T>(actual: ArrayLike<T>, expected: ArrayLike<T>, msg?: string): void;
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that actual is not null or undefined.
3
- * If not then throw.
4
- */
5
- export declare function assertExists<T>(actual: T, msg?: string): asserts actual is NonNullable<T>;
@@ -1,4 +0,0 @@
1
- type Falsy = false | 0 | 0n | "" | null | undefined;
2
- /** Make an assertion, error will be thrown if `expr` have truthy value. */
3
- export declare function assertFalse(expr: unknown, msg?: string): asserts expr is Falsy;
4
- export {};
@@ -1,8 +0,0 @@
1
- // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
2
- import { AssertionError } from "./assertion_error.js";
3
- /** Make an assertion, error will be thrown if `expr` have truthy value. */
4
- export function assertFalse(expr, msg = "") {
5
- if (expr) {
6
- throw new AssertionError(msg);
7
- }
8
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` is greater than `expected`.
3
- * If not then throw.
4
- */
5
- export declare function assertGreater<T>(actual: T, expected: T, msg?: string): void;
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` is greater than or equal to `expected`.
3
- * If not then throw.
4
- */
5
- export declare function assertGreaterOrEqual<T>(actual: T, expected: T, msg?: string): void;
@@ -1,8 +0,0 @@
1
- type AnyConstructor = new (...args: any[]) => any;
2
- type GetConstructorType<T extends AnyConstructor> = T extends new (...args: any) => infer C ? C : never;
3
- /**
4
- * Make an assertion that `obj` is an instance of `type`.
5
- * If not then throw.
6
- */
7
- export declare function assertInstanceOf<T extends AnyConstructor>(actual: unknown, expectedType: T, msg?: string): asserts actual is GetConstructorType<T>;
8
- export {};
@@ -1,7 +0,0 @@
1
- /**
2
- * Make an assertion that `error` is an `Error`.
3
- * If not then an error will be thrown.
4
- * An error class and a string that should be included in the
5
- * error message can also be asserted.
6
- */
7
- export declare function assertIsError<E extends Error = Error>(error: unknown, ErrorClass?: new (...args: any[]) => E, msgIncludes?: string, msg?: string): asserts error is E;
@@ -1,29 +0,0 @@
1
- // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
2
- import { AssertionError } from "./assertion_error.js";
3
- import { stripColor } from "../fmt/colors.js";
4
- /**
5
- * Make an assertion that `error` is an `Error`.
6
- * If not then an error will be thrown.
7
- * An error class and a string that should be included in the
8
- * error message can also be asserted.
9
- */
10
- export function assertIsError(error,
11
- // deno-lint-ignore no-explicit-any
12
- ErrorClass, msgIncludes, msg) {
13
- const msgSuffix = msg ? `: ${msg}` : ".";
14
- if (error instanceof Error === false) {
15
- throw new AssertionError(`Expected "error" to be an Error object${msgSuffix}}`);
16
- }
17
- if (ErrorClass && !(error instanceof ErrorClass)) {
18
- msg = `Expected error to be instance of "${ErrorClass.name}", but was "${typeof error === "object" ? error?.constructor?.name : "[not an object]"}"${msgSuffix}`;
19
- throw new AssertionError(msg);
20
- }
21
- if (msgIncludes && (!(error instanceof Error) ||
22
- !stripColor(error.message).includes(stripColor(msgIncludes)))) {
23
- msg = `Expected error message to include ${JSON.stringify(msgIncludes)}, but got ${error instanceof Error
24
- ? JSON.stringify(error.message)
25
- : '"[not an Error]"' // TODO(kt3k): show more useful information
26
- }${msgSuffix}`;
27
- throw new AssertionError(msg);
28
- }
29
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` is less than `expected`.
3
- * If not then throw.
4
- */
5
- export declare function assertLess<T>(actual: T, expected: T, msg?: string): void;
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` is less than or equal to `expected`.
3
- * If not then throw.
4
- */
5
- export declare function assertLessOrEqual<T>(actual: T, expected: T, msg?: string): void;
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` match RegExp `expected`. If not
3
- * then throw.
4
- */
5
- export declare function assertMatch(actual: string, expected: RegExp, msg?: string): void;
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that `obj` is not an instance of `type`.
3
- * If so, then throw.
4
- */
5
- export declare function assertNotInstanceOf<A, T>(actual: A, unexpectedType: new (...args: any[]) => T, msg?: string): asserts actual is Exclude<A, T>;
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` not match RegExp `expected`. If match
3
- * then throw.
4
- */
5
- export declare function assertNotMatch(actual: string, expected: RegExp, msg?: string): void;
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` object is a subset of `expected` object, deeply.
3
- * If not, then throw.
4
- */
5
- export declare function assertObjectMatch(actual: Record<PropertyKey, any>, expected: Record<PropertyKey, unknown>, msg?: string): void;
@@ -1,64 +0,0 @@
1
- /**
2
- * Executes a function which returns a promise, expecting it to reject.
3
- *
4
- * @example
5
- * ```ts
6
- * import { assertRejects } from "https://deno.land/std@$STD_VERSION/assert/assert_rejects.ts";
7
- *
8
- * Deno.test("doesThrow", async function () {
9
- * await assertRejects(
10
- * async () => {
11
- * throw new TypeError("hello world!");
12
- * },
13
- * );
14
- * await assertRejects(
15
- * async () => {
16
- * return Promise.reject(new Error());
17
- * },
18
- * );
19
- * });
20
- *
21
- * // This test will not pass.
22
- * Deno.test("fails", async function () {
23
- * await assertRejects(
24
- * async () => {
25
- * console.log("Hello world");
26
- * },
27
- * );
28
- * });
29
- * ```
30
- */
31
- export declare function assertRejects(fn: () => PromiseLike<unknown>, msg?: string): Promise<unknown>;
32
- /**
33
- * Executes a function which returns a promise, expecting it to reject.
34
- * If it does not, then it throws. An error class and a string that should be
35
- * included in the error message can also be asserted.
36
- *
37
- * @example
38
- * ```ts
39
- * import { assertRejects } from "https://deno.land/std@$STD_VERSION/assert/assert_rejects.ts";
40
- *
41
- * Deno.test("doesThrow", async function () {
42
- * await assertRejects(async () => {
43
- * throw new TypeError("hello world!");
44
- * }, TypeError);
45
- * await assertRejects(
46
- * async () => {
47
- * throw new TypeError("hello world!");
48
- * },
49
- * TypeError,
50
- * "hello",
51
- * );
52
- * });
53
- *
54
- * // This test will not pass.
55
- * Deno.test("fails", async function () {
56
- * await assertRejects(
57
- * async () => {
58
- * console.log("Hello world");
59
- * },
60
- * );
61
- * });
62
- * ```
63
- */
64
- export declare function assertRejects<E extends Error = Error>(fn: () => PromiseLike<unknown>, ErrorClass: new (...args: any[]) => E, msgIncludes?: string, msg?: string): Promise<E>;
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that actual includes expected. If not
3
- * then throw.
4
- */
5
- export declare function assertStringIncludes(actual: string, expected: string, msg?: string): void;
@@ -1,4 +0,0 @@
1
- export declare class AssertionError extends Error {
2
- name: string;
3
- constructor(message: string);
4
- }
@@ -1,12 +0,0 @@
1
- // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
2
- export class AssertionError extends Error {
3
- constructor(message) {
4
- super(message);
5
- Object.defineProperty(this, "name", {
6
- enumerable: true,
7
- configurable: true,
8
- writable: true,
9
- value: "AssertionError"
10
- });
11
- }
12
- }
@@ -1,6 +0,0 @@
1
- /**
2
- * Deep equality comparison used in assertions
3
- * @param c actual value
4
- * @param d expected value
5
- */
6
- export declare function equal(c: unknown, d: unknown): boolean;
@@ -1,4 +0,0 @@
1
- /**
2
- * Forcefully throws a failed assertion
3
- */
4
- export declare function fail(msg?: string): never;
@@ -1,2 +0,0 @@
1
- /** Use this to stub out methods that will throw when invoked. */
2
- export declare function unimplemented(msg?: string): never;
@@ -1,2 +0,0 @@
1
- /** Use this to assert unreachable code. */
2
- export declare function unreachable(): never;
@@ -1,2 +0,0 @@
1
- /** Make an assertion, error will be thrown if `expr` does not have truthy value. */
2
- export declare function assert(expr: unknown, msg?: string): asserts expr;
@@ -1,18 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` and `expected` are almost equal numbers through
3
- * a given tolerance. It can be used to take into account IEEE-754 double-precision
4
- * floating-point representation limitations.
5
- * If the values are not almost equal then throw.
6
- *
7
- * @example
8
- * ```ts
9
- * import { assertAlmostEquals, assertThrows } from "https://deno.land/std@$STD_VERSION/assert/mod.ts";
10
- *
11
- * assertAlmostEquals(0.1, 0.2);
12
- *
13
- * // Using a custom tolerance value
14
- * assertAlmostEquals(0.1 + 0.2, 0.3, 1e-16);
15
- * assertThrows(() => assertAlmostEquals(0.1 + 0.2, 0.3, 1e-17));
16
- * ```
17
- */
18
- export declare function assertAlmostEquals(actual: number, expected: number, tolerance?: number, msg?: string): void;
@@ -1,14 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` includes the `expected` values.
3
- * If not then an error will be thrown.
4
- *
5
- * Type parameter can be specified to ensure values under comparison have the same type.
6
- *
7
- * @example
8
- * ```ts
9
- * import { assertArrayIncludes } from "https://deno.land/std@$STD_VERSION/assert/assert_array_includes.ts";
10
- *
11
- * assertArrayIncludes<number>([1, 2], [2])
12
- * ```
13
- */
14
- export declare function assertArrayIncludes<T>(actual: ArrayLike<T>, expected: ArrayLike<T>, msg?: string): void;
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that actual is not null or undefined.
3
- * If not then throw.
4
- */
5
- export declare function assertExists<T>(actual: T, msg?: string): asserts actual is NonNullable<T>;
@@ -1,4 +0,0 @@
1
- type Falsy = false | 0 | 0n | "" | null | undefined;
2
- /** Make an assertion, error will be thrown if `expr` have truthy value. */
3
- export declare function assertFalse(expr: unknown, msg?: string): asserts expr is Falsy;
4
- export {};
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` is greater than `expected`.
3
- * If not then throw.
4
- */
5
- export declare function assertGreater<T>(actual: T, expected: T, msg?: string): void;
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` is greater than or equal to `expected`.
3
- * If not then throw.
4
- */
5
- export declare function assertGreaterOrEqual<T>(actual: T, expected: T, msg?: string): void;
@@ -1,8 +0,0 @@
1
- type AnyConstructor = new (...args: any[]) => any;
2
- type GetConstructorType<T extends AnyConstructor> = T extends new (...args: any) => infer C ? C : never;
3
- /**
4
- * Make an assertion that `obj` is an instance of `type`.
5
- * If not then throw.
6
- */
7
- export declare function assertInstanceOf<T extends AnyConstructor>(actual: unknown, expectedType: T, msg?: string): asserts actual is GetConstructorType<T>;
8
- export {};
@@ -1,7 +0,0 @@
1
- /**
2
- * Make an assertion that `error` is an `Error`.
3
- * If not then an error will be thrown.
4
- * An error class and a string that should be included in the
5
- * error message can also be asserted.
6
- */
7
- export declare function assertIsError<E extends Error = Error>(error: unknown, ErrorClass?: new (...args: any[]) => E, msgIncludes?: string, msg?: string): asserts error is E;
@@ -1,5 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` is less than `expected`.
3
- * If not then throw.
4
- */
5
- export declare function assertLess<T>(actual: T, expected: T, msg?: string): void;