@mtkruto/node 0.1.151 → 0.1.153
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 +5 -5
- package/esm/3_types.d.ts +11 -0
- package/esm/3_types.js +11 -0
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +1 -1
- package/esm/client/0_params.d.ts +20 -5
- package/esm/client/0_types.d.ts +3 -2
- package/esm/client/1_account_manager.d.ts +11 -0
- package/esm/client/1_account_manager.js +76 -0
- package/esm/client/1_update_manager.js +65 -29
- package/esm/client/2_message_manager.d.ts +43 -3
- package/esm/client/2_message_manager.js +130 -40
- package/esm/client/3_story_manager.d.ts +28 -0
- package/esm/client/3_story_manager.js +152 -0
- package/esm/client/4_client.d.ts +194 -60
- package/esm/client/4_client.js +245 -59
- package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/fmt/colors.d.ts +3 -0
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/fmt/colors.js +3 -0
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/glob_to_regexp.d.ts +1 -0
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join_globs.d.ts +1 -0
- package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/mod.d.ts +0 -9
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/mod.js +0 -10
- package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/normalize_glob.d.ts +1 -0
- package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/posix/join_globs.d.ts +1 -0
- package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/posix/mod.d.ts +0 -9
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/mod.js +0 -9
- package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/posix/normalize_glob.d.ts +1 -0
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join_globs.d.ts +1 -0
- package/esm/deps/deno.land/{std@0.214.0/path/posix → std@0.216.0/path/windows}/mod.d.ts +0 -9
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/mod.js +0 -9
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize_glob.d.ts +1 -0
- package/esm/tl/3_utilities.d.ts +7 -1
- package/esm/tl/3_utilities.js +3 -3
- package/esm/types/0_id.d.ts +2 -2
- package/esm/types/0_link_preview.d.ts +15 -0
- package/esm/types/0_link_preview.js +9 -0
- package/esm/types/0_message_search_filter.d.ts +2 -0
- package/esm/types/0_message_search_filter.js +36 -0
- package/esm/types/0_story_reference.d.ts +5 -0
- package/esm/types/0_story_reference.js +1 -0
- package/esm/types/0_venue.d.ts +1 -1
- package/esm/types/1__getters.d.ts +2 -2
- package/esm/types/1_input_message_content.d.ts +6 -1
- package/esm/types/1_input_story_content.d.ts +15 -0
- package/esm/types/1_input_story_content.js +1 -0
- package/esm/types/1_story_interactive_area.d.ts +41 -0
- package/esm/types/1_story_interactive_area.js +98 -0
- package/esm/types/1_story_privacy.d.ts +22 -0
- package/esm/types/1_story_privacy.js +57 -0
- package/esm/types/1_story_reaction.d.ts +12 -0
- package/esm/types/1_story_reaction.js +7 -0
- package/esm/types/2_inactive_chat.d.ts +7 -0
- package/esm/types/2_inactive_chat.js +13 -0
- package/esm/types/2_message_interactions.d.ts +1 -1
- package/esm/types/2_story_content.d.ts +18 -0
- package/esm/types/2_story_content.js +35 -0
- package/esm/types/2_story_interactions.d.ts +10 -0
- package/esm/types/2_story_interactions.js +8 -0
- package/esm/types/3_story.d.ts +24 -0
- package/esm/types/3_story.js +37 -0
- package/esm/types/4_inline_query_result.js +25 -6
- package/esm/types/4_message.d.ts +74 -2
- package/esm/types/4_message.js +15 -6
- package/esm/types/6_update.d.ts +20 -2
- package/package.json +1 -1
- package/script/0_deps.d.ts +4 -4
- package/script/0_deps.js +5 -5
- package/script/3_types.d.ts +11 -0
- package/script/3_types.js +11 -0
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +1 -1
- package/script/client/0_params.d.ts +20 -5
- package/script/client/0_types.d.ts +3 -2
- package/script/client/1_account_manager.d.ts +11 -0
- package/script/client/1_account_manager.js +80 -0
- package/script/client/1_update_manager.js +65 -29
- package/script/client/2_message_manager.d.ts +43 -3
- package/script/client/2_message_manager.js +130 -40
- package/script/client/3_story_manager.d.ts +28 -0
- package/script/client/3_story_manager.js +156 -0
- package/script/client/4_client.d.ts +194 -60
- package/script/client/4_client.js +245 -59
- package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/fmt/colors.d.ts +3 -0
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/fmt/colors.js +3 -0
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/glob_to_regexp.d.ts +1 -0
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join_globs.d.ts +1 -0
- package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/mod.d.ts +0 -9
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/mod.js +1 -11
- package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/normalize_glob.d.ts +1 -0
- package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/posix/join_globs.d.ts +1 -0
- package/script/deps/deno.land/{std@0.214.0/path/windows → std@0.216.0/path/posix}/mod.d.ts +0 -9
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/mod.js +0 -10
- package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/posix/normalize_glob.d.ts +1 -0
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join_globs.d.ts +1 -0
- package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/windows/mod.d.ts +0 -9
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/mod.js +0 -10
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize_glob.d.ts +1 -0
- package/script/tl/3_utilities.d.ts +7 -1
- package/script/tl/3_utilities.js +3 -3
- package/script/types/0_id.d.ts +2 -2
- package/script/types/0_link_preview.d.ts +15 -0
- package/script/types/0_link_preview.js +13 -0
- package/script/types/0_message_search_filter.d.ts +2 -0
- package/script/types/0_message_search_filter.js +40 -0
- package/script/types/0_story_reference.d.ts +5 -0
- package/script/types/0_story_reference.js +2 -0
- package/script/types/0_venue.d.ts +1 -1
- package/script/types/1__getters.d.ts +2 -2
- package/script/types/1_input_message_content.d.ts +6 -1
- package/script/types/1_input_story_content.d.ts +15 -0
- package/script/types/1_input_story_content.js +2 -0
- package/script/types/1_story_interactive_area.d.ts +41 -0
- package/script/types/1_story_interactive_area.js +103 -0
- package/script/types/1_story_privacy.d.ts +22 -0
- package/script/types/1_story_privacy.js +62 -0
- package/script/types/1_story_reaction.d.ts +12 -0
- package/script/types/1_story_reaction.js +11 -0
- package/script/types/2_inactive_chat.d.ts +7 -0
- package/script/types/2_inactive_chat.js +17 -0
- package/script/types/2_message_interactions.d.ts +1 -1
- package/script/types/2_story_content.d.ts +18 -0
- package/script/types/2_story_content.js +39 -0
- package/script/types/2_story_interactions.d.ts +10 -0
- package/script/types/2_story_interactions.js +12 -0
- package/script/types/3_story.d.ts +24 -0
- package/script/types/3_story.js +41 -0
- package/script/types/4_inline_query_result.js +25 -6
- package/script/types/4_message.d.ts +74 -2
- package/script/types/4_message.js +15 -6
- package/script/types/6_update.d.ts +20 -2
- package/esm/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +0 -8
- package/esm/deps/deno.land/std@0.214.0/path/posix/separator.js +0 -10
- package/esm/deps/deno.land/std@0.214.0/path/separator.d.ts +0 -8
- package/esm/deps/deno.land/std@0.214.0/path/separator.js +0 -11
- package/esm/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +0 -8
- package/esm/deps/deno.land/std@0.214.0/path/windows/separator.js +0 -10
- package/script/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +0 -8
- package/script/deps/deno.land/std@0.214.0/path/posix/separator.js +0 -13
- package/script/deps/deno.land/std@0.214.0/path/separator.d.ts +0 -8
- package/script/deps/deno.land/std@0.214.0/path/separator.js +0 -14
- package/script/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +0 -8
- package/script/deps/deno.land/std@0.214.0/path/windows/separator.js +0 -13
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_diff.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_diff.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_format.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_almost_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_array_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_array_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_exists.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_exists.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_false.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_false.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_is_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_is_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_object_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_object_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_rejects.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_rejects.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_string_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_string_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_throws.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_throws.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assertion_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/fail.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/fail.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unimplemented.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unimplemented.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unreachable.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unreachable.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/base64.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/base64.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_db.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_db.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/content_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/content_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extensions_by_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/format_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/format_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/get_charset.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/get_charset.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/parse_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/parse_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/type_by_extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/type_by_extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/assert_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/assert_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize_string.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_interface.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_os.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_diff.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_diff.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_format.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_almost_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_array_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_array_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_exists.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_exists.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_false.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_false.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_is_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_is_error.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_match.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_match.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_object_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_object_match.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_rejects.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_rejects.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_string_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_string_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_throws.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_throws.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assertion_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assertion_error.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/equal.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/fail.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/fail.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unimplemented.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unimplemented.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unreachable.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unreachable.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/base64.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/base64.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_db.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_db.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/content_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/content_type.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extension.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extensions_by_type.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/format_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/format_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/get_charset.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/get_charset.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/parse_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/parse_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/type_by_extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/type_by_extension.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/assert_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/assert_path.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/common.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/format.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize_string.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize_string.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_interface.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_interface.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_os.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_os.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/common.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/format.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/common.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/format.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/common.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/format.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_namespaced_path.js +0 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.constructStoryPrivacy = exports.storyPrivacyToTlObject = void 0;
|
|
4
|
+
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
5
|
+
const _2_tl_js_1 = require("../2_tl.js");
|
|
6
|
+
async function resolveUsers(ids, getEntity) {
|
|
7
|
+
const users = new Array();
|
|
8
|
+
for (const id of ids) {
|
|
9
|
+
const entity = await getEntity(new _2_tl_js_1.types.PeerUser({ user_id: BigInt(id) }));
|
|
10
|
+
if (!(entity instanceof _2_tl_js_1.types.User)) {
|
|
11
|
+
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
users.push(new _2_tl_js_1.types.InputUser({ user_id: entity.id, access_hash: entity.access_hash ?? 0n }));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return users;
|
|
18
|
+
}
|
|
19
|
+
async function restrict(users_, rules, getEntity) {
|
|
20
|
+
if (users_.length) {
|
|
21
|
+
const users = await resolveUsers(users_, getEntity);
|
|
22
|
+
rules.push(new _2_tl_js_1.types.InputPrivacyValueDisallowUsers({ users }));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
async function storyPrivacyToTlObject(privacy, getEntity) {
|
|
26
|
+
const rules = new Array();
|
|
27
|
+
if ("everyoneExcept" in privacy) {
|
|
28
|
+
await restrict(privacy.everyoneExcept, rules, getEntity);
|
|
29
|
+
rules.push(new _2_tl_js_1.types.InputPrivacyValueAllowAll());
|
|
30
|
+
}
|
|
31
|
+
else if ("contactsExcept" in privacy) {
|
|
32
|
+
await restrict(privacy.contactsExcept, rules, getEntity);
|
|
33
|
+
rules.push(new _2_tl_js_1.types.InputPrivacyValueAllowContacts());
|
|
34
|
+
}
|
|
35
|
+
else if ("closeFriends" in privacy) {
|
|
36
|
+
rules.push(new _2_tl_js_1.types.InputPrivacyValueAllowCloseFriends());
|
|
37
|
+
}
|
|
38
|
+
else if ("only" in privacy) {
|
|
39
|
+
if (!privacy.only.length) {
|
|
40
|
+
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
41
|
+
}
|
|
42
|
+
const users = await resolveUsers(privacy.only, getEntity);
|
|
43
|
+
rules.push(new _2_tl_js_1.types.InputPrivacyValueAllowUsers({ users }));
|
|
44
|
+
}
|
|
45
|
+
return rules;
|
|
46
|
+
}
|
|
47
|
+
exports.storyPrivacyToTlObject = storyPrivacyToTlObject;
|
|
48
|
+
function constructStoryPrivacy(privacy) {
|
|
49
|
+
const except = privacy.find((v) => v instanceof _2_tl_js_1.types.PrivacyValueDisallowUsers)?.users?.map(Number) ?? [];
|
|
50
|
+
if (privacy.some((v) => v instanceof _2_tl_js_1.types.PrivacyValueAllowAll)) {
|
|
51
|
+
return { everyoneExcept: except };
|
|
52
|
+
}
|
|
53
|
+
else if (privacy.some((v) => v instanceof _2_tl_js_1.types.PrivacyValueAllowContacts)) {
|
|
54
|
+
return { contactsExcept: except };
|
|
55
|
+
}
|
|
56
|
+
else if (privacy.some((v) => v instanceof _2_tl_js_1.types.PrivacyValueAllowCloseFriends)) {
|
|
57
|
+
return { closeFriends: true };
|
|
58
|
+
}
|
|
59
|
+
const only = privacy.find((v) => v instanceof _2_tl_js_1.types.PrivacyValueAllowUsers)?.users?.map(Number) ?? [];
|
|
60
|
+
return { only };
|
|
61
|
+
}
|
|
62
|
+
exports.constructStoryPrivacy = constructStoryPrivacy;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { types } from "../2_tl.js";
|
|
2
|
+
import { Reaction } from "./0_reaction.js";
|
|
3
|
+
/** Represents a type of reaction made to a story. */
|
|
4
|
+
export interface StoryReaction {
|
|
5
|
+
/** The type of the reaction. */
|
|
6
|
+
reaction: Reaction;
|
|
7
|
+
/** The number of those who made this reaction. */
|
|
8
|
+
count: number;
|
|
9
|
+
/** Whether the current user made this reaction. */
|
|
10
|
+
chosen: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function constructStoryReaction(reaction_: types.ReactionCount): StoryReaction;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.constructStoryReaction = void 0;
|
|
4
|
+
const _0_reaction_js_1 = require("./0_reaction.js");
|
|
5
|
+
function constructStoryReaction(reaction_) {
|
|
6
|
+
const reaction = (0, _0_reaction_js_1.constructReaction)(reaction_.reaction);
|
|
7
|
+
const count = reaction_.count;
|
|
8
|
+
const chosen = reaction_.chosen_order !== undefined ? true : false;
|
|
9
|
+
return { reaction, count, chosen };
|
|
10
|
+
}
|
|
11
|
+
exports.constructStoryReaction = constructStoryReaction;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.constructInactiveChat = 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
|
+
function constructInactiveChat(chat_, lastActivity) {
|
|
8
|
+
if (chat_ instanceof _2_tl_js_1.types.ChatEmpty) {
|
|
9
|
+
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
10
|
+
}
|
|
11
|
+
const chat = (0, _1_chat_p_js_1.constructChatP)(chat_);
|
|
12
|
+
return {
|
|
13
|
+
lastActivity: (0, _1_utilities_js_1.fromUnixTimestamp)(lastActivity),
|
|
14
|
+
chat,
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
exports.constructInactiveChat = constructInactiveChat;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { enums } from "../2_tl.js";
|
|
2
|
+
import { Photo } from "./1_photo.js";
|
|
3
|
+
import { Video } from "./1_video.js";
|
|
4
|
+
/** @unlisted */
|
|
5
|
+
export interface StoryContentPhoto {
|
|
6
|
+
photo: Photo;
|
|
7
|
+
}
|
|
8
|
+
/** @unlisted */
|
|
9
|
+
export interface StoryContentVideo {
|
|
10
|
+
video: Video;
|
|
11
|
+
}
|
|
12
|
+
/** @unlisted */
|
|
13
|
+
export interface StoryContentUnsupported {
|
|
14
|
+
unsupported: true;
|
|
15
|
+
}
|
|
16
|
+
/** A story content. */
|
|
17
|
+
export type StoryContent = StoryContentPhoto | StoryContentVideo | StoryContentUnsupported;
|
|
18
|
+
export declare function constructStoryContent(media: enums.MessageMedia): StoryContent;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.constructStoryContent = void 0;
|
|
4
|
+
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
5
|
+
const _2_tl_js_1 = require("../2_tl.js");
|
|
6
|
+
const _0__file_id_js_1 = require("./0__file_id.js");
|
|
7
|
+
const _1_photo_js_1 = require("./1_photo.js");
|
|
8
|
+
const _1_video_js_1 = require("./1_video.js");
|
|
9
|
+
function constructStoryContent(media) {
|
|
10
|
+
if (media instanceof _2_tl_js_1.types.MessageMediaPhoto) {
|
|
11
|
+
if (!media.photo) {
|
|
12
|
+
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
13
|
+
}
|
|
14
|
+
const photo = (0, _1_photo_js_1.constructPhoto)(media.photo[_2_tl_js_1.as](_2_tl_js_1.types.Photo));
|
|
15
|
+
return { photo };
|
|
16
|
+
}
|
|
17
|
+
else if (media instanceof _2_tl_js_1.types.MessageMediaDocument) {
|
|
18
|
+
const document = media.document;
|
|
19
|
+
if (!(document instanceof _2_tl_js_1.types.Document)) {
|
|
20
|
+
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
21
|
+
}
|
|
22
|
+
const video = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeVideo);
|
|
23
|
+
if (!video) {
|
|
24
|
+
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
25
|
+
}
|
|
26
|
+
const fileUniqueId = new _0__file_id_js_1.FileUniqueID(_0__file_id_js_1.FileUniqueType.Document, { mediaId: document.id }).encode();
|
|
27
|
+
const fileId = new _0__file_id_js_1.FileID(null, null, _0__file_id_js_1.FileType.Video, document.dc_id, {
|
|
28
|
+
mediaId: document.id,
|
|
29
|
+
accessHash: document.access_hash,
|
|
30
|
+
fileReference: document.file_reference,
|
|
31
|
+
}).encode();
|
|
32
|
+
const video_ = (0, _1_video_js_1.constructVideo)(document, video, undefined, fileId, fileUniqueId);
|
|
33
|
+
return { video: video_ };
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.constructStoryContent = constructStoryContent;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { types } from "../2_tl.js";
|
|
2
|
+
import { StoryReaction } from "./1_story_reaction.js";
|
|
3
|
+
/** The interactions made with a story. */
|
|
4
|
+
export interface StoryInteractions {
|
|
5
|
+
reactions?: StoryReaction[];
|
|
6
|
+
reactionCount?: number;
|
|
7
|
+
views: number;
|
|
8
|
+
forwards: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function constructStoryInteractions(views_: types.StoryViews): StoryInteractions;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.constructStoryInteractions = void 0;
|
|
4
|
+
const _1_story_reaction_js_1 = require("./1_story_reaction.js");
|
|
5
|
+
function constructStoryInteractions(views_) {
|
|
6
|
+
const views = views_.views_count;
|
|
7
|
+
const forwards = views_.forwards_count ?? 0;
|
|
8
|
+
const reactionCount = views_.reactions_count;
|
|
9
|
+
const reactions = views_.reactions ? views_.reactions.map(_1_story_reaction_js_1.constructStoryReaction) : undefined;
|
|
10
|
+
return { reactions, reactionCount, views, forwards };
|
|
11
|
+
}
|
|
12
|
+
exports.constructStoryInteractions = constructStoryInteractions;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { types } from "../2_tl.js";
|
|
2
|
+
import { MessageEntity } from "./0_message_entity.js";
|
|
3
|
+
import { EntityGetter } from "./1__getters.js";
|
|
4
|
+
import { ChatP } from "./1_chat_p.js";
|
|
5
|
+
import { StoryInteractiveArea } from "./1_story_interactive_area.js";
|
|
6
|
+
import { StoryPrivacy } from "./1_story_privacy.js";
|
|
7
|
+
import { StoryContent } from "./2_story_content.js";
|
|
8
|
+
import { StoryInteractions } from "./2_story_interactions.js";
|
|
9
|
+
/** A story. */
|
|
10
|
+
export interface Story {
|
|
11
|
+
out: boolean;
|
|
12
|
+
id: number;
|
|
13
|
+
chat: ChatP;
|
|
14
|
+
date: Date;
|
|
15
|
+
edited: boolean;
|
|
16
|
+
content: StoryContent;
|
|
17
|
+
interactiveAreas: StoryInteractiveArea[];
|
|
18
|
+
highlighted: boolean;
|
|
19
|
+
interactions?: StoryInteractions;
|
|
20
|
+
privacy?: StoryPrivacy;
|
|
21
|
+
caption?: string;
|
|
22
|
+
captionEntities?: MessageEntity[];
|
|
23
|
+
}
|
|
24
|
+
export declare function constructStory(story: types.StoryItem, peer: types.PeerUser | types.PeerChat | types.PeerChannel, getEntity: EntityGetter): Promise<Story>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.constructStory = void 0;
|
|
4
|
+
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
5
|
+
const _0_message_entity_js_1 = require("./0_message_entity.js");
|
|
6
|
+
const _1_chat_p_js_1 = require("./1_chat_p.js");
|
|
7
|
+
const _1_story_interactive_area_js_1 = require("./1_story_interactive_area.js");
|
|
8
|
+
const _1_story_privacy_js_1 = require("./1_story_privacy.js");
|
|
9
|
+
const _2_story_content_js_1 = require("./2_story_content.js");
|
|
10
|
+
const _2_story_interactions_js_1 = require("./2_story_interactions.js");
|
|
11
|
+
async function constructStory(story, peer, getEntity) {
|
|
12
|
+
const id = story.id;
|
|
13
|
+
const entity = await getEntity(peer);
|
|
14
|
+
if (!entity) {
|
|
15
|
+
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
16
|
+
}
|
|
17
|
+
const chat = (0, _1_chat_p_js_1.constructChatP)(entity);
|
|
18
|
+
const date = (0, _1_utilities_js_1.fromUnixTimestamp)(story.date);
|
|
19
|
+
const interactiveAreas = (story.media_areas ?? []).map(_1_story_interactive_area_js_1.constructStoryInteractiveArea);
|
|
20
|
+
const highlighted = story.pinned ? true : false;
|
|
21
|
+
const content = (0, _2_story_content_js_1.constructStoryContent)(story.media);
|
|
22
|
+
const caption = story.caption;
|
|
23
|
+
const captionEntities = story.entities?.map(_0_message_entity_js_1.constructMessageEntity).filter((v) => !!v);
|
|
24
|
+
const privacy = story.privacy ? (0, _1_story_privacy_js_1.constructStoryPrivacy)(story.privacy) : undefined;
|
|
25
|
+
const interactions = story.views ? (0, _2_story_interactions_js_1.constructStoryInteractions)(story.views) : undefined;
|
|
26
|
+
return (0, _1_utilities_js_1.cleanObject)({
|
|
27
|
+
out: story.out ? true : false,
|
|
28
|
+
id,
|
|
29
|
+
chat,
|
|
30
|
+
date,
|
|
31
|
+
content,
|
|
32
|
+
edited: story.edited ? true : false,
|
|
33
|
+
interactiveAreas,
|
|
34
|
+
highlighted,
|
|
35
|
+
interactions,
|
|
36
|
+
privacy,
|
|
37
|
+
caption,
|
|
38
|
+
captionEntities,
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
exports.constructStory = constructStory;
|
|
@@ -227,17 +227,36 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
227
227
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
228
228
|
}
|
|
229
229
|
const [message, entities] = await parseText(result_.inputMessageContent.messageText, { entities: result_.inputMessageContent.entities, parseMode: result_.inputMessageContent.parseMode });
|
|
230
|
+
const noWebpage = result_.inputMessageContent?.linkPreview?.disable ? true : undefined;
|
|
231
|
+
const invertMedia = result_.inputMessageContent?.linkPreview?.aboveText ? true : undefined;
|
|
232
|
+
let sendMessage;
|
|
233
|
+
if (result_.inputMessageContent.linkPreview?.url) {
|
|
234
|
+
sendMessage = new _2_tl_js_1.types.InputBotInlineMessageMediaWebPage({
|
|
235
|
+
url: result_.inputMessageContent.linkPreview.url,
|
|
236
|
+
force_large_media: result_.inputMessageContent.linkPreview.largeMedia ? true : undefined,
|
|
237
|
+
force_small_media: result_.inputMessageContent.linkPreview.smallMedia ? true : undefined,
|
|
238
|
+
optional: message.length ? undefined : true,
|
|
239
|
+
message,
|
|
240
|
+
entities,
|
|
241
|
+
invert_media: invertMedia,
|
|
242
|
+
reply_markup: replyMarkup,
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
sendMessage = new _2_tl_js_1.types.InputBotInlineMessageText({
|
|
247
|
+
message,
|
|
248
|
+
entities,
|
|
249
|
+
no_webpage: noWebpage,
|
|
250
|
+
invert_media: invertMedia,
|
|
251
|
+
reply_markup: replyMarkup,
|
|
252
|
+
});
|
|
253
|
+
}
|
|
230
254
|
return new _2_tl_js_1.types.InputBotInlineResult({
|
|
231
255
|
id,
|
|
232
256
|
type,
|
|
233
257
|
title,
|
|
234
258
|
description,
|
|
235
|
-
send_message:
|
|
236
|
-
message,
|
|
237
|
-
entities,
|
|
238
|
-
no_webpage: result_.inputMessageContent.disableWebPagePreview ? true : undefined,
|
|
239
|
-
reply_markup: replyMarkup,
|
|
240
|
-
}),
|
|
259
|
+
send_message: sendMessage,
|
|
241
260
|
});
|
|
242
261
|
}
|
|
243
262
|
else if (result_.type == "venue") {
|
|
@@ -2,6 +2,7 @@ import { MaybePromise } from "../1_utilities.js";
|
|
|
2
2
|
import { enums } from "../2_tl.js";
|
|
3
3
|
import { Contact } from "./0_contact.js";
|
|
4
4
|
import { Dice } from "./0_dice.js";
|
|
5
|
+
import { LinkPreview } from "./0_link_preview.js";
|
|
5
6
|
import { Location } from "./0_location.js";
|
|
6
7
|
import { MessageEntity } from "./0_message_entity.js";
|
|
7
8
|
import { Venue } from "./0_venue.js";
|
|
@@ -102,6 +103,17 @@ export interface MessageText extends _MessageBase {
|
|
|
102
103
|
text: string;
|
|
103
104
|
/** Entities of the text. */
|
|
104
105
|
entities: MessageEntity[];
|
|
106
|
+
/** The message's link preview. */
|
|
107
|
+
linkPreview?: LinkPreview;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* A message with a link preview only.
|
|
111
|
+
* @unlisted
|
|
112
|
+
*/
|
|
113
|
+
export interface MessageLink extends _MessageBase {
|
|
114
|
+
linkPreview: LinkPreview & {
|
|
115
|
+
url: NonNullable<LinkPreview["url"]>;
|
|
116
|
+
};
|
|
105
117
|
}
|
|
106
118
|
/** @unlisted */
|
|
107
119
|
export interface MessagePhoto extends _MessageMediaBase {
|
|
@@ -405,6 +417,7 @@ export interface MessageUnsupported extends _MessageBase {
|
|
|
405
417
|
/** @unlisted */
|
|
406
418
|
export interface MessageTypes {
|
|
407
419
|
text: MessageText;
|
|
420
|
+
link: MessageLink;
|
|
408
421
|
photo: MessagePhoto;
|
|
409
422
|
document: MessageDocument;
|
|
410
423
|
video: MessageVideo;
|
|
@@ -445,11 +458,70 @@ export interface MessageTypes {
|
|
|
445
458
|
}
|
|
446
459
|
export declare function assertMessageType<T extends keyof MessageTypes>(message: Message, type: T): MessageTypes[T];
|
|
447
460
|
/** Any type of message. */
|
|
448
|
-
export type Message = MessageText | MessagePhoto | MessageDocument | MessageVideo | MessageSticker | MessageAnimation | MessageVoice | MessageAudio | MessageDice | MessageVideoNote | MessageContact | MessageGame | MessagePoll | MessageVenue | MessageLocation | MessageNewChatMembers | MessageLeftChatMember | MessageNewChatTitle | MessageNewChatPhoto | MessageDeletedChatPhoto | MessageGroupCreated | MessageSupergroupCreated | MessageChannelCreated | MessageAutoDeleteTimerChanged | MessageChatMigratedTo | MessageChatMigratedFrom | MessagePinnedMessage | MessageUserShared | MessageWriteAccessAllowed | MessageForumTopicCreated | MessageForumTopicEdited | MessageForumTopicClosed | MessageForumTopicReopened | MessageVideoChatScheduled | MessageVideoChatStarted | MessageVideoChatEnded | MessageGiveaway | MessageUnsupported;
|
|
461
|
+
export type Message = MessageText | MessageLink | MessagePhoto | MessageDocument | MessageVideo | MessageSticker | MessageAnimation | MessageVoice | MessageAudio | MessageDice | MessageVideoNote | MessageContact | MessageGame | MessagePoll | MessageVenue | MessageLocation | MessageNewChatMembers | MessageLeftChatMember | MessageNewChatTitle | MessageNewChatPhoto | MessageDeletedChatPhoto | MessageGroupCreated | MessageSupergroupCreated | MessageChannelCreated | MessageAutoDeleteTimerChanged | MessageChatMigratedTo | MessageChatMigratedFrom | MessagePinnedMessage | MessageUserShared | MessageWriteAccessAllowed | MessageForumTopicCreated | MessageForumTopicEdited | MessageForumTopicClosed | MessageForumTopicReopened | MessageVideoChatScheduled | MessageVideoChatStarted | MessageVideoChatEnded | MessageGiveaway | MessageUnsupported;
|
|
449
462
|
/** @unlisted */
|
|
450
463
|
export interface MessageGetter {
|
|
451
464
|
(chatId: number, messageId: number): MaybePromise<Message | null>;
|
|
452
465
|
}
|
|
453
466
|
type Message_MessageGetter = MessageGetter | null;
|
|
454
|
-
export declare function constructMessage(message_: enums.Message, getEntity: EntityGetter, getMessage: Message_MessageGetter, getStickerSetName: StickerSetNameGetter, getReply_?: boolean): Promise<
|
|
467
|
+
export declare function constructMessage(message_: enums.Message, getEntity: EntityGetter, getMessage: Message_MessageGetter, getStickerSetName: StickerSetNameGetter, getReply_?: boolean): Promise<MessageLink | MessagePhoto | MessageDocument | MessageVideo | MessageSticker | MessageAnimation | MessageVoice | MessageAudio | MessageDice | MessageVideoNote | MessageContact | MessageGame | MessagePoll | MessageVenue | MessageLocation | MessageNewChatMembers | MessageLeftChatMember | MessageNewChatTitle | MessageNewChatPhoto | MessageDeletedChatPhoto | MessageSupergroupCreated | MessageChannelCreated | MessageAutoDeleteTimerChanged | MessageChatMigratedTo | MessageChatMigratedFrom | MessagePinnedMessage | MessageUserShared | MessageWriteAccessAllowed | MessageForumTopicCreated | MessageForumTopicEdited | MessageForumTopicClosed | MessageForumTopicReopened | MessageVideoChatScheduled | MessageVideoChatStarted | MessageVideoChatEnded | MessageGiveaway | MessageUnsupported | {
|
|
468
|
+
text: string;
|
|
469
|
+
entities: NonNullable<MessageEntity | null>[];
|
|
470
|
+
/** Whether the message is outgoing (sent by the current user). */
|
|
471
|
+
out: boolean;
|
|
472
|
+
/** The identifier of the message. */
|
|
473
|
+
id: number;
|
|
474
|
+
/** The identifier of the message's thread. */
|
|
475
|
+
threadId?: number | undefined;
|
|
476
|
+
/** The user who sent the message. */
|
|
477
|
+
from?: User | undefined;
|
|
478
|
+
/** The chat which the message was sent on behalf of. */
|
|
479
|
+
senderChat?: ChatP | undefined;
|
|
480
|
+
/** The point of time in which the message was sent. */
|
|
481
|
+
date: Date;
|
|
482
|
+
/** The chat where the message was sent to. */
|
|
483
|
+
chat: ChatP;
|
|
484
|
+
/** A link to the message. */
|
|
485
|
+
link?: string | undefined;
|
|
486
|
+
/** The original sender of the message. */
|
|
487
|
+
forwardFrom?: User | undefined;
|
|
488
|
+
/** The original chat of the message. */
|
|
489
|
+
forwardFromChat?: ChatP | undefined;
|
|
490
|
+
/** The original identifier of the message. */
|
|
491
|
+
forwardId?: number | undefined;
|
|
492
|
+
/** The original signature of the message. */
|
|
493
|
+
forwardSignature?: string | undefined;
|
|
494
|
+
/** The name of the original sender of the message. */
|
|
495
|
+
forwardSenderName?: string | undefined;
|
|
496
|
+
/** The point of time in which the original message was sent. */
|
|
497
|
+
forwardDate?: Date | undefined;
|
|
498
|
+
/** Whether the message was sent in a topic thread. */
|
|
499
|
+
isTopicMessage: boolean;
|
|
500
|
+
/** Whether the message is an automatic forward. */
|
|
501
|
+
isAutomaticForward?: boolean | undefined;
|
|
502
|
+
/** The message that is being replied to. Not always available even if a message is being replied to. */
|
|
503
|
+
replyToMessage?: Message | undefined;
|
|
504
|
+
/** The identifier of the message that is being replied to. */
|
|
505
|
+
replyToMessageId?: number | undefined;
|
|
506
|
+
/** The reactions of the message. */
|
|
507
|
+
reactions?: MessageReaction[] | undefined;
|
|
508
|
+
/** The part of the message that is being replied to. */
|
|
509
|
+
replyQuote?: ReplyQuote | undefined;
|
|
510
|
+
/** The inline bot that was used to send this message. */
|
|
511
|
+
viaBot?: User | undefined;
|
|
512
|
+
/** The point of time in which the message's last edit was made. */
|
|
513
|
+
editDate?: Date | undefined;
|
|
514
|
+
/** Whether the contents of the message is protected. */
|
|
515
|
+
hasProtectedContent?: boolean | undefined;
|
|
516
|
+
/** The identifier of the message's media group. */
|
|
517
|
+
mediaGroupId?: string | undefined;
|
|
518
|
+
/** The signature of the message. */
|
|
519
|
+
authorSignature?: string | undefined;
|
|
520
|
+
/** The number of times the message was viewed. */
|
|
521
|
+
views?: number | undefined;
|
|
522
|
+
/** The number of times the message was forwarded. */
|
|
523
|
+
forwards?: number | undefined;
|
|
524
|
+
/** The message's reply markup. */
|
|
525
|
+
replyMarkup?: ReplyMarkup | undefined;
|
|
526
|
+
}>;
|
|
455
527
|
export {};
|
|
@@ -7,6 +7,7 @@ const _2_tl_js_1 = require("../2_tl.js");
|
|
|
7
7
|
const _0__file_id_js_1 = require("./0__file_id.js");
|
|
8
8
|
const _0_contact_js_1 = require("./0_contact.js");
|
|
9
9
|
const _0_dice_js_1 = require("./0_dice.js");
|
|
10
|
+
const _0_link_preview_js_1 = require("./0_link_preview.js");
|
|
10
11
|
const _0_location_js_1 = require("./0_location.js");
|
|
11
12
|
const _0_message_entity_js_1 = require("./0_message_entity.js");
|
|
12
13
|
const _0_venue_js_1 = require("./0_venue.js");
|
|
@@ -29,6 +30,7 @@ const _3_reply_markup_js_1 = require("./3_reply_markup.js");
|
|
|
29
30
|
const d = (0, _0_deps_js_1.debug)("types/Message");
|
|
30
31
|
const keys = {
|
|
31
32
|
text: ["text"],
|
|
33
|
+
link: ["linkPreview"],
|
|
32
34
|
photo: ["photo"],
|
|
33
35
|
document: ["document"],
|
|
34
36
|
video: ["video"],
|
|
@@ -361,12 +363,13 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
|
|
|
361
363
|
if (message_.edit_date != undefined) {
|
|
362
364
|
message.editDate = (0, _1_utilities_js_1.fromUnixTimestamp)(message_.edit_date);
|
|
363
365
|
}
|
|
366
|
+
const messageText = {
|
|
367
|
+
...message,
|
|
368
|
+
text: message_.message,
|
|
369
|
+
entities: message_.entities?.map(_0_message_entity_js_1.constructMessageEntity).filter((v) => !!v) ?? [],
|
|
370
|
+
};
|
|
364
371
|
if (message_.message && message_.media === undefined) {
|
|
365
|
-
return
|
|
366
|
-
...message,
|
|
367
|
-
text: message_.message,
|
|
368
|
-
entities: message_.entities?.map(_0_message_entity_js_1.constructMessageEntity).filter((v) => !!v) ?? [],
|
|
369
|
-
};
|
|
372
|
+
return messageText;
|
|
370
373
|
}
|
|
371
374
|
const messageMedia = {
|
|
372
375
|
...message,
|
|
@@ -461,7 +464,13 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
|
|
|
461
464
|
m = { ...message, location };
|
|
462
465
|
}
|
|
463
466
|
else if (message_.media instanceof _2_tl_js_1.types.MessageMediaWebPage) {
|
|
464
|
-
|
|
467
|
+
const linkPreview = (0, _0_link_preview_js_1.constructLinkPreview)(message_.media, message_.invert_media);
|
|
468
|
+
if (message_.message) {
|
|
469
|
+
m = { ...messageText, linkPreview };
|
|
470
|
+
}
|
|
471
|
+
else {
|
|
472
|
+
m = { ...message, linkPreview: { ...linkPreview, url: linkPreview.url ? linkPreview.url : (0, _1_utilities_js_1.UNREACHABLE)() } };
|
|
473
|
+
}
|
|
465
474
|
}
|
|
466
475
|
else if (message_.media instanceof _2_tl_js_1.types.MessageMediaGiveaway) {
|
|
467
476
|
const giveaway = (0, _1_giveaway_js_1.constructGiveaway)(message_.media);
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { AuthorizationState } from "./0_authorization_state.js";
|
|
2
2
|
import { ConnectionState } from "./0_connection_state.js";
|
|
3
3
|
import { MessageReference } from "./0_message_reference.js";
|
|
4
|
+
import { StoryReference } from "./0_story_reference.js";
|
|
4
5
|
import { ChosenInlineResult } from "./2_chosen_inline_result.js";
|
|
5
6
|
import { InlineQuery } from "./2_inline_query.js";
|
|
6
7
|
import { MessageInteractions } from "./2_message_interactions.js";
|
|
7
8
|
import { MessageReactionCount } from "./2_message_reaction_count.js";
|
|
8
9
|
import { MessageReactions } from "./2_message_reactions.js";
|
|
9
10
|
import { ChatMemberUpdated } from "./3_chat_member_updated.js";
|
|
11
|
+
import { Story } from "./3_story.js";
|
|
10
12
|
import { Message } from "./4_message.js";
|
|
11
13
|
import { CallbackQuery } from "./5_callback_query.js";
|
|
12
14
|
import { Chat } from "./5_chat.js";
|
|
@@ -198,6 +200,20 @@ export interface UpdateChatMember {
|
|
|
198
200
|
export interface UpdateMyChatMember {
|
|
199
201
|
myChatMember: ChatMemberUpdated;
|
|
200
202
|
}
|
|
203
|
+
/**
|
|
204
|
+
* A story was deleted.
|
|
205
|
+
* @unlisted
|
|
206
|
+
*/
|
|
207
|
+
export interface UpdateDeletedStory {
|
|
208
|
+
deletedStory: StoryReference;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* A story was posted.
|
|
212
|
+
* @unlisted
|
|
213
|
+
*/
|
|
214
|
+
export interface UpdateNewStory {
|
|
215
|
+
story: Story;
|
|
216
|
+
}
|
|
201
217
|
/** @unlisted */
|
|
202
218
|
export interface UpdateMap {
|
|
203
219
|
message: UpdateNewMessage;
|
|
@@ -216,8 +232,10 @@ export interface UpdateMap {
|
|
|
216
232
|
messageReactions: UpdateMessageReactions;
|
|
217
233
|
chatMember: UpdateChatMember;
|
|
218
234
|
myChatMember: UpdateMyChatMember;
|
|
235
|
+
deletedStory: UpdateDeletedStory;
|
|
236
|
+
story: UpdateNewStory;
|
|
219
237
|
}
|
|
220
238
|
/** @unlisted */
|
|
221
|
-
export type UpdateIntersection<T> = T & Partial<UpdateConnectionState & UpdateAuthorizationState & UpdateNewMessage & UpdateEditedMessage & UpdateDeletedMessages & UpdateCallbackQuery & UpdateInlineQuery & UpdateChosenInlineResult & UpdateNewChat & UpdateEditedChat & UpdateDeletedChat & UpdateMessageInteractions & UpdateMessageReactionCount & UpdateMessageReactions & UpdateChatMember & UpdateMyChatMember>;
|
|
239
|
+
export type UpdateIntersection<T> = T & Partial<UpdateConnectionState & UpdateAuthorizationState & UpdateNewMessage & UpdateEditedMessage & UpdateDeletedMessages & UpdateCallbackQuery & UpdateInlineQuery & UpdateChosenInlineResult & UpdateNewChat & UpdateEditedChat & UpdateDeletedChat & UpdateMessageInteractions & UpdateMessageReactionCount & UpdateMessageReactions & UpdateChatMember & UpdateMyChatMember & UpdateDeletedStory & UpdateNewStory>;
|
|
222
240
|
/** An incoming update. */
|
|
223
|
-
export type Update = UpdateConnectionState | UpdateAuthorizationState | UpdateNewMessage | UpdateEditedMessage | UpdateDeletedMessages | UpdateCallbackQuery | UpdateInlineQuery | UpdateChosenInlineResult | UpdateNewChat | UpdateEditedChat | UpdateDeletedChat | UpdateMessageInteractions | UpdateMessageReactionCount | UpdateMessageReactions | UpdateChatMember | UpdateMyChatMember;
|
|
241
|
+
export type Update = UpdateConnectionState | UpdateAuthorizationState | UpdateNewMessage | UpdateEditedMessage | UpdateDeletedMessages | UpdateCallbackQuery | UpdateInlineQuery | UpdateChosenInlineResult | UpdateNewChat | UpdateEditedChat | UpdateDeletedChat | UpdateMessageInteractions | UpdateMessageReactionCount | UpdateMessageReactions | UpdateChatMember | UpdateMyChatMember | UpdateDeletedStory | UpdateNewStory;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR} from {@link https://deno.land/std/path/posix/constants.ts} instead.
|
|
3
|
-
*/
|
|
4
|
-
export declare const SEP = "/";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR_PATTERN} from {@link https://deno.land/std/path/posix/constants.ts} instead.
|
|
7
|
-
*/
|
|
8
|
-
export declare const SEP_PATTERN: RegExp;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
|
-
// This module is browser compatible.
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR} from {@link https://deno.land/std/path/posix/constants.ts} instead.
|
|
5
|
-
*/
|
|
6
|
-
export const SEP = "/";
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR_PATTERN} from {@link https://deno.land/std/path/posix/constants.ts} instead.
|
|
9
|
-
*/
|
|
10
|
-
export const SEP_PATTERN = /\/+/;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR} from {@link https://deno.land/std/path/constants.ts} instead.
|
|
3
|
-
*/
|
|
4
|
-
export declare const SEP: "/" | "\\";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR_PATTERN} from {@link https://deno.land/std/path/constants.ts} instead.
|
|
7
|
-
*/
|
|
8
|
-
export declare const SEP_PATTERN: RegExp;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
|
-
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "./_os.js";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR} from {@link https://deno.land/std/path/constants.ts} instead.
|
|
6
|
-
*/
|
|
7
|
-
export const SEP = isWindows ? "\\" : "/";
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR_PATTERN} from {@link https://deno.land/std/path/constants.ts} instead.
|
|
10
|
-
*/
|
|
11
|
-
export const SEP_PATTERN = isWindows ? /[\\/]+/ : /\/+/;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated (will be removed in 0.216.0) Use {@linkcode SEPARATOR} from {@link https://deno.land/std/path/windows/constants.ts} instead.
|
|
3
|
-
*/
|
|
4
|
-
export declare const SEP = "\\";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated (will be removed in 0.216.0) Use {@linkcode SEPARATOR_PATTERN} from {@link https://deno.land/std/path/windows/constants.ts} instead.
|
|
7
|
-
*/
|
|
8
|
-
export declare const SEP_PATTERN: RegExp;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
|
-
// This module is browser compatible.
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated (will be removed in 0.216.0) Use {@linkcode SEPARATOR} from {@link https://deno.land/std/path/windows/constants.ts} instead.
|
|
5
|
-
*/
|
|
6
|
-
export const SEP = "\\";
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated (will be removed in 0.216.0) Use {@linkcode SEPARATOR_PATTERN} from {@link https://deno.land/std/path/windows/constants.ts} instead.
|
|
9
|
-
*/
|
|
10
|
-
export const SEP_PATTERN = /[\\/]+/;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR} from {@link https://deno.land/std/path/posix/constants.ts} instead.
|
|
3
|
-
*/
|
|
4
|
-
export declare const SEP = "/";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR_PATTERN} from {@link https://deno.land/std/path/posix/constants.ts} instead.
|
|
7
|
-
*/
|
|
8
|
-
export declare const SEP_PATTERN: RegExp;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
-
// This module is browser compatible.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.SEP_PATTERN = exports.SEP = void 0;
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR} from {@link https://deno.land/std/path/posix/constants.ts} instead.
|
|
8
|
-
*/
|
|
9
|
-
exports.SEP = "/";
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR_PATTERN} from {@link https://deno.land/std/path/posix/constants.ts} instead.
|
|
12
|
-
*/
|
|
13
|
-
exports.SEP_PATTERN = /\/+/;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR} from {@link https://deno.land/std/path/constants.ts} instead.
|
|
3
|
-
*/
|
|
4
|
-
export declare const SEP: "/" | "\\";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR_PATTERN} from {@link https://deno.land/std/path/constants.ts} instead.
|
|
7
|
-
*/
|
|
8
|
-
export declare const SEP_PATTERN: RegExp;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
-
// This module is browser compatible.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.SEP_PATTERN = exports.SEP = void 0;
|
|
6
|
-
const _os_js_1 = require("./_os.js");
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR} from {@link https://deno.land/std/path/constants.ts} instead.
|
|
9
|
-
*/
|
|
10
|
-
exports.SEP = _os_js_1.isWindows ? "\\" : "/";
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR_PATTERN} from {@link https://deno.land/std/path/constants.ts} instead.
|
|
13
|
-
*/
|
|
14
|
-
exports.SEP_PATTERN = _os_js_1.isWindows ? /[\\/]+/ : /\/+/;
|