BlueGit

ict rusty-teams

Files

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

lib.rs

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