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