BlueGit

ict rusty-teams

Files

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

lib.rs

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