BlueGit

ict rusty-teams

Files

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

lib.rs

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