BlueGit

ict rusty-teams

Files

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

lib.rs

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