BlueGit

ict rusty-teams

Files

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

lib.rs

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