BlueGit

ict rusty-teams

Files

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

lib.rs

lib.rs 4.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 download;
14mod draft;
15mod engine;
16mod error;
17mod events;
18mod external_image;
19mod folders;
20mod gifs;
21mod image_size;
22mod images;
23mod italic;
24mod library;
25mod link_sync;
26mod links;
27mod mapping;
28mod markdown;
29mod mentions;
30mod message_actions;
31mod message_link;
32mod people;
33mod presence;
34mod preview;
35mod profile;
36mod receipts;
37mod remote;
38mod scheduled;
39mod search;
40mod sidebar_sync;
41mod spans;
42mod stored;
43mod time_zone;
44
45pub use adaptive_card::{
46 ActionSplit, AdaptiveCard, CARD_THEME, CardAction, CardActionIcon, CardActionKind, CardColumn,
47 CardElement, CardFact, CardIcon, CardImage, CardItem, CardMedia, CardRefresh, CardSpacing,
48 CardText, ColumnWidth, ContainerStyle, ExecuteAction, ExecuteTrigger, IconSize, ImageSize,
49 InvokePayload, SubmitAction, TextColor, TextSize, ToggleTarget, VerticalAlignment,
50 card_content_text, split_overflow, task_value,
51};
52pub use avatars::Avatar;
53pub use card_actions::{CardActionOutcome, DialogIdentity, TaskDialog, TaskDialogKind};
54pub use card_chart::{
55 AxisScale, BarDisplayMode, CardChart, ChartColor, ChartGauge, ChartKind, ChartPoint,
56 ChartSeries, GaugeSegment, GaugeValueFormat, format_chart_value, label_stride, nice_scale,
57 series_categories, series_maximum, series_value, slice_angles, unit_fraction,
58};
59pub use card_date::{format_card_dates, format_card_dates_in};
60pub use card_inputs::{
61 CardInput, CardInputKind, ChoiceInput, ChoiceQuery, ChoiceStyle, DATE_PLACEHOLDER,
62 InlineAction, InputChoice, InputError, MomentInput, NumberInput, RatingColor, RatingDisplay,
63 RatingInput, RatingSize, RatingStyle, SEARCH_INVOKE_NAME, TIME_PLACEHOLDER, TextInput,
64 TextStyle, ToggleInput, collect_input_values, format_date, format_time, merge_input_data,
65 parse_search_results, search_request_value,
66};
67pub use card_layout::{ContainerLayout, HorizontalAlignment};
68pub use card_table::{CardTable, TableCell, TableColumn, TableRow};
69pub use card_widgets::{
70 BadgeAppearance, BadgeShape, BadgeSize, BadgeStyle, CardBadge, CardCarousel, CardCarouselPage,
71 CardCodeBlock, CardCompoundButton, CardProgressBar, CardProgressRing, IconPosition,
72 LabelPosition, RingSize,
73};
74pub use card_width::{TargetWidth, WidthClass};
75pub use chatsvc::{
76 ChatApp, ForcedAvailability, ForcedKind, ForwardResult, Gif, PinnedMessage, PresenceStatus,
77 SavedMessage, ScheduledDraft, StatusNote, WorkLocation, WorkLocationKind, WorkLocationSource,
78};
79pub use chatsvc::{ChatSection, ChatSectionSettings};
80pub use draft::{
81 Draft, DraftLine, Edit, FormatState, LineKind, MAX_DEPTH, Mark, MarkKind, OBJECT_MARK,
82 SizeStep, TypingStyle, changed_span, has_markdown, link_url, map_offset, reverse_edits,
83};
84pub use engine::{Delta, Me, SidebarSummary, SyncConfig, SyncEngine};
85pub use error::{Error, Result};
86pub use events::CoreEvent;
87pub use external_image::external_image_url;
88pub use folders::{
89 BoxFuture, ChatFolder, ChatsvcFolderSource, FolderKind, FolderSource, store_section_settings,
90 stored_section_settings,
91};
92pub use graph::{
93 DriveEntry, DriveFolder, FileReference, HostedImage, KeptAttachment, MentionTarget,
94 MessageExtras, SharedFile, UploadedFile,
95};
96pub use download::LibraryFile;
97pub use images::StoredImage;
98pub use links::{LinkPreview, first_public_link, is_public_link, link_preview, public_links};
99pub use mapping::{chat_record, message_record};
100pub use markdown::{card_markdown_to_html, escape_html, markdown_to_html, plain_text_to_html};
101pub use mentions::MentionInput;
102pub use message_link::{
103 ChannelLinkInput, channel_message_link, channel_tab_link, chat_message_link,
104};
105pub use people::{MentionCandidate, PersonCandidate, PersonSource};
106pub use presence::{Availability, Presence};
107pub use preview::preview_text;
108pub use profile::{OrgPerson, PersonProfile};
109pub use receipts::{ReceiptReader, ReceiptState};
110pub use remote::{ChatsPage, DeltaPage, Remote, RemotePage};
111pub use scheduled::NOTES_CHAT_ID;
112pub use spans::{FontSize, Span, html_to_spans};
113pub use store::{ConversationHit, HIGHLIGHT_END, HIGHLIGHT_START, SearchHit};
114pub use stored::{
115 AttachmentInfo, FileCard, FileKind, ImageRef, MentionInfo, PROFILE_LINK_PREFIX, QuoteInfo,
116 ReactionInfo, adaptive_cards, attachments, can_delete, can_edit, card_texts, copy_text, files,
117 images, linked_message_spans, mentions, message_spans, quotes, reactions, user_mention_inputs,
118};
119pub use time_zone::local_time;