movedTo(Uri), alsoKnownAsはユーザーidを返すように

This commit is contained in:
tamaina 2023-04-22 05:16:23 +00:00
parent eb4bca83fd
commit 3d88a91f61
7 changed files with 51 additions and 16 deletions

View file

@ -14,7 +14,6 @@ export type UserLite = {
onlineStatus: 'online' | 'active' | 'offline' | 'unknown';
avatarUrl: string;
avatarBlurhash: string;
alsoKnownAs: string[];
emojis: {
name: string;
url: string;
@ -30,6 +29,7 @@ export type UserLite = {
};
export type UserDetailed = UserLite & {
alsoKnownAs: string[];
bannerBlurhash: string | null;
bannerColor: string | null;
bannerUrl: string | null;
@ -57,7 +57,7 @@ export type UserDetailed = UserLite & {
lang: string | null;
lastFetchedAt?: DateString;
location: string | null;
movedToUri: string;
movedTo: string;
notesCount: number;
pinnedNoteIds: ID[];
pinnedNotes: Note[];