BlueGit

ict rusty-teams

Files

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

lib.rs

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