BlueGit

ict rusty-teams

Files

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

lib.rs

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