1
0

add: profile backgrounds

This commit is contained in:
Mar0xy
2023-10-06 02:32:09 +02:00
parent 6dd0b88050
commit 4e64397635
14 changed files with 205 additions and 4 deletions
+1
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;
+3
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;