BlueGit

ict rusty-teams

Files

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

lib.rs

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