BlueGit

ict rusty-teams

Files

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

lib.rs

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