BlueGit

ict rusty-teams

Files

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

lib.rs

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