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