BlueGit

ict rusty-teams

Files

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

lib.rs

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