add: profile backgrounds

This commit is contained in:
Mar0xy 2023-10-06 02:32:09 +02:00
parent 6dd0b88050
commit 4e64397635
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
14 changed files with 205 additions and 4 deletions

View file

@ -414,6 +414,7 @@ export type Endpoints = {
birthday?: string | null;
avatarId?: DriveFile['id'] | null;
bannerId?: DriveFile['id'] | null;
backgroundId?: DriveFile['id'] | null;
fields?: {
name: string;
value: string;

View file

@ -35,6 +35,8 @@ export type UserDetailed = UserLite & {
bannerBlurhash: string | null;
bannerColor: string | null;
bannerUrl: string | null;
backgroundUrl: string | null;
backgroundBlurhash: string | null;
birthday: string | null;
createdAt: DateString;
description: string | null;
@ -88,6 +90,7 @@ export type UserList = {
export type MeDetailed = UserDetailed & {
avatarId: DriveFile['id'];
bannerId: DriveFile['id'];
backgroundId: DriveFile['id'];
autoAcceptFollowed: boolean;
alwaysMarkNsfw: boolean;
carefulBot: boolean;