BlueGit

ict rusty-teams

Files

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

lib.rs

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