upd: add createdAt to user

This commit is contained in:
Mar0xy 2023-09-25 03:59:18 +02:00
parent a7778e6425
commit 16b81fb016
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
2 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,7 @@ namespace Entity {
suspended: boolean | null
limited: boolean | null
created_at: string
createdAt?: string
followers_count: number
following_count: number
statuses_count: number

View File

@ -88,6 +88,7 @@ namespace MisskeyAPI {
suspended: null,
limited: null,
created_at: '',
createdAt: '',
followers_count: 0,
following_count: 0,
statuses_count: 0,
@ -124,6 +125,7 @@ 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,