BlueGit

ict rusty-teams

Files

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

lib.rs

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