Add Id types to prelude and entities prelude to crate prelude
This commit is contained in:
parent
be39ca6e24
commit
53fc05d36f
|
@ -46,21 +46,21 @@ pub struct Empty {}
|
|||
/// modules:
|
||||
pub mod prelude {
|
||||
pub use super::{
|
||||
account::{Account, Source},
|
||||
attachment::{Attachment, MediaType},
|
||||
account::{Account, AccountId, Source},
|
||||
attachment::{Attachment, AttachmentId, MediaType},
|
||||
card::Card,
|
||||
context::Context,
|
||||
event::Event,
|
||||
filter::{Filter, FilterContext},
|
||||
filter::{Filter, FilterContext, FilterId},
|
||||
instance::*,
|
||||
list::List,
|
||||
mention::Mention,
|
||||
notification::Notification,
|
||||
push::Subscription,
|
||||
relationship::Relationship,
|
||||
report::Report,
|
||||
list::{List, ListId},
|
||||
mention::{Mention, MentionId},
|
||||
notification::{Notification, NotificationId},
|
||||
push::{Subscription, SubscriptionId},
|
||||
relationship::{Relationship, RelationshipId},
|
||||
report::{Report, ReportId},
|
||||
search_result::SearchResult,
|
||||
status::{Application, Emoji, Status},
|
||||
status::{Application, Emoji, Status, StatusId},
|
||||
Empty,
|
||||
};
|
||||
}
|
||||
|
|
|
@ -126,6 +126,7 @@ mod macros;
|
|||
/// Automatically import the things you need
|
||||
pub mod prelude {
|
||||
pub use crate::{
|
||||
entities::prelude::*,
|
||||
scopes::Scopes,
|
||||
Data,
|
||||
Mastodon,
|
||||
|
|
Loading…
Reference in New Issue