BlueGit

ict rusty-teams

Files

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

lib.rs

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