BlueGit

ict rusty-teams

Files

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

lib.rs

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