BlueGit

ict rusty-teams

Files

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

lib.rs

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