BlueGit

ict rusty-teams

Files

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

lib.rs

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