2017-04-25 10:27:15 -04:00
|
|
|
module Fixtures exposing (..)
|
|
|
|
|
2017-04-29 05:57:26 -04:00
|
|
|
import Mastodon.Model exposing (..)
|
2017-04-25 10:27:15 -04:00
|
|
|
|
|
|
|
|
|
|
|
accountSkro : Account
|
|
|
|
accountSkro =
|
|
|
|
{ acct = "SkroZoC"
|
2017-05-01 16:10:34 -04:00
|
|
|
, avatar = ""
|
2017-04-25 10:27:15 -04:00
|
|
|
, created_at = "2017-04-24T20:25:37.398Z"
|
|
|
|
, display_name = "Skro"
|
|
|
|
, followers_count = 77
|
|
|
|
, following_count = 80
|
2017-05-01 16:10:34 -04:00
|
|
|
, header = ""
|
2017-11-29 08:06:08 -05:00
|
|
|
, id = "1391"
|
2017-04-25 10:27:15 -04:00
|
|
|
, locked = False
|
2017-05-01 16:10:34 -04:00
|
|
|
, note = "Skro note"
|
2017-04-25 10:27:15 -04:00
|
|
|
, statuses_count = 161
|
|
|
|
, url = "https://mamot.fr/@SkroZoC"
|
|
|
|
, username = "SkroZoC"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
accountVjousse : Account
|
|
|
|
accountVjousse =
|
|
|
|
{ acct = "vjousse"
|
2017-05-01 16:10:34 -04:00
|
|
|
, avatar = ""
|
2017-04-25 10:27:15 -04:00
|
|
|
, created_at = "2017-04-20T14:31:05.751Z"
|
|
|
|
, display_name = "Vincent Jousse"
|
|
|
|
, followers_count = 68
|
|
|
|
, following_count = 31
|
2017-05-01 16:10:34 -04:00
|
|
|
, header = ""
|
2017-11-29 08:06:08 -05:00
|
|
|
, id = "26303"
|
2017-04-25 10:27:15 -04:00
|
|
|
, locked = False
|
2017-05-01 16:10:34 -04:00
|
|
|
, note = "Vjousse note"
|
2017-04-25 10:27:15 -04:00
|
|
|
, statuses_count = 88
|
|
|
|
, url = "https://mamot.fr/@vjousse"
|
|
|
|
, username = "vjousse"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
accountNico : Account
|
|
|
|
accountNico =
|
|
|
|
{ acct = "n1k0"
|
2017-05-01 16:10:34 -04:00
|
|
|
, avatar = ""
|
2017-04-25 10:27:15 -04:00
|
|
|
, created_at = "2017-04-14T08:28:59.706Z"
|
|
|
|
, display_name = "NiKo`"
|
|
|
|
, followers_count = 162
|
|
|
|
, following_count = 79
|
2017-05-01 16:10:34 -04:00
|
|
|
, header = ""
|
2017-11-29 08:06:08 -05:00
|
|
|
, id = "17784"
|
2017-04-25 10:27:15 -04:00
|
|
|
, locked = False
|
2017-05-01 16:10:34 -04:00
|
|
|
, note = "Niko note"
|
2017-04-25 10:27:15 -04:00
|
|
|
, statuses_count = 358
|
|
|
|
, url = "https://mamot.fr/@n1k0"
|
|
|
|
, username = "n1k0"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
accountPloum : Account
|
|
|
|
accountPloum =
|
|
|
|
{ acct = "ploum"
|
2017-05-01 16:10:34 -04:00
|
|
|
, avatar = ""
|
2017-04-25 10:27:15 -04:00
|
|
|
, created_at = "2017-04-08T09:37:34.931Z"
|
|
|
|
, display_name = "ploum"
|
|
|
|
, followers_count = 1129
|
|
|
|
, following_count = 91
|
2017-05-01 16:10:34 -04:00
|
|
|
, header = ""
|
2017-11-29 08:06:08 -05:00
|
|
|
, id = "6840"
|
2017-04-25 10:27:15 -04:00
|
|
|
, locked = False
|
2017-05-01 16:10:34 -04:00
|
|
|
, note = "Ploum note"
|
2017-04-25 10:27:15 -04:00
|
|
|
, statuses_count = 601
|
|
|
|
, url = "https://mamot.fr/@ploum"
|
|
|
|
, username = "ploum"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-05-25 04:25:43 -04:00
|
|
|
statusNico : Status
|
|
|
|
statusNico =
|
|
|
|
{ account = accountNico
|
|
|
|
, application = Nothing
|
|
|
|
, content = "<p>hello</p>"
|
|
|
|
, created_at = "2017-04-24T20:12:20.922Z"
|
|
|
|
, favourited = Nothing
|
|
|
|
, favourites_count = 0
|
2017-11-29 08:06:08 -05:00
|
|
|
, id = StatusId "737931"
|
2017-05-25 04:25:43 -04:00
|
|
|
, in_reply_to_account_id = Nothing
|
|
|
|
, in_reply_to_id = Nothing
|
|
|
|
, media_attachments = []
|
|
|
|
, mentions = []
|
|
|
|
, reblog = Nothing
|
|
|
|
, reblogged = Nothing
|
|
|
|
, reblogs_count = 0
|
|
|
|
, sensitive = Just False
|
|
|
|
, spoiler_text = ""
|
|
|
|
, tags = []
|
|
|
|
, uri = "tag:mamot.fr,2017-04-24:objectId=737932:objectType=Status"
|
|
|
|
, url = Just "https://mamot.fr/@n1k0/737931"
|
|
|
|
, visibility = "public"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-04-25 10:27:15 -04:00
|
|
|
statusNicoToVjousse : Status
|
|
|
|
statusNicoToVjousse =
|
|
|
|
{ account = accountNico
|
2017-05-23 03:15:54 -04:00
|
|
|
, application = Nothing
|
2017-05-01 16:10:34 -04:00
|
|
|
, content = "<p>@vjousse coucou</p>"
|
2017-04-25 10:27:15 -04:00
|
|
|
, created_at = "2017-04-24T20:16:20.922Z"
|
|
|
|
, favourited = Nothing
|
|
|
|
, favourites_count = 0
|
2017-11-29 08:06:08 -05:00
|
|
|
, id = StatusId "737932"
|
|
|
|
, in_reply_to_account_id = Just "26303"
|
|
|
|
, in_reply_to_id = Just <| StatusId "737425"
|
2017-04-25 10:27:15 -04:00
|
|
|
, media_attachments = []
|
|
|
|
, mentions =
|
2017-11-29 08:06:08 -05:00
|
|
|
[ { id = "26303"
|
2017-04-25 10:27:15 -04:00
|
|
|
, url = "https://mamot.fr/@vjousse"
|
|
|
|
, username = "vjousse"
|
|
|
|
, acct = "vjousse"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
, reblog = Nothing
|
|
|
|
, reblogged = Nothing
|
|
|
|
, reblogs_count = 0
|
|
|
|
, sensitive = Just False
|
|
|
|
, spoiler_text = ""
|
|
|
|
, tags = []
|
|
|
|
, uri = "tag:mamot.fr,2017-04-24:objectId=737932:objectType=Status"
|
2017-05-14 15:40:01 -04:00
|
|
|
, url = Just "https://mamot.fr/@n1k0/737932"
|
2017-04-25 10:27:15 -04:00
|
|
|
, visibility = "public"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
statusNicoToVjousseAgain : Status
|
|
|
|
statusNicoToVjousseAgain =
|
|
|
|
{ account = accountNico
|
2017-05-23 03:15:54 -04:00
|
|
|
, application = Nothing
|
2017-05-01 16:10:34 -04:00
|
|
|
, content = "<p>@vjousse recoucou</p>"
|
2017-04-25 10:27:15 -04:00
|
|
|
, created_at = "2017-04-25T07:41:23.492Z"
|
|
|
|
, favourited = Nothing
|
|
|
|
, favourites_count = 0
|
2017-11-29 08:06:08 -05:00
|
|
|
, id = StatusId "752169"
|
|
|
|
, in_reply_to_account_id = Just "26303"
|
|
|
|
, in_reply_to_id = Just <| StatusId "752153"
|
2017-04-25 10:27:15 -04:00
|
|
|
, media_attachments = []
|
|
|
|
, mentions =
|
2017-11-29 08:06:08 -05:00
|
|
|
[ { id = "26303"
|
2017-04-25 10:27:15 -04:00
|
|
|
, url = "https://mamot.fr/@vjousse"
|
|
|
|
, username = "vjousse"
|
|
|
|
, acct = "vjousse"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
, reblog = Nothing
|
|
|
|
, reblogged = Nothing
|
|
|
|
, reblogs_count = 0
|
|
|
|
, sensitive = Just False
|
|
|
|
, spoiler_text = ""
|
|
|
|
, tags = []
|
|
|
|
, uri = "tag:mamot.fr,2017-04-25:objectId=752169:objectType=Status"
|
2017-05-14 15:40:01 -04:00
|
|
|
, url = Just "https://mamot.fr/@n1k0/752169"
|
2017-04-25 10:27:15 -04:00
|
|
|
, visibility = "public"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-04-29 05:57:26 -04:00
|
|
|
statusPloumToVjousse : Status
|
|
|
|
statusPloumToVjousse =
|
|
|
|
{ account = accountPloum
|
2017-05-23 03:15:54 -04:00
|
|
|
, application = Nothing
|
2017-04-29 05:57:26 -04:00
|
|
|
, content = "<p>hey @vjousse</p>"
|
|
|
|
, created_at = "2017-04-25T07:41:23.492Z"
|
|
|
|
, favourited = Nothing
|
|
|
|
, favourites_count = 0
|
2017-11-29 08:06:08 -05:00
|
|
|
, id = StatusId "752169"
|
2017-04-29 05:57:26 -04:00
|
|
|
, in_reply_to_account_id = Nothing
|
|
|
|
, in_reply_to_id = Nothing
|
|
|
|
, media_attachments = []
|
|
|
|
, mentions =
|
2017-11-29 08:06:08 -05:00
|
|
|
[ { id = "26303"
|
2017-04-29 05:57:26 -04:00
|
|
|
, url = "https://mamot.fr/@vjousse"
|
|
|
|
, username = "vjousse"
|
|
|
|
, acct = "vjousse"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
, reblog = Nothing
|
|
|
|
, reblogged = Nothing
|
|
|
|
, reblogs_count = 0
|
|
|
|
, sensitive = Just False
|
|
|
|
, spoiler_text = ""
|
|
|
|
, tags = []
|
|
|
|
, uri = "tag:mamot.fr,2017-04-25:objectId=752169:objectType=Status"
|
2017-05-14 15:40:01 -04:00
|
|
|
, url = Just "https://mamot.fr/@n1k0/752169"
|
2017-04-29 05:57:26 -04:00
|
|
|
, visibility = "public"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
statusReblogged : Status
|
|
|
|
statusReblogged =
|
|
|
|
{ account = accountVjousse
|
2017-05-23 03:15:54 -04:00
|
|
|
, application = Nothing
|
2017-04-29 05:57:26 -04:00
|
|
|
, content = "<p>fake post</p>"
|
|
|
|
, created_at = "2017-04-24T20:16:20.922Z"
|
|
|
|
, favourited = Nothing
|
|
|
|
, favourites_count = 0
|
2017-11-29 08:06:08 -05:00
|
|
|
, id = StatusId "737932"
|
2017-04-29 05:57:26 -04:00
|
|
|
, in_reply_to_account_id = Nothing
|
|
|
|
, in_reply_to_id = Nothing
|
|
|
|
, media_attachments = []
|
|
|
|
, mentions = []
|
|
|
|
, reblog = Just (Reblog statusPloumToVjousse)
|
|
|
|
, reblogged = Nothing
|
|
|
|
, reblogs_count = 0
|
|
|
|
, sensitive = Just False
|
|
|
|
, spoiler_text = ""
|
|
|
|
, tags = []
|
|
|
|
, uri = "tag:mamot.fr,2017-04-24:objectId=737932:objectType=Status"
|
2017-05-14 15:40:01 -04:00
|
|
|
, url = Just "https://mamot.fr/@n1k0/737932"
|
2017-04-29 05:57:26 -04:00
|
|
|
, visibility = "public"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-04-25 10:27:15 -04:00
|
|
|
notificationNicoMentionVjousse : Notification
|
|
|
|
notificationNicoMentionVjousse =
|
2017-11-29 08:06:08 -05:00
|
|
|
{ id = "224284"
|
2017-04-25 10:27:15 -04:00
|
|
|
, type_ = "mention"
|
|
|
|
, created_at = "2017-04-24T20:16:20.973Z"
|
|
|
|
, account = accountNico
|
|
|
|
, status = Just statusNicoToVjousse
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
notificationNicoMentionVjousseAgain : Notification
|
|
|
|
notificationNicoMentionVjousseAgain =
|
2017-11-29 08:06:08 -05:00
|
|
|
{ id = "226516"
|
2017-04-25 10:27:15 -04:00
|
|
|
, type_ = "mention"
|
|
|
|
, created_at = "2017-04-25T07:41:23.546Z"
|
|
|
|
, account = accountNico
|
|
|
|
, status = Just statusNicoToVjousseAgain
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
notificationNicoFollowsVjousse : Notification
|
|
|
|
notificationNicoFollowsVjousse =
|
2017-11-29 08:06:08 -05:00
|
|
|
{ id = "224257"
|
2017-04-25 10:27:15 -04:00
|
|
|
, type_ = "follow"
|
|
|
|
, created_at = "2017-04-24T20:13:47.431Z"
|
|
|
|
, account = accountNico
|
|
|
|
, status = Nothing
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
notificationSkroFollowsVjousse : Notification
|
|
|
|
notificationSkroFollowsVjousse =
|
2017-11-29 08:06:08 -05:00
|
|
|
{ id = "224"
|
2017-04-25 10:27:15 -04:00
|
|
|
, type_ = "follow"
|
|
|
|
, created_at = "2017-04-24T19:12:47.431Z"
|
|
|
|
, account = accountSkro
|
|
|
|
, status = Nothing
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
notificationPloumFollowsVjousse : Notification
|
|
|
|
notificationPloumFollowsVjousse =
|
2017-11-29 08:06:08 -05:00
|
|
|
{ id = "220"
|
2017-04-25 10:27:15 -04:00
|
|
|
, type_ = "follow"
|
|
|
|
, created_at = "2017-04-24T18:12:47.431Z"
|
|
|
|
, account = accountPloum
|
|
|
|
, status = Nothing
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
accounts : List Account
|
|
|
|
accounts =
|
|
|
|
[ accountSkro, accountVjousse, accountNico ]
|
|
|
|
|
|
|
|
|
|
|
|
notifications : List Notification
|
|
|
|
notifications =
|
|
|
|
[ notificationNicoMentionVjousse
|
|
|
|
, notificationNicoFollowsVjousse
|
|
|
|
, notificationSkroFollowsVjousse
|
|
|
|
]
|
|
|
|
|
|
|
|
|
2017-04-28 13:08:46 -04:00
|
|
|
duplicateAccountNotifications : List Notification
|
|
|
|
duplicateAccountNotifications =
|
|
|
|
[ notificationSkroFollowsVjousse
|
|
|
|
, notificationSkroFollowsVjousse
|
|
|
|
, notificationSkroFollowsVjousse
|
|
|
|
]
|