BlueGit

ict rusty-teams

Files

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

lib.rs

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