BlueGit

ict rusty-teams

Files

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

lib.rs

lib.rs 7.1 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, INDENT_PIXELS, LineKind, MAX_DEPTH, MAX_INDENT, Mark,
128 MarkKind, OBJECT_MARK, RULE_MARK,
129 SizeStep, TypingStyle, changed_span, has_markdown, link_url, map_offset, reverse_edits,
130};
131pub use emoticon_tags::{EmoticonTag, emoticon_tags};
132pub use engine::{Delta, Me, SidebarSummary, SyncConfig, SyncEngine};
133pub use error::{Error, Result};
134pub use events::CoreEvent;
135pub use external_image::external_image_url;
136pub use folders::{
137 BoxFuture, ChatFolder, ChatsvcFolderSource, FolderChange, FolderKind, FolderSource,
138 store_section_settings, stored_section_settings,
139};
140pub use forwarded::{
141 FORWARD_LOADING_TEXT, FORWARD_UNAVAILABLE_TEXT, FORWARDED_CONTENT_TYPE, ForwardHeader,
142 ForwardInfo, ForwardState, forwarded_texts, forwards, is_forwarded,
143};
144pub use graph::{
145 DriveEntry, DriveFolder, FileReference, HostedImage, KeptAttachment, MentionTarget,
146 MessageExtras, SharedFile, UploadedFile,
147};
148pub use images::StoredImage;
149pub use jumbo::{JumboEmoji, MAX_JUMBO_EMOJI, jumbo_emoji};
150pub use links::{LinkPreview, first_public_link, is_public_link, link_preview, public_links};
151pub use youtube::fallback_poster_url;
152pub use mapping::{chat_record, message_record};
153pub use markdown::{card_markdown_to_html, escape_html, markdown_to_html, plain_text_to_html};
154pub use meeting_join::{
155 MeetingCode, MeetingLink, ThreadMeeting, find_meeting_link, meeting_code_from_id,
156 meeting_link_in_html, parse_meeting_link,
157};
158pub use mentions::{MentionInput, apply_mentions, plain_mention_spans};
159pub use message_link::{
160 ChannelAddress, ChannelLinkInput, channel_link, channel_message_link, channel_tab_link,
161 chat_message_link, team_link,
162};
163pub use message_window::{JumpPlan, WINDOW_PAGE_SIZE, WindowPage, jump_plan, without_islands};
164pub use notes_chat::{is_notes_chat, notes_chat_title};
165pub use people::{MentionCandidate, PersonCandidate, PersonSource};
166pub use presence::{Activity, Availability, Presence};
167pub use preview::{is_event_preview, preview_text};
168pub use profile::{OrgPerson, PersonProfile};
169pub use receipts::{ReceiptReader, ReceiptState};
170pub use remote::{ChatsPage, DeltaPage, Remote, RemotePage};
171pub use scheduled::NOTES_CHAT_ID;
172pub use skin_tone::{skin_tone, store_account_skin_tone};
173pub use spans::{FontSize, Span, html_to_spans};
174pub use store::{ConversationHit, HIGHLIGHT_END, HIGHLIGHT_START, SearchHit};
175pub use stored::{
176 AttachmentInfo, FileCard, FileKind, ImageKind, ImageRef, MentionInfo, PROFILE_LINK_PREFIX,
177 QuoteInfo, ReactionInfo, ReactionSummary, adaptive_cards, attachments, can_delete, can_edit,
178 card_texts, copy_text, files, images, linked_message_spans, linked_message_spans_with,
179 mentions, message_quote, message_spans, quote_html, quotes, reaction_summaries, reactions,
180 readable_text, translated_spans, user_mention_inputs,
181};
182pub use table::{Cell, PICKER_COLUMNS, PICKER_ROWS, TABLE_MARK, Table, TableEdit};
183pub use time_zone::local_time;
184pub use translation::{
185 FALLBACK_TARGET, LanguageStamp, confident_language, default_target, language_name, min_chars,
186 offered_language,
187};