BlueGit

ict rusty-teams

Files

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

lib.rs

chore: cargo fmt the workspace
metis Daniel Däschle · pushed by metis · 2 weeks ago
a6592765 History
lib.rs 7.8 KiB Download Raw
1mod actions;
2mod activity_sync;
3mod adaptive_card;
4mod announcement;
5mod announcement_post;
6mod avatars;
7mod bot_partners;
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 channel_visibility;
20mod chat_paging;
21mod chat_settings_sync;
22mod cloud_files;
23mod copilot;
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 server_search;
64mod sidebar_sync;
65mod skin_tone;
66mod spans;
67mod stored;
68mod table;
69mod team_admin;
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 adaptive_card::{
79 ActionSplit, AdaptiveCard, CARD_THEME, CardAction, CardActionIcon, CardActionKind, CardColumn,
80 CardElement, CardFact, CardIcon, CardImage, CardItem, CardMedia, CardRefresh, CardSpacing,
81 CardText, ColumnWidth, ContainerStyle, ExecuteAction, ExecuteTrigger, IconSize, ImageSize,
82 InvokePayload, SubmitAction, TextColor, TextSize, ToggleTarget, VerticalAlignment,
83 card_content_text, split_overflow, task_value,
84};
85pub use announcement::{
86 ANNOUNCEMENT_APP_ID, ANNOUNCEMENT_BANNER_TYPE, AnnouncementBanner, BannerBackground,
87 TeamsBannerImage, teams_theme,
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 chat_settings_sync::{store_chat_settings, stored_chat_settings};
116pub use chatsvc::compose_copilot::{Adjustment as ComposeAdjustment, ComposeAction};
117pub use chatsvc::substrate_search;
118pub use chatsvc::{
119 ActivityAlert, ChatAccountSettings, ChatNotificationMode, ChatSettingChange,
120 ChatSettingsDocument, DesktopNotifications, EnterKeyBehavior, MeetingChatNotifications,
121 MessageDensity, NotificationAccountSettings, NotificationPreset, UpArrowBehavior,
122};
123pub use chatsvc::{ActivityHorizons, ActivityItem, ActivitySnapshot};
124pub use chatsvc::{
125 CallDirection, CallLogEntry, CallOutcome, ChatApp, ForcedAvailability, ForcedKind,
126 ForwardResult, Gif, PinnedMessage, PostFollowState, PresenceStatus, SavedMessage,
127 ScheduledDraft, StatusNote, WindowDirection, WorkLocation, WorkLocationKind,
128 WorkLocationSource,
129};
130pub use chatsvc::{ChannelPrivacy, ChatSection, ChatSectionSettings, RecordingPolicy};
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, SizeStep, TypingStyle, changed_span, has_markdown, link_url,
144 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,
161 MessageExtras, QuickSite, 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 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,
194 reaction_summaries, reactions, readable_text, translated_spans, user_mention_inputs,
195};
196pub use table::{Cell, PICKER_COLUMNS, PICKER_ROWS, TABLE_MARK, Table, TableEdit};
197pub use team_admin::{MAX_CHANNEL_DESCRIPTION_LENGTH, MAX_CHANNEL_NAME_LENGTH};
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};
203pub use youtube::fallback_poster_url;