@planningcenter/chat-react-native 4.5.1-qa-1062.0 → 4.5.1-qa-staging.13
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/build/components/conversation/attachments/attachment_card.d.ts +9 -0
- package/build/components/conversation/attachments/attachment_card.d.ts.map +1 -0
- package/build/components/conversation/attachments/attachment_deleting_overlay.d.ts +2 -0
- package/build/components/conversation/attachments/attachment_deleting_overlay.d.ts.map +1 -0
- package/build/components/conversation/attachments/audio_attachment.d.ts +7 -0
- package/build/components/conversation/attachments/audio_attachment.d.ts.map +1 -0
- package/build/components/conversation/attachments/constants.d.ts +3 -0
- package/build/components/conversation/attachments/constants.d.ts.map +1 -0
- package/build/components/conversation/attachments/expanded_link.d.ts +6 -0
- package/build/components/conversation/attachments/expanded_link.d.ts.map +1 -0
- package/build/components/conversation/attachments/generic_file_attachment.d.ts +7 -0
- package/build/components/conversation/attachments/generic_file_attachment.d.ts.map +1 -0
- package/build/components/conversation/attachments/giphy_attachment.d.ts +6 -0
- package/build/components/conversation/attachments/giphy_attachment.d.ts.map +1 -0
- package/build/components/conversation/attachments/image_attachment.d.ts +14 -0
- package/build/components/conversation/attachments/image_attachment.d.ts.map +1 -0
- package/build/components/conversation/attachments/video_attachment.d.ts +7 -0
- package/build/components/conversation/attachments/video_attachment.d.ts.map +1 -0
- package/build/components/conversation/conversation_start_banner.d.ts +9 -0
- package/build/components/conversation/conversation_start_banner.d.ts.map +1 -0
- package/build/components/conversation/empty_conversation_blank_state.d.ts +2 -0
- package/build/components/conversation/empty_conversation_blank_state.d.ts.map +1 -0
- package/build/components/conversation/jump_to_bottom_button.d.ts +7 -0
- package/build/components/conversation/jump_to_bottom_button.d.ts.map +1 -0
- package/build/components/conversation/message.d.ts +17 -0
- package/build/components/conversation/message.d.ts.map +1 -0
- package/build/components/conversation/message_attachments.d.ts +9 -0
- package/build/components/conversation/message_attachments.d.ts.map +1 -0
- package/build/components/conversation/message_form/message_form_attachment_file.d.ts +10 -0
- package/build/components/conversation/message_form/message_form_attachment_file.d.ts.map +1 -0
- package/build/components/conversation/message_form/message_form_attachment_image.d.ts +12 -0
- package/build/components/conversation/message_form/message_form_attachment_image.d.ts.map +1 -0
- package/build/components/conversation/message_form/message_form_attachment_video.d.ts +9 -0
- package/build/components/conversation/message_form/message_form_attachment_video.d.ts.map +1 -0
- package/build/components/conversation/message_form.d.ts +24 -0
- package/build/components/conversation/message_form.d.ts.map +1 -0
- package/build/components/conversation/message_list.d.ts +24 -0
- package/build/components/conversation/message_list.d.ts.map +1 -0
- package/build/components/conversation/message_list.js +155 -123
- package/build/components/conversation/message_list.js.map +1 -1
- package/build/components/conversation/message_markdown.d.ts +6 -0
- package/build/components/conversation/message_markdown.d.ts.map +1 -0
- package/build/components/conversation/message_reaction.d.ts +34 -0
- package/build/components/conversation/message_reaction.d.ts.map +1 -0
- package/build/components/conversation/message_read_receipts.d.ts +6 -0
- package/build/components/conversation/message_read_receipts.d.ts.map +1 -0
- package/build/components/conversation/messages_disabled_banners.d.ts +14 -0
- package/build/components/conversation/messages_disabled_banners.d.ts.map +1 -0
- package/build/components/conversation/missing_message.d.ts +2 -0
- package/build/components/conversation/missing_message.d.ts.map +1 -0
- package/build/components/conversation/reply_connectors.d.ts +10 -0
- package/build/components/conversation/reply_connectors.d.ts.map +1 -0
- package/build/components/conversation/reply_shadow_message.d.ts +12 -0
- package/build/components/conversation/reply_shadow_message.d.ts.map +1 -0
- package/build/components/conversation/system_message.d.ts +9 -0
- package/build/components/conversation/system_message.d.ts.map +1 -0
- package/build/components/conversation/typing_indicator.d.ts +6 -0
- package/build/components/conversation/typing_indicator.d.ts.map +1 -0
- package/build/components/conversations/archived_results_footer.d.ts +6 -0
- package/build/components/conversations/archived_results_footer.d.ts.map +1 -0
- package/build/components/conversations/conversation_actions.d.ts +11 -0
- package/build/components/conversations/conversation_actions.d.ts.map +1 -0
- package/build/components/conversations/conversation_preview.d.ts +12 -0
- package/build/components/conversations/conversation_preview.d.ts.map +1 -0
- package/build/components/conversations/conversations.d.ts +7 -0
- package/build/components/conversations/conversations.d.ts.map +1 -0
- package/build/components/conversations/conversations.js +1 -0
- package/build/components/conversations/conversations.js.map +1 -1
- package/build/components/conversations/conversations_blank_state.d.ts +7 -0
- package/build/components/conversations/conversations_blank_state.d.ts.map +1 -0
- package/build/components/conversations/filtered_results_footer.d.ts +2 -0
- package/build/components/conversations/filtered_results_footer.d.ts.map +1 -0
- package/build/components/conversations/mute_indicator.d.ts +4 -0
- package/build/components/conversations/mute_indicator.d.ts.map +1 -0
- package/build/components/conversations/swipeable_toggle_button.d.ts +20 -0
- package/build/components/conversations/swipeable_toggle_button.d.ts.map +1 -0
- package/build/components/conversations/unread_count_badge.d.ts +6 -0
- package/build/components/conversations/unread_count_badge.d.ts.map +1 -0
- package/build/components/display/action_button.d.ts +15 -0
- package/build/components/display/action_button.d.ts.map +1 -0
- package/build/components/display/adult_requirement_notice.d.ts +7 -0
- package/build/components/display/adult_requirement_notice.d.ts.map +1 -0
- package/build/components/display/avatar.d.ts +15 -0
- package/build/components/display/avatar.d.ts.map +1 -0
- package/build/components/display/avatar_group.d.ts +14 -0
- package/build/components/display/avatar_group.d.ts.map +1 -0
- package/build/components/display/badge.d.ts +55 -0
- package/build/components/display/badge.d.ts.map +1 -0
- package/build/components/display/banner.d.ts +38 -0
- package/build/components/display/banner.d.ts.map +1 -0
- package/build/components/display/banner_collapsible.d.ts +11 -0
- package/build/components/display/banner_collapsible.d.ts.map +1 -0
- package/build/components/display/button.d.ts +67 -0
- package/build/components/display/button.d.ts.map +1 -0
- package/build/components/display/child_notice.d.ts +10 -0
- package/build/components/display/child_notice.d.ts.map +1 -0
- package/build/components/display/conversation_avatar.d.ts +17 -0
- package/build/components/display/conversation_avatar.d.ts.map +1 -0
- package/build/components/display/conversation_avatar.js +77 -66
- package/build/components/display/conversation_avatar.js.map +1 -1
- package/build/components/display/emoji_avatar.d.ts +11 -0
- package/build/components/display/emoji_avatar.d.ts.map +1 -0
- package/build/components/display/file_attachment_preview.d.ts +11 -0
- package/build/components/display/file_attachment_preview.d.ts.map +1 -0
- package/build/components/display/filter_dropdown.d.ts +36 -0
- package/build/components/display/filter_dropdown.d.ts.map +1 -0
- package/build/components/display/heading.d.ts +10 -0
- package/build/components/display/heading.d.ts.map +1 -0
- package/build/components/display/icon.d.ts +64 -0
- package/build/components/display/icon.d.ts.map +1 -0
- package/build/components/display/icon_avatar.d.ts +11 -0
- package/build/components/display/icon_avatar.d.ts.map +1 -0
- package/build/components/display/icon_button.d.ts +56 -0
- package/build/components/display/icon_button.d.ts.map +1 -0
- package/build/components/display/icon_tile.d.ts +13 -0
- package/build/components/display/icon_tile.d.ts.map +1 -0
- package/build/components/display/image.d.ts +39 -0
- package/build/components/display/image.d.ts.map +1 -0
- package/build/components/display/image.js +47 -44
- package/build/components/display/image.js.map +1 -1
- package/build/components/display/image_attachment_preview.d.ts +13 -0
- package/build/components/display/image_attachment_preview.d.ts.map +1 -0
- package/build/components/display/index.d.ts +34 -0
- package/build/components/display/index.d.ts.map +1 -0
- package/build/components/display/keyboard_scroll_view.d.ts +5 -0
- package/build/components/display/keyboard_scroll_view.d.ts.map +1 -0
- package/build/components/display/keyboard_scroll_view.js +1 -0
- package/build/components/display/keyboard_scroll_view.js.map +1 -1
- package/build/components/display/keyboard_view.d.ts +5 -0
- package/build/components/display/keyboard_view.d.ts.map +1 -0
- package/build/components/display/person.d.ts +9 -0
- package/build/components/display/person.d.ts.map +1 -0
- package/build/components/display/platform_modal_header_buttons.d.ts +61 -0
- package/build/components/display/platform_modal_header_buttons.d.ts.map +1 -0
- package/build/components/display/popover_menu_view.d.ts +8 -0
- package/build/components/display/popover_menu_view.d.ts.map +1 -0
- package/build/components/display/pressable_row.d.ts +14 -0
- package/build/components/display/pressable_row.d.ts.map +1 -0
- package/build/components/display/spinner.d.ts +22 -0
- package/build/components/display/spinner.d.ts.map +1 -0
- package/build/components/display/switch.d.ts +3 -0
- package/build/components/display/switch.d.ts.map +1 -0
- package/build/components/display/tabs.d.ts +17 -0
- package/build/components/display/tabs.d.ts.map +1 -0
- package/build/components/display/text.d.ts +25 -0
- package/build/components/display/text.d.ts.map +1 -0
- package/build/components/display/text_button.d.ts +39 -0
- package/build/components/display/text_button.d.ts.map +1 -0
- package/build/components/display/text_inline_button.d.ts +11 -0
- package/build/components/display/text_inline_button.d.ts.map +1 -0
- package/build/components/display/text_input.d.ts +8 -0
- package/build/components/display/text_input.d.ts.map +1 -0
- package/build/components/display/toggle_button.d.ts +55 -0
- package/build/components/display/toggle_button.d.ts.map +1 -0
- package/build/components/display/utils/avatar_gradient_colors.d.ts +17 -0
- package/build/components/display/utils/avatar_gradient_colors.d.ts.map +1 -0
- package/build/components/display/utils/button_colors.d.ts +39 -0
- package/build/components/display/utils/button_colors.d.ts.map +1 -0
- package/build/components/display/utils/status_colors.d.ts +17 -0
- package/build/components/display/utils/status_colors.d.ts.map +1 -0
- package/build/components/display/version_footer.d.ts +2 -0
- package/build/components/display/version_footer.d.ts.map +1 -0
- package/build/components/display/video_attachment_preview.d.ts +11 -0
- package/build/components/display/video_attachment_preview.d.ts.map +1 -0
- package/build/components/group_conversation_list.d.ts +23 -0
- package/build/components/group_conversation_list.d.ts.map +1 -0
- package/build/components/index.d.ts +7 -0
- package/build/components/index.d.ts.map +1 -0
- package/build/components/page/component_error_boundary.d.ts +4 -0
- package/build/components/page/component_error_boundary.d.ts.map +1 -0
- package/build/components/page/error_boundary.d.ts +20 -0
- package/build/components/page/error_boundary.d.ts.map +1 -0
- package/build/components/page/loading.d.ts +2 -0
- package/build/components/page/loading.d.ts.map +1 -0
- package/build/components/page/page_error_boundary.d.ts +12 -0
- package/build/components/page/page_error_boundary.d.ts.map +1 -0
- package/build/components/page/page_error_boundary.js +56 -31
- package/build/components/page/page_error_boundary.js.map +1 -1
- package/build/components/primitive/avatar_primitive.d.ts +51 -0
- package/build/components/primitive/avatar_primitive.d.ts.map +1 -0
- package/build/components/primitive/banner_primitive.d.ts +48 -0
- package/build/components/primitive/banner_primitive.d.ts.map +1 -0
- package/build/components/primitive/blank_state_primitive.d.ts +41 -0
- package/build/components/primitive/blank_state_primitive.d.ts.map +1 -0
- package/build/components/primitive/form_sheet.d.ts +75 -0
- package/build/components/primitive/form_sheet.d.ts.map +1 -0
- package/build/components/safe_area_modal.d.ts +7 -0
- package/build/components/safe_area_modal.d.ts.map +1 -0
- package/build/contexts/api_provider.d.ts +7 -0
- package/build/contexts/api_provider.d.ts.map +1 -0
- package/build/contexts/api_provider.js +11 -5
- package/build/contexts/api_provider.js.map +1 -1
- package/build/contexts/chat_context.d.ts +37 -0
- package/build/contexts/chat_context.d.ts.map +1 -0
- package/build/contexts/conversation_context.d.ts +13 -0
- package/build/contexts/conversation_context.d.ts.map +1 -0
- package/build/contexts/conversations_context.d.ts +16 -0
- package/build/contexts/conversations_context.d.ts.map +1 -0
- package/build/contexts/session_context.d.ts +44 -0
- package/build/contexts/session_context.d.ts.map +1 -0
- package/build/hooks/attachments/fallback_chat_configuration.d.ts +5 -0
- package/build/hooks/attachments/fallback_chat_configuration.d.ts.map +1 -0
- package/build/hooks/direct_messages/find_direct_message_conversation.d.ts +14 -0
- package/build/hooks/direct_messages/find_direct_message_conversation.d.ts.map +1 -0
- package/build/hooks/direct_messages/resolve_message_available_members_link.d.ts +16 -0
- package/build/hooks/direct_messages/resolve_message_available_members_link.d.ts.map +1 -0
- package/build/hooks/direct_messages/use_direct_message_affiliations.d.ts +6 -0
- package/build/hooks/direct_messages/use_direct_message_affiliations.d.ts.map +1 -0
- package/build/hooks/direct_messages/use_direct_message_candidates.d.ts +4 -0
- package/build/hooks/direct_messages/use_direct_message_candidates.d.ts.map +1 -0
- package/build/hooks/direct_messages/use_direct_message_conversation_validate.d.ts +11 -0
- package/build/hooks/direct_messages/use_direct_message_conversation_validate.d.ts.map +1 -0
- package/build/hooks/direct_messages/use_find_or_create_direct_message_conversation.d.ts +13 -0
- package/build/hooks/direct_messages/use_find_or_create_direct_message_conversation.d.ts.map +1 -0
- package/build/hooks/direct_messages/use_message_available_members.d.ts +6 -0
- package/build/hooks/direct_messages/use_message_available_members.d.ts.map +1 -0
- package/build/hooks/direct_messages/use_message_available_members_action.d.ts +6 -0
- package/build/hooks/direct_messages/use_message_available_members_action.d.ts.map +1 -0
- package/build/hooks/groups/use_group_chat_conversation_payload.d.ts +168 -0
- package/build/hooks/groups/use_group_chat_conversation_payload.d.ts.map +1 -0
- package/build/hooks/groups/use_group_members_for_new_conversation.d.ts +232 -0
- package/build/hooks/groups/use_group_members_for_new_conversation.d.ts.map +1 -0
- package/build/hooks/groups/use_groups_conversation_create.d.ts +10 -0
- package/build/hooks/groups/use_groups_conversation_create.d.ts.map +1 -0
- package/build/hooks/index.d.ts +34 -0
- package/build/hooks/index.d.ts.map +1 -0
- package/build/hooks/index.js +1 -0
- package/build/hooks/index.js.map +1 -1
- package/build/hooks/paginator_meta.d.ts +4 -0
- package/build/hooks/paginator_meta.d.ts.map +1 -0
- package/build/hooks/services/use_find_or_create_services_conversation.d.ts +138 -0
- package/build/hooks/services/use_find_or_create_services_conversation.d.ts.map +1 -0
- package/build/hooks/services/use_services_chat_conversation_payload.d.ts +164 -0
- package/build/hooks/services/use_services_chat_conversation_payload.d.ts.map +1 -0
- package/build/hooks/services/use_services_team.d.ts +4 -0
- package/build/hooks/services/use_services_team.d.ts.map +1 -0
- package/build/hooks/services/use_team_members_for_new_conversation.d.ts +176 -0
- package/build/hooks/services/use_team_members_for_new_conversation.d.ts.map +1 -0
- package/build/hooks/services/use_team_plans.d.ts +17 -0
- package/build/hooks/services/use_team_plans.d.ts.map +1 -0
- package/build/hooks/use_animated_message_background_color.d.ts +9 -0
- package/build/hooks/use_animated_message_background_color.d.ts.map +1 -0
- package/build/hooks/use_api.d.ts +391 -0
- package/build/hooks/use_api.d.ts.map +1 -0
- package/build/hooks/use_api_client.d.ts +7 -0
- package/build/hooks/use_api_client.d.ts.map +1 -0
- package/build/hooks/use_app_name.d.ts +3 -0
- package/build/hooks/use_app_name.d.ts.map +1 -0
- package/build/hooks/use_app_state.d.ts +2 -0
- package/build/hooks/use_app_state.d.ts.map +1 -0
- package/build/hooks/use_async_storage.d.ts +4 -0
- package/build/hooks/use_async_storage.d.ts.map +1 -0
- package/build/hooks/use_at_font_scale_breakpoint.d.ts +2 -0
- package/build/hooks/use_at_font_scale_breakpoint.d.ts.map +1 -0
- package/build/hooks/use_attachment_uploader.d.ts +22 -0
- package/build/hooks/use_attachment_uploader.d.ts.map +1 -0
- package/build/hooks/use_broadcast_typing_status.d.ts +9 -0
- package/build/hooks/use_broadcast_typing_status.d.ts.map +1 -0
- package/build/hooks/use_can_browse_archived_conversations.d.ts +2 -0
- package/build/hooks/use_can_browse_archived_conversations.d.ts.map +1 -0
- package/build/hooks/use_chat_configuration.d.ts +7 -0
- package/build/hooks/use_chat_configuration.d.ts.map +1 -0
- package/build/hooks/use_chat_permissions.d.ts +190 -0
- package/build/hooks/use_chat_permissions.d.ts.map +1 -0
- package/build/hooks/use_clear_conversation_filters.d.ts +2 -0
- package/build/hooks/use_clear_conversation_filters.d.ts.map +1 -0
- package/build/hooks/use_conversation.d.ts +275 -0
- package/build/hooks/use_conversation.d.ts.map +1 -0
- package/build/hooks/use_conversation_avatar_update.d.ts +27 -0
- package/build/hooks/use_conversation_avatar_update.d.ts.map +1 -0
- package/build/hooks/use_conversation_avatar_update.js +146 -48
- package/build/hooks/use_conversation_avatar_update.js.map +1 -1
- package/build/hooks/use_conversation_jolt_events.d.ts +6 -0
- package/build/hooks/use_conversation_jolt_events.d.ts.map +1 -0
- package/build/hooks/use_conversation_membership.d.ts +5 -0
- package/build/hooks/use_conversation_membership.d.ts.map +1 -0
- package/build/hooks/use_conversation_message.d.ts +12 -0
- package/build/hooks/use_conversation_message.d.ts.map +1 -0
- package/build/hooks/use_conversation_messages.d.ts +23 -0
- package/build/hooks/use_conversation_messages.d.ts.map +1 -0
- package/build/hooks/use_conversation_messages_jolt_events.d.ts +6 -0
- package/build/hooks/use_conversation_messages_jolt_events.d.ts.map +1 -0
- package/build/hooks/use_conversation_validate.d.ts +12 -0
- package/build/hooks/use_conversation_validate.d.ts.map +1 -0
- package/build/hooks/use_conversations.d.ts +12 -0
- package/build/hooks/use_conversations.d.ts.map +1 -0
- package/build/hooks/use_conversations_actions.d.ts +221 -0
- package/build/hooks/use_conversations_actions.d.ts.map +1 -0
- package/build/hooks/use_conversations_cache.d.ts +20 -0
- package/build/hooks/use_conversations_cache.d.ts.map +1 -0
- package/build/hooks/use_conversations_jolt_events.d.ts +2 -0
- package/build/hooks/use_conversations_jolt_events.d.ts.map +1 -0
- package/build/hooks/use_create_android_ripple_color.d.ts +4 -0
- package/build/hooks/use_create_android_ripple_color.d.ts.map +1 -0
- package/build/hooks/use_current_person.d.ts +18 -0
- package/build/hooks/use_current_person.d.ts.map +1 -0
- package/build/hooks/use_debounced_search_term.d.ts +2 -0
- package/build/hooks/use_debounced_search_term.d.ts.map +1 -0
- package/build/hooks/use_deleting_ids.d.ts +4 -0
- package/build/hooks/use_deleting_ids.d.ts.map +1 -0
- package/build/hooks/use_direct_message_eligibility.d.ts +14 -0
- package/build/hooks/use_direct_message_eligibility.d.ts.map +1 -0
- package/build/hooks/use_direct_messages_eligible.d.ts +2 -0
- package/build/hooks/use_direct_messages_eligible.d.ts.map +1 -0
- package/build/hooks/use_enrich_people.d.ts +13 -0
- package/build/hooks/use_enrich_people.d.ts.map +1 -0
- package/build/hooks/use_features.d.ts +38 -0
- package/build/hooks/use_features.d.ts.map +1 -0
- package/build/hooks/use_filter_dropdown_enabled.d.ts +2 -0
- package/build/hooks/use_filter_dropdown_enabled.d.ts.map +1 -0
- package/build/hooks/use_font_scale.d.ts +5 -0
- package/build/hooks/use_font_scale.d.ts.map +1 -0
- package/build/hooks/use_giphy.d.ts +9 -0
- package/build/hooks/use_giphy.d.ts.map +1 -0
- package/build/hooks/use_groups.d.ts +214 -0
- package/build/hooks/use_groups.d.ts.map +1 -0
- package/build/hooks/use_groups_groups.d.ts +208 -0
- package/build/hooks/use_groups_groups.d.ts.map +1 -0
- package/build/hooks/use_has_direct_messages.d.ts +2 -0
- package/build/hooks/use_has_direct_messages.d.ts.map +1 -0
- package/build/hooks/use_interaction_tinted_background_color.d.ts +2 -0
- package/build/hooks/use_interaction_tinted_background_color.d.ts.map +1 -0
- package/build/hooks/use_jolt.d.ts +11 -0
- package/build/hooks/use_jolt.d.ts.map +1 -0
- package/build/hooks/use_live_relative_time.d.ts +3 -0
- package/build/hooks/use_live_relative_time.d.ts.map +1 -0
- package/build/hooks/use_manual_archiving_enabled.d.ts +2 -0
- package/build/hooks/use_manual_archiving_enabled.d.ts.map +1 -0
- package/build/hooks/use_mark_latest_message_read.d.ts +9 -0
- package/build/hooks/use_mark_latest_message_read.d.ts.map +1 -0
- package/build/hooks/use_message_create_or_update.d.ts +110 -0
- package/build/hooks/use_message_create_or_update.d.ts.map +1 -0
- package/build/hooks/use_message_draft.d.ts +13 -0
- package/build/hooks/use_message_draft.d.ts.map +1 -0
- package/build/hooks/use_message_reaction_toggle.d.ts +21 -0
- package/build/hooks/use_message_reaction_toggle.d.ts.map +1 -0
- package/build/hooks/use_my_gender.d.ts +7 -0
- package/build/hooks/use_my_gender.d.ts.map +1 -0
- package/build/hooks/use_new_conversation_entry.d.ts +8 -0
- package/build/hooks/use_new_conversation_entry.d.ts.map +1 -0
- package/build/hooks/use_new_conversation_from_filter.d.ts +12 -0
- package/build/hooks/use_new_conversation_from_filter.d.ts.map +1 -0
- package/build/hooks/use_organization.d.ts +39 -0
- package/build/hooks/use_organization.d.ts.map +1 -0
- package/build/hooks/use_people_person.d.ts +18 -0
- package/build/hooks/use_people_person.d.ts.map +1 -0
- package/build/hooks/use_person_settings.d.ts +6 -0
- package/build/hooks/use_person_settings.d.ts.map +1 -0
- package/build/hooks/use_preview_avatar_diameter.d.ts +2 -0
- package/build/hooks/use_preview_avatar_diameter.d.ts.map +1 -0
- package/build/hooks/use_product_analytics.d.ts +24 -0
- package/build/hooks/use_product_analytics.d.ts.map +1 -0
- package/build/hooks/use_qualified_by_age.d.ts +2 -0
- package/build/hooks/use_qualified_by_age.d.ts.map +1 -0
- package/build/hooks/use_read_receipts.d.ts +40 -0
- package/build/hooks/use_read_receipts.d.ts.map +1 -0
- package/build/hooks/use_reduce_motion.d.ts +2 -0
- package/build/hooks/use_reduce_motion.d.ts.map +1 -0
- package/build/hooks/use_report_bug_action.d.ts +6 -0
- package/build/hooks/use_report_bug_action.d.ts.map +1 -0
- package/build/hooks/use_report_message.d.ts +6 -0
- package/build/hooks/use_report_message.d.ts.map +1 -0
- package/build/hooks/use_rest_away_from_dismiss_edge.d.ts +19 -0
- package/build/hooks/use_rest_away_from_dismiss_edge.d.ts.map +1 -0
- package/build/hooks/use_scalable_number_of_lines.d.ts +2 -0
- package/build/hooks/use_scalable_number_of_lines.d.ts.map +1 -0
- package/build/hooks/use_search_enabled.d.ts +2 -0
- package/build/hooks/use_search_enabled.d.ts.map +1 -0
- package/build/hooks/use_search_results.d.ts +19 -0
- package/build/hooks/use_search_results.d.ts.map +1 -0
- package/build/hooks/use_selected_chip_background_color.d.ts +2 -0
- package/build/hooks/use_selected_chip_background_color.d.ts.map +1 -0
- package/build/hooks/use_storage.d.ts +9 -0
- package/build/hooks/use_storage.d.ts.map +1 -0
- package/build/hooks/use_submit_age_check.d.ts +78 -0
- package/build/hooks/use_submit_age_check.d.ts.map +1 -0
- package/build/hooks/use_suspense_api.d.ts +86 -0
- package/build/hooks/use_suspense_api.d.ts.map +1 -0
- package/build/hooks/use_system_message_people.d.ts +14 -0
- package/build/hooks/use_system_message_people.d.ts.map +1 -0
- package/build/hooks/use_system_message_people.js +101 -0
- package/build/hooks/use_system_message_people.js.map +1 -0
- package/build/hooks/use_teams.d.ts +207 -0
- package/build/hooks/use_teams.d.ts.map +1 -0
- package/build/hooks/use_theme.d.ts +3 -0
- package/build/hooks/use_theme.d.ts.map +1 -0
- package/build/hooks/use_typing_indicators.d.ts +13 -0
- package/build/hooks/use_typing_indicators.d.ts.map +1 -0
- package/build/hooks/use_typing_status_cache.d.ts +14 -0
- package/build/hooks/use_typing_status_cache.d.ts.map +1 -0
- package/build/hooks/use_unarchive_conversation_action.d.ts +7 -0
- package/build/hooks/use_unarchive_conversation_action.d.ts.map +1 -0
- package/build/hooks/use_upload_client.d.ts +32 -0
- package/build/hooks/use_upload_client.d.ts.map +1 -0
- package/build/hooks/use_video_moderation_jolt_events.d.ts +4 -0
- package/build/hooks/use_video_moderation_jolt_events.d.ts.map +1 -0
- package/build/icons/font_awesome.d.ts +2 -0
- package/build/icons/font_awesome.d.ts.map +1 -0
- package/build/icons/font_awesome.js +6 -6
- package/build/icons/font_awesome.js.map +1 -1
- package/build/index.d.ts +20 -0
- package/build/index.d.ts.map +1 -0
- package/build/jest.d.ts +18 -0
- package/build/jest.d.ts.map +1 -0
- package/build/navigation/chat_access_gate.d.ts +3 -0
- package/build/navigation/chat_access_gate.d.ts.map +1 -0
- package/build/navigation/index.d.ts +392 -0
- package/build/navigation/index.d.ts.map +1 -0
- package/build/navigation/index.js +3 -1
- package/build/navigation/index.js.map +1 -1
- package/build/navigation/page_error_fallbacks.d.ts +7 -0
- package/build/navigation/page_error_fallbacks.d.ts.map +1 -0
- package/build/navigation/page_error_fallbacks.js +7 -0
- package/build/navigation/page_error_fallbacks.js.map +1 -0
- package/build/navigation/screenLayout.d.ts +8 -0
- package/build/navigation/screenLayout.d.ts.map +1 -0
- package/build/navigation/screenLayout.js +10 -6
- package/build/navigation/screenLayout.js.map +1 -1
- package/build/polyfills/events/CustomEvent.d.ts +21 -0
- package/build/polyfills/events/CustomEvent.d.ts.map +1 -0
- package/build/polyfills/events/Event.d.ts +45 -0
- package/build/polyfills/events/Event.d.ts.map +1 -0
- package/build/polyfills/events/EventHandlerAttributes.d.ts +8 -0
- package/build/polyfills/events/EventHandlerAttributes.d.ts.map +1 -0
- package/build/polyfills/events/EventTarget.d.ts +30 -0
- package/build/polyfills/events/EventTarget.d.ts.map +1 -0
- package/build/polyfills/events/internals/EventInternals.d.ts +30 -0
- package/build/polyfills/events/internals/EventInternals.d.ts.map +1 -0
- package/build/polyfills/events/internals/EventTargetInternals.d.ts +9 -0
- package/build/polyfills/events/internals/EventTargetInternals.d.ts.map +1 -0
- package/build/polyfills/webidl/PlatformObjects.d.ts +31 -0
- package/build/polyfills/webidl/PlatformObjects.d.ts.map +1 -0
- package/build/screens/age_check/age_check_required_screen.d.ts +2 -0
- package/build/screens/age_check/age_check_required_screen.d.ts.map +1 -0
- package/build/screens/age_check/age_check_required_screen.js +1 -0
- package/build/screens/age_check/age_check_required_screen.js.map +1 -1
- package/build/screens/age_check/age_check_underage_screen.d.ts +5 -0
- package/build/screens/age_check/age_check_underage_screen.d.ts.map +1 -0
- package/build/screens/age_check/components/age_check_select_birthdate_modal.d.ts +10 -0
- package/build/screens/age_check/components/age_check_select_birthdate_modal.d.ts.map +1 -0
- package/build/screens/age_check/index.d.ts +3 -0
- package/build/screens/age_check/index.d.ts.map +1 -0
- package/build/screens/age_check/screen_props.d.ts +5 -0
- package/build/screens/age_check/screen_props.d.ts.map +1 -0
- package/build/screens/attachment_actions/attachment_actions_screen.d.ts +12 -0
- package/build/screens/attachment_actions/attachment_actions_screen.d.ts.map +1 -0
- package/build/screens/attachment_actions/hooks/useDeleteAttachment.d.ts +10 -0
- package/build/screens/attachment_actions/hooks/useDeleteAttachment.d.ts.map +1 -0
- package/build/screens/avatar_picker/avatar_picker_screen.d.ts +11 -0
- package/build/screens/avatar_picker/avatar_picker_screen.d.ts.map +1 -0
- package/build/screens/avatar_picker/avatar_picker_screen.js +76 -66
- package/build/screens/avatar_picker/avatar_picker_screen.js.map +1 -1
- package/build/screens/avatar_picker/avatar_picker_state.d.ts +38 -0
- package/build/screens/avatar_picker/avatar_picker_state.d.ts.map +1 -0
- package/build/screens/avatar_picker/avatar_preview.d.ts +9 -0
- package/build/screens/avatar_picker/avatar_preview.d.ts.map +1 -0
- package/build/screens/avatar_picker/color_picker.d.ts +8 -0
- package/build/screens/avatar_picker/color_picker.d.ts.map +1 -0
- package/build/screens/avatar_picker/constants.d.ts +3 -0
- package/build/screens/avatar_picker/constants.d.ts.map +1 -0
- package/build/screens/avatar_picker/constants.js +5 -3
- package/build/screens/avatar_picker/constants.js.map +1 -1
- package/build/screens/avatar_picker/emoji_tab.d.ts +6 -0
- package/build/screens/avatar_picker/emoji_tab.d.ts.map +1 -0
- package/build/screens/avatar_picker/icon_grid.d.ts +7 -0
- package/build/screens/avatar_picker/icon_grid.d.ts.map +1 -0
- package/build/screens/avatar_picker/upload_tab.d.ts +8 -0
- package/build/screens/avatar_picker/upload_tab.d.ts.map +1 -0
- package/build/screens/bug_report_screen.d.ts +4 -0
- package/build/screens/bug_report_screen.d.ts.map +1 -0
- package/build/screens/conversation/message_read_receipts_screen.d.ts +8 -0
- package/build/screens/conversation/message_read_receipts_screen.d.ts.map +1 -0
- package/build/screens/conversation_details_screen.d.ts +6 -0
- package/build/screens/conversation_details_screen.d.ts.map +1 -0
- package/build/screens/conversation_details_screen.js +1 -0
- package/build/screens/conversation_details_screen.js.map +1 -1
- package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts +11 -0
- package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts.map +1 -0
- package/build/screens/conversation_filter_recipients/components/header_row.d.ts +11 -0
- package/build/screens/conversation_filter_recipients/components/header_row.d.ts.map +1 -0
- package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts +4 -0
- package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts.map +1 -0
- package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.d.ts +10 -0
- package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.d.ts.map +1 -0
- package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts +176 -0
- package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts.map +1 -0
- package/build/screens/conversation_filter_recipients/types.d.ts +48 -0
- package/build/screens/conversation_filter_recipients/types.d.ts.map +1 -0
- package/build/screens/conversation_filters/components/conversation_filters.d.ts +2 -0
- package/build/screens/conversation_filters/components/conversation_filters.d.ts.map +1 -0
- package/build/screens/conversation_filters/components/rows.d.ts +42 -0
- package/build/screens/conversation_filters/components/rows.d.ts.map +1 -0
- package/build/screens/conversation_filters/context/conversation_filter_context.d.ts +27 -0
- package/build/screens/conversation_filters/context/conversation_filter_context.d.ts.map +1 -0
- package/build/screens/conversation_filters/filter_types.d.ts +9 -0
- package/build/screens/conversation_filters/filter_types.d.ts.map +1 -0
- package/build/screens/conversation_filters/group_filters.d.ts +5 -0
- package/build/screens/conversation_filters/group_filters.d.ts.map +1 -0
- package/build/screens/conversation_filters/hooks/filters.d.ts +415 -0
- package/build/screens/conversation_filters/hooks/filters.d.ts.map +1 -0
- package/build/screens/conversation_filters/screen_props.d.ts +16 -0
- package/build/screens/conversation_filters/screen_props.d.ts.map +1 -0
- package/build/screens/conversation_filters/team_filters.d.ts +5 -0
- package/build/screens/conversation_filters/team_filters.d.ts.map +1 -0
- package/build/screens/conversation_filters_screen.d.ts +5 -0
- package/build/screens/conversation_filters_screen.d.ts.map +1 -0
- package/build/screens/conversation_new/components/avatar_selection_row.d.ts +11 -0
- package/build/screens/conversation_new/components/avatar_selection_row.d.ts.map +1 -0
- package/build/screens/conversation_new/components/filter_by_plan.d.ts +22 -0
- package/build/screens/conversation_new/components/filter_by_plan.d.ts.map +1 -0
- package/build/screens/conversation_new/components/form_list.d.ts +13 -0
- package/build/screens/conversation_new/components/form_list.d.ts.map +1 -0
- package/build/screens/conversation_new/components/form_list.js +1 -0
- package/build/screens/conversation_new/components/form_list.js.map +1 -1
- package/build/screens/conversation_new/components/gender_filter_toggle.d.ts +9 -0
- package/build/screens/conversation_new/components/gender_filter_toggle.d.ts.map +1 -0
- package/build/screens/conversation_new/components/groups_form.d.ts +10 -0
- package/build/screens/conversation_new/components/groups_form.d.ts.map +1 -0
- package/build/screens/conversation_new/components/services_form.d.ts +11 -0
- package/build/screens/conversation_new/components/services_form.d.ts.map +1 -0
- package/build/screens/conversation_new/components/source_app_error_card.d.ts +2 -0
- package/build/screens/conversation_new/components/source_app_error_card.d.ts.map +1 -0
- package/build/screens/conversation_new/conversation_new_screen.d.ts +18 -0
- package/build/screens/conversation_new/conversation_new_screen.d.ts.map +1 -0
- package/build/screens/conversation_notification_level_select_screen.d.ts +7 -0
- package/build/screens/conversation_notification_level_select_screen.d.ts.map +1 -0
- package/build/screens/conversation_screen.d.ts +28 -0
- package/build/screens/conversation_screen.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts +8 -0
- package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/recipient_link_row.d.ts +11 -0
- package/build/screens/conversation_select_recipients/components/recipient_link_row.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts +7 -0
- package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/results_heading.d.ts +6 -0
- package/build/screens/conversation_select_recipients/components/results_heading.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts +8 -0
- package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/view_more_link_row.d.ts +8 -0
- package/build/screens/conversation_select_recipients/components/view_more_link_row.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/conversation_new_entry_screen.d.ts +3 -0
- package/build/screens/conversation_select_recipients/conversation_new_entry_screen.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/conversation_new_entry_screen.js +1 -0
- package/build/screens/conversation_select_recipients/conversation_new_entry_screen.js.map +1 -1
- package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.d.ts +3 -0
- package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.js +332 -291
- package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.js.map +1 -1
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.d.ts +3 -0
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.js +1 -0
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.js.map +1 -1
- package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.d.ts +3 -0
- package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.js +1 -0
- package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.js.map +1 -1
- package/build/screens/conversation_select_recipients/types/screen_props.d.ts +11 -0
- package/build/screens/conversation_select_recipients/types/screen_props.d.ts.map +1 -0
- package/build/screens/conversation_select_type_screen.d.ts +12 -0
- package/build/screens/conversation_select_type_screen.d.ts.map +1 -0
- package/build/screens/conversations/components/chat_group_badge.d.ts +4 -0
- package/build/screens/conversations/components/chat_group_badge.d.ts.map +1 -0
- package/build/screens/conversations/components/filter_dropdown_list_header_component.d.ts +2 -0
- package/build/screens/conversations/components/filter_dropdown_list_header_component.d.ts.map +1 -0
- package/build/screens/conversations/components/list_header_action_button.d.ts +19 -0
- package/build/screens/conversations/components/list_header_action_button.d.ts.map +1 -0
- package/build/screens/conversations/components/list_header_component.d.ts +2 -0
- package/build/screens/conversations/components/list_header_component.d.ts.map +1 -0
- package/build/screens/conversations/components/search_list_header_component.d.ts +2 -0
- package/build/screens/conversations/components/search_list_header_component.d.ts.map +1 -0
- package/build/screens/conversations/conversations_screen.d.ts +13 -0
- package/build/screens/conversations/conversations_screen.d.ts.map +1 -0
- package/build/screens/design_system_screen.d.ts +2 -0
- package/build/screens/design_system_screen.d.ts.map +1 -0
- package/build/screens/design_system_screen.js +6 -3
- package/build/screens/design_system_screen.js.map +1 -1
- package/build/screens/get_help_screen.d.ts +10 -0
- package/build/screens/get_help_screen.d.ts.map +1 -0
- package/build/screens/get_help_screen.js +56 -62
- package/build/screens/get_help_screen.js.map +1 -1
- package/build/screens/group_notification_level_select_screen.d.ts +7 -0
- package/build/screens/group_notification_level_select_screen.d.ts.map +1 -0
- package/build/screens/group_notification_settings_screen.d.ts +7 -0
- package/build/screens/group_notification_settings_screen.d.ts.map +1 -0
- package/build/screens/group_notification_settings_screen.js +3 -2
- package/build/screens/group_notification_settings_screen.js.map +1 -1
- package/build/screens/index.d.ts +25 -0
- package/build/screens/index.d.ts.map +1 -0
- package/build/screens/message_actions_screen.d.ts +12 -0
- package/build/screens/message_actions_screen.d.ts.map +1 -0
- package/build/screens/message_report/components/message_preview.d.ts +9 -0
- package/build/screens/message_report/components/message_preview.d.ts.map +1 -0
- package/build/screens/message_report/components/report_reason_list.d.ts +8 -0
- package/build/screens/message_report/components/report_reason_list.d.ts.map +1 -0
- package/build/screens/message_report_screen.d.ts +9 -0
- package/build/screens/message_report_screen.d.ts.map +1 -0
- package/build/screens/not_found.d.ts +2 -0
- package/build/screens/not_found.d.ts.map +1 -0
- package/build/screens/notification_settings/hooks/groups.d.ts +96 -0
- package/build/screens/notification_settings/hooks/groups.d.ts.map +1 -0
- package/build/screens/notification_settings_screen.d.ts +4 -0
- package/build/screens/notification_settings_screen.d.ts.map +1 -0
- package/build/screens/notification_settings_screen.js +1 -0
- package/build/screens/notification_settings_screen.js.map +1 -1
- package/build/screens/preferred_app/hooks/use_chat_types.d.ts +39 -0
- package/build/screens/preferred_app/hooks/use_chat_types.d.ts.map +1 -0
- package/build/screens/preferred_app_selection_screen.d.ts +9 -0
- package/build/screens/preferred_app_selection_screen.d.ts.map +1 -0
- package/build/screens/preferred_app_selection_screen.js +45 -39
- package/build/screens/preferred_app_selection_screen.js.map +1 -1
- package/build/screens/reactions_screen.d.ts +9 -0
- package/build/screens/reactions_screen.d.ts.map +1 -0
- package/build/screens/search/components/conversation_result_row.d.ts +8 -0
- package/build/screens/search/components/conversation_result_row.d.ts.map +1 -0
- package/build/screens/search/components/conversation_results.d.ts +8 -0
- package/build/screens/search/components/conversation_results.d.ts.map +1 -0
- package/build/screens/search/components/message_result_row.d.ts +8 -0
- package/build/screens/search/components/message_result_row.d.ts.map +1 -0
- package/build/screens/search/components/result_row.d.ts +10 -0
- package/build/screens/search/components/result_row.d.ts.map +1 -0
- package/build/screens/search/components/results_section.d.ts +9 -0
- package/build/screens/search/components/results_section.d.ts.map +1 -0
- package/build/screens/search/components/search_blank_states.d.ts +7 -0
- package/build/screens/search/components/search_blank_states.d.ts.map +1 -0
- package/build/screens/search/components/search_field.d.ts +7 -0
- package/build/screens/search/components/search_field.d.ts.map +1 -0
- package/build/screens/search/components/search_results_list.d.ts +16 -0
- package/build/screens/search/components/search_results_list.d.ts.map +1 -0
- package/build/screens/search/components/search_results_list.js +136 -110
- package/build/screens/search/components/search_results_list.js.map +1 -1
- package/build/screens/search/components/snippet.d.ts +8 -0
- package/build/screens/search/components/snippet.d.ts.map +1 -0
- package/build/screens/search/search_screen.d.ts +5 -0
- package/build/screens/search/search_screen.d.ts.map +1 -0
- package/build/screens/search/search_screen.js +21 -28
- package/build/screens/search/search_screen.js.map +1 -1
- package/build/screens/send_giphy_screen.d.ts +9 -0
- package/build/screens/send_giphy_screen.d.ts.map +1 -0
- package/build/screens/settings_screen.d.ts +4 -0
- package/build/screens/settings_screen.d.ts.map +1 -0
- package/build/screens/settings_screen.js +7 -6
- package/build/screens/settings_screen.js.map +1 -1
- package/build/screens/system_message_people_screen.d.ts +8 -0
- package/build/screens/system_message_people_screen.d.ts.map +1 -0
- package/build/screens/system_message_people_screen.js +33 -96
- package/build/screens/system_message_people_screen.js.map +1 -1
- package/build/screens/team_conversation_screen.d.ts +8 -0
- package/build/screens/team_conversation_screen.d.ts.map +1 -0
- package/build/types/api_primitives.d.ts +45 -0
- package/build/types/api_primitives.d.ts.map +1 -0
- package/build/types/index.d.ts +4 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/jolt_events/attachment_events.d.ts +14 -0
- package/build/types/jolt_events/attachment_events.d.ts.map +1 -0
- package/build/types/jolt_events/conversation_events.d.ts +42 -0
- package/build/types/jolt_events/conversation_events.d.ts.map +1 -0
- package/build/types/jolt_events/index.d.ts +14 -0
- package/build/types/jolt_events/index.d.ts.map +1 -0
- package/build/types/jolt_events/message_events.d.ts +44 -0
- package/build/types/jolt_events/message_events.d.ts.map +1 -0
- package/build/types/jolt_events/reaction_events.d.ts +27 -0
- package/build/types/jolt_events/reaction_events.d.ts.map +1 -0
- package/build/types/jolt_events/typing_events.d.ts +16 -0
- package/build/types/jolt_events/typing_events.d.ts.map +1 -0
- package/build/types/product_analytics.d.ts +6 -0
- package/build/types/product_analytics.d.ts.map +1 -0
- package/build/types/resources/analytics_metadata.d.ts +5 -0
- package/build/types/resources/analytics_metadata.d.ts.map +1 -0
- package/build/types/resources/app_grant.d.ts +8 -0
- package/build/types/resources/app_grant.d.ts.map +1 -0
- package/build/types/resources/app_name.d.ts +2 -0
- package/build/types/resources/app_name.d.ts.map +1 -0
- package/build/types/resources/chat_configuration_resource.d.ts +9 -0
- package/build/types/resources/chat_configuration_resource.d.ts.map +1 -0
- package/build/types/resources/conversation.d.ts +48 -0
- package/build/types/resources/conversation.d.ts.map +1 -0
- package/build/types/resources/conversation_badge.d.ts +12 -0
- package/build/types/resources/conversation_badge.d.ts.map +1 -0
- package/build/types/resources/conversation_membership.d.ts +16 -0
- package/build/types/resources/conversation_membership.d.ts.map +1 -0
- package/build/types/resources/conversation_validate.d.ts +10 -0
- package/build/types/resources/conversation_validate.d.ts.map +1 -0
- package/build/types/resources/denormalized_attachment_resource.d.ts +65 -0
- package/build/types/resources/denormalized_attachment_resource.d.ts.map +1 -0
- package/build/types/resources/denormalized_attachment_resource_for_create.d.ts +53 -0
- package/build/types/resources/denormalized_attachment_resource_for_create.d.ts.map +1 -0
- package/build/types/resources/direct_message_affiliations.d.ts +9 -0
- package/build/types/resources/direct_message_affiliations.d.ts.map +1 -0
- package/build/types/resources/direct_message_candidate.d.ts +13 -0
- package/build/types/resources/direct_message_candidate.d.ts.map +1 -0
- package/build/types/resources/feature_resource.d.ts +7 -0
- package/build/types/resources/feature_resource.d.ts.map +1 -0
- package/build/types/resources/group_membership.d.ts +13 -0
- package/build/types/resources/group_membership.d.ts.map +1 -0
- package/build/types/resources/group_resource.d.ts +18 -0
- package/build/types/resources/group_resource.d.ts.map +1 -0
- package/build/types/resources/groups/groups_group_resource.d.ts +15 -0
- package/build/types/resources/groups/groups_group_resource.d.ts.map +1 -0
- package/build/types/resources/groups/groups_member_resource_with_person.d.ts +15 -0
- package/build/types/resources/groups/groups_member_resource_with_person.d.ts.map +1 -0
- package/build/types/resources/groups/index.d.ts +2 -0
- package/build/types/resources/groups/index.d.ts.map +1 -0
- package/build/types/resources/index.d.ts +18 -0
- package/build/types/resources/index.d.ts.map +1 -0
- package/build/types/resources/member.d.ts +16 -0
- package/build/types/resources/member.d.ts.map +1 -0
- package/build/types/resources/member_ability.d.ts +12 -0
- package/build/types/resources/member_ability.d.ts.map +1 -0
- package/build/types/resources/message.d.ts +44 -0
- package/build/types/resources/message.d.ts.map +1 -0
- package/build/types/resources/message_report.d.ts +19 -0
- package/build/types/resources/message_report.d.ts.map +1 -0
- package/build/types/resources/oauth_token.d.ts +9 -0
- package/build/types/resources/oauth_token.d.ts.map +1 -0
- package/build/types/resources/organization.d.ts +8 -0
- package/build/types/resources/organization.d.ts.map +1 -0
- package/build/types/resources/person.d.ts +24 -0
- package/build/types/resources/person.d.ts.map +1 -0
- package/build/types/resources/reaction.d.ts +10 -0
- package/build/types/resources/reaction.d.ts.map +1 -0
- package/build/types/resources/read_receipt.d.ts +7 -0
- package/build/types/resources/read_receipt.d.ts.map +1 -0
- package/build/types/resources/search_result.d.ts +29 -0
- package/build/types/resources/search_result.d.ts.map +1 -0
- package/build/types/resources/services/chat_resource.d.ts +53 -0
- package/build/types/resources/services/chat_resource.d.ts.map +1 -0
- package/build/types/resources/services/index.d.ts +3 -0
- package/build/types/resources/services/index.d.ts.map +1 -0
- package/build/types/resources/services/team_resource.d.ts +19 -0
- package/build/types/resources/services/team_resource.d.ts.map +1 -0
- package/build/types/utils/index.d.ts +5 -0
- package/build/types/utils/index.d.ts.map +1 -0
- package/build/utils/archived_conversation.d.ts +5 -0
- package/build/utils/archived_conversation.d.ts.map +1 -0
- package/build/utils/assert_keys_are_numbers.d.ts +2 -0
- package/build/utils/assert_keys_are_numbers.d.ts.map +1 -0
- package/build/utils/attachment_kind.d.ts +5 -0
- package/build/utils/attachment_kind.d.ts.map +1 -0
- package/build/utils/auth_events.d.ts +7 -0
- package/build/utils/auth_events.d.ts.map +1 -0
- package/build/utils/cache/index.d.ts +2 -0
- package/build/utils/cache/index.d.ts.map +1 -0
- package/build/utils/cache/messages_cache.d.ts +13 -0
- package/build/utils/cache/messages_cache.d.ts.map +1 -0
- package/build/utils/cache/messages_window.d.ts +11 -0
- package/build/utils/cache/messages_window.d.ts.map +1 -0
- package/build/utils/cache/optimistically_create_message.d.ts +12 -0
- package/build/utils/cache/optimistically_create_message.d.ts.map +1 -0
- package/build/utils/cache/optimistically_update_message.d.ts +8 -0
- package/build/utils/cache/optimistically_update_message.d.ts.map +1 -0
- package/build/utils/cache/page_mutations.d.ts +96 -0
- package/build/utils/cache/page_mutations.d.ts.map +1 -0
- package/build/utils/can_submit_message.d.ts +10 -0
- package/build/utils/can_submit_message.d.ts.map +1 -0
- package/build/utils/chat_type_label.d.ts +2 -0
- package/build/utils/chat_type_label.d.ts.map +1 -0
- package/build/utils/client/client.d.ts +30 -0
- package/build/utils/client/client.d.ts.map +1 -0
- package/build/utils/client/index.d.ts +3 -0
- package/build/utils/client/index.d.ts.map +1 -0
- package/build/utils/client/instrumented_fetch.d.ts +2 -0
- package/build/utils/client/instrumented_fetch.d.ts.map +1 -0
- package/build/utils/client/request_helpers.d.ts +28 -0
- package/build/utils/client/request_helpers.d.ts.map +1 -0
- package/build/utils/client/transform_request_data.d.ts +13 -0
- package/build/utils/client/transform_request_data.d.ts.map +1 -0
- package/build/utils/client/transform_response.d.ts +3 -0
- package/build/utils/client/transform_response.d.ts.map +1 -0
- package/build/utils/client/types.d.ts +62 -0
- package/build/utils/client/types.d.ts.map +1 -0
- package/build/utils/client/utils.d.ts +5 -0
- package/build/utils/client/utils.d.ts.map +1 -0
- package/build/utils/conversation_safety_constants.d.ts +2 -0
- package/build/utils/conversation_safety_constants.d.ts.map +1 -0
- package/build/utils/convert_attachments_for_create.d.ts +12 -0
- package/build/utils/convert_attachments_for_create.d.ts.map +1 -0
- package/build/utils/date.d.ts +11 -0
- package/build/utils/date.d.ts.map +1 -0
- package/build/utils/dayjs.d.ts +3 -0
- package/build/utils/dayjs.d.ts.map +1 -0
- package/build/utils/deepCamelCaseKeys.d.ts +4 -0
- package/build/utils/deepCamelCaseKeys.d.ts.map +1 -0
- package/build/utils/deep_snake_case_keys.d.ts +4 -0
- package/build/utils/deep_snake_case_keys.d.ts.map +1 -0
- package/build/utils/destructure_chat_group_graph_id.d.ts +10 -0
- package/build/utils/destructure_chat_group_graph_id.d.ts.map +1 -0
- package/build/utils/gender_display_label.d.ts +2 -0
- package/build/utils/gender_display_label.d.ts.map +1 -0
- package/build/utils/generate_placeholder_ulid.d.ts +10 -0
- package/build/utils/generate_placeholder_ulid.d.ts.map +1 -0
- package/build/utils/group_messages.d.ts +22 -0
- package/build/utils/group_messages.d.ts.map +1 -0
- package/build/utils/host_bridge.d.ts +20 -0
- package/build/utils/host_bridge.d.ts.map +1 -0
- package/build/utils/index.d.ts +21 -0
- package/build/utils/index.d.ts.map +1 -0
- package/build/utils/is_input_editable.d.ts +6 -0
- package/build/utils/is_input_editable.d.ts.map +1 -0
- package/build/utils/jolt/transform_message_event_data_to_message_resource.d.ts +7 -0
- package/build/utils/jolt/transform_message_event_data_to_message_resource.d.ts.map +1 -0
- package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.d.ts +12 -0
- package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.d.ts.map +1 -0
- package/build/utils/liquid_glass.d.ts +3 -0
- package/build/utils/liquid_glass.d.ts.map +1 -0
- package/build/utils/membership_sync_info_text.d.ts +2 -0
- package/build/utils/membership_sync_info_text.d.ts.map +1 -0
- package/build/utils/message_text.d.ts +3 -0
- package/build/utils/message_text.d.ts.map +1 -0
- package/build/utils/native_adapters/audio.d.ts +14 -0
- package/build/utils/native_adapters/audio.d.ts.map +1 -0
- package/build/utils/native_adapters/clipboard.d.ts +6 -0
- package/build/utils/native_adapters/clipboard.d.ts.map +1 -0
- package/build/utils/native_adapters/configuration.d.ts +36 -0
- package/build/utils/native_adapters/configuration.d.ts.map +1 -0
- package/build/utils/native_adapters/document_picker.d.ts +28 -0
- package/build/utils/native_adapters/document_picker.d.ts.map +1 -0
- package/build/utils/native_adapters/haptic.d.ts +23 -0
- package/build/utils/native_adapters/haptic.d.ts.map +1 -0
- package/build/utils/native_adapters/image_picker.d.ts +31 -0
- package/build/utils/native_adapters/image_picker.d.ts.map +1 -0
- package/build/utils/native_adapters/index.d.ts +12 -0
- package/build/utils/native_adapters/index.d.ts.map +1 -0
- package/build/utils/native_adapters/linking.d.ts +15 -0
- package/build/utils/native_adapters/linking.d.ts.map +1 -0
- package/build/utils/native_adapters/log.d.ts +26 -0
- package/build/utils/native_adapters/log.d.ts.map +1 -0
- package/build/utils/native_adapters/menu.d.ts +40 -0
- package/build/utils/native_adapters/menu.d.ts.map +1 -0
- package/build/utils/native_adapters/storage_adapter.d.ts +17 -0
- package/build/utils/native_adapters/storage_adapter.d.ts.map +1 -0
- package/build/utils/native_adapters/video.d.ts +22 -0
- package/build/utils/native_adapters/video.d.ts.map +1 -0
- package/build/utils/package_version.d.ts +2 -0
- package/build/utils/package_version.d.ts.map +1 -0
- package/build/utils/parse_simple_markdown.d.ts +7 -0
- package/build/utils/parse_simple_markdown.d.ts.map +1 -0
- package/build/utils/performance_tracking.d.ts +26 -0
- package/build/utils/performance_tracking.d.ts.map +1 -0
- package/build/utils/pluralize.d.ts +2 -0
- package/build/utils/pluralize.d.ts.map +1 -0
- package/build/utils/reaction_constants.d.ts +3 -0
- package/build/utils/reaction_constants.d.ts.map +1 -0
- package/build/utils/replace_equal_by_id.d.ts +6 -0
- package/build/utils/replace_equal_by_id.d.ts.map +1 -0
- package/build/utils/request/conversation.d.ts +12 -0
- package/build/utils/request/conversation.d.ts.map +1 -0
- package/build/utils/request/get_chat_configuration.d.ts +10 -0
- package/build/utils/request/get_chat_configuration.d.ts.map +1 -0
- package/build/utils/request/get_features.d.ts +17 -0
- package/build/utils/request/get_features.d.ts.map +1 -0
- package/build/utils/request/get_message.d.ts +20 -0
- package/build/utils/request/get_message.d.ts.map +1 -0
- package/build/utils/request/get_messages.d.ts +21 -0
- package/build/utils/request/get_messages.d.ts.map +1 -0
- package/build/utils/request/get_search_results.d.ts +13 -0
- package/build/utils/request/get_search_results.d.ts.map +1 -0
- package/build/utils/request/messages_data_options.d.ts +7 -0
- package/build/utils/request/messages_data_options.d.ts.map +1 -0
- package/build/utils/response_error.d.ts +11 -0
- package/build/utils/response_error.d.ts.map +1 -0
- package/build/utils/session.d.ts +38 -0
- package/build/utils/session.d.ts.map +1 -0
- package/build/utils/session_manager.d.ts +21 -0
- package/build/utils/session_manager.d.ts.map +1 -0
- package/build/utils/sha_256.d.ts +31 -0
- package/build/utils/sha_256.d.ts.map +1 -0
- package/build/utils/styles.d.ts +11 -0
- package/build/utils/styles.d.ts.map +1 -0
- package/build/utils/system_messages.d.ts +17 -0
- package/build/utils/system_messages.d.ts.map +1 -0
- package/build/utils/theme.d.ts +88 -0
- package/build/utils/theme.d.ts.map +1 -0
- package/build/utils/time.d.ts +9 -0
- package/build/utils/time.d.ts.map +1 -0
- package/build/utils/upload_uri.d.ts +24 -0
- package/build/utils/upload_uri.d.ts.map +1 -0
- package/build/utils/uri.d.ts +29 -0
- package/build/utils/uri.d.ts.map +1 -0
- package/build/vendor/font_awesome_pro_solid_icons.d.ts +53 -0
- package/build/vendor/font_awesome_pro_solid_icons.d.ts.map +1 -0
- package/build/vendor/font_awesome_pro_solid_icons.js +6 -6
- package/build/vendor/font_awesome_pro_solid_icons.js.map +1 -1
- package/build/vendor/tapestry/alias_tokens_color_map.d.ts +89 -0
- package/build/vendor/tapestry/alias_tokens_color_map.d.ts.map +1 -0
- package/build/vendor/tapestry/tokens.d.ts +121 -0
- package/build/vendor/tapestry/tokens.d.ts.map +1 -0
- package/package.json +8 -12
- package/src/__tests__/utils/theme.ts +2 -5
- package/src/__utils__/render_with_query_client.tsx +13 -0
- package/src/components/conversation/__tests__/message_list.test.tsx +4 -0
- package/src/components/conversation/message_list.tsx +6 -0
- package/src/components/conversations/__tests__/conversation_preview.test.tsx +2 -2
- package/src/components/conversations/conversations.tsx +1 -0
- package/src/components/display/__tests__/conversation_avatar.test.tsx +94 -0
- package/src/components/display/conversation_avatar.tsx +9 -2
- package/src/components/display/image.tsx +10 -19
- package/src/components/display/keyboard_scroll_view.tsx +1 -0
- package/src/components/page/__tests__/page_error_boundary.test.tsx +33 -0
- package/src/components/page/page_error_boundary.tsx +43 -12
- package/src/contexts/__tests__/configured_retry.test.ts +39 -0
- package/src/contexts/api_provider.tsx +12 -5
- package/src/hooks/__tests__/use_conversation_avatar_update.test.tsx +40 -0
- package/src/hooks/__tests__/use_system_message_people.test.tsx +79 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use_conversation_avatar_update.ts +67 -11
- package/src/hooks/use_system_message_people.ts +55 -0
- package/src/icons/font_awesome.ts +12 -12
- package/src/navigation/index.tsx +6 -2
- package/src/navigation/page_error_fallbacks.ts +14 -0
- package/src/navigation/screenLayout.tsx +3 -1
- package/src/screens/age_check/age_check_required_screen.tsx +5 -1
- package/src/screens/avatar_picker/__tests__/avatar_picker_screen.test.tsx +67 -0
- package/src/screens/avatar_picker/__tests__/constants.test.ts +16 -0
- package/src/screens/avatar_picker/avatar_picker_screen.tsx +7 -1
- package/src/screens/avatar_picker/constants.ts +11 -6
- package/src/screens/conversation_details_screen.tsx +1 -0
- package/src/screens/conversation_new/components/form_list.tsx +1 -0
- package/src/screens/conversation_select_recipients/__tests__/conversation_select_direct_message_recipients_screen.test.tsx +100 -0
- package/src/screens/conversation_select_recipients/conversation_new_entry_screen.tsx +4 -1
- package/src/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.tsx +78 -68
- package/src/screens/conversation_select_recipients/conversation_select_group_recipients_screen.tsx +1 -0
- package/src/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.tsx +1 -0
- package/src/screens/design_system_screen.tsx +10 -6
- package/src/screens/get_help_screen.tsx +4 -4
- package/src/screens/group_notification_settings_screen.tsx +3 -3
- package/src/screens/notification_settings_screen.tsx +1 -0
- package/src/screens/preferred_app_selection_screen.tsx +4 -4
- package/src/screens/search/__tests__/search_screen.test.tsx +11 -12
- package/src/screens/search/components/__tests__/conversation_results.test.tsx +14 -5
- package/src/screens/search/components/__tests__/message_result_row.test.tsx +5 -4
- package/src/screens/search/components/__tests__/search_results_list.test.tsx +10 -5
- package/src/screens/search/components/search_results_list.tsx +34 -13
- package/src/screens/search/search_screen.tsx +8 -18
- package/src/screens/settings_screen.tsx +25 -25
- package/src/screens/system_message_people_screen.tsx +6 -20
- package/src/vendor/font_awesome_pro_solid_icons.ts +6 -6
|
@@ -2,7 +2,7 @@ import { c as _c } from "react/compiler-runtime";
|
|
|
2
2
|
import { PlatformPressable } from '@react-navigation/elements';
|
|
3
3
|
import { useNavigation } from '@react-navigation/native';
|
|
4
4
|
import React, { useCallback } from 'react';
|
|
5
|
-
import { Platform, StyleSheet, View } from 'react-native';
|
|
5
|
+
import { Platform, ScrollView, StyleSheet, View } from 'react-native';
|
|
6
6
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
7
7
|
import { Heading, Icon, Text, VersionFooter } from '../components';
|
|
8
8
|
import { Switch } from '../components/display/switch';
|
|
@@ -119,9 +119,12 @@ export function SettingsScreen(t0) {
|
|
|
119
119
|
}
|
|
120
120
|
let t8;
|
|
121
121
|
if ($[19] !== styles.sectionOuter || $[20] !== t4 || $[21] !== t5 || $[22] !== t6 || $[23] !== t7) {
|
|
122
|
-
t8 = /*#__PURE__*/
|
|
123
|
-
|
|
124
|
-
children:
|
|
122
|
+
t8 = /*#__PURE__*/_jsx(ScrollView, {
|
|
123
|
+
contentInsetAdjustmentBehavior: "automatic",
|
|
124
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
125
|
+
style: styles.sectionOuter,
|
|
126
|
+
children: [t4, t5, t6, t7]
|
|
127
|
+
})
|
|
125
128
|
});
|
|
126
129
|
$[19] = styles.sectionOuter;
|
|
127
130
|
$[20] = t4;
|
|
@@ -239,8 +242,6 @@ const useStyles = () => {
|
|
|
239
242
|
flex: 1
|
|
240
243
|
},
|
|
241
244
|
footer: {
|
|
242
|
-
flex: 1,
|
|
243
|
-
justifyContent: "flex-end",
|
|
244
245
|
paddingBottom: Math.max(insets.bottom, 8)
|
|
245
246
|
},
|
|
246
247
|
sectionOuter: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings_screen.js","names":["PlatformPressable","useNavigation","React","useCallback","Platform","StyleSheet","View","useSafeAreaInsets","Heading","Icon","Text","VersionFooter","Switch","useDirectMessagesEligible","useTheme","useAppName","usePersonSettings","jsx","_jsx","jsxs","_jsxs","SettingsScreen","t0","$","_c","styles","useStyles","directMessagesDisabled","setDirectMessagesDisabled","isMutating","directMessagesEligible","appName","navigation","t1","navigate","handleNotificationSettings","t2","type","handleGetHelp","t3","Symbol","for","variant","children","t4","sectionHeader","style","t5","settingRow","settingRowText","value","onValueChange","enabled","t6","NavRow","label","t7","t8","sectionOuter","t9","t10","footer","t11","container","onPress","useNavRowStyles","chevron","OS","name","size","inner","accessibilityRole","colors","insets","borderColorDefaultBase","bottom","create","flex","justifyContent","paddingBottom","Math","max","paddingLeft","paddingRight","paddingTop","borderBottomWidth","borderBottomColor","flexDirection","alignItems","paddingVertical","gap","iconColorDefaultDisabled","color"],"sources":["../../src/screens/settings_screen.tsx"],"sourcesContent":["import { PlatformPressable } from '@react-navigation/elements'\nimport { StaticScreenProps, useNavigation } from '@react-navigation/native'\nimport React, { useCallback } from 'react'\nimport { Platform, StyleSheet, View } from 'react-native'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport { Heading, Icon, Text, VersionFooter } from '../components'\nimport { Switch } from '../components/display/switch'\nimport { useDirectMessagesEligible, useTheme } from '../hooks'\nimport { useAppName } from '../hooks/use_app_name'\nimport { usePersonSettings } from '../hooks/use_person_settings'\n\nexport type SettingsScreenProps = StaticScreenProps<{}>\n\nexport function SettingsScreen({}: SettingsScreenProps) {\n const styles = useStyles()\n const { directMessagesDisabled, setDirectMessagesDisabled, isMutating } = usePersonSettings()\n const directMessagesEligible = useDirectMessagesEligible()\n const appName = useAppName()\n const navigation = useNavigation()\n\n const handleNotificationSettings = useCallback(() => {\n navigation.navigate('NotificationSettings', {})\n }, [navigation])\n\n const handleGetHelp = useCallback(() => {\n navigation.navigate('GetHelp', { type: 'chat' })\n }, [navigation])\n\n return (\n <View style={styles.container}>\n <View style={styles.sectionOuter}>\n <View style={styles.sectionHeader}>\n <Heading variant=\"h2\">Messages</Heading>\n </View>\n {directMessagesEligible && (\n <View style={styles.settingRow}>\n <View style={styles.settingRowText}>\n <Text>Allow direct messages</Text>\n <Text variant=\"tertiary\">\n When off, you can't be added to new direct messages, and any you're already in will\n be turned off.\n </Text>\n </View>\n <Switch\n value={!directMessagesDisabled}\n onValueChange={enabled => setDirectMessagesDisabled(!enabled)}\n disabled={isMutating}\n />\n </View>\n )}\n <NavRow label=\"Notification settings\" onPress={handleNotificationSettings} />\n {appName !== 'services' && <NavRow label=\"Get help\" onPress={handleGetHelp} />}\n </View>\n <View style={styles.footer}>\n <VersionFooter />\n </View>\n </View>\n )\n}\n\ninterface NavRowProps {\n label: string\n onPress: () => void\n}\n\nfunction NavRow({ label, onPress }: NavRowProps) {\n const styles = useNavRowStyles()\n return (\n <PlatformPressable\n style={styles.container}\n onPress={onPress}\n accessibilityRole=\"button\"\n accessibilityLabel={label}\n >\n <View style={styles.inner}>\n <Text>{label}</Text>\n {Platform.OS === 'ios' && (\n <Icon name=\"general.rightChevron\" size={16} style={styles.chevron} />\n )}\n </View>\n </PlatformPressable>\n )\n}\n\nconst useStyles = () => {\n const { colors } = useTheme()\n const insets = useSafeAreaInsets()\n return StyleSheet.create({\n container: {\n flex: 1,\n },\n footer: {\n flex: 1,\n justifyContent: 'flex-end',\n paddingBottom: Math.max(insets.bottom, 8),\n },\n sectionOuter: {\n paddingLeft: 16,\n },\n sectionHeader: {\n paddingRight: 16,\n paddingTop: 24,\n paddingBottom: 12,\n borderBottomWidth: 1,\n borderBottomColor: colors.borderColorDefaultBase,\n },\n settingRow: {\n flexDirection: 'row',\n alignItems: 'flex-start',\n justifyContent: 'space-between',\n paddingRight: 16,\n paddingVertical: 12,\n borderBottomWidth: 1,\n borderBottomColor: colors.borderColorDefaultBase,\n },\n settingRowText: {\n flex: 1,\n gap: 8,\n },\n })\n}\n\nconst useNavRowStyles = () => {\n const { colors } = useTheme()\n return StyleSheet.create({\n container: {\n paddingLeft: 0,\n },\n inner: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n paddingRight: 16,\n paddingVertical: 14,\n borderBottomWidth: 1,\n borderBottomColor: colors.borderColorDefaultBase,\n },\n chevron: {\n color: colors.iconColorDefaultDisabled,\n },\n })\n}\n"],"mappings":";AAAA,SAASA,iBAAiB,QAAQ,4BAA4B;AAC9D,SAA4BC,aAAa,QAAQ,0BAA0B;AAC3E,OAAOC,KAAK,IAAIC,WAAW,QAAQ,OAAO;AAC1C,SAASC,QAAQ,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACzD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AiD,MAAA,CAAAE,sBAAA;IAAAnD,CAAA,MAAAiD,MAAA,CAAAmB,wBAAA;IAAApE,CAAA,MAAAD,EAAA;EAAA;IAAAA,EAAA,GAAAC,CAAA;EAAA;EAAA,OAhBKD,EAgBL;AAAA,CACH","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"settings_screen.js","names":["PlatformPressable","useNavigation","React","useCallback","Platform","ScrollView","StyleSheet","View","useSafeAreaInsets","Heading","Icon","Text","VersionFooter","Switch","useDirectMessagesEligible","useTheme","useAppName","usePersonSettings","jsx","_jsx","jsxs","_jsxs","SettingsScreen","t0","$","_c","styles","useStyles","directMessagesDisabled","setDirectMessagesDisabled","isMutating","directMessagesEligible","appName","navigation","t1","navigate","handleNotificationSettings","t2","type","handleGetHelp","t3","Symbol","for","variant","children","t4","sectionHeader","style","t5","settingRow","settingRowText","value","onValueChange","enabled","t6","NavRow","label","t7","t8","sectionOuter","contentInsetAdjustmentBehavior","t9","t10","footer","t11","container","onPress","useNavRowStyles","chevron","OS","name","size","inner","accessibilityRole","colors","insets","borderColorDefaultBase","bottom","create","flex","paddingBottom","Math","max","paddingLeft","paddingRight","paddingTop","borderBottomWidth","borderBottomColor","flexDirection","alignItems","justifyContent","paddingVertical","gap","iconColorDefaultDisabled","color"],"sources":["../../src/screens/settings_screen.tsx"],"sourcesContent":["import { PlatformPressable } from '@react-navigation/elements'\nimport { StaticScreenProps, useNavigation } from '@react-navigation/native'\nimport React, { useCallback } from 'react'\nimport { Platform, ScrollView, StyleSheet, View } from 'react-native'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport { Heading, Icon, Text, VersionFooter } from '../components'\nimport { Switch } from '../components/display/switch'\nimport { useDirectMessagesEligible, useTheme } from '../hooks'\nimport { useAppName } from '../hooks/use_app_name'\nimport { usePersonSettings } from '../hooks/use_person_settings'\n\nexport type SettingsScreenProps = StaticScreenProps<{}>\n\nexport function SettingsScreen({}: SettingsScreenProps) {\n const styles = useStyles()\n const { directMessagesDisabled, setDirectMessagesDisabled, isMutating } = usePersonSettings()\n const directMessagesEligible = useDirectMessagesEligible()\n const appName = useAppName()\n const navigation = useNavigation()\n\n const handleNotificationSettings = useCallback(() => {\n navigation.navigate('NotificationSettings', {})\n }, [navigation])\n\n const handleGetHelp = useCallback(() => {\n navigation.navigate('GetHelp', { type: 'chat' })\n }, [navigation])\n\n return (\n <View style={styles.container}>\n <ScrollView contentInsetAdjustmentBehavior=\"automatic\">\n <View style={styles.sectionOuter}>\n <View style={styles.sectionHeader}>\n <Heading variant=\"h2\">Messages</Heading>\n </View>\n {directMessagesEligible && (\n <View style={styles.settingRow}>\n <View style={styles.settingRowText}>\n <Text>Allow direct messages</Text>\n <Text variant=\"tertiary\">\n When off, you can't be added to new direct messages, and any you're already in\n will be turned off.\n </Text>\n </View>\n <Switch\n value={!directMessagesDisabled}\n onValueChange={enabled => setDirectMessagesDisabled(!enabled)}\n disabled={isMutating}\n />\n </View>\n )}\n <NavRow label=\"Notification settings\" onPress={handleNotificationSettings} />\n {appName !== 'services' && <NavRow label=\"Get help\" onPress={handleGetHelp} />}\n </View>\n </ScrollView>\n <View style={styles.footer}>\n <VersionFooter />\n </View>\n </View>\n )\n}\n\ninterface NavRowProps {\n label: string\n onPress: () => void\n}\n\nfunction NavRow({ label, onPress }: NavRowProps) {\n const styles = useNavRowStyles()\n return (\n <PlatformPressable\n style={styles.container}\n onPress={onPress}\n accessibilityRole=\"button\"\n accessibilityLabel={label}\n >\n <View style={styles.inner}>\n <Text>{label}</Text>\n {Platform.OS === 'ios' && (\n <Icon name=\"general.rightChevron\" size={16} style={styles.chevron} />\n )}\n </View>\n </PlatformPressable>\n )\n}\n\nconst useStyles = () => {\n const { colors } = useTheme()\n const insets = useSafeAreaInsets()\n return StyleSheet.create({\n container: {\n flex: 1,\n },\n footer: {\n paddingBottom: Math.max(insets.bottom, 8),\n },\n sectionOuter: {\n paddingLeft: 16,\n },\n sectionHeader: {\n paddingRight: 16,\n paddingTop: 24,\n paddingBottom: 12,\n borderBottomWidth: 1,\n borderBottomColor: colors.borderColorDefaultBase,\n },\n settingRow: {\n flexDirection: 'row',\n alignItems: 'flex-start',\n justifyContent: 'space-between',\n paddingRight: 16,\n paddingVertical: 12,\n borderBottomWidth: 1,\n borderBottomColor: colors.borderColorDefaultBase,\n },\n settingRowText: {\n flex: 1,\n gap: 8,\n },\n })\n}\n\nconst useNavRowStyles = () => {\n const { colors } = useTheme()\n return StyleSheet.create({\n container: {\n paddingLeft: 0,\n },\n inner: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'space-between',\n paddingRight: 16,\n paddingVertical: 14,\n borderBottomWidth: 1,\n borderBottomColor: colors.borderColorDefaultBase,\n },\n chevron: {\n color: colors.iconColorDefaultDisabled,\n },\n })\n}\n"],"mappings":";AAAA,SAASA,iBAAiB,QAAQ,4BAA4B;AAC9D,SAA4BC,aAAa,QAAQ,0BAA0B;AAC3E,OAAOC,KAAK,IAAIC,WAAW,QAAQ,OAAO;AAC1C,SAASC,QAAQ,EAAEC,UAAU,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACrE,SAASC,iBAAiB,QAAQ,gCAAgC;AAClE,SAASC,OAAO,EAAEC,IAAI,EAAEC,IAAI,EAAEC,aAAa,QAAQ,eAAe;AAClE,SAASC,MAAM,QAAQ,8BAA8B;AACrD,SAASC,yBAAyB,EAAEC,QAAQ,QAAQ,UAAU;AAC9D,SAASC,UAAU,QAAQ,uBAAuB;AAClD,SAASC,iBAAiB,QAAQ,8BAA8B;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAIhE,OAAO,SAAAC,eAAAC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EACL,MAAAC,MAAA,GAAeC,SAAS,CAAC,CAAC;EAC1B;IAAAC,sBAAA;IAAAC,yBAAA;IAAAC;EAAA,IAA0Eb,iBAAiB,CAAC,CAAC;EAC7F,MAAAc,sBAAA,GAA+BjB,yBA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ArD,CAAA,MAAAD,EAAA;EAAA;IAAAA,EAAA,GAAAC,CAAA;EAAA;EAAA,OA9BKD,EA8BL;AAAA,CACH;AAED,MAAM4C,eAAe,GAAGA,CAAA;EAAA,MAAA3C,CAAA,GAAAC,EAAA;EACtB;IAAAiD;EAAA,IAAmB3D,QAAQ,CAAC,CAAC;EAAA,IAAAQ,EAAA;EAAA,IAAAC,CAAA,QAAAkD,MAAA,CAAAE,sBAAA,IAAApD,CAAA,QAAAkD,MAAA,CAAAmB,wBAAA;IACtBtE,EAAA,GAAAjB,UAAU,CAAAwE,MAAO,CAAC;MAAAb,SAAA,EACZ;QAAAkB,WAAA,EACI;MACf,CAAC;MAAAX,KAAA,EACM;QAAAgB,aAAA,EACU,KAAK;QAAAC,UAAA,EACR,QAAQ;QAAAC,cAAA,EACJ,eAAe;QAAAN,YAAA,EACjB,EAAE;QAAAO,eAAA,EACC,EAAE;QAAAL,iBAAA,EACA,CAAC;QAAAC,iBAAA,EACDb,MAAM,CAAAE;MAC3B,CAAC;MAAAR,OAAA,EACQ;QAAA0B,KAAA,EACApB,MAAM,CAAAmB;MACf;IACF,CAAC,CAAC;IAAArE,CAAA,MAAAkD,MAAA,CAAAE,sBAAA;IAAApD,CAAA,MAAAkD,MAAA,CAAAmB,wBAAA;IAAArE,CAAA,MAAAD,EAAA;EAAA;IAAAA,EAAA,GAAAC,CAAA;EAAA;EAAA,OAhBKD,EAgBL;AAAA,CACH","ignoreList":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StaticScreenProps } from '@react-navigation/native';
|
|
2
|
+
export declare const SystemMessagePeopleScreenOptions: () => import("@react-navigation/native-stack").NativeStackNavigationOptions;
|
|
3
|
+
export type SystemMessagePeopleScreenProps = StaticScreenProps<{
|
|
4
|
+
conversation_id: number;
|
|
5
|
+
person_ids: number[];
|
|
6
|
+
}>;
|
|
7
|
+
export declare function SystemMessagePeopleScreen({ route }: SystemMessagePeopleScreenProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=system_message_people_screen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system_message_people_screen.d.ts","sourceRoot":"","sources":["../../src/screens/system_message_people_screen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAS5D,eAAO,MAAM,gCAAgC,6EAM3C,CAAA;AAEF,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,wBAAgB,yBAAyB,CAAC,EAAE,KAAK,EAAE,EAAE,8BAA8B,2CAmBlF"}
|
|
@@ -5,7 +5,7 @@ import { FlatList } from 'react-native-gesture-handler';
|
|
|
5
5
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
6
6
|
import { Avatar, Text } from '../components';
|
|
7
7
|
import FormSheet, { getFormSheetScreenOptions } from '../components/primitive/form_sheet';
|
|
8
|
-
import {
|
|
8
|
+
import { useSystemMessagePeople } from '../hooks/use_system_message_people';
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
10
|
export const SystemMessagePeopleScreenOptions = getFormSheetScreenOptions({
|
|
11
11
|
sheetAllowedDetents: Platform.select({
|
|
@@ -15,7 +15,7 @@ export const SystemMessagePeopleScreenOptions = getFormSheetScreenOptions({
|
|
|
15
15
|
headerTitle: 'People'
|
|
16
16
|
});
|
|
17
17
|
export function SystemMessagePeopleScreen(t0) {
|
|
18
|
-
const $ = _c(
|
|
18
|
+
const $ = _c(9);
|
|
19
19
|
const {
|
|
20
20
|
route
|
|
21
21
|
} = t0;
|
|
@@ -24,110 +24,50 @@ export function SystemMessagePeopleScreen(t0) {
|
|
|
24
24
|
person_ids
|
|
25
25
|
} = route.params;
|
|
26
26
|
const styles = useStyles();
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
$[0] = t2;
|
|
34
|
-
} else {
|
|
35
|
-
t2 = $[0];
|
|
36
|
-
}
|
|
37
|
-
let t3;
|
|
38
|
-
if ($[1] !== person_ids) {
|
|
39
|
-
t3 = {
|
|
40
|
-
id: person_ids
|
|
27
|
+
let t1;
|
|
28
|
+
if ($[0] !== conversation_id || $[1] !== person_ids) {
|
|
29
|
+
t1 = {
|
|
30
|
+
conversationId: conversation_id,
|
|
31
|
+
personIds: person_ids
|
|
41
32
|
};
|
|
33
|
+
$[0] = conversation_id;
|
|
42
34
|
$[1] = person_ids;
|
|
43
|
-
$[2] =
|
|
35
|
+
$[2] = t1;
|
|
44
36
|
} else {
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
let t4;
|
|
48
|
-
if ($[3] !== person_ids.length || $[4] !== t3) {
|
|
49
|
-
t4 = {
|
|
50
|
-
fields: t2,
|
|
51
|
-
where: t3,
|
|
52
|
-
limit: person_ids.length
|
|
53
|
-
};
|
|
54
|
-
$[3] = person_ids.length;
|
|
55
|
-
$[4] = t3;
|
|
56
|
-
$[5] = t4;
|
|
57
|
-
} else {
|
|
58
|
-
t4 = $[5];
|
|
59
|
-
}
|
|
60
|
-
let t5;
|
|
61
|
-
if ($[6] !== t1 || $[7] !== t4) {
|
|
62
|
-
t5 = {
|
|
63
|
-
url: t1,
|
|
64
|
-
data: t4
|
|
65
|
-
};
|
|
66
|
-
$[6] = t1;
|
|
67
|
-
$[7] = t4;
|
|
68
|
-
$[8] = t5;
|
|
69
|
-
} else {
|
|
70
|
-
t5 = $[8];
|
|
37
|
+
t1 = $[2];
|
|
71
38
|
}
|
|
72
39
|
const {
|
|
73
|
-
data:
|
|
74
|
-
} =
|
|
75
|
-
let
|
|
76
|
-
if ($[
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
$[10] = t6;
|
|
80
|
-
} else {
|
|
81
|
-
t6 = $[10];
|
|
82
|
-
}
|
|
83
|
-
const orderById = t6;
|
|
84
|
-
let t7;
|
|
85
|
-
if ($[11] !== members || $[12] !== orderById) {
|
|
86
|
-
let t8;
|
|
87
|
-
if ($[14] !== orderById) {
|
|
88
|
-
t8 = (a, b) => (orderById[a.id] ?? 0) - (orderById[b.id] ?? 0);
|
|
89
|
-
$[14] = orderById;
|
|
90
|
-
$[15] = t8;
|
|
91
|
-
} else {
|
|
92
|
-
t8 = $[15];
|
|
93
|
-
}
|
|
94
|
-
t7 = [...members].sort(t8);
|
|
95
|
-
$[11] = members;
|
|
96
|
-
$[12] = orderById;
|
|
97
|
-
$[13] = t7;
|
|
98
|
-
} else {
|
|
99
|
-
t7 = $[13];
|
|
100
|
-
}
|
|
101
|
-
const sortedMembers = t7;
|
|
102
|
-
let t8;
|
|
103
|
-
if ($[16] !== sortedMembers || $[17] !== styles.contentContainer) {
|
|
104
|
-
t8 = /*#__PURE__*/_jsx(FlatList, {
|
|
105
|
-
data: sortedMembers,
|
|
40
|
+
data: people
|
|
41
|
+
} = useSystemMessagePeople(t1);
|
|
42
|
+
let t2;
|
|
43
|
+
if ($[3] !== people || $[4] !== styles.contentContainer) {
|
|
44
|
+
t2 = /*#__PURE__*/_jsx(FlatList, {
|
|
45
|
+
data: people,
|
|
106
46
|
contentContainerStyle: styles.contentContainer,
|
|
107
|
-
keyExtractor:
|
|
108
|
-
renderItem:
|
|
47
|
+
keyExtractor: _temp,
|
|
48
|
+
renderItem: _temp2
|
|
109
49
|
});
|
|
110
|
-
$[
|
|
111
|
-
$[
|
|
112
|
-
$[
|
|
50
|
+
$[3] = people;
|
|
51
|
+
$[4] = styles.contentContainer;
|
|
52
|
+
$[5] = t2;
|
|
113
53
|
} else {
|
|
114
|
-
|
|
54
|
+
t2 = $[5];
|
|
115
55
|
}
|
|
116
|
-
let
|
|
117
|
-
if ($[
|
|
118
|
-
|
|
56
|
+
let t3;
|
|
57
|
+
if ($[6] !== styles.formSheetContent || $[7] !== t2) {
|
|
58
|
+
t3 = /*#__PURE__*/_jsx(FormSheet.Root, {
|
|
119
59
|
contentStyle: styles.formSheetContent,
|
|
120
|
-
children:
|
|
60
|
+
children: t2
|
|
121
61
|
});
|
|
122
|
-
$[
|
|
123
|
-
$[
|
|
124
|
-
$[
|
|
62
|
+
$[6] = styles.formSheetContent;
|
|
63
|
+
$[7] = t2;
|
|
64
|
+
$[8] = t3;
|
|
125
65
|
} else {
|
|
126
|
-
|
|
66
|
+
t3 = $[8];
|
|
127
67
|
}
|
|
128
|
-
return
|
|
68
|
+
return t3;
|
|
129
69
|
}
|
|
130
|
-
function
|
|
70
|
+
function _temp2(t0) {
|
|
131
71
|
const {
|
|
132
72
|
item: item_0
|
|
133
73
|
} = t0;
|
|
@@ -135,12 +75,9 @@ function _temp3(t0) {
|
|
|
135
75
|
person: item_0
|
|
136
76
|
});
|
|
137
77
|
}
|
|
138
|
-
function
|
|
78
|
+
function _temp(item) {
|
|
139
79
|
return item.id.toString();
|
|
140
80
|
}
|
|
141
|
-
function _temp(id, i) {
|
|
142
|
-
return [id, i];
|
|
143
|
-
}
|
|
144
81
|
const Person = memo(t0 => {
|
|
145
82
|
const $ = _c(9);
|
|
146
83
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system_message_people_screen.js","names":["React","memo","Platform","StyleSheet","View","FlatList","useSafeAreaInsets","Avatar","Text","FormSheet","getFormSheetScreenOptions","
|
|
1
|
+
{"version":3,"file":"system_message_people_screen.js","names":["React","memo","Platform","StyleSheet","View","FlatList","useSafeAreaInsets","Avatar","Text","FormSheet","getFormSheetScreenOptions","useSystemMessagePeople","jsx","_jsx","jsxs","_jsxs","SystemMessagePeopleScreenOptions","sheetAllowedDetents","select","android","default","headerTitle","SystemMessagePeopleScreen","t0","$","_c","route","conversation_id","person_ids","params","styles","useStyles","t1","conversationId","personIds","data","people","t2","contentContainer","contentContainerStyle","keyExtractor","_temp","renderItem","_temp2","t3","formSheetContent","Root","contentStyle","children","item","item_0","Person","id","toString","person","avatar","sourceUri","size","name","personName","variant","numberOfLines","style","personRow","bottom","create","paddingTop","paddingBottom","flexDirection","alignItems","gap","paddingVertical","paddingHorizontal","flex"],"sources":["../../src/screens/system_message_people_screen.tsx"],"sourcesContent":["import { StaticScreenProps } from '@react-navigation/native'\nimport React, { memo } from 'react'\nimport { Platform, StyleSheet, View } from 'react-native'\nimport { FlatList } from 'react-native-gesture-handler'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport { Avatar, Text } from '../components'\nimport FormSheet, { getFormSheetScreenOptions } from '../components/primitive/form_sheet'\nimport { SystemMessagePerson, useSystemMessagePeople } from '../hooks/use_system_message_people'\n\nexport const SystemMessagePeopleScreenOptions = getFormSheetScreenOptions({\n sheetAllowedDetents: Platform.select({\n android: [0.5, 0.94],\n default: [0.5, 1],\n }),\n headerTitle: 'People',\n})\n\nexport type SystemMessagePeopleScreenProps = StaticScreenProps<{\n conversation_id: number\n person_ids: number[]\n}>\n\nexport function SystemMessagePeopleScreen({ route }: SystemMessagePeopleScreenProps) {\n const { conversation_id, person_ids } = route.params\n const styles = useStyles()\n\n const { data: people } = useSystemMessagePeople({\n conversationId: conversation_id,\n personIds: person_ids,\n })\n\n return (\n <FormSheet.Root contentStyle={styles.formSheetContent}>\n <FlatList\n data={people}\n contentContainerStyle={styles.contentContainer}\n keyExtractor={item => item.id.toString()}\n renderItem={({ item }) => <Person person={item} />}\n />\n </FormSheet.Root>\n )\n}\n\nconst Person = memo(({ person }: { person: SystemMessagePerson }) => {\n const styles = useStyles()\n\n return (\n <View style={styles.personRow}>\n <Avatar sourceUri={person.avatar} size=\"sm\" />\n <Text variant=\"tertiary\" numberOfLines={2} style={styles.personName}>\n {person.name}\n </Text>\n </View>\n )\n})\n\nconst useStyles = () => {\n const { bottom } = useSafeAreaInsets()\n\n return StyleSheet.create({\n formSheetContent: {\n paddingTop: 16,\n },\n contentContainer: {\n paddingTop: 8,\n paddingBottom: bottom + 24,\n },\n personRow: {\n fl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EAKO;AAAA,CAEV,CAAC;AAEF,MAAMb,SAAS,GAAGA,CAAA;EAAA,MAAAP,CAAA,GAAAC,EAAA;EAChB;IAAAuC;EAAA,IAAmB1D,iBAAiB,CAAC,CAAC;EAAA,IAAAiB,EAAA;EAAA,IAAAC,CAAA,QAAAwC,MAAA;IAE/BzC,EAAA,GAAApB,UAAU,CAAA8D,MAAO,CAAC;MAAApB,gBAAA,EACL;QAAAqB,UAAA,EACJ;MACd,CAAC;MAAA5B,gBAAA,EACiB;QAAA4B,UAAA,EACJ,CAAC;QAAAC,aAAA,EACEH,MAAM,GAAG;MAC1B,CAAC;MAAAD,SAAA,EACU;QAAAK,aAAA,EACM,KAAK;QAAAC,UAAA,EACR,QAAQ;QAAAC,GAAA,EACf,CAAC;QAAAC,eAAA,EACW,CAAC;QAAAC,iBAAA,EACC,EAAE;QAAAC,IAAA,EACf;MACR,CAAC;MAAAd,UAAA,EACW;QAAAc,IAAA,EACJ;MACR;IACF,CAAC,CAAC;IAAAjD,CAAA,MAAAwC,MAAA;IAAAxC,CAAA,MAAAD,EAAA;EAAA;IAAAA,EAAA,GAAAC,CAAA;EAAA;EAAA,OAnBKD,EAmBL;AAAA,CACH","ignoreList":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StaticScreenProps } from '@react-navigation/native';
|
|
2
|
+
export type TeamConversationRouteProps = {
|
|
3
|
+
plan_id?: number;
|
|
4
|
+
team_ids?: number[];
|
|
5
|
+
};
|
|
6
|
+
export type TeamConversationScreenProps = StaticScreenProps<TeamConversationRouteProps>;
|
|
7
|
+
export declare const TeamConversationScreen: ({ route }: TeamConversationScreenProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=team_conversation_screen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team_conversation_screen.d.ts","sourceRoot":"","sources":["../../src/screens/team_conversation_screen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,iBAAiB,EAAiB,MAAM,0BAA0B,CAAA;AASzF,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC,0BAA0B,CAAC,CAAA;AAEvF,eAAO,MAAM,sBAAsB,GAAI,WAAW,2BAA2B,4CAqC5E,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export interface ResourceObject {
|
|
2
|
+
id: string | number;
|
|
3
|
+
type: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ErrorObject {
|
|
6
|
+
source?: {
|
|
7
|
+
parameter: string;
|
|
8
|
+
};
|
|
9
|
+
detail: string;
|
|
10
|
+
meta?: {
|
|
11
|
+
associated_resources: any[];
|
|
12
|
+
resource: string;
|
|
13
|
+
};
|
|
14
|
+
title: string;
|
|
15
|
+
status: string;
|
|
16
|
+
}
|
|
17
|
+
export type ApiResource<Type = ResourceObject> = {
|
|
18
|
+
data: Type;
|
|
19
|
+
links: Record<string, string>;
|
|
20
|
+
meta: Record<string, unknown>;
|
|
21
|
+
};
|
|
22
|
+
export type ApiCollection<Type = ResourceObject> = {
|
|
23
|
+
data: Type[];
|
|
24
|
+
links: Record<string, string>;
|
|
25
|
+
meta: CollectionMeta;
|
|
26
|
+
};
|
|
27
|
+
export interface FailedResponse extends Response {
|
|
28
|
+
errors: ErrorObject[];
|
|
29
|
+
}
|
|
30
|
+
export interface NextPageCursor {
|
|
31
|
+
offset?: string;
|
|
32
|
+
idLt?: string;
|
|
33
|
+
idLte?: string;
|
|
34
|
+
idGt?: string;
|
|
35
|
+
idGte?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface CollectionMeta {
|
|
38
|
+
count: number;
|
|
39
|
+
totalCount: number;
|
|
40
|
+
next?: NextPageCursor;
|
|
41
|
+
prev?: NextPageCursor;
|
|
42
|
+
parent?: ResourceObject;
|
|
43
|
+
[attributeName: string]: unknown;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=api_primitives.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api_primitives.d.ts","sourceRoot":"","sources":["../../src/types/api_primitives.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAA;IAC9B,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE;QAAE,oBAAoB,EAAE,GAAG,EAAE,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAA;IACxD,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,WAAW,CAAC,IAAI,GAAG,cAAc,IAAI;IAC/C,IAAI,EAAE,IAAI,CAAA;IACV,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC9B,CAAA;AAED,MAAM,MAAM,aAAa,CAAC,IAAI,GAAG,cAAc,IAAI;IACjD,IAAI,EAAE,IAAI,EAAE,CAAA;IACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7B,IAAI,EAAE,cAAc,CAAA;CACrB,CAAA;AAED,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC9C,MAAM,EAAE,WAAW,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAA;CACjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CustomMessage } from '@planningcenter/jolt-client/dist/types/JoltConnection';
|
|
2
|
+
interface AttachmentFlaggedEventData extends Record<string, unknown> {
|
|
3
|
+
data: {
|
|
4
|
+
attachment_id: string;
|
|
5
|
+
conversation_id: number;
|
|
6
|
+
content_type: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export interface AttachmentFlaggedEvent extends CustomMessage {
|
|
10
|
+
event: 'attachment.flagged';
|
|
11
|
+
data: AttachmentFlaggedEventData;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=attachment_events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment_events.d.ts","sourceRoot":"","sources":["../../../src/types/jolt_events/attachment_events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAA;AAE1F,UAAU,0BAA2B,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAClE,IAAI,EAAE;QACJ,aAAa,EAAE,MAAM,CAAA;QACrB,eAAe,EAAE,MAAM,CAAA;QACvB,YAAY,EAAE,MAAM,CAAA;KACrB,CAAA;CACF;AAED,MAAM,WAAW,sBAAuB,SAAQ,aAAa;IAC3D,KAAK,EAAE,oBAAoB,CAAA;IAC3B,IAAI,EAAE,0BAA0B,CAAA;CACjC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { CustomMessage } from '@planningcenter/jolt-client/dist/types/JoltConnection';
|
|
2
|
+
type DateString = string;
|
|
3
|
+
interface BaseConversationEventData extends Record<string, unknown> {
|
|
4
|
+
data: {
|
|
5
|
+
id: number;
|
|
6
|
+
archived_at: DateString;
|
|
7
|
+
created_at: DateString;
|
|
8
|
+
last_message_author_id?: number;
|
|
9
|
+
last_message_author_name?: string;
|
|
10
|
+
last_message_created_at?: DateString;
|
|
11
|
+
last_message_sort_key?: string;
|
|
12
|
+
last_message_idempotent_key?: string | null;
|
|
13
|
+
last_message_text_preview?: string;
|
|
14
|
+
latest_read_message_sort_key?: string;
|
|
15
|
+
organization_id: number;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
disabled_reason: string | null;
|
|
18
|
+
disabled_message: string | null;
|
|
19
|
+
replies_disabled: boolean;
|
|
20
|
+
subtitle?: string;
|
|
21
|
+
title: string;
|
|
22
|
+
updated_at: DateString;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export interface ConversationCreatedEvent extends CustomMessage {
|
|
26
|
+
event: 'conversation.created';
|
|
27
|
+
data: BaseConversationEventData;
|
|
28
|
+
}
|
|
29
|
+
export interface ConversationUpdatedEvent extends CustomMessage {
|
|
30
|
+
event: 'conversation.updated';
|
|
31
|
+
data: BaseConversationEventData;
|
|
32
|
+
}
|
|
33
|
+
export interface ConversationDeletedEvent extends CustomMessage {
|
|
34
|
+
event: 'conversation.destroyed';
|
|
35
|
+
data: BaseConversationEventData;
|
|
36
|
+
}
|
|
37
|
+
export interface ConversationReadEvent extends CustomMessage {
|
|
38
|
+
event: 'conversation.read';
|
|
39
|
+
data: BaseConversationEventData;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=conversation_events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation_events.d.ts","sourceRoot":"","sources":["../../../src/types/jolt_events/conversation_events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAA;AAE1F,KAAK,UAAU,GAAG,MAAM,CAAA;AACxB,UAAU,yBAA0B,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACjE,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAA;QACV,WAAW,EAAE,UAAU,CAAA;QACvB,UAAU,EAAE,UAAU,CAAA;QACtB,sBAAsB,CAAC,EAAE,MAAM,CAAA;QAC/B,wBAAwB,CAAC,EAAE,MAAM,CAAA;QACjC,uBAAuB,CAAC,EAAE,UAAU,CAAA;QACpC,qBAAqB,CAAC,EAAE,MAAM,CAAA;QAC9B,2BAA2B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC3C,yBAAyB,CAAC,EAAE,MAAM,CAAA;QAClC,4BAA4B,CAAC,EAAE,MAAM,CAAA;QACrC,eAAe,EAAE,MAAM,CAAA;QACvB,QAAQ,EAAE,OAAO,CAAA;QACjB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;QAC9B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;QAC/B,gBAAgB,EAAE,OAAO,CAAA;QACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,KAAK,EAAE,MAAM,CAAA;QACb,UAAU,EAAE,UAAU,CAAA;KACvB,CAAA;CACF;AAED,MAAM,WAAW,wBAAyB,SAAQ,aAAa;IAC7D,KAAK,EAAE,sBAAsB,CAAA;IAC7B,IAAI,EAAE,yBAAyB,CAAA;CAChC;AAED,MAAM,WAAW,wBAAyB,SAAQ,aAAa;IAC7D,KAAK,EAAE,sBAAsB,CAAA;IAC7B,IAAI,EAAE,yBAAyB,CAAA;CAChC;AAED,MAAM,WAAW,wBAAyB,SAAQ,aAAa;IAC7D,KAAK,EAAE,wBAAwB,CAAA;IAC/B,IAAI,EAAE,yBAAyB,CAAA;CAChC;AAED,MAAM,WAAW,qBAAsB,SAAQ,aAAa;IAC1D,KAAK,EAAE,mBAAmB,CAAA;IAC1B,IAAI,EAAE,yBAAyB,CAAA;CAChC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { AttachmentFlaggedEvent } from './attachment_events';
|
|
2
|
+
import type { ConversationCreatedEvent, ConversationDeletedEvent, ConversationUpdatedEvent, ConversationReadEvent } from './conversation_events';
|
|
3
|
+
import type { MessageCreatedEvent, MessageDeletedEvent, MessageUpdatedEvent } from './message_events';
|
|
4
|
+
import type { ReactionCreatedEvent, ReactionDeletedEvent } from './reaction_events';
|
|
5
|
+
import type { TypingBroadcastEvent } from './typing_events';
|
|
6
|
+
export type JoltConversationEvent = ConversationCreatedEvent | ConversationUpdatedEvent | ConversationDeletedEvent | ConversationReadEvent;
|
|
7
|
+
export type JoltMessageEvent = MessageCreatedEvent | MessageUpdatedEvent | MessageDeletedEvent;
|
|
8
|
+
export type JoltReactionEvent = ReactionCreatedEvent | ReactionDeletedEvent;
|
|
9
|
+
export type JoltTypingEvent = TypingBroadcastEvent;
|
|
10
|
+
export type JoltAttachmentEvent = AttachmentFlaggedEvent;
|
|
11
|
+
export type CustomJoltEvent = JoltConversationEvent | JoltMessageEvent | JoltReactionEvent | JoltTypingEvent | JoltAttachmentEvent;
|
|
12
|
+
export type JoltEventName = CustomJoltEvent['event'] | 'STREAM_USER_UPDATED';
|
|
13
|
+
export type JoltSubscriptionPattern = JoltEventName | 'reaction.*';
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/jolt_events/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AACjE,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACtB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AACnF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAE3D,MAAM,MAAM,qBAAqB,GAC7B,wBAAwB,GACxB,wBAAwB,GACxB,wBAAwB,GACxB,qBAAqB,CAAA;AACzB,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,mBAAmB,CAAA;AAC9F,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG,oBAAoB,CAAA;AAC3E,MAAM,MAAM,eAAe,GAAG,oBAAoB,CAAA;AAClD,MAAM,MAAM,mBAAmB,GAAG,sBAAsB,CAAA;AAExD,MAAM,MAAM,eAAe,GACvB,qBAAqB,GACrB,gBAAgB,GAChB,iBAAiB,GACjB,eAAe,GACf,mBAAmB,CAAA;AAEvB,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,OAAO,CAAC,GAAG,qBAAqB,CAAA;AAC5E,MAAM,MAAM,uBAAuB,GAAG,aAAa,GAAG,YAAY,CAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { CustomMessage } from '@planningcenter/jolt-client/dist/types/JoltConnection';
|
|
2
|
+
import { DenormalizedAttachmentResource } from '../resources/denormalized_attachment_resource';
|
|
3
|
+
import type { SystemTextFormat } from '../resources/message';
|
|
4
|
+
interface BaseMessageEventData extends Record<string, unknown> {
|
|
5
|
+
data: {
|
|
6
|
+
author_avatar: string;
|
|
7
|
+
author_id: number;
|
|
8
|
+
author_name: string;
|
|
9
|
+
conversation_id: number;
|
|
10
|
+
created_at: string;
|
|
11
|
+
deleted_at: string | null;
|
|
12
|
+
organization_id: number | null;
|
|
13
|
+
sort_key: string;
|
|
14
|
+
text: string;
|
|
15
|
+
text_edited_at: string | null;
|
|
16
|
+
html: string;
|
|
17
|
+
attachments: DenormalizedAttachmentResource[];
|
|
18
|
+
idempotent_key?: string | null;
|
|
19
|
+
reply_count: number;
|
|
20
|
+
reply_root_id: string | null;
|
|
21
|
+
message_type: string;
|
|
22
|
+
system_event_person_ids: number[] | null;
|
|
23
|
+
system_text_parts: {
|
|
24
|
+
names: string[];
|
|
25
|
+
overflow_count: number;
|
|
26
|
+
action: string;
|
|
27
|
+
} | null;
|
|
28
|
+
system_text_format: SystemTextFormat | null;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export interface MessageCreatedEvent extends CustomMessage {
|
|
32
|
+
event: 'message.created';
|
|
33
|
+
data: BaseMessageEventData;
|
|
34
|
+
}
|
|
35
|
+
export interface MessageUpdatedEvent extends CustomMessage {
|
|
36
|
+
event: 'message.updated';
|
|
37
|
+
data: BaseMessageEventData;
|
|
38
|
+
}
|
|
39
|
+
export interface MessageDeletedEvent extends CustomMessage {
|
|
40
|
+
event: 'message.destroyed';
|
|
41
|
+
data: BaseMessageEventData;
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
44
|
+
//# sourceMappingURL=message_events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message_events.d.ts","sourceRoot":"","sources":["../../../src/types/jolt_events/message_events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAA;AAC1F,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAA;AAC9F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAE5D,UAAU,oBAAqB,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC5D,IAAI,EAAE;QACJ,aAAa,EAAE,MAAM,C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ionCountResource } from '../resources/reaction';
|
|
3
|
+
interface BaseReactionEventData extends Record<string, unknown> {
|
|
4
|
+
data: {
|
|
5
|
+
author_id: number;
|
|
6
|
+
conversation_id: number;
|
|
7
|
+
message_sort_key: string;
|
|
8
|
+
message_author_id: number;
|
|
9
|
+
reply_root_id?: string | null;
|
|
10
|
+
created_at: string;
|
|
11
|
+
organization_id: number;
|
|
12
|
+
value: ReactionCountResource['value'];
|
|
13
|
+
author_name?: string;
|
|
14
|
+
author_avatar?: string;
|
|
15
|
+
count: number;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface ReactionCreatedEvent extends CustomMessage {
|
|
19
|
+
event: 'reaction.created';
|
|
20
|
+
data: BaseReactionEventData;
|
|
21
|
+
}
|
|
22
|
+
export interface ReactionDeletedEvent extends CustomMessage {
|
|
23
|
+
event: 'reaction.destroyed';
|
|
24
|
+
data: BaseReactionEventData;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=reaction_events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reaction_events.d.ts","sourceRoot":"","sources":["../../../src/types/jolt_events/reaction_events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAA;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAE7D,UAAU,qBAAsB,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC7D,IAAI,EAAE;QACJ,SAAS,EAAE,MAAM,CAAA;QACjB,eAAe,EAAE,MAAM,CAAA;QACvB,gBAAgB,EAAE,MAAM,CAAA;QACxB,iBAAiB,EAAE,MAAM,CAAA;QACzB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B,UAAU,EAAE,MAAM,CAAA;QAClB,eAAe,EAAE,MAAM,CAAA;QACvB,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC,CAAA;QACrC,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,aAAa,CAAC,EAAE,MAAM,CAAA;QACtB,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;CACF;AAED,MAAM,WAAW,oBAAqB,SAAQ,aAAa;IACzD,KAAK,EAAE,kBAAkB,CAAA;IACzB,IAAI,EAAE,qBAAqB,CAAA;CAC5B;AAED,MAAM,WAAW,oBAAqB,SAAQ,aAAa;IACzD,KAAK,EAAE,oBAAoB,CAAA;IAC3B,IAAI,EAAE,qBAAqB,CAAA;CAC5B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { CustomMessage } from '@planningcenter/jolt-client/dist/types/JoltConnection';
|
|
2
|
+
interface TypingBroadcastData extends Record<string, unknown> {
|
|
3
|
+
data: TypingBroadcastDataAttributes;
|
|
4
|
+
}
|
|
5
|
+
export interface TypingBroadcastEvent extends CustomMessage {
|
|
6
|
+
event: 'typing.broadcast';
|
|
7
|
+
data: TypingBroadcastData;
|
|
8
|
+
}
|
|
9
|
+
export interface TypingBroadcastDataAttributes {
|
|
10
|
+
author_id: number;
|
|
11
|
+
author_name: string;
|
|
12
|
+
id: string;
|
|
13
|
+
reply_root_id: string | null;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=typing_events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typing_events.d.ts","sourceRoot":"","sources":["../../../src/types/jolt_events/typing_events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAA;AAE1F,UAAU,mBAAoB,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC3D,IAAI,EAAE,6BAA6B,CAAA;CACpC;AAED,MAAM,WAAW,oBAAqB,SAAQ,aAAa;IACzD,KAAK,EAAE,kBAAkB,CAAA;IACzB,IAAI,EAAE,mBAAmB,CAAA;CAC1B;AAED,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product_analytics.d.ts","sourceRoot":"","sources":["../../src/types/product_analytics.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analytics_metadata.d.ts","sourceRoot":"","sources":["../../../src/types/resources/analytics_metadata.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC"}
|