BlueGit

ict rusty-teams

Files

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

lib.rs

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