BlueGit

ict rusty-teams

Files

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

lib.rs

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