1
0

merge: branch develop

This commit is contained in:
Mar0xy
2023-10-18 19:56:42 +02:00
97 changed files with 1565 additions and 853 deletions
+6 -1
View File
@@ -31,6 +31,8 @@ export type Endpoints = {
'admin/show-users': { req: TODO; res: TODO; };
'admin/silence-user': { req: TODO; res: TODO; };
'admin/suspend-user': { req: TODO; res: TODO; };
'admin/nsfw-user': { req: TODO; res: TODO; };
'admin/unnsfw-user': { req: TODO; res: TODO; };
'admin/unsilence-user': { req: TODO; res: TODO; };
'admin/unsuspend-user': { req: TODO; res: TODO; };
'admin/update-meta': { req: TODO; res: TODO; };
@@ -321,7 +323,10 @@ export type Endpoints = {
'federation/users': { req: { host: string; limit?: number; sinceId?: User['id']; untilId?: User['id']; }; res: UserDetailed[]; };
// following
'following/create': { req: { userId: User['id'] }; res: User; };
'following/create': { req: {
userId: User['id'],
withReplies?: boolean,
}; res: User; };
'following/delete': { req: { userId: User['id'] }; res: User; };
'following/requests/accept': { req: { userId: User['id'] }; res: null; };
'following/requests/cancel': { req: { userId: User['id'] }; res: User; };
+1
View File
@@ -406,6 +406,7 @@ export type AdminInstanceMetadata = DetailedInstanceMetadata & {
app192IconUrl: string | null;
app512IconUrl: string | null;
manifestJsonOverride: string;
enableBotTrending: boolean;
};
export type ServerInfo = {