BlueGit

ict rusty-teams

Files

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

lib.rs

lib.rs 7.8 KiB Download Raw
1mod actions;
2mod activity_sync;
3mod adaptive_card;
4mod ams_video;
5mod announcement;
6mod announcement_post;
7mod avatars;
8mod bot_partners;
9mod call_event;
10mod card_actions;
11mod card_chart;
12mod card_date;
13mod card_inputs;
14mod card_layout;
15mod card_table;
16mod card_widgets;
17mod card_width;
18mod channel_mentions;
19mod channel_sync;
20mod channel_visibility;
21mod chat_paging;
22mod chat_send;
23mod chat_settings_sync;
24mod cloud_files;
25mod copilot;
26mod default_reactions;
27mod download;
28mod draft;
29mod emoticon_tags;
30mod emotion_sync;
31mod engine;
32mod error;
33mod events;
34mod external_image;
35mod folders;
36mod forward_sync;
37mod forwarded;
38mod gifs;
39mod hidden_chats;
40mod image_size;
41mod images;
42mod italic;
43mod jumbo;
44mod library;
45mod link_sync;
46mod links;
47mod mapping;
48mod markdown;
49mod meeting_join;
50mod mentions;
51mod message_actions;
52mod message_link;
53mod message_window;
54pub mod native;
55mod notes_chat;
56mod people;
57mod presence;
58mod preview;
59mod profile;
60mod receipts;
61mod recording_rights;
62mod remote;
63pub mod roster_event;
64mod scheduled;
65mod search;
66mod server_search;
67mod sidebar_sync;
68mod skin_tone;
69mod spans;
70mod stored;
71mod table;
72mod team_admin;
73mod teams_quote;
74mod time_zone;
75mod translate_sync;
76mod translation;
77mod youtube;
78
79pub use actions::OpenedPost;
80pub use activity_sync::stored_activity_feed;
81pub use adaptive_card::{
82 ActionSplit, AdaptiveCard, CARD_THEME, CardAction, CardActionIcon, CardActionKind, CardColumn,
83 CardElement, CardFact, CardIcon, CardImage, CardItem, CardMedia, CardRefresh, CardSpacing,
84 CardText, ColumnWidth, ContainerStyle, ExecuteAction, ExecuteTrigger, IconSize, ImageSize,
85 InvokePayload, SubmitAction, TextColor, TextSize, ToggleTarget, VerticalAlignment,
86 card_content_text, split_overflow, task_value,
87};
88pub use announcement::{
89 ANNOUNCEMENT_APP_ID, ANNOUNCEMENT_BANNER_TYPE, AnnouncementBanner, BannerBackground,
90 TeamsBannerImage, teams_theme,
91};
92pub use avatars::{Avatar, team_avatar_key};
93pub use call_event::{
94 CallEvent, CallPhase, CallType, Recording, call_event, format_duration, parse_duration_seconds,
95};
96pub use card_actions::{CardActionOutcome, DialogIdentity, TaskDialog, TaskDialogKind};
97pub use card_chart::{
98 AxisScale, BarDisplayMode, CardChart, ChartColor, ChartGauge, ChartKind, ChartPoint,
99 ChartSeries, GaugeSegment, GaugeValueFormat, format_chart_value, label_stride, nice_scale,
100 series_categories, series_maximum, series_value, slice_angles, unit_fraction,
101};
102pub use card_date::{format_card_dates, format_card_dates_in};
103pub use card_inputs::{
104 CardInput, CardInputKind, ChoiceInput, ChoiceQuery, ChoiceStyle, DATE_PLACEHOLDER,
105 InlineAction, InputChoice, InputError, MomentInput, NumberInput, RatingColor, RatingDisplay,
106 RatingInput, RatingSize, RatingStyle, SEARCH_INVOKE_NAME, TIME_PLACEHOLDER, TextInput,
107 TextStyle, ToggleInput, collect_input_values, format_date, format_time, merge_input_data,
108 parse_search_results, search_request_value,
109};
110pub use card_layout::{ContainerLayout, HorizontalAlignment};
111pub use card_table::{CardTable, TableCell, TableColumn, TableRow};
112pub use card_widgets::{
113 BadgeAppearance, BadgeShape, BadgeSize, BadgeStyle, CardBadge, CardCarousel, CardCarouselPage,
114 CardCodeBlock, CardCompoundButton, CardProgressBar, CardProgressRing, IconPosition,
115 LabelPosition, RingSize,
116};
117pub use card_width::{TargetWidth, WidthClass};
118pub use chat_settings_sync::{store_chat_settings, stored_chat_settings};
119pub use chatsvc::compose_copilot::{Adjustment as ComposeAdjustment, ComposeAction};
120pub use chatsvc::substrate_search;
121pub use chatsvc::{
122 ActivityAlert, ChatAccountSettings, ChatNotificationMode, ChatSettingChange,
123 ChatSettingsDocument, DesktopNotifications, EnterKeyBehavior, MeetingChatNotifications,
124 MessageDensity, NotificationAccountSettings, NotificationPreset, UpArrowBehavior,
125};
126pub use chatsvc::{ActivityHorizons, ActivityItem, ActivitySnapshot};
127pub use chatsvc::{
128 CallDirection, CallLogEntry, CallOutcome, ChatApp, ForcedAvailability, ForcedKind,
129 ForwardResult, Gif, PinnedMessage, PostFollowState, PresenceStatus, SavedMessage,
130 ScheduledDraft, StatusNote, WindowDirection, WorkLocation, WorkLocationKind,
131 WorkLocationSource,
132};
133pub use chatsvc::{ChannelPrivacy, ChatSection, ChatSectionSettings, RecordingPolicy};
134pub use chatsvc::{
135 Language, LanguageSettings, MessageLanguage, Translation, TranslationBehavior,
136 TranslationStatus, TranslationTrigger, authoring_patch, behavior_patch, language_code,
137 parse_language_settings, target_patch,
138};
139pub use default_reactions::{
140 DEFAULT_REACTION_SLOTS, TEAMS_DEFAULT_REACTIONS, default_reactions,
141 store_account_default_reactions,
142};
143pub use download::LibraryFile;
144pub use draft::{
145 Draft, DraftLine, Edit, FormatState, INDENT_PIXELS, LineKind, MAX_DEPTH, MAX_INDENT, Mark,
146 MarkKind, OBJECT_MARK, RULE_MARK, SizeStep, TypingStyle, changed_span, has_markdown, link_url,
147 map_offset, reverse_edits,
148};
149pub use emoticon_tags::{EmoticonTag, emoticon_tags};
150pub use engine::{Delta, Me, SidebarSummary, SyncConfig, SyncEngine};
151pub use error::{Error, Result};
152pub use events::CoreEvent;
153pub use external_image::external_image_url;
154pub use folders::{
155 BoxFuture, ChatFolder, ChatsvcFolderSource, FolderChange, FolderKind, FolderSource,
156 store_section_settings, stored_section_settings,
157};
158pub use forwarded::{
159 FORWARD_LOADING_TEXT, FORWARD_UNAVAILABLE_TEXT, FORWARDED_CONTENT_TYPE, ForwardHeader,
160 ForwardInfo, ForwardState, forwarded_texts, forwards, is_forwarded,
161};
162pub use graph::{
163 CloudFile, DriveEntry, DriveFolder, FileReference, HostedImage, KeptAttachment, MentionTarget,
164 MessageExtras, QuickSite, SharedFile, UploadedFile,
165};
166pub use images::StoredImage;
167pub use jumbo::{JumboEmoji, MAX_JUMBO_EMOJI, jumbo_emoji};
168pub use links::{LinkPreview, first_public_link, is_public_link, link_preview, public_links};
169pub use mapping::{chat_record, message_record};
170pub use markdown::{card_markdown_to_html, escape_html, markdown_to_html, plain_text_to_html};
171pub use meeting_join::{
172 MeetingCode, MeetingLink, ThreadMeeting, find_meeting_link, meeting_code_from_id,
173 meeting_link_in_html, parse_meeting_link,
174};
175pub use mentions::{MentionInput, apply_mentions, plain_mention_spans};
176pub use message_link::{
177 ChannelAddress, ChannelLinkInput, channel_link, channel_message_link, channel_tab_link,
178 chat_link, chat_message_link, outlook_compose_link, team_link,
179};
180pub use message_window::{JumpPlan, WINDOW_PAGE_SIZE, WindowPage, jump_plan, without_islands};
181pub use notes_chat::{is_notes_chat, notes_chat_title};
182pub use people::{MentionCandidate, PersonCandidate, PersonSource};
183pub use presence::{Activity, Availability, Presence};
184pub use preview::{is_event_preview, preview_text};
185pub use profile::{OrgPerson, PersonProfile};
186pub use receipts::{ReceiptReader, ReceiptState};
187pub use remote::{ChatsPage, DeltaPage, Remote, RemotePage};
188pub use scheduled::NOTES_CHAT_ID;
189pub use skin_tone::{skin_tone, store_account_skin_tone};
190pub use spans::{FontSize, Span, html_to_spans};
191pub use store::{ConversationHit, HIGHLIGHT_END, HIGHLIGHT_START, SearchHit};
192pub use stored::{
193 AttachmentInfo, FileCard, FileKind, ImageKind, ImageRef, MentionInfo, PROFILE_LINK_PREFIX,
194 QuoteInfo, ReactionInfo, ReactionSummary, adaptive_cards, attachments, can_delete, can_edit,
195 card_texts, copy_text, files, images, linked_message_spans, linked_message_spans_with,
196 mentions, mentions_whole_chat, message_quote, message_spans, quote_html, quotes,
197 reaction_summaries, reactions, readable_text, translated_spans, user_mention_inputs,
198};
199pub use table::{Cell, PICKER_COLUMNS, PICKER_ROWS, TABLE_MARK, Table, TableEdit};
200pub use team_admin::{MAX_CHANNEL_DESCRIPTION_LENGTH, MAX_CHANNEL_NAME_LENGTH};
201pub use time_zone::local_time;
202pub use translation::{
203 FALLBACK_TARGET, LanguageStamp, confident_language, default_target, language_name, min_chars,
204 offered_language,
205};
206pub use youtube::fallback_poster_url;