mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 02:33:08 +02:00
chore: remove createdAt in favour of created_at
This commit is contained in:
parent
6ed28c76fb
commit
035d600406
3 changed files with 0 additions and 5 deletions
|
@ -15,7 +15,6 @@ namespace Entity {
|
|||
suspended: boolean | null
|
||||
limited: boolean | null
|
||||
created_at: string
|
||||
createdAt?: string
|
||||
followers_count: number
|
||||
following_count: number
|
||||
statuses_count: number
|
||||
|
|
|
@ -19,7 +19,6 @@ namespace Entity {
|
|||
content: string
|
||||
plain_content: string | null
|
||||
created_at: string
|
||||
createdAt?: string
|
||||
emojis: Emoji[]
|
||||
replies_count: number
|
||||
reblogs_count: number
|
||||
|
|
|
@ -88,7 +88,6 @@ namespace MisskeyAPI {
|
|||
suspended: null,
|
||||
limited: null,
|
||||
created_at: u.createdAt ? u.createdAt : '',
|
||||
createdAt: u.createdAt,
|
||||
followers_count: 0,
|
||||
following_count: 0,
|
||||
statuses_count: 0,
|
||||
|
@ -125,7 +124,6 @@ namespace MisskeyAPI {
|
|||
suspended: null,
|
||||
limited: null,
|
||||
created_at: u.createdAt,
|
||||
createdAt: u.createdAt,
|
||||
followers_count: u.followersCount,
|
||||
following_count: u.followingCount,
|
||||
statuses_count: u.notesCount,
|
||||
|
@ -271,7 +269,6 @@ namespace MisskeyAPI {
|
|||
: '',
|
||||
plain_content: n.text ? n.text : null,
|
||||
created_at: n.createdAt,
|
||||
createdAt: n.createdAt,
|
||||
emojis: mapEmojis(n.emojis).concat(mapReactionEmojis(n.reactionEmojis)),
|
||||
replies_count: n.repliesCount,
|
||||
reblogs_count: n.renoteCount,
|
||||
|
|
Loading…
Reference in a new issue