BlueGit

ict rusty-teams

Files

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

lib.rs

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