@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.
- package/esm/0_deps.d.ts +4 -4
- package/esm/0_deps.js +4 -4
- package/esm/3_types.d.ts +2 -1
- package/esm/3_types.js +2 -1
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +1 -1
- package/esm/client/3_types.d.ts +23 -2
- package/esm/client/3_types.js +11 -1
- package/esm/client/5_client.d.ts +15 -2
- package/esm/client/5_client.js +323 -20
- package/{script/deps/deno.land/std@0.208.0 → esm/deps/deno.land/std@0.209.0}/assert/_diff.d.ts +6 -5
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_diff.js +5 -6
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_format.js +2 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert.d.ts +12 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert.js +18 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert_almost_equals.d.ts +17 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_almost_equals.js +9 -10
- package/esm/deps/deno.land/std@0.209.0/assert/assert_array_includes.d.ts +18 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_array_includes.js +6 -4
- package/{script/deps/deno.land/std@0.208.0 → esm/deps/deno.land/std@0.209.0}/assert/assert_equals.d.ts +4 -5
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_equals.js +4 -5
- package/esm/deps/deno.land/std@0.209.0/assert/assert_exists.d.ts +13 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_exists.js +8 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert_false.d.ts +14 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert_false.js +18 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert_greater.d.ts +14 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_greater.js +9 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert_greater_or_equal.d.ts +14 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_greater_or_equal.js +9 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert_instance_of.d.ts +17 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_instance_of.js +8 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert_is_error.d.ts +18 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert_is_error.js +48 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert_less.d.ts +13 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_less.js +8 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert_less_or_equal.d.ts +14 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_less_or_equal.js +9 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert_match.d.ts +13 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_match.js +8 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_equals.d.ts +2 -1
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_equals.js +2 -1
- package/esm/deps/deno.land/std@0.209.0/assert/assert_not_instance_of.d.ts +13 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_instance_of.js +8 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assert_not_match.d.ts +13 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_match.js +8 -0
- 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
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_strict_equals.js +3 -1
- package/esm/deps/deno.land/std@0.209.0/assert/assert_object_match.d.ts +13 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_object_match.js +10 -2
- package/esm/deps/deno.land/std@0.209.0/assert/assert_rejects.d.ts +26 -0
- 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
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_strict_equals.js +6 -11
- package/esm/deps/deno.land/std@0.209.0/assert/assert_string_includes.d.ts +13 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_string_includes.js +8 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_throws.d.ts +4 -31
- package/esm/deps/deno.land/std@0.209.0/assert/assertion_error.d.ts +14 -0
- package/esm/deps/deno.land/std@0.209.0/assert/assertion_error.js +18 -0
- package/esm/deps/deno.land/std@0.209.0/assert/equal.d.ts +14 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/equal.js +8 -0
- package/esm/deps/deno.land/std@0.209.0/assert/fail.d.ts +11 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/fail.js +8 -1
- package/esm/deps/deno.land/std@0.209.0/assert/unimplemented.d.ts +11 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/unimplemented.js +10 -1
- package/esm/deps/deno.land/std@0.209.0/assert/unreachable.d.ts +11 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/unreachable.js +10 -1
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/base64.d.ts +24 -8
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/base64.js +27 -27
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/content_type.js +1 -6
- package/esm/deps/deno.land/std@0.209.0/media_types/type_by_extension.d.ts +17 -0
- package/esm/deps/deno.land/std@0.209.0/media_types/type_by_extension.js +24 -0
- package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/glob_to_reg_exp.d.ts +1 -0
- package/esm/storage/0_storage.d.ts +25 -2
- package/esm/storage/0_storage.js +65 -5
- package/esm/storage/0_utilities.d.ts +2 -0
- package/esm/storage/0_utilities.js +33 -0
- package/esm/storage/1_storage_indexed_db.d.ts +5 -2
- package/esm/storage/1_storage_indexed_db.js +26 -4
- package/esm/storage/1_storage_local_storage.d.ts +5 -2
- package/esm/storage/1_storage_local_storage.js +20 -6
- package/esm/storage/1_storage_memory.d.ts +6 -2
- package/esm/storage/1_storage_memory.js +34 -6
- package/esm/storage/1_storage_session_storage.d.ts +5 -2
- package/esm/storage/1_storage_session_storage.js +20 -6
- package/esm/tl/0_tl_raw_writer.d.ts +1 -0
- package/esm/tl/0_tl_raw_writer.js +6 -0
- package/esm/tl/1_tl_object.js +6 -1
- package/esm/tl/3_deserialize.js +1 -1
- package/esm/types/{1_chat.d.ts → 1_chat_p.d.ts} +5 -5
- package/esm/types/{1_chat.js → 1_chat_p.js} +1 -1
- package/esm/types/3_message.d.ts +8 -7
- package/esm/types/3_message.js +15 -19
- package/esm/types/4_chat.d.ts +33 -0
- package/esm/types/4_chat.js +117 -0
- package/package.json +1 -1
- package/script/0_deps.d.ts +4 -4
- package/script/0_deps.js +4 -4
- package/script/3_types.d.ts +2 -1
- package/script/3_types.js +2 -1
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +1 -1
- package/script/client/3_types.d.ts +23 -2
- package/script/client/3_types.js +13 -0
- package/script/client/5_client.d.ts +15 -2
- package/script/client/5_client.js +322 -19
- package/{esm/deps/deno.land/std@0.208.0 → script/deps/deno.land/std@0.209.0}/assert/_diff.d.ts +6 -5
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_diff.js +23 -24
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_format.js +2 -0
- package/script/deps/deno.land/std@0.209.0/assert/assert.d.ts +12 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert.js +11 -1
- package/script/deps/deno.land/std@0.209.0/assert/assert_almost_equals.d.ts +17 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_almost_equals.js +9 -10
- package/script/deps/deno.land/std@0.209.0/assert/assert_array_includes.d.ts +18 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_array_includes.js +6 -4
- package/{esm/deps/deno.land/std@0.208.0 → script/deps/deno.land/std@0.209.0}/assert/assert_equals.d.ts +4 -5
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_equals.js +4 -5
- package/script/deps/deno.land/std@0.209.0/assert/assert_exists.d.ts +13 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_exists.js +8 -0
- package/script/deps/deno.land/std@0.209.0/assert/assert_false.d.ts +14 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_false.js +11 -1
- package/script/deps/deno.land/std@0.209.0/assert/assert_greater.d.ts +14 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_greater.js +9 -0
- package/script/deps/deno.land/std@0.209.0/assert/assert_greater_or_equal.d.ts +14 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_greater_or_equal.js +9 -0
- package/script/deps/deno.land/std@0.209.0/assert/assert_instance_of.d.ts +17 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_instance_of.js +8 -0
- package/script/deps/deno.land/std@0.209.0/assert/assert_is_error.d.ts +18 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_is_error.js +24 -5
- package/script/deps/deno.land/std@0.209.0/assert/assert_less.d.ts +13 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_less.js +8 -0
- package/script/deps/deno.land/std@0.209.0/assert/assert_less_or_equal.d.ts +14 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_less_or_equal.js +9 -0
- package/script/deps/deno.land/std@0.209.0/assert/assert_match.d.ts +13 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_match.js +8 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_equals.d.ts +2 -1
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_equals.js +2 -1
- package/script/deps/deno.land/std@0.209.0/assert/assert_not_instance_of.d.ts +13 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_instance_of.js +8 -0
- package/script/deps/deno.land/std@0.209.0/assert/assert_not_match.d.ts +13 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_match.js +8 -0
- 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
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_not_strict_equals.js +3 -1
- package/script/deps/deno.land/std@0.209.0/assert/assert_object_match.d.ts +13 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_object_match.js +10 -2
- package/script/deps/deno.land/std@0.209.0/assert/assert_rejects.d.ts +26 -0
- 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
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_strict_equals.js +6 -11
- package/script/deps/deno.land/std@0.209.0/assert/assert_string_includes.d.ts +13 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_string_includes.js +8 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_throws.d.ts +4 -31
- package/script/deps/deno.land/std@0.209.0/assert/assertion_error.d.ts +14 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assertion_error.js +13 -7
- package/script/deps/deno.land/std@0.209.0/assert/equal.d.ts +14 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/equal.js +8 -0
- package/script/deps/deno.land/std@0.209.0/assert/fail.d.ts +11 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/fail.js +8 -1
- package/script/deps/deno.land/std@0.209.0/assert/unimplemented.d.ts +11 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/unimplemented.js +10 -1
- package/script/deps/deno.land/std@0.209.0/assert/unreachable.d.ts +11 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/unreachable.js +10 -1
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/base64.d.ts +24 -8
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/base64.js +27 -27
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/content_type.js +2 -7
- package/script/deps/deno.land/std@0.209.0/media_types/type_by_extension.d.ts +17 -0
- package/script/deps/deno.land/std@0.209.0/media_types/type_by_extension.js +28 -0
- package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/glob_to_reg_exp.d.ts +1 -0
- package/script/storage/0_storage.d.ts +25 -2
- package/script/storage/0_storage.js +65 -5
- package/script/storage/0_utilities.d.ts +2 -0
- package/script/storage/0_utilities.js +36 -1
- package/script/storage/1_storage_indexed_db.d.ts +5 -2
- package/script/storage/1_storage_indexed_db.js +25 -3
- package/script/storage/1_storage_local_storage.d.ts +5 -2
- package/script/storage/1_storage_local_storage.js +19 -5
- package/script/storage/1_storage_memory.d.ts +6 -2
- package/script/storage/1_storage_memory.js +33 -5
- package/script/storage/1_storage_session_storage.d.ts +5 -2
- package/script/storage/1_storage_session_storage.js +19 -5
- package/script/tl/0_tl_raw_writer.d.ts +1 -0
- package/script/tl/0_tl_raw_writer.js +6 -0
- package/script/tl/1_tl_object.js +6 -1
- package/script/tl/3_deserialize.js +1 -1
- package/script/types/{1_chat.d.ts → 1_chat_p.d.ts} +5 -5
- package/script/types/{1_chat.js → 1_chat_p.js} +3 -3
- package/script/types/3_message.d.ts +8 -7
- package/script/types/3_message.js +15 -19
- package/script/types/4_chat.d.ts +33 -0
- package/script/types/4_chat.js +124 -0
- package/esm/deps/deno.land/std@0.208.0/assert/assert.d.ts +0 -2
- package/esm/deps/deno.land/std@0.208.0/assert/assert.js +0 -8
- package/esm/deps/deno.land/std@0.208.0/assert/assert_almost_equals.d.ts +0 -18
- package/esm/deps/deno.land/std@0.208.0/assert/assert_array_includes.d.ts +0 -14
- package/esm/deps/deno.land/std@0.208.0/assert/assert_exists.d.ts +0 -5
- package/esm/deps/deno.land/std@0.208.0/assert/assert_false.d.ts +0 -4
- package/esm/deps/deno.land/std@0.208.0/assert/assert_false.js +0 -8
- package/esm/deps/deno.land/std@0.208.0/assert/assert_greater.d.ts +0 -5
- package/esm/deps/deno.land/std@0.208.0/assert/assert_greater_or_equal.d.ts +0 -5
- package/esm/deps/deno.land/std@0.208.0/assert/assert_instance_of.d.ts +0 -8
- package/esm/deps/deno.land/std@0.208.0/assert/assert_is_error.d.ts +0 -7
- package/esm/deps/deno.land/std@0.208.0/assert/assert_is_error.js +0 -29
- package/esm/deps/deno.land/std@0.208.0/assert/assert_less.d.ts +0 -5
- package/esm/deps/deno.land/std@0.208.0/assert/assert_less_or_equal.d.ts +0 -5
- package/esm/deps/deno.land/std@0.208.0/assert/assert_match.d.ts +0 -5
- package/esm/deps/deno.land/std@0.208.0/assert/assert_not_instance_of.d.ts +0 -5
- package/esm/deps/deno.land/std@0.208.0/assert/assert_not_match.d.ts +0 -5
- package/esm/deps/deno.land/std@0.208.0/assert/assert_object_match.d.ts +0 -5
- package/esm/deps/deno.land/std@0.208.0/assert/assert_rejects.d.ts +0 -64
- package/esm/deps/deno.land/std@0.208.0/assert/assert_string_includes.d.ts +0 -5
- package/esm/deps/deno.land/std@0.208.0/assert/assertion_error.d.ts +0 -4
- package/esm/deps/deno.land/std@0.208.0/assert/assertion_error.js +0 -12
- package/esm/deps/deno.land/std@0.208.0/assert/equal.d.ts +0 -6
- package/esm/deps/deno.land/std@0.208.0/assert/fail.d.ts +0 -4
- package/esm/deps/deno.land/std@0.208.0/assert/unimplemented.d.ts +0 -2
- package/esm/deps/deno.land/std@0.208.0/assert/unreachable.d.ts +0 -2
- package/script/deps/deno.land/std@0.208.0/assert/assert.d.ts +0 -2
- package/script/deps/deno.land/std@0.208.0/assert/assert_almost_equals.d.ts +0 -18
- package/script/deps/deno.land/std@0.208.0/assert/assert_array_includes.d.ts +0 -14
- package/script/deps/deno.land/std@0.208.0/assert/assert_exists.d.ts +0 -5
- package/script/deps/deno.land/std@0.208.0/assert/assert_false.d.ts +0 -4
- package/script/deps/deno.land/std@0.208.0/assert/assert_greater.d.ts +0 -5
- package/script/deps/deno.land/std@0.208.0/assert/assert_greater_or_equal.d.ts +0 -5
- package/script/deps/deno.land/std@0.208.0/assert/assert_instance_of.d.ts +0 -8
- package/script/deps/deno.land/std@0.208.0/assert/assert_is_error.d.ts +0 -7
- package/script/deps/deno.land/std@0.208.0/assert/assert_less.d.ts +0 -5
- package/script/deps/deno.land/std@0.208.0/assert/assert_less_or_equal.d.ts +0 -5
- package/script/deps/deno.land/std@0.208.0/assert/assert_match.d.ts +0 -5
- package/script/deps/deno.land/std@0.208.0/assert/assert_not_instance_of.d.ts +0 -5
- package/script/deps/deno.land/std@0.208.0/assert/assert_not_match.d.ts +0 -5
- package/script/deps/deno.land/std@0.208.0/assert/assert_object_match.d.ts +0 -5
- package/script/deps/deno.land/std@0.208.0/assert/assert_rejects.d.ts +0 -64
- package/script/deps/deno.land/std@0.208.0/assert/assert_string_includes.d.ts +0 -5
- package/script/deps/deno.land/std@0.208.0/assert/assertion_error.d.ts +0 -4
- package/script/deps/deno.land/std@0.208.0/assert/equal.d.ts +0 -6
- package/script/deps/deno.land/std@0.208.0/assert/fail.d.ts +0 -4
- package/script/deps/deno.land/std@0.208.0/assert/unimplemented.d.ts +0 -2
- package/script/deps/deno.land/std@0.208.0/assert/unreachable.d.ts +0 -2
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_rejects.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_throws.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/fmt/colors.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/fmt/colors.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_db.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_db.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/content_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/format_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/format_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/get_charset.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/get_charset.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/parse_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/parse_media_type.js +0 -0
- /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
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/assert_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/assert_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize_string.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_interface.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_os.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/separator.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/separator.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/separator.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/separator.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/separator.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/separator.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/_format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_rejects.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/assert_throws.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/assert/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/encoding/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/fmt/colors.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/fmt/colors.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_db.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_db.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/content_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/format_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/format_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/get_charset.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/get_charset.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/parse_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/parse_media_type.js +0 -0
- /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
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/assert_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/assert_path.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/common.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/format.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize_string.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/normalize_string.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_common/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_interface.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_interface.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_os.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/_os.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/common.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/format.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/common.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/format.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/separator.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/separator.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/posix/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/separator.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/separator.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/common.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/format.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/separator.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/separator.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.208.0 → std@0.209.0}/path/windows/to_namespaced_path.js +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* await assertRejects(async () => Promise.reject(new Error())); // Doesn't throw
|
|
9
|
+
* await assertRejects(async () => console.log("Hello world")); // Throws
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare function assertRejects(fn: () => PromiseLike<unknown>, msg?: string): Promise<unknown>;
|
|
13
|
+
/**
|
|
14
|
+
* Executes a function which returns a promise, expecting it to reject.
|
|
15
|
+
* If it does not, then it throws. An error class and a string that should be
|
|
16
|
+
* included in the error message can also be asserted.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* import { assertRejects } from "https://deno.land/std@$STD_VERSION/assert/assert_rejects.ts";
|
|
21
|
+
*
|
|
22
|
+
* await assertRejects(async () => Promise.reject(new Error()), Error); // Doesn't throw
|
|
23
|
+
* await assertRejects(async () => Promise.reject(new Error()), SyntaxError); // Throws
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare function assertRejects<E extends Error = Error>(fn: () => PromiseLike<unknown>, ErrorClass: new (...args: any[]) => E, msgIncludes?: string, msg?: string): Promise<E>;
|
|
@@ -6,18 +6,13 @@
|
|
|
6
6
|
* ```ts
|
|
7
7
|
* import { assertStrictEquals } from "https://deno.land/std@$STD_VERSION/assert/assert_strict_equals.ts";
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* assertStrictEquals(a, b);
|
|
13
|
-
* });
|
|
9
|
+
* const a = {};
|
|
10
|
+
* const b = a;
|
|
11
|
+
* assertStrictEquals(a, b); // Doesn't throw
|
|
14
12
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* const b = {};
|
|
19
|
-
* assertStrictEquals(a, b);
|
|
20
|
-
* });
|
|
13
|
+
* const c = {};
|
|
14
|
+
* const d = {};
|
|
15
|
+
* assertStrictEquals(c, d); // Throws
|
|
21
16
|
* ```
|
|
22
17
|
*/
|
|
23
18
|
export declare function assertStrictEquals<T>(actual: unknown, expected: T, msg?: string): asserts actual is T;
|
|
@@ -15,18 +15,13 @@ const colors_js_1 = require("../fmt/colors.js");
|
|
|
15
15
|
* ```ts
|
|
16
16
|
* import { assertStrictEquals } from "https://deno.land/std@$STD_VERSION/assert/assert_strict_equals.ts";
|
|
17
17
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* assertStrictEquals(a, b);
|
|
22
|
-
* });
|
|
18
|
+
* const a = {};
|
|
19
|
+
* const b = a;
|
|
20
|
+
* assertStrictEquals(a, b); // Doesn't throw
|
|
23
21
|
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* const b = {};
|
|
28
|
-
* assertStrictEquals(a, b);
|
|
29
|
-
* });
|
|
22
|
+
* const c = {};
|
|
23
|
+
* const d = {};
|
|
24
|
+
* assertStrictEquals(c, d); // Throws
|
|
30
25
|
* ```
|
|
31
26
|
*/
|
|
32
27
|
function assertStrictEquals(actual, expected, msg) {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Make an assertion that actual includes expected. If not
|
|
3
|
+
* then throw.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```ts
|
|
7
|
+
* import { assertStringIncludes } from "https://deno.land/std@$STD_VERSION/assert/assert_string_includes.ts";
|
|
8
|
+
*
|
|
9
|
+
* assertStringIncludes("Hello", "ello"); // Doesn't throw
|
|
10
|
+
* assertStringIncludes("Hello", "world"); // Throws
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare function assertStringIncludes(actual: string, expected: string, msg?: string): void;
|
|
@@ -6,6 +6,14 @@ const assertion_error_js_1 = require("./assertion_error.js");
|
|
|
6
6
|
/**
|
|
7
7
|
* Make an assertion that actual includes expected. If not
|
|
8
8
|
* then throw.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* import { assertStringIncludes } from "https://deno.land/std@$STD_VERSION/assert/assert_string_includes.ts";
|
|
13
|
+
*
|
|
14
|
+
* assertStringIncludes("Hello", "ello"); // Doesn't throw
|
|
15
|
+
* assertStringIncludes("Hello", "world"); // Throws
|
|
16
|
+
* ```
|
|
9
17
|
*/
|
|
10
18
|
function assertStringIncludes(actual, expected, msg) {
|
|
11
19
|
if (!actual.includes(expected)) {
|
|
@@ -6,18 +6,8 @@
|
|
|
6
6
|
* ```ts
|
|
7
7
|
* import { assertThrows } from "https://deno.land/std@$STD_VERSION/assert/assert_throws.ts";
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* throw new TypeError("hello world!");
|
|
12
|
-
* });
|
|
13
|
-
* });
|
|
14
|
-
*
|
|
15
|
-
* // This test will not pass.
|
|
16
|
-
* Deno.test("fails", function (): void {
|
|
17
|
-
* assertThrows((): void => {
|
|
18
|
-
* console.log("Hello world");
|
|
19
|
-
* });
|
|
20
|
-
* });
|
|
9
|
+
* assertThrows(() => { throw new TypeError("hello world!"); }); // Doesn't throw
|
|
10
|
+
* assertThrows(() => console.log("hello world!")); // Throws
|
|
21
11
|
* ```
|
|
22
12
|
*/
|
|
23
13
|
export declare function assertThrows(fn: () => unknown, msg?: string): unknown;
|
|
@@ -30,25 +20,8 @@ export declare function assertThrows(fn: () => unknown, msg?: string): unknown;
|
|
|
30
20
|
* ```ts
|
|
31
21
|
* import { assertThrows } from "https://deno.land/std@$STD_VERSION/assert/assert_throws.ts";
|
|
32
22
|
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* throw new TypeError("hello world!");
|
|
36
|
-
* }, TypeError);
|
|
37
|
-
* assertThrows(
|
|
38
|
-
* (): void => {
|
|
39
|
-
* throw new TypeError("hello world!");
|
|
40
|
-
* },
|
|
41
|
-
* TypeError,
|
|
42
|
-
* "hello",
|
|
43
|
-
* );
|
|
44
|
-
* });
|
|
45
|
-
*
|
|
46
|
-
* // This test will not pass.
|
|
47
|
-
* Deno.test("fails", function (): void {
|
|
48
|
-
* assertThrows((): void => {
|
|
49
|
-
* console.log("Hello world");
|
|
50
|
-
* });
|
|
51
|
-
* });
|
|
23
|
+
* assertThrows(() => { throw new TypeError("hello world!"); }, TypeError); // Doesn't throw
|
|
24
|
+
* assertThrows(() => { throw new TypeError("hello world!"); }, RangeError); // Throws
|
|
52
25
|
* ```
|
|
53
26
|
*/
|
|
54
27
|
export declare function assertThrows<E extends Error = Error>(fn: () => unknown, ErrorClass: new (...args: any[]) => E, msgIncludes?: string, msg?: string): E;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Error thrown when an assertion fails.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```ts
|
|
6
|
+
* import { AssertionError } from "https://deno.land/std@$STD_VERSION/assert/assertion_error.ts";
|
|
7
|
+
*
|
|
8
|
+
* throw new AssertionError("Assertion failed");
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export declare class AssertionError extends Error {
|
|
12
|
+
/** Constructs a new instance. */
|
|
13
|
+
constructor(message: string);
|
|
14
|
+
}
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
2
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
4
|
exports.AssertionError = void 0;
|
|
4
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Error thrown when an assertion fails.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* import { AssertionError } from "https://deno.land/std@$STD_VERSION/assert/assertion_error.ts";
|
|
11
|
+
*
|
|
12
|
+
* throw new AssertionError("Assertion failed");
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
5
15
|
class AssertionError extends Error {
|
|
16
|
+
/** Constructs a new instance. */
|
|
6
17
|
constructor(message) {
|
|
7
18
|
super(message);
|
|
8
|
-
|
|
9
|
-
enumerable: true,
|
|
10
|
-
configurable: true,
|
|
11
|
-
writable: true,
|
|
12
|
-
value: "AssertionError"
|
|
13
|
-
});
|
|
19
|
+
this.name = "AssertionError";
|
|
14
20
|
}
|
|
15
21
|
}
|
|
16
22
|
exports.AssertionError = AssertionError;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deep equality comparison used in assertions
|
|
3
|
+
* @param c actual value
|
|
4
|
+
* @param d expected value
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```ts
|
|
8
|
+
* import { equal } from "https://deno.land/std@$STD_VERSION/assert/equal.ts";
|
|
9
|
+
*
|
|
10
|
+
* equal({ foo: "bar" }, { foo: "bar" }); // Returns `true`
|
|
11
|
+
* equal({ foo: "bar" }, { foo: "baz" }); // Returns `false
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare function equal(c: unknown, d: unknown): boolean;
|
|
@@ -14,6 +14,14 @@ function constructorsEqual(a, b) {
|
|
|
14
14
|
* Deep equality comparison used in assertions
|
|
15
15
|
* @param c actual value
|
|
16
16
|
* @param d expected value
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* import { equal } from "https://deno.land/std@$STD_VERSION/assert/equal.ts";
|
|
21
|
+
*
|
|
22
|
+
* equal({ foo: "bar" }, { foo: "bar" }); // Returns `true`
|
|
23
|
+
* equal({ foo: "bar" }, { foo: "baz" }); // Returns `false
|
|
24
|
+
* ```
|
|
17
25
|
*/
|
|
18
26
|
function equal(c, d) {
|
|
19
27
|
const seen = new Map();
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Forcefully throws a failed assertion.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```ts
|
|
6
|
+
* import { fail } from "https://deno.land/std@$STD_VERSION/assert/fail.ts";
|
|
7
|
+
*
|
|
8
|
+
* fail("Deliberately failed!"); // Throws
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export declare function fail(msg?: string): never;
|
|
@@ -4,7 +4,14 @@ exports.fail = void 0;
|
|
|
4
4
|
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
const assert_js_1 = require("./assert.js");
|
|
6
6
|
/**
|
|
7
|
-
* Forcefully throws a failed assertion
|
|
7
|
+
* Forcefully throws a failed assertion.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* import { fail } from "https://deno.land/std@$STD_VERSION/assert/fail.ts";
|
|
12
|
+
*
|
|
13
|
+
* fail("Deliberately failed!"); // Throws
|
|
14
|
+
* ```
|
|
8
15
|
*/
|
|
9
16
|
function fail(msg) {
|
|
10
17
|
const msgSuffix = msg ? `: ${msg}` : ".";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Use this to stub out methods that will throw when invoked.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```ts
|
|
6
|
+
* import { unimplemented } from "https://deno.land/std@$STD_VERSION/assert/unimplemented.ts";
|
|
7
|
+
*
|
|
8
|
+
* unimplemented(); // Throws
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export declare function unimplemented(msg?: string): never;
|
|
@@ -3,7 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.unimplemented = void 0;
|
|
4
4
|
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Use this to stub out methods that will throw when invoked.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* import { unimplemented } from "https://deno.land/std@$STD_VERSION/assert/unimplemented.ts";
|
|
12
|
+
*
|
|
13
|
+
* unimplemented(); // Throws
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
7
16
|
function unimplemented(msg) {
|
|
8
17
|
const msgSuffix = msg ? `: ${msg}` : ".";
|
|
9
18
|
throw new assertion_error_js_1.AssertionError(`Unimplemented${msgSuffix}`);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Use this to assert unreachable code.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```ts
|
|
6
|
+
* import { unreachable } from "https://deno.land/std@$STD_VERSION/assert/unreachable.ts";
|
|
7
|
+
*
|
|
8
|
+
* unreachable(); // Throws
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export declare function unreachable(): never;
|
|
@@ -3,7 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.unreachable = void 0;
|
|
4
4
|
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
const assertion_error_js_1 = require("./assertion_error.js");
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Use this to assert unreachable code.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* import { unreachable } from "https://deno.land/std@$STD_VERSION/assert/unreachable.ts";
|
|
12
|
+
*
|
|
13
|
+
* unreachable(); // Throws
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
7
16
|
function unreachable() {
|
|
8
17
|
throw new assertion_error_js_1.AssertionError("unreachable");
|
|
9
18
|
}
|
|
@@ -1,23 +1,39 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @deprecated (will be removed in 0.210.0) Use {@linkcode encodeBase64} instead.
|
|
3
|
-
*
|
|
4
2
|
* CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727
|
|
5
3
|
* Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation
|
|
6
|
-
*
|
|
4
|
+
*
|
|
5
|
+
* @deprecated (will be removed in 0.210.0) Use {@linkcode encodeBase64} instead.
|
|
7
6
|
*/
|
|
8
7
|
export declare const encode: typeof encodeBase64;
|
|
9
8
|
/**
|
|
10
|
-
* @deprecated (will be removed in 0.210.0) Use {@linkcode decodeBase64} instead.
|
|
11
|
-
*
|
|
12
9
|
* Decodes a given RFC4648 base64 encoded string
|
|
13
|
-
*
|
|
10
|
+
*
|
|
11
|
+
* @deprecated (will be removed in 0.210.0) Use {@linkcode decodeBase64} instead.
|
|
14
12
|
*/
|
|
15
13
|
export declare const decode: typeof decodeBase64;
|
|
16
14
|
/**
|
|
17
|
-
*
|
|
15
|
+
* Converts data into a base64-encoded string.
|
|
16
|
+
*
|
|
17
|
+
* @see {@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* import { encodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
|
|
22
|
+
*
|
|
23
|
+
* encodeBase64("foobar"); // "Zm9vYmFy"
|
|
24
|
+
* ```
|
|
18
25
|
*/
|
|
19
26
|
export declare function encodeBase64(data: ArrayBuffer | Uint8Array | string): string;
|
|
20
27
|
/**
|
|
21
|
-
* Decodes a
|
|
28
|
+
* Decodes a base64-encoded string.
|
|
29
|
+
*
|
|
30
|
+
* @see {@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* import { encodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
|
|
35
|
+
*
|
|
36
|
+
* encodeBase64("foobar"); // "Zm9vYmFy"
|
|
37
|
+
* ```
|
|
22
38
|
*/
|
|
23
39
|
export declare function decodeBase64(b64: string): Uint8Array;
|
|
@@ -5,28 +5,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.decodeBase64 = exports.encodeBase64 = exports.decode = exports.encode = void 0;
|
|
6
6
|
const _util_js_1 = require("./_util.js");
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* [base64]
|
|
8
|
+
* Utilities for
|
|
9
|
+
* [base64]{@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
|
|
10
|
+
* encoding and decoding.
|
|
10
11
|
*
|
|
11
12
|
* This module is browser compatible.
|
|
12
13
|
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts
|
|
15
|
-
* import {
|
|
16
|
-
* decodeBase64,
|
|
17
|
-
* encodeBase64,
|
|
18
|
-
* } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
|
|
19
|
-
*
|
|
20
|
-
* const b64Repr = "Zm9vYg==";
|
|
21
|
-
*
|
|
22
|
-
* const binaryData = decodeBase64(b64Repr);
|
|
23
|
-
* console.log(binaryData);
|
|
24
|
-
* // => Uint8Array [ 102, 111, 111, 98 ]
|
|
25
|
-
*
|
|
26
|
-
* console.log(encodeBase64(binaryData));
|
|
27
|
-
* // => Zm9vYg==
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
14
|
* @module
|
|
31
15
|
*/
|
|
32
16
|
const base64abc = [
|
|
@@ -96,22 +80,29 @@ const base64abc = [
|
|
|
96
80
|
"/",
|
|
97
81
|
];
|
|
98
82
|
/**
|
|
99
|
-
* @deprecated (will be removed in 0.210.0) Use {@linkcode encodeBase64} instead.
|
|
100
|
-
*
|
|
101
83
|
* CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727
|
|
102
84
|
* Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation
|
|
103
|
-
*
|
|
85
|
+
*
|
|
86
|
+
* @deprecated (will be removed in 0.210.0) Use {@linkcode encodeBase64} instead.
|
|
104
87
|
*/
|
|
105
88
|
exports.encode = encodeBase64;
|
|
106
89
|
/**
|
|
107
|
-
* @deprecated (will be removed in 0.210.0) Use {@linkcode decodeBase64} instead.
|
|
108
|
-
*
|
|
109
90
|
* Decodes a given RFC4648 base64 encoded string
|
|
110
|
-
*
|
|
91
|
+
*
|
|
92
|
+
* @deprecated (will be removed in 0.210.0) Use {@linkcode decodeBase64} instead.
|
|
111
93
|
*/
|
|
112
94
|
exports.decode = decodeBase64;
|
|
113
95
|
/**
|
|
114
|
-
*
|
|
96
|
+
* Converts data into a base64-encoded string.
|
|
97
|
+
*
|
|
98
|
+
* @see {@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* ```ts
|
|
102
|
+
* import { encodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
|
|
103
|
+
*
|
|
104
|
+
* encodeBase64("foobar"); // "Zm9vYmFy"
|
|
105
|
+
* ```
|
|
115
106
|
*/
|
|
116
107
|
function encodeBase64(data) {
|
|
117
108
|
// CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727
|
|
@@ -141,7 +132,16 @@ function encodeBase64(data) {
|
|
|
141
132
|
}
|
|
142
133
|
exports.encodeBase64 = encodeBase64;
|
|
143
134
|
/**
|
|
144
|
-
* Decodes a
|
|
135
|
+
* Decodes a base64-encoded string.
|
|
136
|
+
*
|
|
137
|
+
* @see {@link https://datatracker.ietf.org/doc/html/rfc4648#section-4}
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* ```ts
|
|
141
|
+
* import { encodeBase64 } from "https://deno.land/std@$STD_VERSION/encoding/base64.ts";
|
|
142
|
+
*
|
|
143
|
+
* encodeBase64("foobar"); // "Zm9vYmFy"
|
|
144
|
+
* ```
|
|
145
145
|
*/
|
|
146
146
|
function decodeBase64(b64) {
|
|
147
147
|
const binString = atob(b64);
|
|
@@ -6,7 +6,7 @@ exports.contentType = void 0;
|
|
|
6
6
|
const parse_media_type_js_1 = require("./parse_media_type.js");
|
|
7
7
|
const get_charset_js_1 = require("./get_charset.js");
|
|
8
8
|
const format_media_type_js_1 = require("./format_media_type.js");
|
|
9
|
-
const
|
|
9
|
+
const type_by_extension_js_1 = require("./type_by_extension.js");
|
|
10
10
|
/**
|
|
11
11
|
* Given an extension or media type, return a full `Content-Type` or
|
|
12
12
|
* `Content-Disposition` header value.
|
|
@@ -39,7 +39,7 @@ function contentType(extensionOrType) {
|
|
|
39
39
|
try {
|
|
40
40
|
const [mediaType, params = {}] = extensionOrType.includes("/")
|
|
41
41
|
? (0, parse_media_type_js_1.parseMediaType)(extensionOrType)
|
|
42
|
-
: [typeByExtension(extensionOrType), undefined];
|
|
42
|
+
: [(0, type_by_extension_js_1.typeByExtension)(extensionOrType), undefined];
|
|
43
43
|
if (!mediaType) {
|
|
44
44
|
return undefined;
|
|
45
45
|
}
|
|
@@ -57,8 +57,3 @@ function contentType(extensionOrType) {
|
|
|
57
57
|
return undefined;
|
|
58
58
|
}
|
|
59
59
|
exports.contentType = contentType;
|
|
60
|
-
function typeByExtension(extension) {
|
|
61
|
-
extension = extension.startsWith(".") ? extension.slice(1) : extension;
|
|
62
|
-
// @ts-ignore workaround around denoland/dnt#148
|
|
63
|
-
return _db_js_1.types.get(extension.toLowerCase());
|
|
64
|
-
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the media type associated with the file extension. Values are
|
|
3
|
+
* normalized to lower case and matched irrespective of a leading `.`.
|
|
4
|
+
*
|
|
5
|
+
* When `extension` has no associated type, the function returns `undefined`.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* import { typeByExtension } from "https://deno.land/std@$STD_VERSION/media_types/type_by_extension.ts";
|
|
10
|
+
*
|
|
11
|
+
* typeByExtension("js"); // `application/json`
|
|
12
|
+
* typeByExtension(".HTML"); // `text/html`
|
|
13
|
+
* typeByExtension("foo"); // undefined
|
|
14
|
+
* typeByExtension("file.json"); // undefined
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function typeByExtension(extension: string): string | undefined;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.typeByExtension = void 0;
|
|
6
|
+
const _db_js_1 = require("./_db.js");
|
|
7
|
+
/**
|
|
8
|
+
* Returns the media type associated with the file extension. Values are
|
|
9
|
+
* normalized to lower case and matched irrespective of a leading `.`.
|
|
10
|
+
*
|
|
11
|
+
* When `extension` has no associated type, the function returns `undefined`.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* import { typeByExtension } from "https://deno.land/std@$STD_VERSION/media_types/type_by_extension.ts";
|
|
16
|
+
*
|
|
17
|
+
* typeByExtension("js"); // `application/json`
|
|
18
|
+
* typeByExtension(".HTML"); // `text/html`
|
|
19
|
+
* typeByExtension("foo"); // undefined
|
|
20
|
+
* typeByExtension("file.json"); // undefined
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function typeByExtension(extension) {
|
|
24
|
+
extension = extension.startsWith(".") ? extension.slice(1) : extension;
|
|
25
|
+
// @ts-ignore workaround around denoland/dnt#148
|
|
26
|
+
return _db_js_1.types.get(extension.toLowerCase());
|
|
27
|
+
}
|
|
28
|
+
exports.typeByExtension = typeByExtension;
|
|
@@ -2,13 +2,22 @@ import { MaybePromise } from "../1_utilities.js";
|
|
|
2
2
|
import { enums, TLObject, types } from "../2_tl.js";
|
|
3
3
|
import { DC } from "../3_transport.js";
|
|
4
4
|
export type StorageKeyPart = string | number | bigint;
|
|
5
|
+
export type GetManyFilter = {
|
|
6
|
+
prefix: readonly StorageKeyPart[];
|
|
7
|
+
} | {
|
|
8
|
+
start: readonly StorageKeyPart[];
|
|
9
|
+
end: readonly StorageKeyPart[];
|
|
10
|
+
};
|
|
5
11
|
export declare abstract class Storage {
|
|
6
12
|
#private;
|
|
7
13
|
abstract init(): MaybePromise<void>;
|
|
8
14
|
abstract set(key: readonly StorageKeyPart[], value: unknown): MaybePromise<void>;
|
|
9
15
|
abstract incr(key: readonly StorageKeyPart[], by: number): MaybePromise<void>;
|
|
10
16
|
abstract get<T>(key: readonly StorageKeyPart[]): MaybePromise<T | null>;
|
|
11
|
-
abstract getMany<T>(prefix:
|
|
17
|
+
abstract getMany<T>(prefix: GetManyFilter, params?: {
|
|
18
|
+
limit?: number;
|
|
19
|
+
reverse?: boolean;
|
|
20
|
+
}): MaybePromise<Generator<[readonly StorageKeyPart[], T]> | AsyncGenerator<[readonly StorageKeyPart[], T]>>;
|
|
12
21
|
setDc(dc: DC | null): MaybePromise<void>;
|
|
13
22
|
getDc(): MaybePromise<DC | null>;
|
|
14
23
|
getAuthKey(): Promise<Uint8Array | null>;
|
|
@@ -21,13 +30,14 @@ export declare abstract class Storage {
|
|
|
21
30
|
updateUsernames(type: "user" | "channel", id: bigint, usernames: string[]): Promise<void>;
|
|
22
31
|
getUsername(username: string): Promise<["channel" | "user", bigint, Date] | null>;
|
|
23
32
|
setTlObject(key: readonly StorageKeyPart[], value: TLObject | null): Promise<void>;
|
|
24
|
-
getTLObject(
|
|
33
|
+
getTLObject(keyOrBuffer: Uint8Array | readonly StorageKeyPart[]): Promise<import("../2_tl.js").ReadObject | null>;
|
|
25
34
|
setState(state: enums.updates.State): Promise<void>;
|
|
26
35
|
getState(): Promise<import("../tl/2_types.js").updates_State_ | null>;
|
|
27
36
|
setMessage(chatId: number, messageId: number, message: enums.Message | null): Promise<void>;
|
|
28
37
|
deleteMessages(): Promise<void>;
|
|
29
38
|
getMessageChat(messageId: number): MaybePromise<number | null>;
|
|
30
39
|
getMessage(chatId: number, messageId: number): Promise<enums.Message | null>;
|
|
40
|
+
getLastMessage(chatId: number): Promise<enums.Message | null>;
|
|
31
41
|
setChannelPts(channelId: bigint, pts: number): Promise<void>;
|
|
32
42
|
getChannelPts(channelId: bigint): MaybePromise<number | null>;
|
|
33
43
|
setEntity(peer: types.Channel): Promise<void>;
|
|
@@ -43,4 +53,17 @@ export declare abstract class Storage {
|
|
|
43
53
|
getStickerSetName(id: bigint, accessHash: bigint): MaybePromise<[string, Date] | null>;
|
|
44
54
|
setServerSalt(serverSalt: bigint): Promise<void>;
|
|
45
55
|
getServerSalt(): MaybePromise<bigint | null>;
|
|
56
|
+
setChat(listId: number, chatId: number, pinned: number, topMessageId: number, topMessageDate: Date): Promise<void>;
|
|
57
|
+
getChats(listId: number): Promise<{
|
|
58
|
+
chatId: number;
|
|
59
|
+
pinned: number;
|
|
60
|
+
topMessageId: number;
|
|
61
|
+
topMessageDate: Date;
|
|
62
|
+
}[]>;
|
|
63
|
+
removeChats(listId: number): Promise<void>;
|
|
64
|
+
setHasAllChats(listId: number, hasAllChats: boolean): Promise<void>;
|
|
65
|
+
hasAllChats(listId: number): Promise<boolean>;
|
|
66
|
+
setPinnedChats(listId: number, chatIds: number[] | null): Promise<void>;
|
|
67
|
+
getPinnedChats(listId: number): Promise<number[] | null>;
|
|
68
|
+
getHistory(chatId: number, offsetId: number, limit: number): Promise<enums.Message[]>;
|
|
46
69
|
}
|