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