BlueGit

ict rusty-teams

Files

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

lib.rs

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