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