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