BlueGit

ict rusty-teams

Files

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

lib.rs

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