BlueGit

ict rusty-teams

Files

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

lib.rs

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