vjousse / elm-mastodon-tooty / Mastodon.Helper

Helpers to manipulate Mastodon Objects

Definition

addNotificationToAggregates : Mastodon.Model.Notification -> List Mastodon.Model.NotificationAggregate -> List Mastodon.Model.NotificationAggregate

addNotificationToAggregates

aggregateNotifications : List Mastodon.Model.Notification -> List Mastodon.Model.NotificationAggregate

aggregateNotifications

extractReblog : Mastodon.Model.Status -> Mastodon.Model.Status

extractReblog

extractStatusId : Mastodon.Model.StatusId -> String

extractStatusId

getReplyPrefix : Mastodon.Model.Account -> Mastodon.Model.Status -> String

getReplyPrefix

notificationToAggregate : Mastodon.Model.Notification -> Mastodon.Model.NotificationAggregate

notificationToAggregate

sameAccount : Mastodon.Model.Account -> Mastodon.Model.Account -> Basics.Bool

sameAccount

statusReferenced : Mastodon.Model.StatusId -> Mastodon.Model.Status -> Basics.Bool

statusReferenced