chore: remove createdAt in favour of created_at

This commit is contained in:
Mar0xy 2023-09-25 04:30:15 +02:00
parent 6ed28c76fb
commit 035d600406
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
3 changed files with 0 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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,