BlueGit

ict rusty-teams

Files

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

lib.rs

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