Update type definitions

This commit is contained in:
syuilo
2021-06-05 15:26:54 +09:00
parent 5431f4fb86
commit 1e7219b043
2 changed files with 161 additions and 31 deletions

View File

@@ -294,5 +294,18 @@ export type Ad = TODO;
export type Clip = TODO;
export type NoteFavorite = {
id: ID;
createdAt: DateString;
noteId: Note['id'];
note: Note;
};
export type FollowRequest = {
id: ID;
follower: User;
followee: User;
};
export type UserSorting = '+follower' | '-follower' | '+createdAt' | '-createdAt' | '+updatedAt' | '-updatedAt';
export type OriginType = 'combined' | 'local' | 'remote';