BlueGit

ict rusty-teams

Files

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

lib.rs

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