coord-e / misskey-rs

:v: Client library for Misskey :smiling_face_with_three_hearts:
Apache License 2.0
59 stars 7 forks source link

/api/chart/active_users response has changed after misskey 12.104.0 #53

Open mirror-kt opened 1 year ago

mirror-kt commented 1 year ago

ref: https://github.com/misskey-dev/misskey/blob/5f985ee832eed61e31ceb51eaa1c51810ad6de39/packages/backend/src/services/chart/charts/active-users.ts#L26-L36

before:

{
  local: {
    users: number[],
  },
  remote: {
    users: number[],
  },
}

after:

{
  readWrite: number[],
  read: number[],
  write: number[],
  registeredWithinWeek: number[],
  registeredWithinMonth: number[],
  registeredWithinYear: number[],
  registeredOutsideWeek: number[],
  registeredOutsideMonth: number[],
  registeredOutsideYear: number[]
}