BlueGit

ict rusty-teams

Files

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

lib.rs

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