BlueGit

ict rusty-teams

Files

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

lib.rs

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