BlueGit

ict rusty-teams

Files

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

lib.rs

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