BlueGit

ict rusty-teams

Files

rusty-teams / crates / chatsvc / src / lib.rs

lib.rs

lib.rs 5.6 KiB Download Raw
1pub mod activity_feed;
2pub mod activity_mentions;
3pub mod ams;
4pub mod bot_profiles;
5pub mod calendar;
6pub mod calllog;
7pub mod cards;
8pub mod channel_notifications;
9pub mod channel_visibility;
10pub mod chat_listing;
11pub mod chat_notifications;
12pub mod chat_settings;
13pub mod compose_copilot;
14pub mod conversations;
15pub mod copilot;
16pub mod drafts;
17pub mod emotions;
18mod error;
19pub mod forward;
20pub mod gifs;
21pub mod google_calendar;
22pub mod graph_events;
23mod json_id;
24pub use json_id::id_text;
25pub mod language_settings;
26pub mod links;
27mod mask;
28pub mod members;
29pub mod messages;
30pub mod messaging_policy;
31pub mod pins;
32pub mod post_follow;
33pub mod presence;
34pub mod reactions;
35pub mod read_horizon;
36pub mod realtime;
37pub mod recap;
38pub mod receipts;
39pub mod recording_policy;
40pub mod saved;
41pub mod settings;
42pub mod sound_settings;
43pub mod sounds;
44pub mod substrate_search;
45pub mod team_admin;
46pub mod teams_cdn;
47pub mod thread_activity;
48pub mod transcripts;
49pub mod translate;
50pub mod user_profiles;
51pub mod window;
52
53pub use activity_feed::{
54 ACTIVITY_FEED_ID, ActivityFeed, ActivityHorizons, ActivityItem, ActivitySnapshot,
55};
56pub use activity_mentions::{MentionActivity, MentionKind, mentions_of};
57pub use bot_profiles::{BotProfile, BotProfiles, parse_bot_profiles};
58pub use calendar::{
59 Attendee, AttendeeResponseCounts, BusyTime, Calendar, CalendarEvent, CalendarSource,
60 CreatedEvent, DialIn, EventAttendee, NewEvent, PersonSchedule, Reminder, Repeat, Reply,
61 ResponseType, ShowAs, apply_event_details, join_info_text, meet_now_join_url, new_event_body,
62 new_event_body_with_join, parse_calendar_events, parse_created_event, strip_html,
63 truncate_preview,
64};
65pub use calllog::{CallDirection, CallLogEntry, CallOutcome};
66pub use cards::{
67 CardActions, ChatApp, InvokeRequest, InvokeResponse, TaskContent, TaskContinue, TaskResponse,
68};
69pub use channel_notifications::{ChannelNotificationLevel, ChannelNotifications, ChannelSettings};
70pub use channel_visibility::{ChannelKind, ChannelMembership, ChannelTarget, ChannelVisibility};
71pub use chat_listing::{ChatListing, ConversationPage, MessagePage, aggregator_chat};
72pub use chat_notifications::{ChatNotificationMode, ChatNotificationWrite, DesktopNotifications};
73pub use chat_settings::{
74 ActivityAlert, ChatAccountSettings, ChatSettingChange, ChatSettingsClient,
75 ChatSettingsDocument, EnterKeyBehavior, MeetingChatNotifications, MessageDensity,
76 NotificationAccountSettings, NotificationPreset, UpArrowBehavior,
77};
78pub use conversations::{ConversationState, Conversations};
79pub use drafts::{ScheduledDraft, ScheduledDrafts};
80pub use emotions::{EmotionReaction, MessageEmotions, parse_message_emotions, user_id_from_mri};
81pub use error::{Error, Result};
82pub use forward::{ForwardResult, MAX_FORWARD_MESSAGES};
83pub use gifs::{Gif, Gifs};
84pub use google_calendar::{
85 AuthPending, GoogleCalendar, GoogleEventDraft, GoogleOAuth, TokenBundle, allocate_redirect_uri,
86 client_id_from_env, exchange_code, google_event_body, google_rsvp_query, google_rsvp_status,
87 merge_calendar_events, normalize_join_url, parse_calendar_list, parse_google_events,
88 refresh_access_token, rrule_for_repeat, wait_for_code,
89};
90pub use language_settings::{
91 LanguageSettings, LanguageSettingsClient, TranslationBehavior, authoring_patch, behavior_patch,
92 parse_language_settings, target_patch,
93};
94pub use links::{LinkImage, LinkInfo, MessageLinks, hosted_content_image_url, is_link_image_url};
95pub use mask::mask_conversation_id;
96pub use members::{
97 HistoryShare, INVALID_TOPIC_CHARACTER, MAX_HISTORY_DAYS, MAX_TOPIC_LENGTH, ThreadMembers,
98 TopicProblem, topic_problem,
99};
100pub use messages::{ConversationRef, Messages};
101pub use pins::{
102 ChannelLayout, ChannelTab, Folder, FolderKind, Folders, PinnedChannels, PinnedChats,
103 PinnedMessage, Pins, TeamLayout, TeamRights,
104};
105pub use post_follow::{PostFollowState, parse_post_follow_states};
106pub use presence::{
107 ActivityReporting, ForcedAvailability, ForcedKind, PresenceLookup, PresenceService,
108 PresenceStatus, StatusNote, UserPresence, WorkLocation, WorkLocationKind, WorkLocationSource,
109 error_status, is_endpoint_missing,
110};
111pub use reactions::{
112 CustomEmoji, custom_emoji, emotion_glyph, emotion_key, emotion_keys, insert_skin_tone,
113 reaction_glyph_for_key, reaction_key, reaction_keys,
114};
115pub use read_horizon::ReadHorizon;
116pub use realtime::{
117 CallbackReplier, EventKind, InstanceNames, MessageEvent, PresenceUpdate, Realtime,
118 RealtimeConfig, RealtimeEvent, StatusEvent, StatusKind, TrouterCallback, TrouterEndpoint,
119 TypingEvent,
120};
121pub use recap::{
122 Attendance, AttendanceRecord, Occurrence, Recap, RecordingDetails, TranscriptFormat,
123 days_until_expiry,
124};
125pub use receipts::{MemberHorizon, Receipts};
126pub use recording_policy::{RecordingPolicy, parse_recording_policy};
127pub use saved::SavedMessage;
128pub use settings::{
129 AppConsumptionHorizon, ChatSection, ChatSectionSettings, UserSettings,
130 parse_app_consumption_horizon,
131};
132pub use substrate_search::{
133 QueryRequest, QueryResults, QueryScope, SearchIdentity, SearchSession, SubstrateSearch,
134 Suggestions,
135};
136pub use team_admin::{
137 ChannelEdit, ChannelPrivacy, ExistingChannel, Mailbox, NewChannel, TeamAdmin,
138};
139pub use thread_activity::{ThreadActivity, ThreadActivityKind};
140pub use transcripts::{MeetingTranscript, TranscriptError, TranscriptTurn, Transcripts};
141pub use translate::{
142 Language, MAX_TRANSLATE_BATCH, MessageLanguage, TranslateRequest, Translation,
143 TranslationStatus, TranslationTrigger, Translator, language_code,
144};
145pub use user_profiles::{UserProfile, UserProfiles};
146pub use window::{MessageWindow, WindowDirection};