BlueGit

ict rusty-teams

Files

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

lib.rs

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