BlueGit

ict rusty-teams

Files

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

lib.rs

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