BlueGit

ict rusty-teams

Files

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

lib.rs

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