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, Recording, call_event, format_duration,
69 parse_duration_seconds,
70};
71pub use card_actions::{CardActionOutcome, DialogIdentity, TaskDialog, TaskDialogKind};
72pub use card_chart::{
73 AxisScale, BarDisplayMode, CardChart, ChartColor, ChartGauge, ChartKind, ChartPoint,
74 ChartSeries, GaugeSegment, GaugeValueFormat, format_chart_value, label_stride, nice_scale,
75 series_categories, series_maximum, series_value, slice_angles, unit_fraction,
76};
77pub use card_date::{format_card_dates, format_card_dates_in};
78pub use card_inputs::{
79 CardInput, CardInputKind, ChoiceInput, ChoiceQuery, ChoiceStyle, DATE_PLACEHOLDER,
80 InlineAction, InputChoice, InputError, MomentInput, NumberInput, RatingColor, RatingDisplay,
81 RatingInput, RatingSize, RatingStyle, SEARCH_INVOKE_NAME, TIME_PLACEHOLDER, TextInput,
82 TextStyle, ToggleInput, collect_input_values, format_date, format_time, merge_input_data,
83 parse_search_results, search_request_value,
84};
85pub use card_layout::{ContainerLayout, HorizontalAlignment};
86pub use card_table::{CardTable, TableCell, TableColumn, TableRow};
87pub use card_widgets::{
88 BadgeAppearance, BadgeShape, BadgeSize, BadgeStyle, CardBadge, CardCarousel, CardCarouselPage,
89 CardCodeBlock, CardCompoundButton, CardProgressBar, CardProgressRing, IconPosition,
90 LabelPosition, RingSize,
91};
92pub use card_width::{TargetWidth, WidthClass};
93pub use chatsvc::{
94 CallDirection, CallLogEntry, CallOutcome, ChatApp, ForcedAvailability, ForcedKind,
95 ForwardResult, Gif, PinnedMessage, PresenceStatus, SavedMessage, ScheduledDraft, StatusNote,
96 WindowDirection, WorkLocation, WorkLocationKind, WorkLocationSource,
97};
98pub use chatsvc::{ChatSection, ChatSectionSettings, RecordingPolicy};
99pub use chatsvc::{
100 Language, LanguageSettings, MessageLanguage, Translation, TranslationBehavior,
101 TranslationStatus, TranslationTrigger, authoring_patch, behavior_patch, language_code,
102 parse_language_settings, target_patch,
103};
104pub use download::LibraryFile;
105pub use draft::{
106 Draft, DraftLine, Edit, FormatState, LineKind, MAX_DEPTH, Mark, MarkKind, OBJECT_MARK,
107 SizeStep, TypingStyle, changed_span, has_markdown, link_url, map_offset, reverse_edits,
108};
109pub use emoticon_tags::{EmoticonTag, emoticon_tags};
110pub use engine::{Delta, Me, SidebarSummary, SyncConfig, SyncEngine};
111pub use error::{Error, Result};
112pub use events::CoreEvent;
113pub use external_image::external_image_url;
114pub use folders::{
115 BoxFuture, ChatFolder, ChatsvcFolderSource, FolderChange, FolderKind, FolderSource,
116 store_section_settings, stored_section_settings,
117};
118pub use graph::{
119 DriveEntry, DriveFolder, FileReference, HostedImage, KeptAttachment, MentionTarget,
120 MessageExtras, SharedFile, UploadedFile,
121};
122pub use images::StoredImage;
123pub use jumbo::{JumboEmoji, MAX_JUMBO_EMOJI, jumbo_emoji};
124pub use links::{LinkPreview, first_public_link, is_public_link, link_preview, public_links};
125pub use mapping::{chat_record, message_record};
126pub use markdown::{card_markdown_to_html, escape_html, markdown_to_html, plain_text_to_html};
127pub use meeting_join::{
128 MeetingCode, MeetingLink, ThreadMeeting, find_meeting_link, meeting_code_from_id,
129 meeting_link_in_html, parse_meeting_link,
130};
131pub use mentions::{MentionInput, apply_mentions, plain_mention_spans};
132pub use message_link::{
133 ChannelLinkInput, channel_message_link, channel_tab_link, chat_message_link,
134};
135pub use message_window::{JumpPlan, WINDOW_PAGE_SIZE, WindowPage, jump_plan, without_islands};
136pub use people::{MentionCandidate, PersonCandidate, PersonSource};
137pub use presence::{Activity, Availability, Presence};
138pub use preview::preview_text;
139pub use profile::{OrgPerson, PersonProfile};
140pub use receipts::{ReceiptReader, ReceiptState};
141pub use remote::{ChatsPage, DeltaPage, Remote, RemotePage};
142pub use scheduled::NOTES_CHAT_ID;
143pub use skin_tone::{skin_tone, store_account_skin_tone};
144pub use forwarded::{
145 FORWARDED_CONTENT_TYPE, ForwardHeader, ForwardInfo, forwarded_texts, forwards, is_forwarded,
146};
147pub use spans::{FontSize, Span, html_to_spans};
148pub use store::{ConversationHit, HIGHLIGHT_END, HIGHLIGHT_START, SearchHit};
149pub use stored::{
150 AttachmentInfo, FileCard, FileKind, ImageKind, ImageRef, MentionInfo, PROFILE_LINK_PREFIX,
151 QuoteInfo, ReactionInfo, ReactionSummary, adaptive_cards, attachments, can_delete, can_edit,
152 card_texts, copy_text, files, images, linked_message_spans, linked_message_spans_with, mentions, message_quote,
153 message_spans, quote_html, quotes, reaction_summaries, reactions, readable_text, translated_spans,
154 user_mention_inputs,
155};
156pub use time_zone::local_time;
157pub use translation::{
158 FALLBACK_TARGET, LanguageStamp, confident_language, default_target, language_name, min_chars,
159 offered_language,
160};