BlueGit

ict rusty-teams

Files

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

lib.rs

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