merge: branch develop
This commit is contained in:
commit
cf6e720139
97 changed files with 1565 additions and 853 deletions
|
|
@ -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; };
|
||||
|
|
|
|||
|
|
@ -406,6 +406,7 @@ export type AdminInstanceMetadata = DetailedInstanceMetadata & {
|
|||
app192IconUrl: string | null;
|
||||
app512IconUrl: string | null;
|
||||
manifestJsonOverride: string;
|
||||
enableBotTrending: boolean;
|
||||
};
|
||||
|
||||
export type ServerInfo = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue